
#bridge-help{--bh-paper:#fff;--bh-ink:#202221;--bh-secondary:#777b78;--bh-soft:#f3f3f3;--bh-line:#eeeeec;--bh-ease:cubic-bezier(.16,1,.3,1);font-family:Arial,Helvetica,sans-serif;color:var(--bh-ink);color-scheme:light;padding:20px 12px 16px}
#bridge-help *{box-sizing:border-box}#bridge-help [hidden]{display:none!important}#bridge-help button,#bridge-help textarea{font:inherit;color:inherit}#bridge-help button{border:0;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s,transform .18s var(--bh-ease),box-shadow .18s;color:inherit}#bridge-help button:focus-visible{outline:2px solid #7c827c;outline-offset:3px}#bridge-help :is(svg,.bh-glyph){width:19px;height:19px;stroke-width:1.7;flex-shrink:0}
#bridge-help .bh-window{display:flex;flex-direction:column;max-width:420px;min-height:600px;margin:0 auto;background:var(--bh-paper);border:1px solid var(--bh-line);border-radius:18px;box-shadow:0 12px 38px #1a20190d,0 2px 6px #1a201908;transform-origin:bottom right;animation:bh-open .55s var(--bh-ease) both;position:relative}
#bridge-help header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:10px 15px 5px}#bridge-help .bh-title{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}#bridge-help .bh-header-actions{display:flex;gap:4px;flex-shrink:0}#bridge-help .bh-icon{display:grid;place-items:center;background:transparent;width:30px;height:30px;border-radius:8px;color:#777b78}#bridge-help .bh-icon:hover{background:#f2f3f0;color:#232622}#bridge-help .bh-icon :is(svg,.bh-glyph){transition:transform .25s var(--bh-ease)}
#bridge-help .bh-content{padding:13px 17px 24px;flex:1;display:flex;flex-direction:column;min-height:400px;position:relative}#bridge-help .bh-empty{min-height:365px;display:grid;place-items:center;text-align:center;flex:1;animation:bh-reveal .55s .08s both}#bridge-help h2{font-size:23px;font-weight:600;line-height:1.22;letter-spacing:-.65px;margin:0}#bridge-help .bh-thread{display:flex;flex-direction:column;gap:25px}#bridge-help .bh-user{align-self:flex-end;background:var(--bh-soft);padding:10px 15px;border-radius:22px;max-width:86%;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#bridge-help .bh-answer{font-size:14px;line-height:1.65;overflow-wrap:anywhere}#bridge-help .bh-answer p{margin:0}#bridge-help .bh-copy{margin-top:8px;width:27px;height:27px;border-radius:6px;background:transparent;color:var(--bh-secondary);display:grid;place-items:center}#bridge-help .bh-copy :is(svg,.bh-glyph){width:15px;height:15px}#bridge-help .bh-copy:hover{background:var(--bh-soft);color:var(--bh-ink)}#bridge-help .bh-thinking{display:flex;gap:4px;margin:32px 0 0;height:12px;align-items:center}#bridge-help .bh-thinking span{width:6px;height:6px;background:#a3a6a3;border-radius:50%;animation:bh-dot .95s ease-in-out infinite}#bridge-help .bh-thinking span:nth-child(2){animation-delay:.14s}#bridge-help .bh-thinking span:nth-child(3){animation-delay:.28s}
#bridge-help .bh-form{padding:0 12px 10px}#bridge-help .bh-composer{display:flex;align-items:flex-end;gap:7px;padding:9px 10px;background:#fff;border:1px solid #e8e9e6;border-radius:28px;box-shadow:0 2px 6px #171b1e0b;transition:border-color .25s,box-shadow .25s}#bridge-help .bh-composer:focus-within{border-color:#c5c9c0;box-shadow:0 3px 10px #171b1e10}#bridge-help textarea{display:block;min-width:0;flex:1;resize:none;background:transparent;border:0;padding:6px 0 5px;margin:0;min-height:32px;max-height:125px;font-size:16px;line-height:1.4;color:var(--bh-ink)}#bridge-help textarea::placeholder{color:#919590}#bridge-help textarea:focus-visible{outline:none}#bridge-help .bh-plus{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:#f5f5f5;color:#555}#bridge-help .bh-plus :is(svg,.bh-glyph){width:20px;height:20px;transition:transform .35s var(--bh-ease)}#bridge-help .bh-plus[aria-expanded=true]{background:#f0f1ed;color:#262925}#bridge-help .bh-plus[aria-expanded=true] :is(svg,.bh-glyph){transform:rotate(45deg)}#bridge-help .bh-send{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;background:#191b19;color:#fff;border-radius:50%}#bridge-help .bh-send :is(svg,.bh-glyph){width:19px;height:19px;transition:transform .3s var(--bh-ease)}#bridge-help .bh-send:hover:enabled{background:#373c35}#bridge-help .bh-send:disabled{color:#b7bcb4;background:#f1f2ef}#bridge-help .bh-note{text-align:center;color:#949992;font-size:11px;margin:9px 4px 0;line-height:1.4}
#bridge-help .bh-attach-wrap{position:relative;flex-shrink:0}#bridge-help .bh-menu{position:absolute;z-index:5;left:0;bottom:calc(100% + 15px);width:220px;max-width:calc(100vw - 70px);padding:5px;background:#fff;border:1px solid #e4e6e0;border-radius:13px;box-shadow:0 10px 32px #171b1e1a,0 2px 5px #171b1e07;transform-origin:bottom left;animation:bh-menu .3s var(--bh-ease) both}#bridge-help .bh-menu button{width:100%;display:flex;align-items:center;gap:12px;background:transparent;text-align:left;padding:11px 10px;border-radius:8px;font-size:13px}#bridge-help .bh-menu button:hover{background:#f2f3ef}#bridge-help .bh-menu button :is(svg,.bh-glyph){width:17px;height:17px;color:#62695e;transition:transform .3s var(--bh-ease)}#bridge-help .bh-menu hr{border:0;border-top:1px solid var(--bh-line);margin:4px 8px}#bridge-help .bh-files{display:flex;gap:6px;flex-wrap:wrap;margin:0 5px}#bridge-help .bh-file{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 11px;border:1px solid #e4e6df;border-radius:10px;font-size:12px;margin-bottom:8px;max-width:100%;animation:bh-reveal .3s both;background:#fff}#bridge-help .bh-file span{overflow-wrap:anywhere;min-width:0}#bridge-help .bh-file button{background:transparent;border-radius:50%;width:26px;height:26px;flex-shrink:0;display:grid;place-items:center}#bridge-help .bh-file button :is(svg,.bh-glyph){width:13px;height:13px}#bridge-help .bh-file button:hover{background:var(--bh-soft)}
#bridge-help .bh-history-view{animation:bh-reveal .35s both}#bridge-help h3{font-size:16px;font-weight:500;margin:8px 0 21px}#bridge-help .bh-history-list{display:grid;gap:5px}#bridge-help .bh-history-list button{background:transparent;text-align:left;border-radius:9px;padding:13px 10px;font-size:14px;overflow-wrap:anywhere}#bridge-help .bh-history-list button:hover{background:var(--bh-soft)}#bridge-help .bh-history-list p{color:var(--bh-secondary);font-size:13px}#bridge-help .bh-history[aria-expanded=true]{background:var(--bh-soft)}#bridge-help .bh-launch-row{display:flex;justify-content:flex-end;max-width:420px;margin:15px auto 0}#bridge-help .bh-launch{width:46px;height:46px;border-radius:50%;background:#202320;color:#fff;display:grid;place-items:center;box-shadow:0 3px 12px #171b1e15}#bridge-help .bh-launch:hover{background:#3a4037}#bridge-help .bh-launch :is(svg,.bh-glyph){width:21px;height:21px}
@keyframes bh-open{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}@keyframes bh-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes bh-menu{from{opacity:0;transform:translateY(7px) scale(.96)}to{opacity:1;transform:none}}@keyframes bh-dot{0%,65%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}
@media(max-width:380px){#bridge-help{padding:12px 3px}#bridge-help .bh-window{min-height:560px}#bridge-help .bh-content{min-height:360px}#bridge-help .bh-empty{min-height:325px}#bridge-help .bh-composer{gap:4px;padding:8px}#bridge-help textarea{font-size:16px}#bridge-help .bh-note{font-size:11px}}
@media(pointer:coarse){#bridge-help .bh-header-actions{gap:0}#bridge-help .bh-icon{width:40px;height:40px}#bridge-help .bh-composer{gap:2px}#bridge-help .bh-plus,#bridge-help .bh-send{width:40px;height:40px}#bridge-help .bh-copy{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){#bridge-help *,#bridge-help *:before{animation:none!important;transition:none!important}}


#bridge-help .bh-window{color:#151515!important;color-scheme:light}
#bridge-help .bh-window :is(h2,h3,p,textarea),
#bridge-help .bh-title,
#bridge-help .bh-user,
#bridge-help .bh-answer,
#bridge-help .bh-note,
#bridge-help .bh-file span,
#bridge-help .bh-menu button,
#bridge-help .bh-history-list button{color:#151515!important;-webkit-text-fill-color:#151515!important}
#bridge-help textarea::placeholder{color:#151515!important;-webkit-text-fill-color:#151515!important;opacity:1}
#bridge-help .bh-window ::selection{color:#151515;background:#dce7f2;-webkit-text-fill-color:#151515}

#bridge-help .bh-error{font-size:12px;color:#9b2c20;margin:0 17px 12px;line-height:1.5}#bridge-help .bh-error button{margin-left:8px;padding:5px 8px;background:#f4f4f1;border-radius:6px}#bridge-help .bh-answer p{white-space:pre-wrap}#bridge-help .bh-content{min-height:400px}

body.bh-preview{margin:0;background:#fafbf9}

/* Generated artwork is used directly as an alpha mask, retaining currentColor states. */
#bridge-help .bh-glyph{display:block;width:30px;height:30px;flex-shrink:0;background:currentColor;mask-image:url('../../assets/icons/chat/chat-icons-imagegen-v1.png');mask-size:400% 300%;mask-repeat:no-repeat;mask-position:var(--bh-icon-x) var(--bh-icon-y);-webkit-mask-image:url('../../assets/icons/chat/chat-icons-imagegen-v1.png');-webkit-mask-size:400% 300%;-webkit-mask-repeat:no-repeat;-webkit-mask-position:var(--bh-icon-x) var(--bh-icon-y);pointer-events:none;filter:drop-shadow(.2px 0 0 currentColor) drop-shadow(-.2px 0 0 currentColor) drop-shadow(0 .2px 0 currentColor) drop-shadow(0 -.2px 0 currentColor)}
#bridge-help .bh-glyph-square-pen{--bh-icon-x:0%;--bh-icon-y:0%}
#bridge-help .bh-glyph-history{--bh-icon-x:33.333333%;--bh-icon-y:0%}
#bridge-help .bh-glyph-x{--bh-icon-x:66.666667%;--bh-icon-y:0%}
#bridge-help .bh-glyph-plus{--bh-icon-x:100%;--bh-icon-y:0%}
#bridge-help .bh-glyph-image{--bh-icon-x:0%;--bh-icon-y:50%}
#bridge-help .bh-glyph-file-text{--bh-icon-x:33.333333%;--bh-icon-y:50%}
#bridge-help .bh-glyph-folder-open{--bh-icon-x:66.666667%;--bh-icon-y:50%}
#bridge-help .bh-glyph-arrow-up{--bh-icon-x:100%;--bh-icon-y:50%}
#bridge-help .bh-glyph-message-circle{--bh-icon-x:0%;--bh-icon-y:100%}
#bridge-help .bh-glyph-copy{--bh-icon-x:33.333333%;--bh-icon-y:100%}
#bridge-help .bh-glyph-check{--bh-icon-x:66.666667%;--bh-icon-y:100%}
#bridge-help .bh-glyph-paperclip{--bh-icon-x:100%;--bh-icon-y:100%}
#bridge-help .bh-menu button .bh-glyph{width:28px;height:28px}
#bridge-help .bh-copy .bh-glyph{width:23px;height:23px}
#bridge-help .bh-file button .bh-glyph{width:20px;height:20px}
#bridge-help .bh-launch .bh-glyph{width:32px;height:32px}

/* Three controls share an optical grid; artwork is served as one small alpha sprite. */
#bridge-help .bh-header-actions{align-items:center;gap:2px}
#bridge-help .bh-header-actions .bh-icon{width:36px;height:36px;padding:0;line-height:0}
#bridge-help .bh-header-actions .bh-icon{border:1px solid transparent;border-radius:10px;color:#646c67}
#bridge-help .bh-header-glyph{display:block;width:32px;height:32px;pointer-events:none;background:currentColor;mask:url('../../assets/icons/chat/header-v2/controls.png') var(--bh-header-position) center / 300% 100% no-repeat;transition:transform .18s var(--bh-ease)}
#bridge-help .bh-header-compose{--bh-header-position:0%}
#bridge-help .bh-header-history{--bh-header-position:50%}
#bridge-help .bh-header-minimize{--bh-header-position:100%}

#bridge-help .bh-launch{position:relative;overflow:visible}
#bridge-help .bh-unread{position:absolute;right:-4px;top:-4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#d84b12;color:#fff;font:700 11px/1 Arial,sans-serif;pointer-events:none}
@media(max-width:600px),(pointer:coarse){#bridge-help .bh-header-actions .bh-icon{width:40px;height:40px}}

/* Calm anticipation, followed by paced text; completed replies stay still. */
#bridge-help .bh-thinking{gap:5px;align-items:center;margin:16px 0 0;padding:9px 12px;height:30px;width:max-content;background:#f4f5f1;border:1px solid #ebece7;border-radius:15px}
#bridge-help .bh-thinking span{width:5px;height:5px;background:#72786e;animation-duration:1.2s}
#bridge-help .bh-answer:has(>p[data-message]:empty){display:none}

/* Interaction states are local to support, including dynamically added controls. */
#bridge-help .bh-window :is(button,a):focus-visible{outline:2px solid #bd4b17;outline-offset:3px}
#bridge-help .bh-window a{transition:color .18s,text-decoration-color .18s;text-underline-offset:3px}
#bridge-help button:disabled{cursor:default;opacity:.48}
#bridge-help .bh-send:disabled{opacity:1}
#bridge-help .bh-header-actions .bh-icon[aria-expanded=true]{background:#fff3e9;color:#aa4315;border-color:#f0d8c7}
@media(hover:hover) and (pointer:fine){
 #bridge-help .bh-window :is(.bh-icon:not(.bh-plus),.bh-copy,.bh-feedback button,.bh-starters button,.bh-stop,.bh-jump,.bh-menu button,.bh-history-list button,.bh-file button,.bh-error button):hover:enabled{background:#fff3e9;color:#a34116;border-color:#efd6c4}
 #bridge-help .bh-window :is(.bh-tools button,.bh-tools a,.bh-again,.bh-note a,.bh-error a):hover{color:#a34116;text-decoration-color:#d86225}
 #bridge-help .bh-send:hover:enabled{background:#b64a18}
 #bridge-help .bh-delete-confirm button:hover:enabled{background:#dce1d5}
 #bridge-help .bh-delete-confirm .bh-delete-yes:hover:enabled{background:#963c21}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 #bridge-help .bh-new:hover:enabled .bh-header-glyph{transform:translate(1px,-1px) rotate(-5deg)}
 #bridge-help .bh-history:hover:enabled .bh-header-glyph{transform:rotate(-18deg)}
 #bridge-help .bh-close:hover .bh-header-glyph{transform:translateY(2px)}
 #bridge-help .bh-window :is(.bh-copy,.bh-starters button,.bh-feedback button,.bh-stop,.bh-send):hover:enabled{transform:translateY(-1px)}
 #bridge-help .bh-menu button:hover:enabled :is(svg,.bh-glyph){transform:translateX(2px)}
 #bridge-help .bh-launch:hover{transform:translateY(-2px)}
 #bridge-help button:active:enabled{transform:scale(.97)}
 #bridge-help .bh-jump:active:enabled{transform:translateX(-50%) scale(.97)}
}

/* Attachment action stays quiet until hover, focus or its menu opens. */
/* Contextual request forms remain inside the conversation, outside the composer. */
#bridge-help .bh-intake{margin:14px 0;padding:18px;border:1px solid #e2e2e2;border-radius:14px;background:#fff;color:#111;text-align:left;display:grid;gap:13px}
#bridge-help .bh-intake h3{font-size:18px;line-height:1.3;letter-spacing:-.04em;margin:0}
#bridge-help .bh-intake p{font-size:12px;line-height:1.6;margin:0;color:#646464}
#bridge-help .bh-intake .bh-intake-kicker{font-size:9px;letter-spacing:.12em;color:#a34b00}
#bridge-help .bh-intake label{display:grid;gap:6px;font-size:11px;color:#444}
#bridge-help .bh-intake :is(input:not([type=checkbox]),select,textarea){display:block;width:100%;min-height:44px;padding:10px 11px;margin:0;border:1px solid #d7d7d7;border-radius:8px;background:#fafafa;font:400 16px/1.4 'DM Sans',sans-serif;color:#111;max-height:180px}
#bridge-help .bh-intake :is(input,select,textarea):focus-visible{outline:2px solid #ac530d;outline-offset:2px}
#bridge-help .bh-intake .bh-intake-consent{display:flex;align-items:flex-start;gap:9px;line-height:1.6;min-height:44px}
#bridge-help .bh-intake-consent input{accent-color:#000;width:17px;height:17px;flex:none;margin:2px 0 0}
#bridge-help .bh-intake .bh-intake-note{font-size:10px;line-height:1.6}
#bridge-help .bh-intake .bh-intake-error{color:#a62c18;font-size:12px}
#bridge-help .bh-intake-actions{display:flex;gap:8px}
#bridge-help .bh-intake button,#bridge-help .bh-intake-email{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:44px;padding:10px 13px;background:#000;color:#fff;border-radius:8px;font-size:12px;text-decoration:none}
#bridge-help .bh-intake-actions [type=submit]{flex:1}#bridge-help .bh-intake [data-intake-cancel]{background:#f4f4f4;color:#555}
#bridge-help .bh-intake button:disabled{opacity:.5;cursor:wait}
@media(hover:hover) and (pointer:fine){#bridge-help .bh-intake button:hover:enabled,#bridge-help .bh-intake-email:hover{background:#9e4708;color:#fff}}
#bridge-help .bh-intake-step{display:grid;gap:13px}#bridge-help .bh-intake .bh-intake-next{justify-self:start;min-width:110px}
#bridge-help .bh-intake .bh-intake-skip{justify-self:start;background:transparent;color:#666;padding:0;min-height:32px;text-decoration:underline;text-underline-offset:3px}
