/* Scoped to the DEV landing's support-panel mount; shared widget behavior is retained. */
#bws-help-widget.firby-support-surface { --support-bg:#111111; --support-composer-bg:var(--support-bg); --support-text:#f5f5f5; --support-muted:#999999; --support-width:448px; }
#bws-help-widget.firby-support-surface #bws-hw-btn.canva-launcher-btn {background:#0f0e0e!important;border:1px solid #353535!important}
#bws-help-widget.firby-support-surface #bws-hw-btn.canva-launcher-btn .firby-launcher-cursor {width:100%!important;height:100%!important;transform:none!important;filter:none!important}
#bws-help-widget.firby-support-surface #firby-chat-window {
  position:fixed!important;inset:auto 0 var(--support-bottom,0px) auto!important;width:min(var(--support-width),100vw)!important;
  height:var(--support-height,100dvh)!important;max-height:100dvh!important;min-height:0!important;max-width:100vw!important;
  display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;
  background:var(--support-bg)!important;color:var(--support-text)!important;
  border:0!important;border-left:1px solid #262626!important;border-radius:12px!important;
  box-shadow:none!important;backdrop-filter:none!important;overflow:hidden!important;
  transform:translateX(100%)!important;opacity:0!important;visibility:hidden!important;
  transition:transform 320ms cubic-bezier(.32,.72,0,1),opacity 180ms ease,visibility 320ms!important;
  font-family:GeneralSans,Arial,sans-serif!important;isolation:isolate;container-type:size;
}
#bws-help-widget.firby-support-surface #firby-chat-window.open {transform:translateX(0)!important;opacity:1!important;visibility:visible!important}
#bws-help-widget.firby-support-surface #firby-chat-window::before,#bws-help-widget.firby-support-surface #firby-chat-window::after {content:none!important;display:none!important}
#bws-help-widget.firby-support-surface #firby-chat-window.firby-support-resizing {transition:none!important;user-select:none!important}
#bws-help-widget.firby-support-surface #firby-living-aura-mesh,
#bws-help-widget.firby-support-surface #canva-proactive-text,
#bws-help-widget.firby-support-surface #canva-pills-row {display:none!important}
#bws-help-widget.firby-support-surface .firby-resize-handle {display:block!important;touch-action:none}
#bws-help-widget.firby-support-surface #firby-resize-n {left:20px!important;right:0!important;top:0!important;height:7px!important}
#bws-help-widget.firby-support-surface #firby-resize-w {top:20px!important;bottom:0!important;left:0!important;width:7px!important}
#bws-help-widget.firby-support-surface #firby-resize-nw {top:0!important;left:0!important;width:20px!important;height:20px!important}
#bws-help-widget.firby-support-surface .firby-resize-handle:focus-visible {outline:1px solid #999;outline-offset:-1px}
#bws-help-widget.firby-support-surface #firby-chat-header {position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:32px 40px;height:112px!important;min-height:112px!important;padding:16px 24px 12px!important;gap:12px;background:var(--support-composer-bg)!important;border:0!important}
#bws-help-widget.firby-support-surface #firby-chat-header::after {content:"";position:absolute;left:24px;right:24px;bottom:0;height:1px;background:rgba(255,255,255,.045);pointer-events:none}
#bws-help-widget.firby-support-surface #firby-support-title {min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f5f5;font:600 20px/28px GeneralSans,Arial,sans-serif;letter-spacing:-.02em}
.firby-support-title-group {display:flex;align-items:center;gap:8px;min-width:0}
.firby-support-header-actions,.firby-support-tools,.firby-support-voice-tools {display:flex;align-items:center;gap:10px}
.firby-support-header-actions {flex-shrink:0;grid-column:2;grid-row:1}
.firby-support-navigation {grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:flex-start;gap:24px;min-width:0;background:transparent}
#bws-help-widget.firby-support-surface #firby-support-menu {margin-left:auto}
.firby-support-nav-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#a5a5a5;font:500 14px/20px GeneralSans,Arial,sans-serif;white-space:nowrap;cursor:pointer}
.firby-support-nav-button svg {display:block;width:22px;height:22px;flex-shrink:0}
.firby-support-nav-button[aria-current=page] {color:#fff;font-weight:600}
#firby-support-home[aria-current=page] svg {fill:currentColor;stroke-width:0}
.firby-support-nav-button:hover {color:#fff;background:transparent}
.firby-support-nav-button:focus-visible {outline:2px solid #d4d4d4;outline-offset:4px}
#bws-help-widget.firby-support-surface .firby-support-icon {display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;width:32px!important;height:32px!important;padding:0!important;margin:0;border:0!important;border-radius:7px;background:transparent!important;color:#d6d6d6!important;cursor:pointer;font:inherit;transition:background-color 140ms ease,color 140ms ease}
#bws-help-widget.firby-support-surface .firby-support-icon svg {display:block;width:20px;height:20px;flex-shrink:0}
#bws-help-widget.firby-support-surface .firby-support-icon:focus-visible,.firby-support-feedback:focus-visible,.firby-support-history-item:focus-visible,.firby-support-history-back:focus-visible {outline:2px solid #d4d4d4;outline-offset:3px}
#bws-help-widget.firby-support-surface .firby-support-icon:disabled {opacity:.35;cursor:default}
#bws-help-widget.firby-support-surface #firby-messages-stream {position:relative;min-height:0!important;flex:1 1 0px!important;padding:16px 24px!important;gap:20px!important;background:transparent!important;overscroll-behavior:contain;scrollbar-color:#454545 transparent!important}
.firby-support-empty {flex:0 0 auto;margin:auto;max-width:min(100%,440px);text-align:center;padding:16px 2px 24px}
.firby-support-empty[hidden] {display:none!important}
.firby-support-empty-logo {display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 12px}
.firby-support-empty-title {margin:0 0 8px;color:var(--support-muted);font:600 17px/25px GeneralSans,Arial,sans-serif}
.firby-support-empty-tip {margin:0;color:var(--support-muted);font:400 17px/25px GeneralSans,Arial,sans-serif;text-wrap:pretty}
#bws-help-widget.firby-support-surface #firby-input-form {display:block!important;position:relative!important;flex-shrink:0!important;align-self:center;width:calc(100% - 48px)!important;max-width:680px!important;min-width:0;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
#bws-help-widget.firby-support-surface .canva-input-box {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;min-height:124px!important;padding:0!important;background:var(--support-composer-bg)!important;border:1px solid #1d1d1d!important;border-radius:16px!important;box-shadow:none!important}
#bws-help-widget.firby-support-surface .canva-input-box:focus-within {border-color:#454545!important;box-shadow:none!important}
#bws-help-widget.firby-support-surface #firby-input {display:block;flex:1 1 auto!important;width:100%!important;min-height:60px!important;max-height:160px!important;margin:0!important;padding:16px 16px 8px!important;resize:none!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;color:#eee!important;font:400 16px/24px GeneralSans,Arial,sans-serif!important;box-sizing:border-box!important}
#bws-help-widget.firby-support-surface #firby-input::placeholder {color:#999!important;opacity:1;font:inherit!important}
.firby-support-composer-tools {display:flex;align-items:center;gap:10px;padding:8px 10px 10px;min-height:48px;flex-shrink:0}
.firby-support-composer-agent {font:500 13px/20px GeneralSans,Arial,sans-serif;color:#999}
.firby-support-voice-tools {margin-left:auto;gap:8px}
#bws-help-widget.firby-support-surface #firby-send {position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#1c1c1c!important;color:#f5f5f5!important;transform:none!important;box-shadow:none!important}
#bws-help-widget.firby-support-surface #firby-send[data-state=send] {background:#eee!important;color:#111!important}
#bws-help-widget.firby-support-surface #firby-send .firby-composer-icon svg {width:18px!important;height:18px!important}
#bws-help-widget.firby-support-surface #canva-disclaimer-text {display:block!important;flex:0 0 auto!important;align-self:stretch;min-width:0;max-width:none;width:auto;margin:0 24px!important;padding:12px 0 max(16px,env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid rgba(255,255,255,.045)!important;color:#999!important;text-align:center;text-wrap:pretty;font:400 11px/17px GeneralSans,Arial,sans-serif!important}
#bws-help-widget.firby-support-surface #canva-disclaimer-text a {color:inherit;text-decoration:underline;text-underline-offset:3px}
#bws-help-widget.firby-support-surface #canva-disclaimer-text a:focus-visible {outline:2px solid #d4d4d4;outline-offset:3px}
.firby-support-attachment {align-items:center;gap:12px;margin:10px 12px 0;padding:4px 8px;background:#222;border-radius:8px;color:#ddd;font:400 12px/18px GeneralSans,Arial,sans-serif}
#firby-attachment-name {min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.firby-support-recording {align-items:center;gap:10px;min-height:74px;padding:16px;color:#ddd;font:400 14px/22px GeneralSans,Arial,sans-serif}
.firby-support-record-dot {width:7px;height:7px;border-radius:50%;background:#ed7e7e}
#bws-help-widget.firby-support-surface #firby-voice-btn.recording {color:#ed7e7e!important}
.firby-support-history-view {flex:1;min-height:0;padding:24px;overflow-y:auto;overscroll-behavior:contain;color:#ddd}
.firby-support-history-view[hidden] {display:none!important}
.firby-support-history-view h3 {margin:0 0 20px;font:600 18px/26px GeneralSans,Arial,sans-serif}
.firby-support-history-back {display:flex;align-items:center;gap:8px;padding:0;margin:0 0 24px;background:transparent;border:0;color:#aaa;font:400 13px/20px GeneralSans,Arial,sans-serif;cursor:pointer}
.firby-support-history-item {display:flex;flex-direction:column;gap:4px;width:100%;padding:14px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #292929;color:#ddd;text-align:left;text-overflow:ellipsis;font:400 14px/22px GeneralSans,Arial,sans-serif;cursor:pointer}
.firby-support-history-item small,.firby-support-history-empty {color:#999;font:400 13px/20px GeneralSans,Arial,sans-serif}
.firby-support-archive-user,.firby-support-archive-agent {white-space:pre-wrap;overflow-wrap:anywhere;font:400 14px/23px GeneralSans,Arial,sans-serif}
.firby-support-archive-user {padding:12px 16px;background:#222;border-radius:12px;margin-left:30px}
#bws-help-widget.firby-support-surface #firby-chat-window.firby-support-show-history #firby-messages-stream,
#bws-help-widget.firby-support-surface #firby-chat-window.firby-support-show-history #firby-input-form {display:none!important}
#bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=history] #canva-disclaimer-text {display:none!important}
#bws-help-widget.firby-support-surface .firby-msg {font-family:GeneralSans,Arial,sans-serif!important;font-size:14px!important;line-height:1.65!important;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine) {
  #bws-help-widget.firby-support-surface .firby-support-icon:not(:disabled):hover {background:#242424!important;color:#fff!important}
  .firby-support-history-back:hover {color:#eee}
  .firby-support-history-item:hover {color:#fff;background:transparent}
}
@media(max-width:600px) {
  #bws-help-widget.firby-support-surface #bws-hw-btn.canva-launcher-btn {width:50px!important;height:50px!important}
  #bws-help-widget.firby-support-surface #firby-chat-window {inset:auto 12px max(12px,calc(var(--support-bottom,0px) + 12px)) auto!important;width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;height:min(clamp(340px,46dvh,392px),calc(var(--support-height,100dvh) - 110px))!important;max-height:calc(var(--support-height,100dvh) - 24px)!important;margin:0!important;border:1px solid #2b2b2b!important;border-radius:18px!important;box-shadow:0 18px 44px rgba(0,0,0,.72)!important;transform-origin:bottom right!important;transform:translateY(16px) scale(.97)!important;transition:transform 220ms cubic-bezier(.16,1,.3,1),opacity 160ms ease,visibility 220ms!important}
  #bws-help-widget.firby-support-surface #firby-chat-window.open {transform:translateY(0) scale(1)!important}
  #bws-help-widget.firby-support-surface .firby-resize-handle {display:none!important}
  #bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=home] #firby-reset-chat-btn {display:none!important}
  #bws-help-widget.firby-support-surface #firby-chat-header {height:auto!important;min-height:0!important;grid-template-rows:26px 30px;padding:10px 12px 6px!important;row-gap:4px}
  #bws-help-widget.firby-support-surface #firby-support-title {font-size:13.5px;line-height:20px;letter-spacing:-.025em}
  #bws-help-widget.firby-support-surface #firby-chat-header .firby-support-icon {width:26px!important;height:26px!important}
  #bws-help-widget.firby-support-surface #firby-chat-header .firby-support-icon svg {width:17px;height:17px}
  #bws-help-widget.firby-support-surface #firby-chat-header::after {left:12px;right:12px}
  .firby-support-navigation {gap:12px}
  .firby-support-nav-button {min-height:30px;gap:5px;font-size:12px}
  .firby-support-nav-button svg {width:16px;height:16px}
  .firby-support-toolbar {padding:0 12px}
  #bws-help-widget.firby-support-surface #firby-messages-stream {padding:8px 12px!important;gap:10px!important}
  #bws-help-widget.firby-support-surface .canva-input-box {min-height:76px!important;border-radius:12px!important}
  #bws-help-widget.firby-support-surface #firby-input {min-height:34px!important;padding:9px 12px 2px!important;font-size:16px!important;line-height:21px!important}
  .firby-support-composer-tools {min-height:36px;padding:2px 6px 6px}
  .firby-support-composer-agent {font-size:12px}
  #bws-help-widget.firby-support-surface #firby-send {width:30px!important;height:30px!important}
  #bws-help-widget.firby-support-surface #firby-send .firby-composer-icon svg {width:15px!important;height:15px!important}
  #bws-help-widget.firby-support-surface #firby-input-form {width:calc(100% - 24px)!important;margin:0!important}
  #bws-help-widget.firby-support-surface #canva-disclaimer-text {margin:0 12px!important;padding:6px 0 8px!important;font-size:10px!important;line-height:13px!important}
  .firby-support-empty {padding:2px 4px}
  .firby-support-empty-logo {width:30px;height:30px;margin-bottom:6px}
  .firby-support-empty-title {font-size:13.5px;line-height:18px;margin-bottom:3px}
  .firby-support-empty-tip {font-size:11.5px;line-height:16px}
}
@media(hover:none) and (pointer:coarse) {
  #bws-help-widget.firby-support-surface .firby-resize-handle {display:none!important}
}
@media(max-width:390px) {.firby-support-navigation{gap:16px}.firby-support-nav-button{gap:6px;font-size:13px}}
@container(max-width:420px) {
  #bws-help-widget.firby-support-surface #firby-chat-header {padding-left:16px!important;padding-right:16px!important;column-gap:8px}
  .firby-support-navigation {gap:12px}
  .firby-support-nav-button {gap:6px;font-size:13px}
  .firby-support-nav-button svg {width:20px;height:20px}
  .firby-support-header-actions {gap:4px}
  #bws-help-widget.firby-support-surface #firby-chat-header .firby-support-icon {width:28px!important;height:28px!important}
  #bws-help-widget.firby-support-surface #canva-disclaimer-text {margin-inline:16px!important}
}
/* Density follows the panel's own height, including manual resize and browser zoom. */
@container(max-height:600px) {
  #bws-help-widget.firby-support-surface #firby-chat-header {height:96px!important;min-height:96px!important;grid-template-rows:28px 36px;padding-top:12px!important;padding-bottom:12px!important;row-gap:8px}
  #bws-help-widget.firby-support-surface #firby-support-title {font-size:18px;line-height:26px}
  .firby-support-nav-button {min-height:36px}
  #bws-help-widget.firby-support-surface #firby-messages-stream {padding-top:12px!important;padding-bottom:12px!important;gap:12px!important}
  .firby-support-empty {padding:8px 0}
  .firby-support-empty-logo {width:48px;height:48px;margin-bottom:8px}
  .firby-support-empty-title {font-size:15px;line-height:22px;margin-bottom:6px}
  .firby-support-empty-tip {font-size:14px;line-height:21px}
  #bws-help-widget.firby-support-surface .canva-input-box {min-height:108px!important;border-radius:14px!important}
  #bws-help-widget.firby-support-surface #firby-input {min-height:48px!important;max-height:90px!important;padding-top:12px!important;padding-bottom:6px!important;font-size:15px!important;line-height:22px!important}
  #bws-help-widget.firby-support-surface #canva-disclaimer-text {padding-top:10px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;font-size:11px!important;line-height:16px!important}
  .firby-support-history-view {padding:16px 24px}
}
@container(max-height:440px) {
  #bws-help-widget.firby-support-surface #firby-chat-header {height:84px!important;min-height:84px!important;grid-template-rows:28px 28px;padding-top:10px!important;padding-bottom:10px!important;row-gap:8px}
  .firby-support-nav-button {min-height:28px;font-size:13px;gap:6px}
  .firby-support-nav-button svg {width:20px;height:20px}
  #bws-help-widget.firby-support-surface #firby-messages-stream {padding-top:8px!important;padding-bottom:8px!important}
  .firby-support-empty {padding:0}
  .firby-support-empty-logo {width:28px;height:28px;margin-bottom:6px}
  .firby-support-empty-title {font-size:14px;line-height:20px;margin-bottom:4px}
  .firby-support-empty-tip {font-size:12px;line-height:18px}
  #bws-help-widget.firby-support-surface .canva-input-box {min-height:96px!important}
  #bws-help-widget.firby-support-surface #firby-input {min-height:40px!important;max-height:72px!important;padding-top:10px!important;font-size:14px!important;line-height:20px!important}
  .firby-support-composer-tools {min-height:44px;padding-top:4px;padding-bottom:6px}
  .firby-support-recording {min-height:40px;padding:8px 12px}
  #bws-help-widget.firby-support-surface #canva-disclaimer-text {padding-top:8px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
  #bws-help-widget.firby-support-surface #firby-chat-window.firby-support-has-draft .firby-support-empty {display:none!important}
}
@container(max-height:320px) {
  #bws-help-widget.firby-support-surface #firby-messages-stream .firby-support-empty {display:none!important}
  #bws-help-widget.firby-support-surface #canva-disclaimer-text {padding-bottom:max(6px,env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce) {
  #bws-help-widget.firby-support-surface #firby-chat-window {transition:none!important}
}

/* Home and inline contact share their own scroll area; Chat keeps its native composer. */
#bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=home] #firby-messages-stream,
#bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=home] #firby-input-form {display:none!important}
#bws-help-widget.firby-support-surface #firby-support-home-view {display:block;flex:1 1 0px;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding-block:16px;padding:28px 4.5% max(24px,env(safe-area-inset-bottom));box-sizing:border-box;background:var(--support-bg);color:var(--support-text);font-family:GeneralSans,Arial,sans-serif;scrollbar-color:#454545 transparent}
#bws-help-widget.firby-support-surface #firby-support-home-view[hidden],
#bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-choices[hidden],
#bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-view[hidden] {display:none!important}
#firby-support-home-view .firby-support-home-choices,#firby-support-home-view .firby-support-contact-view {width:100%;max-width:520px;min-width:0;margin-inline:auto;box-sizing:border-box}
#firby-support-home-view .firby-support-home-intro {display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:start;margin:0 0 24px}
#firby-support-home-view .firby-support-home-logo {display:block;grid-column:1;grid-row:1/span 2;width:40px;height:40px;object-fit:contain}
#firby-support-home-view #firby-support-home-heading {grid-column:2;min-width:0;margin:0;color:#f5f5f5;font:600 22px/28px GeneralSans,Arial,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
#firby-support-home-view .firby-support-home-intro-copy {grid-column:2;min-width:0;margin:0;color:#aaa;font:400 14px/22px GeneralSans,Arial,sans-serif;overflow-wrap:anywhere}
#firby-support-home-view .firby-support-home-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#firby-support-home-view .firby-support-home-card {appearance:none;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;column-gap:12px;width:100%;min-width:0;min-height:92px;margin:0;padding:16px;box-sizing:border-box;border:1px solid #242424;border-radius:12px;background:#151515;color:#f5f5f5;box-shadow:none;text-align:left;font-family:GeneralSans,Arial,sans-serif;white-space:normal;cursor:pointer;touch-action:manipulation;transition:border-color 140ms ease,color 140ms ease}
#firby-support-home-view .firby-support-home-card-icon {display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;background:transparent;color:#d6d6d6}
#firby-support-home-view .firby-support-home-card-icon svg,#firby-support-home-view .firby-support-home-card-logo {display:block;width:24px;height:24px;object-fit:contain;flex-shrink:0}
#firby-support-home-view .firby-support-home-card-copy {display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
#firby-support-home-view .firby-support-home-card-copy strong {display:block;margin:0;color:#f5f5f5;font:600 16px/22px GeneralSans,Arial,sans-serif}
#firby-support-home-view .firby-support-home-card-copy span {display:block;margin:0;color:#aaa;font:400 13px/20px GeneralSans,Arial,sans-serif}
#firby-support-home-view .firby-support-home-card-arrow {display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:#999}
#firby-support-home-view .firby-support-home-card-arrow svg {display:block;width:16px;height:16px}
#firby-support-home-view .firby-support-home-card:focus-visible,#firby-support-home-view .firby-support-contact-back:focus-visible,#firby-support-home-view .firby-support-contact-submit:focus-visible {outline:2px solid #d4d4d4;outline-offset:3px}
#firby-support-home-view .firby-support-home-card:disabled {opacity:.55;cursor:default}

/* The contact form remains in normal flow so its submit button is reachable at any height. */
#firby-support-home-view .firby-support-contact-back {appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;margin:0 0 16px;padding:0;border:0;border-radius:4px;background:transparent;color:#bbb;box-shadow:none;font:500 14px/20px GeneralSans,Arial,sans-serif;text-align:left;cursor:pointer;touch-action:manipulation}
#firby-support-home-view .firby-support-contact-back svg {display:block;width:16px;height:16px;flex-shrink:0}
#firby-support-home-view #firby-support-contact-heading {margin:0 0 8px;color:#f5f5f5;font:600 20px/28px GeneralSans,Arial,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
#firby-support-home-view .firby-support-contact-copy {margin:0 0 24px;color:#aaa;font:400 14px/22px GeneralSans,Arial,sans-serif;overflow-wrap:anywhere}
#firby-support-home-view #firby-support-contact-form {display:block;width:100%;min-width:0;margin:0;padding:0;border:0;background:transparent;box-sizing:border-box}
#firby-support-home-view .firby-support-contact-form fieldset {display:grid;gap:14px;min-width:0;margin:0;padding:0;border:0}
#firby-support-home-view .firby-support-contact-field {display:grid;gap:6px;min-width:0}
#firby-support-home-view .firby-support-contact-form label {display:grid;gap:6px;min-width:0;margin:0;color:#d6d6d6;font:500 14px/20px GeneralSans,Arial,sans-serif}
#firby-support-home-view .firby-support-contact-form input,#firby-support-home-view .firby-support-contact-form textarea {appearance:none;display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px;box-sizing:border-box;border:1px solid #333;border-radius:8px;background:#151515;color:#f5f5f5;box-shadow:none;font:400 16px/22px GeneralSans,Arial,sans-serif;transition:border-color 140ms ease}
#firby-support-home-view .firby-support-contact-form textarea {min-height:88px;max-height:160px;resize:vertical;overflow:auto}
#firby-support-home-view .firby-support-contact-form input::placeholder,#firby-support-home-view .firby-support-contact-form textarea::placeholder {color:#999;opacity:1}
#firby-support-home-view .firby-support-contact-form input:focus-visible,#firby-support-home-view .firby-support-contact-form textarea:focus-visible {border-color:#d4d4d4;outline:0;box-shadow:0 0 0 1px #d4d4d4}
#firby-support-home-view .firby-support-contact-form input:user-invalid,#firby-support-home-view .firby-support-contact-form textarea:user-invalid {border-color:#c78f8f}
#firby-support-home-view .firby-support-contact-submit {appearance:none;display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:4px 0 0;padding:11px 16px;box-sizing:border-box;border:1px solid #eee;border-radius:8px;background:#eee;color:#111;box-shadow:none;font:600 14px/20px GeneralSans,Arial,sans-serif;text-align:center;white-space:normal;cursor:pointer;touch-action:manipulation;transition:background-color 140ms ease}
#firby-support-home-view .firby-support-contact-form fieldset:disabled input,#firby-support-home-view .firby-support-contact-form fieldset:disabled textarea {opacity:.65;cursor:wait}
#firby-support-home-view .firby-support-contact-submit:disabled,#firby-support-home-view .firby-support-contact-form fieldset:disabled .firby-support-contact-submit {opacity:.55;cursor:wait}
#firby-support-home-view .firby-support-contact-status {margin:12px 0 0;color:#bbb;font:400 14px/20px GeneralSans,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
#firby-support-home-view .firby-support-contact-status:empty {display:none}
#firby-support-home-view .firby-support-contact-status[data-state=success] {color:#d8e3da}
#firby-support-home-view .firby-support-contact-status[data-state=error] {color:#f0b1b1}
@media(hover:hover) and (pointer:fine) {
  #firby-support-home-view .firby-support-home-card:not(:disabled):hover {border-color:#444}
  #firby-support-home-view .firby-support-home-card:not(:disabled):hover .firby-support-home-card-arrow {color:#eee}
  #firby-support-home-view .firby-support-contact-back:hover {color:#fff}
  #firby-support-home-view .firby-support-contact-submit:not(:disabled):hover {background:#fff}
}
@container(max-width:360px) {
  #bws-help-widget.firby-support-surface #firby-support-home-view {padding-inline:16px}
  #firby-support-home-view .firby-support-home-card {column-gap:10px;padding-inline:12px}
}
@container(max-height:600px) {
  #bws-help-widget.firby-support-surface #firby-support-home-view {padding-block:20px max(20px,env(safe-area-inset-bottom))}
  #firby-support-home-view .firby-support-home-intro {margin-bottom:20px}
  #firby-support-home-view .firby-support-home-card {min-height:84px;padding-block:14px}
  #firby-support-home-view .firby-support-contact-back {margin-bottom:12px}
  #firby-support-home-view .firby-support-contact-copy {margin-bottom:20px}
}
@container(max-height:440px) {
  #bws-help-widget.firby-support-surface #firby-support-home-view {padding-block:16px max(16px,env(safe-area-inset-bottom))}
  #firby-support-home-view .firby-support-home-intro {margin-bottom:16px}
  #firby-support-home-view #firby-support-home-heading {font-size:20px;line-height:26px}
  #firby-support-home-view .firby-support-home-card {padding-block:12px}
  #firby-support-home-view .firby-support-contact-copy {margin-bottom:16px}
  #firby-support-home-view .firby-support-contact-form fieldset {gap:12px}
}
@media(prefers-reduced-motion:reduce) {
  #firby-support-home-view .firby-support-home-card,#firby-support-home-view .firby-support-contact-form input,#firby-support-home-view .firby-support-contact-form textarea,#firby-support-home-view .firby-support-contact-submit {transition:none}
}

/* Human conversations use their own transport and composer. */
#bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=human] #firby-messages-stream,
#bws-help-widget.firby-support-surface #firby-chat-window[data-support-view=human] #firby-input-form {display:none!important}
#bws-help-widget.firby-support-surface .firby-human-support-view {display:flex;flex:1 1 0px;flex-direction:column;min-width:0;min-height:0;overflow:hidden;font-family:GeneralSans,Arial,sans-serif;color:#eee}
#bws-help-widget.firby-support-surface .firby-human-support-view[hidden] {display:none!important}
.firby-human-summary {display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:14px 16px 10px;border-bottom:1px solid rgba(255,255,255,.045)}
.firby-human-back {appearance:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:#d6d6d6;cursor:pointer;touch-action:manipulation;transition:background-color 140ms ease,color 140ms ease}
.firby-human-back svg {display:block;width:20px;height:20px}
.firby-human-back:hover {background:#242424;color:#fff}
.firby-human-back:focus-visible {outline:2px solid #d4d4d4;outline-offset:2px}
.firby-human-avatar {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;color:#ddd}
.firby-human-avatar svg {width:24px;height:24px}
.firby-human-heading {margin:0 0 3px;font:600 14px/20px GeneralSans,Arial,sans-serif;color:#eee}
.firby-human-status {margin:0;font:400 12px/18px GeneralSans,Arial,sans-serif;color:#aaa;text-wrap:pretty}
#firby-human-messages {display:flex;flex-direction:column;flex:1 1 0px;min-height:0;min-width:0;gap:16px;padding:12px 24px 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#454545 transparent}
.firby-human-empty {margin:auto;text-align:center;padding:20px 0;max-width:320px;align-self:center}
.firby-human-empty h3 {margin:0 0 8px;font:600 17px/24px GeneralSans,Arial,sans-serif;color:#ddd}
.firby-human-empty p {margin:0;font:400 14px/22px GeneralSans,Arial,sans-serif;color:#aaa;text-wrap:pretty}
.firby-human-message {align-self:flex-start;max-width:88%;min-width:0}
.firby-human-message.is-visitor {align-self:flex-end}
.firby-human-bubble {padding:11px 14px;border:1px solid #242424;border-radius:14px 14px 14px 4px;background:#191919;color:#eee}
.firby-human-message.is-visitor .firby-human-bubble {background:#252525;border-color:#353535;border-radius:14px 14px 4px 14px}
.firby-human-author {display:block;margin:0 0 4px;font:600 12px/17px GeneralSans,Arial,sans-serif;color:#ccc}
.firby-human-body {margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:400 14px/22px GeneralSans,Arial,sans-serif}
.firby-human-meta {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:5px;font:400 10px/15px GeneralSans,Arial,sans-serif;color:#aaa}
.firby-human-retry {padding:4px 0;border:0;background:transparent;color:#e1b2b2;text-decoration:underline;text-underline-offset:3px;font:500 12px/18px GeneralSans,Arial,sans-serif;cursor:pointer}
#bws-help-widget.firby-support-surface .firby-human-composer {display:flex;align-items:flex-end;gap:8px;flex:0 0 auto;min-width:0;margin:8px 24px 14px;padding:7px;border:1px solid #292929;border-radius:16px;background:var(--support-bg)}
#bws-help-widget.firby-support-surface .firby-human-composer:focus-within {border-color:#555}
#bws-help-widget.firby-support-surface #firby-human-input {display:block;flex:1 1 auto;min-width:0;width:100%;min-height:44px;max-height:120px;resize:none;box-sizing:border-box;margin:0!important;padding:9px 7px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#eee;font:400 16px/24px GeneralSans,Arial,sans-serif!important}
#firby-human-input::placeholder {color:#999;opacity:1}
.firby-human-send {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;margin-bottom:5px;padding:0;border:0;border-radius:50%;background:#eee;color:#111;cursor:pointer}
.firby-human-send svg {width:18px;height:18px}
.firby-human-send:disabled {background:#292929;color:#aaa;opacity:.55;cursor:default}
.firby-human-error {flex:0 0 auto;margin:0 24px 8px;color:#e1b2b2;font:400 12px/18px GeneralSans,Arial,sans-serif;overflow-wrap:anywhere}
.firby-human-error[hidden],.firby-human-error:empty {display:none!important}
.firby-human-send:focus-visible,.firby-human-retry:focus-visible {outline:2px solid #d4d4d4;outline-offset:3px}
@container(max-width:420px) {
  .firby-human-summary {padding-inline:16px}
  #firby-human-messages {padding-inline:16px}
  #bws-help-widget.firby-support-surface .firby-human-composer {margin-inline:16px}
  .firby-human-error {margin-inline:16px}
}
@container(max-height:440px) {
  .firby-human-summary {padding-top:8px;padding-bottom:6px;gap:8px}
  .firby-human-avatar {width:24px;height:24px}
  .firby-human-heading {font-size:13px;line-height:18px}
  .firby-human-status {font-size:12px;line-height:16px}
  #firby-human-messages {gap:10px;padding-top:8px;padding-bottom:8px}
  .firby-human-empty {padding:8px 0}
  .firby-human-empty h3 {font-size:15px;line-height:22px}
  .firby-human-empty p {font-size:13px;line-height:19px}
  #bws-help-widget.firby-support-surface #firby-human-input {min-height:40px;max-height:72px;font-size:15px!important;line-height:22px!important}
  #bws-help-widget.firby-support-surface .firby-human-composer {margin-top:6px;margin-bottom:10px}
}
@media(max-width:600px) {
  #bws-help-widget.firby-support-surface #firby-support-home-view {padding:10px 12px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-intro {grid-template-columns:28px minmax(0,1fr);column-gap:9px;row-gap:1px;margin-bottom:8px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-logo {width:28px;height:28px}
  #bws-help-widget.firby-support-surface #firby-support-home-view #firby-support-home-heading {font-size:15px;line-height:20px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-intro-copy {font-size:11.5px;line-height:15px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-actions {gap:6px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card {min-height:48px;padding:8px 10px;border-radius:10px;grid-template-columns:20px minmax(0,1fr) 14px;column-gap:9px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card-icon {width:20px;height:20px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card-icon svg {width:18px;height:18px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card-copy {gap:1px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card-copy strong {font-size:13px;line-height:17px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-home-card-copy span {font-size:11px;line-height:14px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-back {min-height:28px;margin-bottom:4px;font-size:12.5px}
  #bws-help-widget.firby-support-surface #firby-support-home-view #firby-support-contact-heading {font-size:15px;line-height:20px;margin-bottom:3px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-copy {font-size:12px;line-height:16px;margin-bottom:10px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-form label {font-size:12px;line-height:16px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-form fieldset {gap:8px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-form input {min-height:36px;padding:6px 10px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-form textarea {min-height:52px;padding:6px 10px}
  #bws-help-widget.firby-support-surface #firby-support-home-view .firby-support-contact-submit {min-height:38px;padding:8px 12px;font-size:13px}
  #bws-help-widget.firby-support-surface .firby-human-summary {padding:8px 12px 6px;gap:8px}
  #bws-help-widget.firby-support-surface .firby-human-back {width:30px;height:30px}
  #bws-help-widget.firby-support-surface .firby-human-avatar {width:24px;height:24px}
  #bws-help-widget.firby-support-surface .firby-human-heading {font-size:13px;line-height:17px}
  #bws-help-widget.firby-support-surface .firby-human-status {font-size:11px;line-height:14px}
  #bws-help-widget.firby-support-surface #firby-human-messages {padding:8px 12px 10px;gap:10px}
  #bws-help-widget.firby-support-surface .firby-human-empty {padding:8px 0}
  #bws-help-widget.firby-support-surface .firby-human-empty h3 {font-size:14px;line-height:19px;margin-bottom:4px}
  #bws-help-widget.firby-support-surface .firby-human-empty p {font-size:12px;line-height:17px}
  #bws-help-widget.firby-support-surface .firby-human-composer {margin:4px 12px 8px;padding:5px;border-radius:12px}
  #bws-help-widget.firby-support-surface #firby-human-input {min-height:36px;padding:6px 8px!important;line-height:20px!important}
  #bws-help-widget.firby-support-surface .firby-human-send {width:30px;height:30px;margin-bottom:3px}
}
