/* Shared sizing: the conversation area scrolls while navigation and sending stay visible. */
html { width: 100%; height: 100%; overflow: hidden; }
body {
  position: fixed;
  inset-inline: 0;
  top: var(--viewport-top, 0px);
  width: 100%;
  height: 100vh;
  height: var(--app-height, 100vh);
  min-width: 0;
  overflow: hidden;
}
#app { width: 100%; height: 100%; min-width: 0; overflow: auto; }
.app-shell { width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.main-shell, .workspace, .page-content, .card, .form-stack, .field-row > *, .page-intro > div { min-width: 0; }
.main-shell, .workspace { min-height: 0; }
.workspace { overscroll-behavior: contain; }
.topbar-title { min-width: 0; }
.topbar h1, .chat-person h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-right, .status-select, .chat-actions { flex-shrink: 0; }
.mobile-account { display: none; }
.alert-button { position: relative; width: 36px; height: 36px; flex-shrink: 0; }
.alert-button[data-sound-state="locked"]::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #e4a743; right: 5px; bottom: 4px; }
.alert-count { position: absolute; right: -5px; top: -4px; min-width: 18px; height: 18px; padding: 0 4px; background: #e85062; border: 2px solid white; border-radius: 9px; font-size: 9px; line-height: 14px; color: white; }
.alert-count[hidden] { display: none; }
.alert-settings .alert-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.alert-settings input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); }
.alert-settings input[type="range"] { width: 100%; padding: 10px 0; accent-color: var(--blue); box-shadow: none; }
.alert-settings output { color: var(--blue); float: right; }
.alert-settings-divider { height: 1px; background: var(--line); }
.alert-settings .hint { line-height: 1.8; overflow-wrap: anywhere; }
.message-notice { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; align-items: center; width: min(350px, calc(100vw - 32px)); padding: 12px 10px; border: 1px solid #dae5f7; border-radius: 13px; background: white; box-shadow: 0 10px 45px #173a6326; }
.message-notice-main { display: flex; align-items: center; text-align: left; gap: 12px; min-width: 0; flex: 1; padding: 5px 8px; color: var(--blue); }
.message-notice-main > span { min-width: 0; }
.message-notice-main strong { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.message-notice-main small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.reply-sound-toggle { margin-left: auto; flex-shrink: 0; width: 32px; }
.widget-header .reply-sound-toggle + .icon-button { margin-left: 2px; }
.rail { overflow-y: auto; overscroll-behavior: contain; }
.rail > * { flex-shrink: 0; }
.inbox-layout { grid-template-columns: 288px minmax(0, 1fr) 264px; min-width: 0; overflow: hidden; }
.conversation-panel, .conversation-list, .chat-column { min-width: 0; min-height: 0; }
.conversation-panel, .chat-column, .detail-panel { height: 100%; }
.conversation-list, .chat-scroll { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.row-preview { max-width: none; }
.row-bottom { gap: 8px; }
.row-bottom .tag { max-width: calc(100% - 25px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-person, .chat-person > div { min-width: 0; }
.chat-person { flex: 1; }
.chat-actions { flex-wrap: wrap; justify-content: flex-end; }
.chat-actions .detail-toggle { display: none; }
.chat-scroll { overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; }
.message-body { max-width: min(79%, 620px); }
.message-text, .detail-field, .reply-card p { overflow-wrap: anywhere; }
.file-card { width: 100%; max-width: 280px; }
.file-card strong { max-width: 100%; }
.image-card .message-image { max-width: 100%; }
.composer-tools { flex-wrap: wrap; }
.composer textarea { display: block; }
.composer-bottom { gap: 12px; }
.composer-bottom > .hint { min-width: 0; }
.composer-bottom > button { flex-shrink: 0; }
.welcome-panel { min-height: 0; padding: 24px; overflow: auto; }
.welcome-panel .empty-state { padding: 24px 0; }
.stats { width: min(100%, 460px); }
.stat { min-width: 0; }
.stat span { overflow-wrap: anywhere; }
.replies-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.reply-card { min-width: 0; }
.table-person, .table-person > span { min-width: 0; }
.table-person > span { overflow-wrap: anywhere; }
.team-table .status, .team-table td:last-child { white-space: nowrap; }
.integration-hero > div { min-width: 0; }
.integration-hero p, .integration-step p { overflow-wrap: anywhere; }
.code-box { width: 100%; max-width: 100%; white-space: pre-wrap; word-break: break-word; }
.modal-overlay { top: var(--viewport-top, 0px); bottom: auto; height: var(--app-height, 100dvh); padding: 20px; }
.modal { max-height: calc(var(--app-height, 100dvh) - 40px); }
.visitor-detail-dialog .detail-section { padding: 16px 0; }
.visitor-detail-dialog .visitor-profile { padding: 14px 0; }
.login-page { min-height: 100%; }
.login-form-side { min-width: 0; }

.message-viewport { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.message-viewport > .chat-scroll { width: 100%; min-width: 0; overscroll-behavior-y: contain; }
.chat-scroll, .conversation-list { scrollbar-width: thin; scrollbar-color: #cdd8e8 transparent; }
.jump-latest { position: absolute; z-index: 2; right: 16px; bottom: 12px; max-width: calc(100% - 32px); min-height: 36px; padding: 8px 14px; border-radius: 20px; background: white; box-shadow: 0 4px 20px #183d7020; font-size: 12px; }
button[aria-busy="true"] { cursor: progress; }
.conversation-row[aria-busy="true"] { background: #edf3ff; }
.primary[aria-busy="true"]::after, .secondary[aria-busy="true"]::after { content: ''; display: inline-block; width: 12px; height: 12px; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ql-spin .7s linear infinite; }
@keyframes ql-spin { to { transform: rotate(360deg); } }
button:focus-visible, a:focus-visible { outline: 3px solid #94b8ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .primary[aria-busy="true"]::after, .secondary[aria-busy="true"]::after { animation: none; } }

/* Independent visitor page: a desktop workspace and a full-screen mobile chat. */
.chat-page { display: grid; place-items: center; padding: 24px; background: #edf2fa; }
.chat-page #chat-app {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  max-height: 960px;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 65px #263e6412;
}
.consultation-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); width: 100%; height: 100%; min-height: 0; }
.consultation-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 36px 28px;
  background: linear-gradient(160deg, #edf4ff, #f7faff 75%);
  border-right: 1px solid #e1e9f5;
  overflow: auto;
}
.consultation-sidebar .brand { font-size: 20px; letter-spacing: 0; }
.consultation-sidebar .brand img { width: 38px; height: 38px; }
.consultation-sidebar h2 { font-size: 29px; line-height: 1.6; letter-spacing: -.6px; margin: 50px 0 15px; }
.consultation-sidebar > p { font-size: 13px; color: #7c90ae; line-height: 1.95; }
.consultation-features { display: grid; gap: 23px; margin: 38px 0; }
.consultation-feature { display: flex; gap: 12px; }
.consultation-feature > svg { color: #7298da; margin-top: 3px; }
.consultation-feature strong { display: block; font-size: 13px; font-weight: 500; }
.consultation-feature p { font-size: 11px; color: #93a3ba; margin-top: 3px; line-height: 1.8; }
.consultation-service { margin-top: auto; padding-top: 30px; font-size: 11px; color: #7f94b1; }
.consultation-service > span { display: flex; align-items: center; gap: 7px; }
.consultation-service small { display: block; margin-top: 8px; font-size: 10px; color: #9eacc1; }
.consultation-main { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; background: #f8faff; }
.chat-page .widget-header { padding: 20px 28px; min-height: 86px; }
.widget-header > div { min-width: 0; }
.widget-header h1 { overflow-wrap: anywhere; }
.widget-header p { line-height: 1.6; }
.chat-page .widget-header h1 { font-size: 17px; }
.chat-page .widget-header p { font-size: 12px; }
.chat-page .chat-scroll { padding: 30px 32px 16px; }
.chat-page .widget-welcome { padding-bottom: 24px; margin-bottom: 24px; }
.chat-page .widget-welcome h2 { font-size: clamp(25px, 2.5vw, 32px); margin: 12px 0 8px; }
.chat-page .widget-welcome p { font-size: 13px; }
.chat-page .welcome-topics { gap: 9px; margin-top: 22px; }
.chat-page .welcome-topics button { font-size: 12px; min-height: 38px; padding: 7px 13px; }
.chat-page .bubble { font-size: 14px; }
.chat-page .message-meta { font-size: 11px; }
.chat-page .message-body { max-width: min(83%, 540px); }
.chat-page .composer { padding: 12px 28px 18px; }
.chat-page .composer-tools .hint { font-size: 11px !important; }
.chat-page .composer textarea { height: 76px; font-size: 14px; padding: 11px 3px; }
.chat-page .composer-bottom .hint { display: block; font-size: 11px; }
.chat-page .composer-bottom { justify-content: space-between; }
.chat-page .composer-bottom .primary { min-height: 38px; padding: 8px 19px; font-size: 13px; }
.chat-page .offline-banner { padding: 11px 24px; gap: 8px; font-size: 12px; flex-wrap: wrap; flex-shrink: 0; }
.offline-banner > span { flex: 1; min-width: 140px; }
.offline-banner button { min-height: 30px; font-size: 12px; }
.chat-page .typing-indicator { padding-inline: 32px; flex-shrink: 0; }
.chat-page .widget-footer { font-size: 10px; padding: 7px 12px; flex-shrink: 0; }
.chat-page .file-card { max-width: 300px; }
.chat-page .read-status { font-size: 10px; }

/* An embedded widget keeps the width provided by its host, including on desktop. */
.chat-embedded { padding: 0; background: #f8faff; }
.chat-embedded #chat-app { max-width: none; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.chat-embedded .consultation-main { height: 100%; }
.chat-embedded .widget-header { padding: 17px 18px; min-height: 76px; }
.chat-embedded .widget-header h1 { font-size: 16px; }
.chat-embedded .widget-header p { font-size: 11px; }
.chat-embedded .chat-scroll { padding: 22px 18px 12px; }
.chat-embedded .widget-welcome h2 { font-size: 25px; }
.chat-embedded .widget-welcome p { font-size: 12px; }
.chat-embedded .composer { padding: 10px 16px 13px; }
.chat-embedded .composer textarea { height: 54px; }
.chat-embedded .composer-bottom .hint { font-size: 10px; }
.chat-embedded .offline-banner { padding: 8px 14px; font-size: 11px; }

@media (min-width: 1600px) {
  .inbox-layout { grid-template-columns: 320px minmax(0, 1fr) 290px; }
}
@media (min-width: 1280px) {
  .detail-panel { display: block; }
}
@media (max-width: 1279px) and (min-width: 960px) {
  .inbox-layout { grid-template-columns: 270px minmax(0, 1fr); }
  .detail-panel { display: none; }
  .chat-actions .detail-toggle { display: inline-flex; }
}
@media (max-width: 959px) and (min-width: 701px) {
  .rail { width: 64px; }
  .rail-item { width: 52px; }
  .inbox-layout { grid-template-columns: minmax(220px, 32%) minmax(0, 1fr); }
  .detail-panel { display: none; }
  .chat-actions .detail-toggle { display: inline-flex; }
  .topbar { height: 72px; padding-inline: 20px; }
  .topbar .eyebrow, .operator { display: none; }
  .chat-header { padding: 15px; }
  .chat-person .avatar { display: none; }
  .chat-person p { display: none; }
  .chat-scroll { padding: 22px 18px; }
  .page-content { padding: 28px 24px; }
}
@media (max-width: 959px) {
  .chat-page:not(.chat-embedded) { padding: 16px; }
  .consultation-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .consultation-sidebar { padding: 28px 22px; }
  .consultation-sidebar h2 { font-size: 25px; margin-top: 35px; }
  .chat-page .widget-header { padding: 17px 20px; min-height: 78px; }
  .chat-page .chat-scroll { padding: 25px 22px 14px; }
  .chat-page .composer { padding-inline: 20px; }
}

@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) {
  /* Mobile agent workspace: a full-width page with four bottom navigation tabs. */
  .app-shell { flex-direction: column-reverse; overflow: hidden; }
  .rail {
    width: 100%;
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px));
    flex-direction: row;
    gap: 4px;
    background: white;
    color: #8c99ab;
    border-top: 1px solid var(--line);
    overflow: hidden;
  }
  .rail .rail-brand, .rail .rail-spacer, .rail > .icon-button, .rail > a.rail-item { display: none; }
  .rail-item { width: auto; min-width: 0; flex: 1; height: 53px; padding: 5px 4px; gap: 2px; font-size: 11px; border-radius: 9px; }
  .rail-item svg { width: 21px; height: 21px; }
  .rail-item.active { background: var(--blue-light); color: var(--blue); box-shadow: none; }
  .main-shell { flex: 1; width: 100%; }
  .topbar { height: 64px; min-height: 64px; padding: env(safe-area-inset-top, 0px) 16px 0; gap: 10px; }
  .topbar h1 { font-size: 17px; }
  .topbar .eyebrow, .connection-indicator, .operator { display: none; }
  .topbar-title { flex: 1; }
  .topbar-right { gap: 5px; }
  .status-select { width: 118px; font-size: 16px; min-height: 37px; padding: 6px 8px; }
  .mobile-account { display: inline-flex; width: 32px; height: 37px; }
  .alert-button { width: 32px; height: 37px; }
  .message-notice { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .inbox-layout { display: flex; height: 100%; }
  .conversation-panel { width: 100%; border: 0; }
  .chat-column { display: none; }
  .inbox-layout.show-chat .conversation-panel { display: none; }
  .inbox-layout.show-chat .chat-column { display: flex; width: 100%; }
  .detail-panel { display: none; }
  .panel-heading { padding: 19px 20px 15px; }
  .search-box { margin: 0 18px 13px; }
  .search-box input { min-height: 42px; }
  .conversation-filters { padding-inline: 18px; }
  .filter-button { font-size: 13px; min-height: 44px; }
  .conversation-list { padding: 8px 10px; }
  .conversation-row { padding: 15px 11px; }
  .row-title { font-size: 14px; }
  .row-title time, .row-bottom { font-size: 11px; }
  .row-preview { font-size: 12px; }
  .queue-footer { padding: 11px 20px; font-size: 10px; }
  .chat-header { min-height: 67px; padding: 11px 13px; gap: 8px; }
  .chat-header .back-button { display: inline-flex !important; width: 27px; font-size: 25px; }
  .chat-person { gap: 7px; }
  .chat-person .avatar, .chat-person p { display: none; }
  .chat-person h3 { font-size: 14px; }
  .chat-actions { gap: 5px; }
  .chat-actions button { min-height: 34px; padding: 5px 9px; font-size: 12px; }
  .chat-actions button svg { display: none; }
  .chat-actions .detail-toggle { display: inline-flex; }
  .chat-scroll { padding: 20px 15px 12px; }
  .bubble { font-size: 14px; padding: 10px 13px; }
  .message-body { max-width: 85%; }
  .message-meta { font-size: 11px; }
  .composer { padding: 9px 16px 13px; }
  .composer textarea { height: 62px; font-size: 16px; }
  .composer-tools .icon-button { width: 36px; height: 34px; }
  .composer-tools .reply-toggle { font-size: 12px; min-height: 34px; }
  .composer-bottom .hint { display: none; }
  .composer-bottom { justify-content: flex-end; }
  .composer-bottom .primary { min-height: 38px; font-size: 13px; padding: 7px 18px; }
  .page-content { padding: 24px 18px; }
  .page-intro { gap: 16px; margin-bottom: 23px; }
  .page-intro h2 { font-size: 23px; }
  .page-intro p { font-size: 13px; line-height: 1.9; }
  .page-intro .primary { font-size: 13px; min-height: 40px; }
  .team-table, .team-table tbody { display: block; width: 100%; }
  .team-table thead { display: none; }
  .team-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; padding: 20px; border-bottom: 1px solid var(--line); }
  .team-table tbody tr:last-child { border-bottom: 0; }
  .team-table td, .team-table td:nth-child(3) { display: block; min-width: 0; padding: 0; border: 0; font-size: 13px; }
  .team-table td:first-child { grid-column: 1 / -1; }
  .team-table td:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 7px; font-size: 11px; color: #96a3b5; }
  .table-person { gap: 13px; }
  .table-person .avatar { width: 42px; height: 42px; }
  .table-person small { font-size: 12px; margin-top: 3px; }
  .team-table .status { gap: 5px; font-size: 12px; }
  .reply-card { padding: 21px; }
  .reply-card p { font-size: 13px; }
  .reply-card-header .icon-button { width: 34px; height: 34px; }
  .integration-hero { padding: 21px; gap: 14px; }
  .integration-hero .logo { width: 44px; height: 44px; }
  .integration-hero h3 { font-size: 16px; }
  .integration-hero p { font-size: 12px; }
  .integration-step { padding: 21px; }
  .modal-overlay { padding: 16px; }
  .modal { padding: 22px; max-height: calc(var(--app-height, 100dvh) - 32px); }
  input, textarea, select { font-size: 16px; }
  .search-box input { font-size: 16px; }
  .status-select { font-size: 16px; }
  .form-stack { gap: 16px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: max-content; max-width: calc(100% - 28px); font-size: 12px; }
  .login-story { display: none; }
  .login-page { grid-template-columns: 1fr; }
  .login-form-side { padding: 32px 24px; }
  .login-card { max-width: 400px; }
  .login-card h1 { font-size: 27px; }

  /* The visitor view uses every available pixel on phones and narrow panels. */
  .chat-page, .chat-page:not(.chat-embedded) { padding: 0; }
  .chat-page #chat-app { max-width: none; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
  .consultation-layout { display: flex; }
  .consultation-sidebar { display: none; }
  .chat-page .widget-header { min-height: 76px; padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 15px; }
  .chat-page .widget-header .logo { width: 40px; height: 40px; }
  .chat-page .widget-header h1 { font-size: 17px; }
  .chat-page .widget-header p { font-size: 11px; }
  .chat-page .chat-scroll { padding: 26px 19px 14px; }
  .chat-page .widget-welcome h2 { font-size: 27px; }
  .chat-page .widget-welcome p { font-size: 13px; }
  .chat-page .welcome-topics { gap: 8px; }
  .chat-page .welcome-topics button { font-size: 12px; min-height: 40px; padding: 7px 12px; }
  .chat-page .bubble { font-size: 14px; }
  .chat-page .message-body { max-width: 86%; }
  .chat-page .composer { padding: 9px 16px 12px; }
  .chat-page .composer textarea { height: 66px; padding-top: 10px; font-size: 16px; }
  .chat-page .composer-tools .hint { font-size: 10px !important; }
  .chat-page .composer-bottom .hint { display: none; }
  .chat-page .composer-bottom { justify-content: flex-end; }
  .chat-page .composer-bottom .primary { min-height: 40px; font-size: 14px; padding: 8px 21px; }
  .chat-page .widget-footer { padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px)); font-size: 10px; }
  .chat-page .typing-indicator { padding-inline: 20px; }
  .chat-page .offline-banner { padding: 8px 15px; font-size: 11px; }
  .chat-page .toast { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  .topbar { padding-inline: 12px; gap: 8px; }
  .topbar h1 { font-size: 16px; }
  .topbar-right { gap: 6px; }
  .status-select { width: 124px; }
  .page-content { padding-inline: 15px; }
  .team-table tbody tr { padding: 17px; gap: 17px 8px; }
  .chat-page .chat-scroll { padding-inline: 16px; }
  .chat-page .widget-welcome h2 { font-size: 25px; }
  .chat-page .welcome-topics { gap: 6px; }
  .chat-page .welcome-topics button { padding-inline: 9px; font-size: 11px; }
  .chat-actions button { padding-inline: 7px; font-size: 11px; }
}
@media (max-height: 560px) {
  .chat-page:not(.chat-embedded) { padding-top: 10px; padding-bottom: 10px; }
  .chat-page .widget-header { min-height: 58px; padding-top: 10px; padding-bottom: 10px; }
  .chat-page .widget-header .logo { width: 34px; height: 34px; }
  .chat-page .composer { padding-top: 5px; padding-bottom: 8px; }
  .chat-page .composer textarea { height: 42px; }
  .chat-page .composer-tools .icon-button { height: 29px; }
  .chat-page .widget-footer { display: none; }
  .chat-page .typing-indicator:empty { min-height: 5px; }
  .consultation-sidebar { padding-top: 22px; padding-bottom: 22px; }
  .consultation-sidebar h2 { margin-top: 25px; font-size: 23px; }
  .consultation-features { gap: 15px; margin-block: 23px; }
}
@media (max-width: 700px) and (max-height: 560px), (max-width: 960px) and (max-height: 500px) {
  .topbar { height: 51px; min-height: 51px; }
  .rail { height: calc(56px + env(safe-area-inset-bottom, 0px)); padding-top: 2px; padding-bottom: calc(2px + env(safe-area-inset-bottom, 0px)); }
  .rail-item { height: 49px; }
  .chat-header { min-height: 53px; padding-block: 7px; }
  .composer textarea { height: 42px; }
  .composer { padding-block: 5px 8px; }
  .chat-page:not(.chat-embedded) { padding: 0; }
  [data-keyboard-open] .rail, body:has(textarea:focus) .rail { display: none; }
}
@media (max-height: 380px) {
  .chat-page .widget-header { min-height: 52px; padding: 8px 14px; }
  .chat-page .widget-header .logo { width: 32px; height: 32px; }
  .chat-page .widget-header h1 { font-size: 15px; }
  .chat-page .widget-header p { font-size: 10px; }
  .chat-page .chat-scroll { padding: 8px 14px; }
  .chat-page .composer { padding: 4px 12px 7px; }
  .chat-page .composer textarea { height: 36px; padding-block: 5px; }
  .chat-page .composer-tools { margin-bottom: 0; }
  .chat-page .composer-tools .icon-button { height: 26px; width: 30px; }
  .chat-page .composer-tools .hint { font-size: 9px !important; }
  .chat-page .composer-bottom .primary { min-height: 32px; padding: 4px 15px; }
  .chat-page .offline-banner { padding: 4px 12px; font-size: 10px; }
  .chat-page .offline-banner > span { min-width: 0; }
  .chat-page .offline-banner button { min-height: 24px; font-size: 10px; }
  .chat-page .typing-indicator:empty { display: none; }
}
