/* ChimeTap's shared product palette. Per-user inline colour choices take precedence. */
:root,
:root.light {
  --bg: #f7f6fb;
  --panel: #ffffff;
  --raised: #f1eff6;
  --line: #eae7f1;
  --text: #282a37;
  --muted: #6B657B;
  --accent: #7654c6;
  --button: #7654c6;
  --buttonText: #ffffff;
  --danger: #bf4660;
  --shadow: 0 12px 50px #33245114;
}
:root.dark,
:root[data-theme='dark'],
:root:has(body.dark),
:root:not(.light):has(#navigation),
:root:not(.light):has(#workspace) {
  --bg: #15191f;
  --panel: #1b2027;
  --raised: #252b34;
  --line: #2b313b;
  --text: #eef0f5;
  --muted: #9ba3b2;
  --accent: #aa94e5;
  --button: #aa94e5;
  --buttonText: #1c132d;
  --danger: #ef8497;
  --shadow: 0 12px 50px #0005;
}
html body {
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
html body button {
  font-weight: 550;
}
html body button:not(.icon-btn):not(.community-icon) {
  letter-spacing: 0;
}
html body .topbar {
  border-bottom: 0;
}
html body .surface,
html body dialog {
  border-color: var(--line);
  box-shadow: none;
}
html body .settings-group,
html body .settings-profile {
  border-radius: 16px;
}
html body .bottom-nav {
  background: var(--panel);
  border-top: 1px solid var(--line);
}
html body .bottom-nav button {
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  gap: 5px;
}
html body .bottom-nav .selected {
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
  color: var(--accent);
}
html body .contact-card,
html body .contact-row,
html body .contacts .contact {
  border-bottom: 0;
  border-radius: 14px;
}
html body .contacts-list {
  gap: 4px;
}
html body .avatar {
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--panel));
  box-shadow: none;
}
html body .chat-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
/* Compact headers must shrink both axes: .avatar.small otherwise keeps a
   40px minimum height while compact.css reduces the width to 34/28px. */
html body.mobile-app .chat-header .friend-profile .avatar {
  display: flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  flex: 0 0 34px;
  aspect-ratio: 1;
  border-radius: 50%;
}
@media (max-width: 350px) {
  html body.mobile-app .chat-header .friend-profile .avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    flex-basis: 28px;
  }
}
html body .chat-compose {
  background: var(--panel);
  border-top-color: var(--line);
}
/* Personal and group messages share one quiet palette. Keep photo overlays dark. */
html body .message:not(.photo-message) {
  background: var(--panel);
  color: var(--text);
  padding: 8px 11px;
  border-radius: 16px 16px 16px 5px;
}
html body .message.mine:not(.photo-message) {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  color: var(--text);
  border-radius: 16px 16px 5px 16px;
}
html body .message.mine:not(.photo-message) time,
html body .message.mine:not(.photo-message) .message-edited,
html body .message.mine:not(.photo-message) .message-pending,
html body .message.mine:not(.photo-message) .voice-duration,
html body .message.mine:not(.photo-message) .voice-speed { color: var(--muted); }
html body .message.mine:not(.photo-message) .message-link,
html body .message.mine:not(.photo-message) .voice-waveform,
html body .message.mine:not(.photo-message) .message-quote strong { color: var(--accent); }
html body .message.mine:not(.photo-message) .message-quote {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  border-left-color: var(--accent);
}
html body .message.mine:not(.photo-message) .message-retry {
  color: var(--accent);
  background: var(--panel);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--panel));
}
html body .message.mine:not(.photo-message) .voice-play {
  color: var(--buttonText);
  background: var(--button);
  border-color: transparent;
}
html body .message.mine:not(.photo-message) .voice-info progress { accent-color: var(--accent); }
html body .settings-nav-row {
  min-height: 64px;
}
html body .sidebar,
html body #chats {
  background: var(--panel);
  border-color: var(--line);
}
html body .setup {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 22px;
}
html body .setup p,
html body #status,
html body #empty,
html body #welcome p {
  color: var(--muted);
}
html body .community-ui {
  --c-bg: var(--bg);
  --c-panel: var(--panel);
  --c-soft: var(--raised);
  --c-text: var(--text);
  --c-muted: var(--muted);
  --c-line: var(--line);
  --c-accent: var(--accent);
  --c-own: var(--button);
  font-weight: 400;
}
html body .community-ui .community-primary,
html body .community-ui .community-send {
  color: var(--buttonText);
  border-radius: 12px;
}
html body .community-head {
  background: var(--panel);
  padding: 14px 20px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
html body .community-heading strong {
  font-size: 15px;
  font-weight: 600;
}
html body .community-heading small {
  font-size: 12px;
  color: var(--muted);
}
html body .community-ui.community-list-row {
  border: 0;
  border-radius: 14px;
  padding: 13px 10px;
  gap: 12px;
  margin: 3px 0;
  background: transparent;
}
html body .community-ui.community-list-row:hover {
  background: var(--raised);
}
html body .community-ui.community-list-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html body .community-list-words strong {
  font-size: 14px;
  font-weight: 600;
}
html body .community-list-words small {
  font-size: 12px;
  line-height: 1.5;
}
html body .community-avatar {
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--panel));
  color: var(--accent);
}
html body .community-bubble {
  border-radius: 16px 16px 16px 5px;
  background: var(--panel);
  border-color: transparent;
  padding: 11px 14px;
}
html body .community-message.own .community-bubble {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  color: var(--text);
  border-radius: 16px 16px 5px 16px;
}
html body .community-message.own .community-bubble footer {
  color: var(--muted);
}
html body .community-bubble p {
  font-size: 14px;
  line-height: 1.6;
}
html body .community-bubble footer {
  font-size: 11px;
}
html body .community-composer {
  margin: 0 18px 18px;
  padding: 7px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 17px;
}
html body .community-composer textarea {
  border: 0;
  background: transparent;
  border-radius: 0;
  min-height: 42px;
  padding: 10px 4px;
}
html body .community-composer .community-icon {
  background: transparent;
  border: 0;
  color: var(--muted);
}
html body .community-composer .community-send {
  background: var(--button);
  color: var(--buttonText);
  border-radius: 12px;
}
html body .community-dialog:not(.community-photo-dialog) {
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--panel);
  border-color: var(--line);
}
html body .community-dialog:not(.community-photo-dialog)::backdrop {
  background: #12101f55;
  backdrop-filter: blur(5px);
}
html body .community-dialog-head {
  border-bottom: 0;
  padding: 22px 24px 10px;
}
html body .community-dialog-body {
  padding: 14px 24px 24px;
}
html body .community-dialog h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
html body .community-service-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
html body .community-service-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}
html body .community-menu-row {
  border-radius: 11px;
  min-height: 52px;
  text-align: left;
}
html body .community-menu-row:hover {
  background: var(--raised);
}
html body .community-ui.community-call {
  --bg: #15191f;
  --panel: #1b2027;
  --raised: #252b34;
  --line: #2b313b;
  --text: #eef0f5;
  --muted: #9ba3b2;
  --accent: #aa94e5;
  --c-bg: #15191f;
  --c-panel: #1b2027;
  --c-soft: #252b34;
  --c-text: #eef0f5;
  --c-muted: #9ba3b2;
  --c-line: #2b313b;
  background: #15191f;
  color: #eef0f5;
}
html body .community-call .community-head {
  background: transparent;
  border-bottom-color: #2b313b;
}
html body .community-call .community-avatar {
  background: #302a41;
  border-color: #514263;
  color: #b9a2ed;
}
html body .community-call-tile {
  background: linear-gradient(145deg, #2b2b39, #20252c);
  border-radius: 18px;
}
html body .community-call-controls {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0 auto 14px;
  background: #1b2027;
  border: 1px solid #2b313b;
  border-radius: 22px;
  padding: 10px;
  gap: 8px;
}
html body .community-ui .community-control {
  border-radius: 13px;
  background: #252b34;
  color: #eef0f5;
  font-size: 11px;
}
html body .community-ui .community-control.active {
  background: #aa94e5;
  color: #1c132d;
}
html body .community-ui .community-control.community-danger {
  background: #b53f58;
  color: #fff;
}
.community-catalog {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}
.community-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html body .community-ui .community-service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-align: left;
  min-width: 0;
}
.community-service-tile svg {
  color: var(--accent);
}
.community-service-tile strong {
  font-size: 15px;
  font-weight: 600;
}
.community-service-tile small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.community-preview-nav {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.community-preview-nav button {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
}
.community-preview-nav button:hover {
  background: var(--raised);
  color: var(--accent);
}
body:has(.community-catalog) #previewServices,
body:not(:has(.community-catalog)) #previewChats {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
}
body:has(.community-catalog) #servicesNav {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
}
body:has(.community-catalog) .bottom-nav [data-page].selected {
  color: var(--muted);
  background: transparent;
}
@media (max-width: 600px) {
  html body .community-head {
    padding: 12px 14px;
  }
  html body .community-composer {
    margin: 0 10px 10px;
  }
  html body .community-dialog-body {
    padding: 12px 20px 22px;
  }
  html body .community-dialog-head {
    padding: 18px 20px 8px;
  }
  .community-catalog {
    padding: 24px 18px;
  }
  html body .community-ui .community-service-tile {
    padding: 18px 15px;
  }
  html body .community-photo-dialog .community-dialog-body {
    padding: 0;
  }
}

/* Initials use their own line box, independent of page/heading line height. */
html body .avatar,html body .community-avatar{display:flex;align-items:center;justify-content:center;line-height:1;box-sizing:border-box;flex-shrink:0}
html body #callAvatar.large,html body .incoming .avatar.large{width:104px;height:104px;min-width:104px;font-size:38px}
html body .call-page.has-chat #callAvatar.large{width:38px;height:38px;min-width:38px;font-size:18px}
html body .chat-unavailable-notice{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;padding:10px 18px;border-top:1px solid var(--line);background:var(--panel);color:var(--muted);font-size:13px;line-height:1.5}
html body .chat-unavailable-notice[hidden]{display:none}
html body .chat-unavailable-notice button{min-height:44px;padding:8px 6px;margin:0;white-space:nowrap;background:none;border:0;color:var(--accent);font-size:13px}

/* Main inbox from the approved design: actual app rows, including communities.
   Theme variables also preserve the user's custom background/text/accent. */
html body #contactsPage { padding: 14px 20px 24px; }
html body.mobile-app .topbar { padding: 12px 20px 8px; height: 64px; }
html body.mobile-app .topbar .brand { font-size: 20px; font-weight: 650; gap: 9px; letter-spacing: -.5px; }
html body.mobile-app .topbar .brand svg { width: 24px; height: 30px; color: var(--accent); }
html body.mobile-app .topbar > .avatar { width: 36px; height: 36px; min-height: 36px; font-size: 14px; }
html body #contactsPage > .section-head { margin: 10px 0 18px; min-height: 42px; align-items: center; }
html body #contactsPage h1 { font-size: 28px; font-weight: 650; letter-spacing: -.7px; }
html body #contactsPage #contactCount { display: none; }
html body #contactsPage #addContact { width: 42px; height: 42px; min-height: 42px; padding: 10px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
html body #contactsPage .search { display: flex; align-items: center; background: var(--raised); border: 1px solid transparent; border-radius: 12px; padding: 0 13px; gap: 9px; margin: 0 0 9px; }
html body #contactsPage .search input { background: transparent; border: 0; padding: 11px 0; min-height: 44px; font-size: 14px; min-width: 0; }
html body #contactsPage .search > span { display: flex; color: var(--muted); }
html body #contactsPage .search svg { width: 18px; height: 18px; }
html body #contactsPage .search:focus-within { border-color: var(--accent); }
html body #contactsPage .search input:focus { outline: none; box-shadow: none; }
html body #contactsPage .inbox-filters { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 -4px 12px; }
html body #contactsPage .inbox-filters button { font-size: 12px; font-weight: 500; min-height: 42px; padding: 9px 10px; border: 0; border-radius: 21px; }
html body #contactsPage .inbox-filters button[aria-pressed=true] { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); }
html body #contactsPage .inbox-filters #inboxUnreadCount { font-size: 10px; }
html body #contactsList { display: flex; flex-direction: column; gap: 2px; margin: 0; }
html body #contactsList > .conversation-row,
html body #contactsList > .community-list-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 76px; padding: 13px 10px; margin: 0 -10px; width: calc(100% + 20px); border: 0; border-radius: 15px; background: transparent; text-align: left; color: var(--text); }
html body #contactsList > .conversation-row:hover,
html body #contactsList > .community-list-row:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
html body #contactsList > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
html body #contactsList .avatar,
html body #contactsList .community-avatar { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--bg)); box-shadow: none; color: var(--accent); font-size: 18px; font-weight: 500; }
html body #contactsList .conversation-content,
html body #contactsList .community-list-words { display: flex; flex-direction: column; min-width: 0; gap: 5px; }
html body #contactsList strong { font-size: 15px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #contactsList .conversation-preview,
html body #contactsList .community-list-words small { font-size: 12px; font-weight: 400; line-height: 1.45; color: var(--muted); }
html body #contactsList .conversation-preview.draft { color: var(--accent); }
html body #contactsList .conversation-meta,
html body .community-list-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; align-self: center; min-height: 39px; }
html body #contactsList time,
html body .community-list-meta time { color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
html body #contactsList .unread-badge { min-width: 20px; height: 20px; border-radius: 10px; padding: 1px 5px; background: var(--button); color: var(--buttonText); font-size: 10px; }
html body .community-list-meta .community-unread { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 4px 4px 0; }
html body #contactsPage .inbox-empty { padding: 44px 12px; text-align: center; }
html body #contactsPage .inbox-empty p { max-width: 270px; margin: 10px auto 0; line-height: 1.6; }
html body.mobile-app .bottom-nav { height: calc(66px + env(safe-area-inset-bottom)); padding: 5px 12px max(5px, env(safe-area-inset-bottom)); gap: 6px; }
html body.mobile-app .bottom-nav button { border-radius: 14px; min-height: 54px; padding: 6px 4px; font-size: 10px; }
@media(max-width: 350px) {
  html body #contactsPage { padding-left: 16px; padding-right: 16px; }
  html body.mobile-app .topbar { padding-left: 16px; padding-right: 16px; }
  html body #contactsPage .inbox-filters { gap: 2px; }
  html body #contactsPage .inbox-filters button { padding-left: 8px; padding-right: 8px; }
  html body #contactsList > .conversation-row, html body #contactsList > .community-list-row { gap: 10px; }
}

/* Airy inbox: the first screen keeps only the brand, new-chat action and list. */
html body.mobile-app .topbar { position:relative; overflow:visible; padding-top:10px; padding-bottom:10px; height:66px; }
html body.mobile-app .topbar .brand { gap:1px; font-size:22px; font-weight:600; letter-spacing:-.6px; }
html body.mobile-app #inboxReveal { width:42px; min-width:42px; height:44px; min-height:44px; padding:0; border:0; background:none; position:relative; margin-left:-8px; color:var(--accent); }
html body.mobile-app .inbox-brand-mark { display:flex; height:44px; width:28px; margin:auto; gap:3px; align-items:center; }
html body.mobile-app .inbox-brand-mark i { width:4px; border-radius:3px; background:var(--accent); height:13px; }
html body.mobile-app .inbox-brand-mark i:nth-child(2) { height:23px; }
html body.mobile-app .inbox-brand-mark i:nth-child(3) { height:30px; }
html body.mobile-app .inbox-brand-mark i:nth-child(4) { height:18px; }
html body.mobile-app:not(.inbox-view) #inboxReveal { pointer-events:none; }
html body.mobile-app:not(.inbox-view) .inbox-flight { display:none; }
html body.mobile-app .inbox-flight { position:absolute; top:0; left:0; background:var(--accent); pointer-events:none; z-index:5; }
html body.mobile-app.inbox-view .inbox-brand-mark { visibility:hidden; }
html body.mobile-app .inbox-chevron { display:none; position:absolute; width:8px; height:8px; border-top:1.5px solid; border-left:1.5px solid; transform:rotate(45deg); left:17px; top:20px; opacity:var(--inbox-expanded,0); }
html body.mobile-app.inbox-view .inbox-chevron { display:block; }
html body.mobile-app .topbar>#addContact { display:none; width:42px; height:42px; min-height:42px; background:color-mix(in srgb,var(--accent) 7%,var(--bg)); color:var(--accent); border:0; }
html body.mobile-app.inbox-view .topbar>#addContact { display:flex; }
html body.mobile-app.inbox-view .topbar>#myProfile { display:none; }
html body.mobile-app #contactsPage { padding-top:10px; }
html body.mobile-app #inboxTools { position:relative; height:0; overflow:hidden; --inbox-words:0; }
html body.mobile-app #inboxTools>.search { height:44px; min-height:44px; margin:0; opacity:var(--inbox-words); border:0; border-radius:16px; background:color-mix(in srgb,var(--accent) 7%,var(--bg)); }
html body.mobile-app #inboxTools>.search input { min-height:44px; height:44px; padding-top:8px; padding-bottom:8px; font-size:16px; }
html body.mobile-app #inboxTools .inbox-filters { margin:7px 0 0; gap:4px; flex-wrap:nowrap; opacity:var(--inbox-words); height:44px; }
html body.mobile-app #inboxTools .inbox-filters button { flex:1; min-width:0; min-height:44px; height:44px; padding:0 4px; white-space:nowrap; font-size:13px; font-weight:500; position:relative; background:none; border:0; border-radius:0; color:var(--muted); }
html body.mobile-app #inboxTools .inbox-filters #inboxUnread { flex:1.7; }
html body.mobile-app #inboxTools .inbox-filters button[aria-pressed=true] { color:var(--text); }
html body.mobile-app #inboxTools .inbox-filters button[aria-pressed=true]:after { content:''; position:absolute; height:2px; left:16px; right:16px; bottom:2px; background:var(--accent); border-radius:2px; }
html body.mobile-app #inboxUnreadCount { display:none; }
html body.mobile-app #contactsList>.conversation-row,html body.mobile-app #contactsList>.community-list-row { min-height:80px; gap:14px; padding:12px 0; border:0; }
html body.mobile-app #contactsList .avatar,html body.mobile-app #contactsList .community-avatar { width:54px; height:54px; min-width:54px; border:0; color:var(--muted); background-color:var(--raised); }
html body #contactsList .self-row .avatar { color:#96723b; background:#f3eddf; }
:root:not(.light) body #contactsList .self-row .avatar { color:#d6b677; background:#352f26; }
html body #contactsList .self-row .avatar svg { fill:none; width:23px; height:23px; stroke-width:1.65; }
html body .neutral-avatar { border-color:transparent!important; background-repeat:no-repeat; }
html body .community-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
html body.mobile-app #contactsList .conversation-content strong,html body.mobile-app #contactsList .community-list-words strong { font-size:16px; font-weight:550; letter-spacing:-.15px; }
html body.mobile-app #contactsList .conversation-preview { font-size:14px; }
html body.mobile-app .bottom-nav { margin:8px 16px max(10px,env(safe-area-inset-bottom)); height:68px; padding:6px; gap:2px; background:var(--panel); border:1px solid var(--line); border-radius:36px; box-shadow:0 5px 24px color-mix(in srgb,var(--text) 6%,transparent); }
html body.mobile-app .bottom-nav button { flex:1; min-width:0; min-height:54px; height:54px; padding:6px 2px; border-radius:28px; gap:4px; font-size:10px; font-weight:500; }
html body.mobile-app .bottom-nav button.selected { color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,var(--panel)); }
html body .file-download-progress { display:flex; width:100%; min-width:0; flex-direction:column; gap:6px; padding-top:9px; text-align:left; font-size:11px; font-weight:400; line-height:1.4; color:var(--muted); }
html body .file-download-progress progress { display:block; appearance:none; width:100%; min-width:140px; height:4px; border:0; border-radius:3px; overflow:hidden; accent-color:var(--accent); background:var(--line); }
html body .file-download-progress progress::-webkit-progress-bar { background:var(--line); border-radius:3px; }
html body .file-download-progress progress::-webkit-progress-value { background:var(--accent); border-radius:3px; transition:width .15s linear; }
html body .file-download-progress progress::-moz-progress-bar { background:var(--accent); border-radius:3px; }
html body .file-button:disabled { opacity:1; }
html body.mobile-app #inboxActiveFilter { border:0; background:var(--raised); color:var(--muted); padding:5px 11px; min-height:32px; border-radius:16px; font-size:12px; margin:0 0 8px; }
html body.mobile-app.inbox-tools-open #inboxActiveFilter { display:none; }
html body .file-download-progress[hidden] { display:none; }
@media(max-width:350px) {
  html body.mobile-app #contactsList>.conversation-row,html body.mobile-app #contactsList>.community-list-row { gap:11px; min-height:76px; }
  html body.mobile-app #contactsList .avatar,html body.mobile-app #contactsList .community-avatar { width:49px; height:49px; min-width:49px; }
  html body.mobile-app .bottom-nav { margin-left:10px; margin-right:10px; }
  html body.mobile-app #inboxTools .inbox-filters #inboxUnread { flex:1.9; }
}
@media(prefers-reduced-motion:reduce) { html body .file-download-progress progress::-webkit-progress-value { transition:none; } }
