.gewerk-chat-r80{width:100%;min-width:0}.gewerk-chat-log{max-height:330px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:3px 3px 10px;scrollbar-gutter:stable}.gewerk-chat-message{max-width:96%;padding:12px 13px;border-radius:13px;background:#f1f5fb;color:#20354f;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.gewerk-chat-message.user{background:#e3efff;align-self:flex-end}.gewerk-chat-message.assistant{align-self:flex-start}.gewerk-chat-message strong{font-size:12px}.gewerk-chat-message p{margin:5px 0 0!important;white-space:pre-wrap}.gewerk-chat-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.gewerk-chat-links a{font-size:12px;color:#075fc7}.gewerk-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.gewerk-chat-suggestions button{font-size:12px!important;min-height:36px;padding:6px 9px!important;white-space:normal;text-align:left;background:white;color:#075fc7;border:1px solid #cbdcf3;border-radius:8px;cursor:pointer}.gewerk-chat-form{display:block!important;margin-top:9px}.gewerk-chat-form label{display:block;font-size:12px}.gewerk-chat-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:60px;max-height:150px;padding:9px 11px;border:1px solid #c8d9ee;border-radius:9px;background:#fff;color:#20354f;font:14px/1.45 system-ui,sans-serif;resize:vertical;display:block;margin-top:5px}.gewerk-chat-actions{display:flex;gap:8px;margin-top:8px}.gewerk-chat-actions button{min-height:42px;padding:9px 12px;border:1px solid #0969de;border-radius:8px;background:#086be5;color:white;font-weight:650;cursor:pointer}.gewerk-chat-actions button.secondary{background:white;color:#165dba;border-color:#c8d9ee}.gewerk-chat-r80 button:disabled{opacity:.6;cursor:wait}.gewerk-chat-status{font-size:12px;min-height:18px;margin:4px 0!important;color:#62758d}.gewerk-chat-note{display:block;font-size:11px;line-height:1.45;margin-top:9px;color:#62758d}.public-fox-panel{box-sizing:border-box;width:min(400px,calc(100vw - 28px))!important;max-height:calc(100dvh - 110px);overflow-y:auto}.public-fox-panel>p{font-size:12px}.fox-knowledge-r80{padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid #dce6f1}.fox-knowledge-r80 h3{font-size:15px;margin:0 0 10px}.fox-support-window .gewerk-chat-log{max-height:280px}@media(max-width:480px){.gewerk-chat-log{max-height:min(300px,38dvh)}.public-fox{right:10px!important}.public-fox-panel{padding:16px!important}.gewerk-chat-message{max-width:100%}.gewerk-chat-actions{flex-wrap:wrap}}@media print{.gewerk-chat-r80{display:none!important}}
.gewerk-chat-mascot{display:flex;align-items:center;gap:10px;margin-bottom:12px}.gewerk-chat-mascot img{object-fit:contain;transform-origin:50% 90%;animation:gewerk-fox-hello 1s ease-in-out 2}.gewerk-chat-mascot span{font-weight:700;font-size:12px}.gewerk-chat-mascot button{margin-left:auto;font-size:10px!important;padding:5px 8px!important;min-height:30px;border:1px solid #d5e1f0;border-radius:8px;cursor:pointer}.gewerk-chat-thinking .gewerk-chat-mascot img{animation:gewerk-fox-think .9s ease-in-out infinite}.public-fox>summary img{transform-origin:50% 90%;animation:gewerk-fox-hello 1s ease-in-out 2}.gewerk-motion-off img,img.gewerk-motion-off{animation:none!important}@keyframes gewerk-fox-hello{0%,100%{transform:rotate(0) translateY(0)}35%{transform:rotate(-8deg) translateY(-4px)}70%{transform:rotate(8deg) translateY(-2px)}}@keyframes gewerk-fox-think{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.gewerk-chat-mascot img,.gewerk-chat-thinking .gewerk-chat-mascot img,.public-fox>summary img{animation:none!important}}
/* R87b: animate the real visible launcher and the large fox in every trade. */
.mascot-button[data-fox-toggle]{transform-origin:50% 90%;animation:gewerk-fox-idle 5.5s ease-in-out infinite}.fox-support-peek,.trade-fox-peek{transform-origin:50% 95%;animation:gewerk-fox-idle 5.5s ease-in-out infinite}.public-fox>summary img{animation:gewerk-fox-idle 5.5s ease-in-out infinite}.fox-support-window.fox-is-thinking .fox-support-peek{animation:gewerk-fox-think .9s ease-in-out infinite}.fox-support-window.fox-is-speaking .fox-support-peek,.gewerk-chat-speaking .gewerk-chat-mascot img{animation:gewerk-fox-hello .7s ease-in-out infinite}.gewerk-mascots-paused .mascot-button,.gewerk-mascots-paused .fox-support-peek,.gewerk-mascots-paused .trade-fox-peek,.gewerk-mascots-paused .public-fox>summary img,.gewerk-mascots-paused .gewerk-chat-mascot img{animation:none!important}@keyframes gewerk-fox-idle{0%,55%,100%{transform:translateY(0) rotate(0)}68%{transform:translateY(-6px) rotate(-4deg)}82%{transform:translateY(-3px) rotate(4deg)}}@media(prefers-reduced-motion:reduce){.mascot-button[data-fox-toggle],.fox-support-peek,.trade-fox-peek,.public-fox>summary img,.gewerk-chat-speaking .gewerk-chat-mascot img{animation:none!important}}
/* R169: one transcript viewport, stable composer, progressive plain-text answers. */
.finn-chat-r169{display:flex;flex-direction:column;min-height:0;gap:0;isolation:isolate;font-family:system-ui,sans-serif;color:#20354f}
.finn-chat-r169 .gewerk-chat-mascot{flex:none;flex-wrap:nowrap;min-height:55px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #e8eef6;gap:10px}
.finn-chat-identity-r169{display:flex;flex-direction:column;gap:3px}.finn-chat-identity-r169 strong{font-size:15px}.finn-chat-identity-r169 small{font-size:11px;color:#6c7f94}
.finn-chat-r169 .gewerk-chat-mascot button{margin-left:auto;white-space:nowrap;background:#f5f8fc;color:#516a83;box-shadow:none}
html body .finn-chat-r169 .gewerk-chat-mascot>.gw-fox-portrait{display:block!important;width:48px!important;flex:none!important;height:48px}
.finn-chat-r169 .gewerk-chat-mascot>img{display:block!important;width:48px;height:48px;animation:none}
html body .finn-chat-r169 .gewerk-chat-mascot:has(.gw-fox-portrait)>img{display:none!important}
.finn-chat-r169 .gewerk-chat-log{flex:1 1 auto;min-height:100px;max-height:none!important;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overflow-anchor:none;gap:14px;padding:5px 5px 12px 0;scroll-behavior:auto;border:0;background:transparent}
.finn-chat-r169 .gewerk-chat-message{flex:none;box-sizing:border-box;max-width:96%;border:1px solid #e5ecf5;border-radius:15px 15px 15px 4px;background:#f5f8fc;padding:12px 14px;font-size:13px;line-height:1.65;color:#253f5a;box-shadow:none}
.finn-chat-r169 .gewerk-chat-message.user{background:#eaf2ff;border-color:#dce9fe;border-radius:15px 15px 4px 15px;max-width:90%;color:#204775}
.finn-chat-r169 .gewerk-chat-message strong{font-size:10px;font-weight:650;letter-spacing:.02em;color:#637992}.finn-chat-r169 .gewerk-chat-message p{font-size:13px;line-height:1.65}
.finn-chat-r169 .gewerk-chat-links{gap:6px}.finn-chat-r169 .gewerk-chat-links a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;box-sizing:border-box;border:1px solid #d5e2f2;border-radius:9px;text-decoration:none;background:white;font-size:11px;font-weight:600}
.finn-chat-r169 .gewerk-chat-suggestions{gap:6px}.finn-chat-r169 .gewerk-chat-suggestions button{font-size:11px!important;line-height:1.45;box-shadow:none}
.finn-message-pending-r169 p:after{content:'●  ●  ●';font-size:9px;letter-spacing:3px;color:#7f9cbe;animation:finn-wait-r169 1.3s ease-in-out infinite}
.finn-message-writing-r169 p:after{content:'';display:inline-block;width:2px;height:1em;margin-left:3px;vertical-align:-2px;border-radius:1px;background:#487bb7;animation:finn-caret-r169 1s steps(2,end) infinite}
.finn-chat-progress-r169{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:24px}.finn-chat-r169 .gewerk-chat-status{min-height:0;font-size:10px;line-height:1.5;margin:0!important}.finn-chat-r169 .gewerk-chat-status:after{display:none!important}
.finn-chat-r169 .finn-chat-skip-r169,.finn-chat-r169 .finn-chat-more-r169{min-height:30px;border:1px solid #d8e5f3;border-radius:8px;padding:5px 9px;background:#fff;color:#356796;font:600 10px/1.4 system-ui;box-shadow:none;cursor:pointer}
.finn-chat-r169 .finn-chat-more-r169{flex:none;align-self:center;max-width:100%;margin:3px 0;background:#eff6ff}
.finn-chat-r169 [hidden]{display:none!important}.finn-chat-r169 .gewerk-chat-form{flex:none;display:block!important;margin:4px 0 0!important;padding:11px 0 0;border-top:1px solid #e6edf6;background:#fff}
.finn-chat-r169 .gewerk-chat-form label{font-size:10px;font-weight:600;color:#687d94}.finn-chat-r169 .gewerk-chat-form textarea{min-height:58px;max-height:84px;resize:none;font-size:16px;line-height:1.5;margin-top:5px;border-radius:11px;padding:8px 11px;background:#fafcff}
.finn-chat-r169 .gewerk-chat-actions{display:flex;flex-wrap:nowrap;gap:8px;margin-top:8px}.finn-chat-r169 .gewerk-chat-actions button{min-height:39px;font:650 12px/1.4 system-ui;border-radius:10px;padding:9px 14px;box-shadow:none}.finn-chat-r169 .gewerk-chat-actions button:first-child{flex:1}.finn-chat-r169 .gewerk-chat-actions button.secondary{font-size:11px;border-color:#dbe5f1;color:#61758c}
.finn-chat-r169 .gewerk-chat-note{flex:none;font-size:9px;line-height:1.5;margin-top:8px;color:#7d8fa3}.finn-chat-announcement-r169{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.finn-chat-r169 :is(button,a,textarea):focus-visible{outline:2px solid #2166ed;outline-offset:3px}
/* Public website and Small share the same bounded layout. Settings stay available. */
html body .public-fox[data-assistant-r88]>.public-fox-panel,html body .finn-small-panel-r163{box-sizing:border-box;display:flex;flex-direction:column;gap:0;overflow:hidden!important;height:min(700px,calc(100dvh - 155px));max-height:calc(100dvh - 155px)!important;width:min(420px,calc(100vw - 24px))!important;padding:17px!important;border:1px solid #d9e5f3;border-radius:20px;box-shadow:0 18px 65px #1a3e6124}
html body .public-fox-panel>[data-gewerk-chat],html body .finn-small-panel-r163>[data-gewerk-chat]{flex:1 1 auto;min-height:0}
html body .public-fox-panel>strong,html body .finn-small-panel-r163>h2{display:none}.public-fox-panel>.finn-panel-context-r163,.finn-small-panel-r163>.finn-panel-context-r163{flex:none;margin:17px 30px 8px 0;padding:0;border:0;background:none}.public-fox-panel>.finn-panel-context-r163 p,.finn-small-panel-r163>.finn-panel-context-r163 p{display:none}.public-fox-panel>.finn-panel-context-r163 strong,.finn-small-panel-r163>.finn-panel-context-r163 strong{font-size:10px;color:#6e8399;font-weight:500}
html body .public-fox-panel>.finn-settings-r163,html body .finn-small-panel-r163>.finn-settings-r163{flex:none;margin:8px 0 0;padding:5px 0 0;border:0;border-top:1px solid #edf1f7;border-radius:0;background:white;font-size:10px;max-height:150px;overflow:auto}
html body .finn-settings-r163 summary{min-height:23px;font-size:10px}.finn-settings-r163[open] label{margin-top:8px}
/* Programme support: choose existing help or personal support, never two long panes. */
html body .fox-support-window .fox-support-card{display:flex;flex-direction:column;height:min(750px,calc(100dvh - 190px));max-height:calc(100dvh - 190px)!important;overflow:hidden;padding:16px;border-radius:20px}
.fox-support-card>.section-head{flex:none;margin-bottom:10px}.fox-support-card>.section-head h2{font-size:15px}
.finn-support-tabs-r169{display:flex;flex:none;gap:5px;padding:4px;background:#f0f5fb;border-radius:10px;margin-bottom:10px}.finn-support-tabs-r169 button{flex:1;min-height:34px;padding:7px 9px;border:0;border-radius:8px;font:650 11px/1.4 system-ui;color:#6b7e93;background:transparent;cursor:pointer}.finn-support-tabs-r169 button[aria-selected=true]{background:white;color:#2467b6;box-shadow:0 2px 7px #24456c0d}
.fox-support-card .fox-support-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fox-support-content>.fox-knowledge-r80{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;margin:0;border:0}.fox-knowledge-r80>h3{display:none}.fox-knowledge-r80>[data-gewerk-chat]{flex:1;min-height:0}
.fox-support-content>.finn-panel-context-r163{flex:none;margin:0 0 7px;padding:0;border:0;background:none}.fox-support-content>.finn-panel-context-r163 p{display:none}.fox-support-content>.finn-panel-context-r163 strong{font-size:10px;font-weight:500;color:#6e8399}
.fox-support-content>.finn-settings-r163{flex:none;max-height:150px;overflow:auto;margin:8px 0 0;padding:5px 0 0;background:white;border:0;border-top:1px solid #edf1f7;font-size:10px}
.fox-support-content>[data-support-hours-r144],.fox-support-content>.fox-project-context,.fox-support-content>.finn-personal-support-r169{display:none}
.fox-support-card.finn-personal-active-r169 .fox-support-content{display:block;overflow:auto}.fox-support-card.finn-personal-active-r169 .fox-knowledge-r80{display:none}.fox-support-card.finn-personal-active-r169 .finn-personal-support-r169,.fox-support-card.finn-personal-active-r169 [data-support-hours-r144]{display:block}
.fox-support-card>#fox-support-error:empty{display:none}.fox-support-card>#fox-support-error{flex:none;font-size:11px;margin:6px 0 0}
@keyframes finn-wait-r169{50%{opacity:.35}}@keyframes finn-caret-r169{50%{opacity:0}}
@media(max-width:620px){html body .public-fox[data-assistant-r88]>.public-fox-panel,html body .finn-small-panel-r163{height:calc(100dvh - 133px);max-height:calc(100dvh - 133px)!important;padding:13px!important;border-radius:17px}.finn-chat-r169 .gewerk-chat-mascot{margin-bottom:7px;padding-bottom:7px;min-height:43px}.finn-chat-r169 .gewerk-chat-log{min-height:65px}.finn-chat-r169 .gewerk-chat-message{padding:10px 11px}.finn-chat-r169 .gewerk-chat-form textarea{min-height:49px;max-height:64px}.finn-chat-r169 .gewerk-chat-note{font-size:8px}.finn-chat-r169 .gewerk-chat-mascot .gw-fox-portrait{width:42px!important;height:42px}.public-fox-panel>.finn-panel-context-r163,.finn-small-panel-r163>.finn-panel-context-r163{margin-top:12px;margin-bottom:5px}html body .fox-support-window .fox-support-card{height:calc(100dvh - 170px);max-height:calc(100dvh - 170px)!important;padding:13px}}
@media(max-height:620px){html body .public-fox[data-assistant-r88]>.public-fox-panel,html body .finn-small-panel-r163{bottom:72px!important;height:calc(100dvh - 85px);max-height:calc(100dvh - 85px)!important}.public-fox-panel>.finn-panel-context-r163,.finn-small-panel-r163>.finn-panel-context-r163{display:none}.finn-chat-r169 .gewerk-chat-note{display:none}.finn-chat-r169 .gewerk-chat-mascot{min-height:35px;margin-bottom:5px;padding-bottom:5px}.finn-chat-r169 .gewerk-chat-mascot .gw-fox-portrait{width:34px!important;height:34px}.finn-chat-r169 .gewerk-chat-form textarea{min-height:44px;max-height:44px}.finn-chat-r169 .gewerk-chat-actions button{min-height:34px}}
@media(prefers-reduced-motion:reduce){.finn-message-pending-r169 p:after,.finn-message-writing-r169 p:after{animation:none!important}}

.finn-project-access-r169{flex:none;font-size:11px;color:#58738f;max-height:180px;overflow:auto;margin:0 0 7px}.finn-project-access-r169>summary{cursor:pointer;min-height:26px;font-weight:600}.finn-project-access-r169 .fox-project-context{margin:7px 0;padding:10px}
/* The welcome paragraph repeats the identity/privacy line and crowds small screens. */
html body .public-fox-panel>p{display:none}
html body .public-fox-panel>a{flex:none;font-size:10px;line-height:1.5;min-height:18px}
@media(max-height:680px){.finn-chat-r169 .gewerk-chat-log{min-height:40px}.finn-chat-r169 .gewerk-chat-mascot{min-height:35px;margin-bottom:5px;padding-bottom:5px}.finn-chat-r169 .gewerk-chat-mascot .gw-fox-portrait{width:34px!important;height:34px}.finn-chat-r169 .gewerk-chat-note{display:none}.finn-chat-r169 .gewerk-chat-form textarea{min-height:44px;max-height:44px}.finn-chat-r169 .gewerk-chat-actions button{min-height:34px}.public-fox-panel>.finn-panel-context-r163,.finn-small-panel-r163>.finn-panel-context-r163{display:none}}
/* Anchor the floating character outside the card; it must not consume a row. */
html body .fox-support-window{height:min(750px,calc(100dvh - 200px))}
html body .fox-support-window .fox-support-card{height:100%;max-height:100%!important}
/* Keep application-wide button/form styles from expanding the compact chat. */
html body .fox-support-card>.section-head{min-height:34px;max-height:42px;margin:0 0 8px!important;padding:0;align-items:center}
html body .fox-support-card>.section-head h2{font:700 14px/1.4 system-ui;margin:0!important}
html body .fox-support-card>.section-head button{min-height:32px!important;height:32px;min-width:32px;padding:3px 8px!important;font:600 14px/1.4 system-ui!important;background:white!important;color:#536e8a!important;box-shadow:none!important}
html body .fox-support-card .finn-support-tabs-r169{padding:4px;gap:4px;margin:0 0 8px}
html body .fox-support-card .finn-support-tabs-r169 button{min-height:32px!important;height:auto;padding:6px 7px!important;font:600 10px/1.4 system-ui!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#637b95!important}
html body .fox-support-card .finn-support-tabs-r169 button[aria-selected=true]{background:white!important;color:#2166ad!important;box-shadow:0 2px 6px #1f416111!important}
html body .finn-chat-r169 .finn-chat-more-r169,html body .finn-chat-r169 .finn-chat-skip-r169{min-height:27px!important;height:auto;padding:4px 8px!important;font:600 10px/1.4 system-ui!important;box-shadow:none!important;background:#f0f6ff!important;color:#3d719f!important;border:1px solid #d8e5f3!important;border-radius:8px}
html body .finn-chat-r169 .gewerk-chat-form{margin:4px 0 0!important;padding-top:8px!important}
html body .finn-chat-r169 .gewerk-chat-form label{margin:0!important;font:600 10px/1.4 system-ui!important}
html body .finn-chat-r169 .gewerk-chat-form textarea{margin-top:5px!important;min-height:52px!important;max-height:64px!important;padding:8px 10px!important;font:400 16px/1.4 system-ui!important;box-shadow:none}
html body .finn-chat-r169 .gewerk-chat-actions button{height:auto;min-height:36px!important;padding:8px 12px!important;font:600 11px/1.4 system-ui!important;box-shadow:none!important}
html body .finn-chat-r169 .gewerk-chat-mascot button{min-height:27px!important;height:auto;padding:5px 7px!important;font:500 9px/1.4 system-ui!important;box-shadow:none!important;background:#f6f9fc!important;color:#65809b!important}
.finn-chat-progress-r169:has(.gewerk-chat-status:empty):has(button[hidden]){display:none}
@media(max-height:620px){html body .finn-chat-r169 .gewerk-chat-form textarea{min-height:42px!important;max-height:42px!important}}
html body .finn-chat-r169 .gewerk-chat-message p{color:#26415e!important;opacity:1}
@media(max-height:620px){html body .fox-support-window{bottom:12px!important;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)!important}html body .fox-support-window>.fox-support-peek{display:none!important}html body .fox-support-content>.finn-panel-context-r163{display:none}}

/* Keep the composer above an on-screen keyboard when VisualViewport is available. */
html.finn-keyboard-r169 body .public-fox[data-assistant-r88]>.public-fox-panel,html.finn-keyboard-r169 body .finn-small-panel-r163{bottom:calc(var(--finn-viewport-bottom-r169) + 12px)!important;height:calc(var(--finn-viewport-height-r169) - 40px)!important;max-height:calc(var(--finn-viewport-height-r169) - 40px)!important}
html.finn-keyboard-r169 body .fox-support-window{bottom:calc(var(--finn-viewport-bottom-r169) + 12px)!important;height:calc(var(--finn-viewport-height-r169) - 24px)!important;max-height:calc(var(--finn-viewport-height-r169) - 24px)!important}
html.finn-keyboard-r169 body .fox-support-window>.fox-support-peek,html.finn-keyboard-r169 .finn-panel-context-r163,html.finn-keyboard-r169 .gewerk-chat-note{display:none!important}
html.finn-keyboard-r169 body .finn-chat-r169 .gewerk-chat-log{min-height:30px}
html.finn-keyboard-r169 body .finn-chat-r169 .gewerk-chat-mascot{min-height:32px;margin-bottom:5px;padding-bottom:5px}
html.finn-keyboard-r169 body .finn-chat-r169 .gewerk-chat-form textarea{min-height:42px!important;max-height:42px!important}
