.support-widget { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 1040; max-width: calc(100vw - 2rem); }
.support-toggle { box-shadow: 0 4px 20px #0003; min-height: 48px; }
.support-panel { width: 380px; max-width: calc(100vw - 2rem); margin-bottom: .75rem; max-height: calc(100dvh - 6rem); overflow: auto; }
.support-panel[hidden], [data-support] [hidden] { display: none !important; }
.support-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem; }
.support-messages { height: 310px; max-height: 40dvh; overflow-y: auto; padding: .75rem; background: var(--theme-soft); display: flex; flex-direction: column; gap: .75rem; }
.support-bubble { align-self: flex-start; padding: .75rem; max-width: 90%; border: 1px solid var(--theme-border); border-radius: .75rem; background: var(--theme-surface, #fff); overflow-wrap: anywhere; white-space: pre-wrap; }
.support-bubble[data-kind="support"] { align-self: flex-end; border-color: var(--theme-primary); }
.support-bubble small { display: block; color: var(--theme-muted); font-size: .7rem; }
.support-bubble img { display: block; max-width: 100%; max-height: 230px; border-radius: .5rem; margin-top: .5rem; object-fit: contain; }
.support-notice:not(:empty) { padding-top: .75rem; padding-bottom: .75rem; color: var(--theme-text); background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: .5rem; }
.support-inbox .support-messages { height: 460px; max-height: 60dvh; }
.support-compose label { width: 100%; }
@media (max-width: 575.98px) {
  .support-widget { right: .5rem; bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 1rem); }
  .support-panel { width: calc(100vw - 2rem); max-width: calc(100vw - 2rem); }
  .support-compose .form-control { font-size: 16px; }
}
