/* Comodo Mail skin layer. Elastic remains the structural base. */

:root {
  --comodo-mail-bg: #f7fbfc;
  --comodo-mail-bg-soft: #eef8fa;
  --comodo-mail-surface: #ffffff;
  --comodo-mail-surface-muted: #f3faf9;
  --comodo-mail-panel: rgba(255, 255, 255, 0.88);
  --comodo-mail-panel-border: rgba(45, 135, 157, 0.16);
  --comodo-mail-card: #ffffff;
  --comodo-mail-text: #183b45;
  --comodo-mail-heading: #12313a;
  --comodo-mail-muted: #5f7780;
  --comodo-mail-subtle: #8aa0a7;
  --comodo-mail-line: #d4e7ec;
  --comodo-mail-line-strong: #b9d8df;
  --comodo-mail-ocean: #2d879d;
  --comodo-mail-teal: #5ba29f;
  --comodo-mail-mint: #b9ebc9;
  --comodo-mail-amber: #d8b259;
  --comodo-mail-accent: #2d879d;
  --comodo-mail-accent-dark: #236f82;
  --comodo-mail-accent-soft: #dff2f4;
  --comodo-mail-accent-wash: #eef8fa;
  --comodo-mail-mint-wash: #ecfbf1;
  --comodo-mail-amber-wash: #fff7df;
  --comodo-mail-blue: #2563eb;
  --comodo-mail-danger: #dc2626;
  --comodo-mail-ring: rgba(45, 135, 157, 0.22);
  --comodo-mail-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --comodo-mail-shadow-md: 0 18px 48px -34px rgba(24, 59, 69, 0.42);
  --comodo-mail-shadow-lg: 0 30px 90px -52px rgba(24, 59, 69, 0.56);
  --comodo-mail-shadow-glow: 0 22px 60px -38px rgba(45, 135, 157, 0.54);
  --comodo-mail-radius-sm: 0.5rem;
  --comodo-mail-radius-md: 0.75rem;
  --comodo-mail-radius-lg: 1rem;
  --comodo-mail-radius-xl: 1.25rem;
  --comodo-mail-radius-2xl: 1.55rem;
  --comodo-mail-menu-width: 5rem;
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar {
    align-items: center !important;
    gap: 8px !important;
    height: 58px !important;
    justify-content: flex-start !important;
    min-height: 58px !important;
    overflow: hidden;
    padding: 8px 10px !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-appbar-main,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-appbar-main,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-appbar-main,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-appbar-main {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 40px;
    overflow: hidden;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    color: #0f5f65 !important;
    display: inline-flex !important;
    flex: 0 0 40px !important;
    height: 40px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    width: 40px !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button::before,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button::before,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button::before,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button::before {
    content: "\2190" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 22px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button .inner,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .back-list-button .inner,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button .inner,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .back-list-button .inner {
    display: none !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-title-stack,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-title-stack,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-title-stack,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-title-stack {
    display: none !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 1 auto !important;
    gap: 6px !important;
    height: 40px !important;
    justify-content: flex-end;
    margin: 0 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu > li,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu > li,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu > li,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu > li {
    display: contents !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-primary,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-primary,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-overflow,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .comodo-action-overflow,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-primary,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-primary,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-overflow,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .comodo-action-overflow {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu a,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu a,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu a,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu a,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar .toolbar-menu-button,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar .toolbar-menu-button,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .toolbar-menu-button,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar .toolbar-menu-button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    color: #756f66 !important;
    display: inline-flex !important;
    flex: 0 0 38px !important;
    height: 38px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 38px !important;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    width: 38px !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu a.hidden,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu a.hidden,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu a.hidden,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu a.hidden,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .compose,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .compose,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .compose,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .compose,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .reply-all,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .reply-all,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .reply-all,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .reply-all,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .dropbutton .dropdown,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .dropbutton .dropdown,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .dropbutton .dropdown,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .dropbutton .dropdown,
  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .more,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .more,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .more,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .more {
    display: none !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .delete,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .header.comodo-previewbar #toolbar-menu .delete,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .delete,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .header.comodo-previewbar #toolbar-menu .delete {
    background: #fff7f3 !important;
    border-color: #f2c7bc !important;
    color: #d24d3c !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation {
    align-items: center !important;
    background: rgba(250, 249, 245, 0.96) !important;
    border-top: 1px solid #e4ded3 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 0 46px !important;
    height: 46px !important;
    justify-content: space-between !important;
    min-height: 46px !important;
    padding: 5px 12px !important;
    position: relative !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation .buttons,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation .buttons,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .buttons,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .buttons {
    align-items: center !important;
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    color: #27515a !important;
    display: inline-flex !important;
    flex: 0 0 34px !important;
    height: 34px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    width: 34px !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button.disabled,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button.disabled,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button.disabled,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button.disabled {
    opacity: 0.38 !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button::before,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation .button::before,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button::before,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .button::before {
    font-size: 16px !important;
    margin: 0 !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content > .footer.content-frame-navigation .inner,
  body.task-mail.action-list #layout-list.hidden + #layout-content > .footer.content-frame-navigation .inner,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .inner,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content > .footer.content-frame-navigation .inner {
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

#comodo-modo-launcher {
  align-items: center;
  background: #ffffff;
  border: 1px solid #f0abfc;
  border-radius: 999px;
  bottom: 20px;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.65);
  cursor: grab;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  left: 50%;
  padding: 2px;
  position: fixed;
  touch-action: none;
  transform: translateX(-50%);
  transition: left 280ms ease-out, top 280ms ease-out, opacity 180ms ease-out, box-shadow 180ms ease-out;
  user-select: none;
  width: 56px;
  z-index: 110;
}

#comodo-modo-launcher > img {
  border-radius: inherit;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#comodo-modo-launcher > span {
  align-items: center;
  background: #c026d3;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 11px;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: -2px;
  top: -2px;
  width: 20px;
}

#comodo-modo-launcher.is-dragging {
  cursor: grabbing;
  transition: box-shadow 180ms ease-out;
}

#comodo-modo-launcher.is-panel-open {
  opacity: 0;
  pointer-events: none;
}

body {
  --comodo-modo-panel-width: min(430px, 100vw);
}

body:not(.task-login) #layout {
  transition: width 260ms ease-out;
}

body.comodo-modo-panel-visible #layout {
  width: calc(100% - var(--comodo-modo-panel-width)) !important;
}

#comodo-modo-panel {
  bottom: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 200ms ease-out, width 260ms ease-out;
  width: 0;
  z-index: 120;
}

#comodo-modo-panel.is-open {
  pointer-events: auto;
}

#comodo-modo-panel.is-visible {
  opacity: 1;
  width: var(--comodo-modo-panel-width);
}

#comodo-modo-panel aside {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  bottom: 0;
  box-shadow: -24px 0 60px -30px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 260ms ease-out;
  width: var(--comodo-modo-panel-width);
}

#comodo-modo-panel.is-visible aside {
  transform: translateX(0);
}

#comodo-modo-panel header {
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
}

#comodo-modo-panel header > img {
  border-radius: 999px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

#comodo-modo-panel header > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

#comodo-modo-panel header strong {
  color: #0f172a;
  font-size: 15px;
}

#comodo-modo-panel header small {
  color: #64748b;
  font-size: 12px;
}

#comodo-modo-panel .comodo-modo-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #64748b;
  display: flex;
  font-size: 26px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

#comodo-modo-panel .comodo-modo-close:hover,
#comodo-modo-panel .comodo-modo-close:focus {
  background: #f1f5f9;
  color: #0f172a;
}

#comodo-modo-panel iframe {
  background: #f8fafc;
  border: 0;
  flex: 1;
  min-height: 0;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  #comodo-modo-launcher,
  #comodo-modo-panel,
  #comodo-modo-panel aside {
    transition-duration: 1ms;
  }
}

html.dark-mode {
  --comodo-mail-bg: #071514;
  --comodo-mail-bg-soft: #0b201f;
  --comodo-mail-surface: #102321;
  --comodo-mail-surface-muted: #0d1c1b;
  --comodo-mail-panel: rgba(16, 35, 33, 0.92);
  --comodo-mail-panel-border: rgba(148, 223, 206, 0.22);
  --comodo-mail-card: #102321;
  --comodo-mail-text: #e6f3ef;
  --comodo-mail-heading: #f5fffc;
  --comodo-mail-muted: #a6bcb7;
  --comodo-mail-subtle: #78908b;
  --comodo-mail-line: #24413d;
  --comodo-mail-line-strong: #37655f;
  --comodo-mail-accent: #5eead4;
  --comodo-mail-accent-dark: #2dd4bf;
  --comodo-mail-accent-soft: #113d38;
  --comodo-mail-accent-wash: #12322f;
  --comodo-mail-mint-wash: #123b32;
  --comodo-mail-amber-wash: #3d3218;
  --comodo-mail-ring: rgba(94, 234, 212, 0.22);
}

html,
body {
  color: var(--comodo-mail-text);
}

html {
  height: 100%;
}

body:not(.task-login) {
  background:
    linear-gradient(180deg, rgba(225, 246, 243, 0.92), rgba(247, 251, 252, 0) 18rem),
    var(--comodo-mail-bg);
  color: var(--comodo-mail-text);
  min-height: 100%;
  overflow: hidden;
}

body:not(.task-login) #layout {
  background:
    linear-gradient(90deg, rgba(212, 231, 236, 0.48) 1px, transparent 1px),
    linear-gradient(180deg, rgba(212, 231, 236, 0.48) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(185, 235, 201, 0.56), transparent 20rem),
    radial-gradient(circle at 96% 6%, rgba(216, 178, 89, 0.24), transparent 18rem);
  background-size: 28px 28px, 28px 28px, auto, auto;
  gap: 0.75rem;
  height: 100vh;
  min-height: 0;
  padding: 0.75rem;
}

body:not(.task-login) .iframe-wrapper,
body:not(.task-login) .scroller {
  scrollbar-color: var(--comodo-mail-line-strong) transparent;
}

body:not(.task-login) a {
  color: var(--comodo-mail-accent-dark);
}

body:not(.task-login) a:hover {
  color: var(--comodo-mail-accent);
}

body:not(.task-login) .btn,
body:not(.task-login) .button,
body:not(.task-login) button,
body:not(.task-login) input,
body:not(.task-login) select,
body:not(.task-login) textarea,
body:not(.task-login) .form-control,
body:not(.task-login) .custom-select {
  border-radius: var(--comodo-mail-radius-md);
}

body:not(.task-login) input,
body:not(.task-login) select,
body:not(.task-login) textarea,
body:not(.task-login) .form-control,
body:not(.task-login) .custom-select {
  background-color: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  color: var(--comodo-mail-text);
}

body:not(.task-login) input:focus,
body:not(.task-login) select:focus,
body:not(.task-login) textarea:focus,
body:not(.task-login) .form-control:focus,
body:not(.task-login) .custom-select:focus {
  border-color: var(--comodo-mail-accent);
  box-shadow: 0 0 0 0.2rem var(--comodo-mail-ring);
  outline: 0;
}

body:not(.task-login) .btn-primary,
body:not(.task-login) .button.mainaction,
body:not(.task-login) .button.primary {
  background: var(--comodo-mail-accent-dark);
  border-color: var(--comodo-mail-accent-dark);
  color: #ffffff;
}

body:not(.task-login) .btn-primary:hover,
body:not(.task-login) .button.mainaction:hover,
body:not(.task-login) .button.primary:hover {
  background: #115e59;
  border-color: #115e59;
  color: #ffffff;
}

body:not(.task-login) .btn-secondary,
body:not(.task-login) .btn-outline-secondary {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  color: var(--comodo-mail-text);
}

body:not(.task-login) .disabled,
body:not(.task-login) [aria-disabled="true"] {
  opacity: 0.48;
}

body:not(.task-login) .header {
  background: var(--comodo-mail-panel);
  border-color: var(--comodo-mail-line);
  color: var(--comodo-mail-heading);
  box-shadow: var(--comodo-mail-shadow-sm);
}

body:not(.task-login) .header-title {
  color: var(--comodo-mail-heading);
  font-weight: 700;
  letter-spacing: 0;
}

body:not(.task-login) .searchbar {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  box-shadow: var(--comodo-mail-shadow-sm);
}

body:not(.task-login) .searchbar input {
  color: var(--comodo-mail-text);
}

body:not(.task-login) .popupmenu {
  background: var(--comodo-mail-surface);
  border: 1px solid var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-lg);
  box-shadow: var(--comodo-mail-shadow-lg);
  color: var(--comodo-mail-text);
  overflow: hidden;
}

body:not(.task-login) .popupmenu .menu a,
body:not(.task-login) .popupmenu .menu .label,
body:not(.task-login) .popupmenu label {
  color: var(--comodo-mail-text);
}

body:not(.task-login) .popupmenu .menu a:hover,
body:not(.task-login) .popupmenu .menu a:focus,
body:not(.task-login) .popupmenu .menu a.active {
  background: var(--comodo-mail-accent-wash);
  color: var(--comodo-mail-accent-dark);
}

body:not(.task-login) .listing li,
body:not(.task-login) .listing tbody tr {
  border-color: var(--comodo-mail-line);
}

body:not(.task-login) .listing li.selected,
body:not(.task-login) .listing tbody tr.selected,
body:not(.task-login) .listing li.focused,
body:not(.task-login) .listing tbody tr.focused {
  background: var(--comodo-mail-accent-soft);
  color: var(--comodo-mail-heading);
}

body:not(.task-login) .listing li:hover,
body:not(.task-login) .listing tbody tr:hover {
  background: rgba(236, 253, 245, 0.75);
}

body:not(.task-login) .pagenav,
body:not(.task-login) .footer {
  background: var(--comodo-mail-panel);
  border-color: var(--comodo-mail-line);
  color: var(--comodo-mail-muted);
}

body:not(.task-login) #layout-menu {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(24, 59, 69, 0.98), rgba(35, 111, 130, 0.96)),
    var(--comodo-mail-heading);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--comodo-mail-radius-2xl);
  box-shadow: var(--comodo-mail-shadow-lg);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--comodo-mail-menu-width);
  margin: 0;
  min-height: 0;
  overflow: hidden;
  width: var(--comodo-mail-menu-width);
}

body:not(.task-login) #layout-menu .popover-header {
  background: transparent;
  border: 0;
  display: grid;
  justify-items: center;
  padding: 0.85rem 0.6rem 0.65rem;
}

body:not(.task-login) #layout-menu #logo {
  background: #ffffff;
  border: 1px solid rgba(185, 235, 201, 0.62);
  border-radius: 1rem;
  box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.72);
  height: 2.65rem;
  margin: 0 auto;
  padding: 0.3rem;
  width: 2.65rem;
}

body:not(.task-login) #taskmenu {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.35rem;
  height: auto;
  min-height: 0;
  padding: 0.35rem 0.45rem 0.8rem;
}

body:not(.task-login) #taskmenu .action-buttons,
body:not(.task-login) #taskmenu .special-buttons {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

body:not(.task-login) #taskmenu .special-buttons {
  background: transparent !important;
  bottom: auto !important;
  left: auto !important;
  margin-top: auto;
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  z-index: auto !important;
}

body:not(.task-login) #taskmenu a::before,
body:not(.task-login) #taskmenu .button::before {
  color: currentColor;
}

body:not(.task-login) #taskmenu a,
body:not(.task-login) #taskmenu .button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  height: 3rem;
  justify-content: center;
  margin: 0;
  position: relative;
  text-indent: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  width: 3rem;
}

body:not(.task-login) #taskmenu a::before,
body:not(.task-login) #taskmenu .button::before {
  font-size: 1.15rem;
  line-height: 1;
  margin: 0;
}

body:not(.task-login) #taskmenu a .inner,
body:not(.task-login) #taskmenu .button .inner {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body:not(.task-login) #taskmenu a:hover,
body:not(.task-login) #taskmenu .button:hover,
body:not(.task-login) #taskmenu a.selected,
body:not(.task-login) #taskmenu .button.selected {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(185, 235, 201, 0.32);
  color: #ffffff;
  transform: translateY(-1px);
}

body:not(.task-login) #taskmenu .compose,
body:not(.task-login) #taskmenu [data-fab="true"] {
  background:
    linear-gradient(135deg, var(--comodo-mail-mint), var(--comodo-mail-teal));
  box-shadow: 0 20px 34px -24px rgba(185, 235, 201, 0.8);
  color: var(--comodo-mail-heading);
  font-weight: 800;
}

body:not(.task-login) #taskmenu .compose:hover,
body:not(.task-login) #taskmenu [data-fab="true"]:hover {
  background:
    linear-gradient(135deg, #d9f8e2, #75b6b2);
  color: var(--comodo-mail-heading);
}

body:not(.task-login) #taskmenu .logout {
  color: #fecaca;
}

body:not(.task-login) #taskmenu .logout:hover {
  background: rgba(254, 202, 202, 0.14);
  border-color: rgba(254, 202, 202, 0.28);
  color: #ffffff;
}

body.task-mail #layout-sidebar,
body.task-mail #layout-list,
body.task-addressbook #layout-sidebar,
body.task-addressbook #layout-list,
body.task-settings #layout-sidebar,
body.task-settings #layout-list,
body.task-mail #layout-content,
body.task-addressbook #layout-content,
body.task-settings #layout-content {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-2xl);
  box-shadow: var(--comodo-mail-shadow-md);
  min-height: 0;
  overflow: hidden;
}

body.task-mail #layout-sidebar,
body.task-addressbook #layout-sidebar,
body.task-settings #layout-sidebar {
  box-shadow: var(--comodo-mail-shadow-sm);
}

body.task-mail #layout-list,
body.task-addressbook #layout-list,
body.task-settings #layout-list {
  flex-basis: 24rem;
  max-width: 28rem;
}

body.task-mail #layout-content,
body.task-addressbook #layout-content,
body.task-settings #layout-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 250, 249, 0.96)),
    var(--comodo-mail-surface);
}

body:not(.task-login) .header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 250, 0.92));
  border-bottom: 1px solid var(--comodo-mail-line);
  box-shadow: none;
  min-height: 4rem;
  padding-inline: 0.65rem;
}

body:not(.task-login) .header-title {
  color: var(--comodo-mail-heading);
  font-size: 0.98rem;
  font-weight: 800;
}

body:not(.task-login) .header .button,
body:not(.task-login) .toolbar a,
body:not(.task-login) .toolbar .button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  color: var(--comodo-mail-muted);
  display: inline-flex;
  justify-content: center;
  min-height: 2.35rem;
  min-width: 2.35rem;
}

body:not(.task-login) #layout-content > .header .toolbar,
body:not(.task-login) #layout-content > .header #messagetoolbar,
body:not(.task-login) #layout-content > .header .menu.toolbar {
  align-items: center;
  display: inline-flex;
  gap: 0.2rem;
  height: auto;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  position: static;
  width: auto;
}

body:not(.task-login) #layout-content > .header .toolbar a,
body:not(.task-login) #layout-content > .header .toolbar .button,
body:not(.task-login) #layout-content > .header #messagetoolbar a,
body:not(.task-login) #layout-content > .header #messagetoolbar .button {
  flex: 0 0 2.35rem;
  font-size: 0;
  height: 2.35rem;
  padding: 0;
  width: 2.35rem;
}

body:not(.task-login) #layout-content > .header .toolbar a::before,
body:not(.task-login) #layout-content > .header .toolbar .button::before,
body:not(.task-login) #layout-content > .header #messagetoolbar a::before,
body:not(.task-login) #layout-content > .header #messagetoolbar .button::before {
  font-size: 1rem;
  margin: 0;
}

body:not(.task-login) #layout-content > .header .toolbar .inner,
body:not(.task-login) #layout-content > .header #messagetoolbar .inner {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.action-compose #layout-content > .header .header-title,
body.task-compose #layout-content > .header .header-title {
  flex: 0 0 auto;
  max-width: 10rem;
}

body.action-compose #layout-content > .header,
body.task-compose #layout-content > .header {
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
}

body.action-compose #layout-content > .header > .task-menu-button,
body.task-compose #layout-content > .header > .task-menu-button,
body.action-compose #layout-content > .header > .back-content-button,
body.task-compose #layout-content > .header > .back-content-button {
  flex: 0 0 2.35rem;
  order: 0;
  position: static !important;
}

body.action-compose #layout-content > .header > .header-title,
body.task-compose #layout-content > .header > .header-title {
  color: var(--comodo-mail-heading);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  margin-left: 0 !important;
  margin-right: 0 !important;
  order: 1;
}

body.action-compose #layout-content > .header > #composestatusbar,
body.task-compose #layout-content > .header > #composestatusbar {
  display: none;
}

body.action-compose #layout-content > .header > #messagetoolbar,
body.task-compose #layout-content > .header > #messagetoolbar,
body.action-compose #layout-content > .header > #toolbar-menu,
body.task-compose #layout-content > .header > #toolbar-menu {
  margin-left: auto !important;
  order: 2;
}

body.action-compose #layout-content > .header > .toolbar-menu-button,
body.task-compose #layout-content > .header > .toolbar-menu-button {
  flex: 0 0 2.35rem;
  margin-left: 0 !important;
  order: 3;
  position: static !important;
}

body:not(.task-login) .header .button:hover,
body:not(.task-login) .toolbar a:hover,
body:not(.task-login) .toolbar .button:hover,
body:not(.task-login) .toolbar a.active,
body:not(.task-login) .toolbar .button.active {
  background: var(--comodo-mail-accent-wash);
  border-color: var(--comodo-mail-line);
  color: var(--comodo-mail-accent-dark);
}

body:not(.task-login) #layout-sidebar > .header,
body:not(.task-login) #layout-list > .header,
body:not(.task-login) #layout-content > .header,
body:not(.task-login) #messagelist-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 250, 0.96)) !important;
  border-color: var(--comodo-mail-line) !important;
  color: var(--comodo-mail-heading) !important;
  min-height: 4rem;
  position: relative;
}

body:not(.task-login) #layout-list > .header {
  border-top-left-radius: var(--comodo-mail-radius-2xl);
  border-top-right-radius: var(--comodo-mail-radius-2xl);
}

body:not(.task-login) #layout-content > .header {
  border-top-left-radius: var(--comodo-mail-radius-2xl);
  border-top-right-radius: var(--comodo-mail-radius-2xl);
}

body:not(.task-login) #layout-list > .header::after,
body:not(.task-login) #layout-content > .header::after {
  background:
    linear-gradient(90deg, var(--comodo-mail-ocean), var(--comodo-mail-mint), var(--comodo-mail-amber));
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

body.task-mail.action-none #messagelist-header,
body.task-mail.action-list #messagelist-header {
  align-items: center;
  display: grid !important;
  gap: 0.35rem;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  min-height: 4.25rem;
  padding: 0.6rem 0.7rem 0.75rem;
}

body.task-mail.action-none #messagelist-header .button,
body.task-mail.action-list #messagelist-header .button,
body.task-mail.action-none #layout-content > .header .button,
body.task-mail.action-list #layout-content > .header .button {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(212, 231, 236, 0.9);
  border-radius: 0.95rem;
  box-shadow: 0 1px 2px rgba(24, 59, 69, 0.04);
  color: var(--comodo-mail-muted);
  font-size: 0;
  height: 2.35rem;
  margin: 0 !important;
  min-height: 2.35rem;
  min-width: 2.35rem;
  padding: 0;
  width: 2.35rem;
}

body.task-mail.action-none #messagelist-header .button::before,
body.task-mail.action-list #messagelist-header .button::before,
body.task-mail.action-none #layout-content > .header .button::before,
body.task-mail.action-list #layout-content > .header .button::before {
  font-size: 1rem;
  margin: 0;
}

body.task-mail.action-none #messagelist-header .button:hover,
body.task-mail.action-list #messagelist-header .button:hover,
body.task-mail.action-none #layout-content > .header .button:hover,
body.task-mail.action-list #layout-content > .header .button:hover {
  background: var(--comodo-mail-accent-wash);
  border-color: var(--comodo-mail-line-strong);
  color: var(--comodo-mail-accent-dark);
}

body.task-mail.action-none #messagelist-header .button .inner,
body.task-mail.action-list #messagelist-header .button .inner,
body.task-mail.action-none #layout-content > .header .button .inner,
body.task-mail.action-list #layout-content > .header .button .inner {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.task-mail.action-none #messagelist-header .header-title,
body.task-mail.action-list #messagelist-header .header-title {
  align-items: center;
  color: var(--comodo-mail-heading);
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 !important;
  min-width: 0;
}

body.task-mail.action-none #messagelist-header .header-title::before,
body.task-mail.action-list #messagelist-header .header-title::before {
  content: none;
}

body.task-mail.action-none #messagelist-header .toolbar-button.refresh,
body.task-mail.action-list #messagelist-header .toolbar-button.refresh {
  justify-self: end;
}

body.task-mail.action-none #messagelist-header .toolbar-menu-button,
body.task-mail.action-list #messagelist-header .toolbar-menu-button,
body.task-mail.action-none #messagelist-header .toolbar-list-button,
body.task-mail.action-list #messagelist-header .toolbar-list-button {
  justify-self: end;
  order: initial !important;
}

body.task-mail.action-none #mailsearchform,
body.task-mail.action-list #mailsearchform {
  background:
    linear-gradient(180deg, #ffffff, var(--comodo-mail-surface-muted));
  border: 1px solid var(--comodo-mail-line);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), var(--comodo-mail-shadow-sm);
  color: var(--comodo-mail-heading);
  height: 2.65rem;
  margin: 0.65rem 0.75rem 0.45rem;
  width: calc(100% - 1.5rem);
}

body.task-mail.action-none #layout-content > .header,
body.task-mail.action-list #layout-content > .header {
  align-items: center;
  display: flex !important;
  gap: 0.4rem;
  min-height: 4.25rem;
  padding: 0.6rem 0.7rem 0.75rem;
}

body.task-mail.action-none #layout-content > .header .header-title,
body.task-mail.action-list #layout-content > .header .header-title {
  color: var(--comodo-mail-heading);
  display: flex !important;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 !important;
  min-width: 7rem;
}

body.task-mail.action-none #layout-content > .header .header-title::before,
body.task-mail.action-list #layout-content > .header .header-title::before {
  content: none;
}

body.task-mail.action-none #layout-content > .header #toolbar-menu,
body.task-mail.action-list #layout-content > .header #toolbar-menu {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
  margin-left: auto !important;
  max-width: calc(100% - 10rem);
  overflow: hidden;
  position: static !important;
  width: auto;
}

body.task-mail.action-none #layout-content > .header #toolbar-menu a,
body.task-mail.action-list #layout-content > .header #toolbar-menu a {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(212, 231, 236, 0.9);
  border-radius: 0.95rem;
  color: var(--comodo-mail-muted);
  flex: 0 0 2.35rem;
  font-size: 0;
  height: 2.35rem;
  padding: 0;
  width: 2.35rem;
}

body.task-mail.action-none #layout-content > .header #toolbar-menu a::before,
body.task-mail.action-list #layout-content > .header #toolbar-menu a::before {
  font-size: 1rem;
  margin: 0;
}

body.task-mail.action-none #layout-content > .header #toolbar-menu .inner,
body.task-mail.action-list #layout-content > .header #toolbar-menu .inner {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.task-mail.action-none #layout-content > .header .comodo-appbar-actions,
body.task-mail.action-list #layout-content > .header .comodo-appbar-actions,
body.task-mail.action-none #layout-content > .header #mailtoolbar,
body.task-mail.action-list #layout-content > .header #mailtoolbar {
  align-items: center;
  display: inline-flex !important;
  gap: 0.45rem;
  margin-left: auto;
  max-width: calc(100% - 10rem);
  overflow: hidden;
  position: static !important;
}

body:not(.task-login) .comodo-action-group {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(212, 231, 236, 0.92);
  border-radius: 1.05rem;
  display: inline-flex;
  gap: 0.2rem;
  min-height: 2.55rem;
  padding: 0.2rem;
}

body:not(.task-login) .comodo-action-primary {
  background: rgba(236, 251, 241, 0.72);
}

body:not(.task-login) .comodo-action-overflow {
  background: rgba(238, 248, 250, 0.78);
}

body:not(.task-login) .comodo-action-group > a,
body:not(.task-login) .comodo-action-group .dropbutton > a,
body:not(.task-login) .comodo-action-group .dropbutton > .button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.85rem;
  color: var(--comodo-mail-muted);
  display: inline-flex;
  flex: 0 0 2.15rem;
  font-size: 0;
  height: 2.15rem;
  justify-content: center;
  min-height: 2.15rem;
  min-width: 2.15rem;
  padding: 0;
  width: 2.15rem;
}

body:not(.task-login) .comodo-action-group > a::before,
body:not(.task-login) .comodo-action-group .dropbutton > a::before,
body:not(.task-login) .comodo-action-group .dropbutton > .button::before {
  font-size: 0.95rem;
  margin: 0;
}

body:not(.task-login) .comodo-action-group > a:hover,
body:not(.task-login) .comodo-action-group .dropbutton > a:hover,
body:not(.task-login) .comodo-action-group .dropbutton > .button:hover,
body:not(.task-login) .comodo-action-group > a.active,
body:not(.task-login) .comodo-action-group .dropbutton > a.active,
body:not(.task-login) .comodo-action-group .dropbutton > .button.active {
  background: #ffffff;
  color: var(--comodo-mail-accent-dark);
}

body:not(.task-login) .comodo-action-group .inner {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body:not(.task-login) .comodo-action-group .dropbutton {
  align-items: center;
  display: inline-flex;
  gap: 0;
}

body.task-mail.action-none #messagelist-header.comodo-appbar,
body.task-mail.action-list #messagelist-header.comodo-appbar,
body.task-mail.action-none #layout-content > .header.comodo-appbar,
body.task-mail.action-list #layout-content > .header.comodo-appbar {
  align-items: center;
  display: flex !important;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 4.45rem;
  overflow: visible;
  padding: 0.68rem 0.8rem 0.82rem;
}

body:not(.task-login) .comodo-appbar-main {
  align-items: center;
  display: inline-flex;
  flex: 0 1 auto;
  gap: 0.55rem;
  min-width: 0;
}

body:not(.task-login) .comodo-appbar-main::before {
  background:
    linear-gradient(180deg, var(--comodo-mail-ocean), var(--comodo-mail-mint));
  border-radius: 999px;
  box-shadow: 0 10px 22px -16px rgba(45, 135, 157, 0.7);
  content: "";
  flex: 0 0 0.42rem;
  height: 2rem;
}

body.task-mail.action-none #messagelist-header.comodo-appbar .header-title,
body.task-mail.action-list #messagelist-header.comodo-appbar .header-title,
body.task-mail.action-none #layout-content > .header.comodo-appbar .header-title,
body.task-mail.action-list #layout-content > .header.comodo-appbar .header-title {
  color: var(--comodo-mail-heading);
  display: block !important;
  flex: 0 1 auto;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 !important;
  min-width: min(8rem, 42vw);
  overflow: hidden;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.task-login) .comodo-appbar .header-title:empty::before {
  content: attr(data-comodo-fallback);
}

body.task-mail.action-none #messagelist-header.comodo-appbar .header-title:empty::before,
body.task-mail.action-list #messagelist-header.comodo-appbar .header-title:empty::before,
body.task-mail.action-none #layout-content > .header.comodo-appbar .header-title:empty::before,
body.task-mail.action-list #layout-content > .header.comodo-appbar .header-title:empty::before {
  content: attr(data-comodo-fallback);
}

body.task-mail.action-none #messagelist-header.comodo-appbar .comodo-appbar-actions,
body.task-mail.action-list #messagelist-header.comodo-appbar .comodo-appbar-actions,
body.task-mail.action-none #layout-content > .header.comodo-appbar .comodo-appbar-actions,
body.task-mail.action-list #layout-content > .header.comodo-appbar .comodo-appbar-actions,
body.task-mail.action-none #layout-content > .header.comodo-appbar #mailtoolbar,
body.task-mail.action-list #layout-content > .header.comodo-appbar #mailtoolbar {
  align-items: center;
  display: inline-flex !important;
  flex: 0 1 auto;
  gap: 0.48rem;
  justify-content: flex-end;
  margin-left: auto !important;
  max-width: 72%;
  min-width: 0;
  overflow: visible;
  position: static !important;
  width: auto;
}

body:not(.task-login) .comodo-appbar .comodo-action-group {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(24, 59, 69, 0.06);
  flex: 0 0 auto;
}

body:not(.task-login) .comodo-action-group > .hidden,
body:not(.task-login) .comodo-action-group .dropbutton.hidden {
  display: none !important;
}

body:not(.task-login) .comodo-action-group > a.disabled,
body:not(.task-login) .comodo-action-group .dropbutton > a.disabled,
body:not(.task-login) .comodo-action-group .dropbutton > .button.disabled {
  opacity: 0.64;
}

body:not(.task-login) .comodo-action-group .dropdown {
  flex-basis: 1.5rem;
  min-width: 1.5rem;
  width: 1.5rem;
}

body:not(.task-login) .comodo-action-group > a.select::before,
body:not(.task-login) .comodo-action-group > a.threads::before,
body:not(.task-login) .comodo-action-group > a.options::before {
  font-family: Icons;
  font-weight: normal;
  line-height: 1;
}

body:not(.task-login) .comodo-action-group > a.select::before {
  content: "\f00c";
}

body:not(.task-login) .comodo-action-group > a.threads::before {
  content: "\f0e8";
}

body:not(.task-login) .comodo-action-group > a.options::before {
  content: "\f013";
}

body.task-mail.action-none #messagelist-header.comodo-appbar > .button.selection,
body.task-mail.action-list #messagelist-header.comodo-appbar > .button.selection,
body.task-mail.action-none #messagelist-header.comodo-appbar .task-menu-button,
body.task-mail.action-list #messagelist-header.comodo-appbar .task-menu-button,
body.task-mail.action-none #messagelist-header.comodo-appbar .back-sidebar-button,
body.task-mail.action-list #messagelist-header.comodo-appbar .back-sidebar-button {
  display: none !important;
}

body:not(.task-login) .comodo-action-primary {
  border-color: rgba(91, 162, 159, 0.28);
}

body:not(.task-login) .comodo-action-primary > a:not(.disabled),
body:not(.task-login) .comodo-action-primary .dropbutton > a:not(.disabled),
body:not(.task-login) .comodo-action-primary .dropbutton > .button:not(.disabled) {
  color: var(--comodo-mail-accent-dark);
}

body:not(.task-login) .comodo-mail-listbar::before,
body:not(.task-login) .comodo-previewbar::before {
  content: none;
  display: none;
}

@media screen and (max-width: 960px) {
  body.task-mail.action-none #messagelist-header.comodo-appbar,
  body.task-mail.action-list #messagelist-header.comodo-appbar,
  body.task-mail.action-none #layout-content > .header.comodo-appbar,
  body.task-mail.action-list #layout-content > .header.comodo-appbar {
    gap: 0.5rem;
    padding-left: 0.62rem;
    padding-right: 0.62rem;
  }

  body.task-mail.action-none #messagelist-header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-list #messagelist-header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-none #layout-content > .header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-list #layout-content > .header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-none #layout-content > .header.comodo-appbar #mailtoolbar,
  body.task-mail.action-list #layout-content > .header.comodo-appbar #mailtoolbar {
    gap: 0.32rem;
    max-width: 64%;
  }

  body:not(.task-login) .comodo-appbar .comodo-action-group {
    gap: 0.1rem;
    padding: 0.16rem;
  }
}

@media screen and (max-width: 720px) {
  body.task-mail.action-none #messagelist-header.comodo-appbar .back-sidebar-button,
  body.task-mail.action-list #messagelist-header.comodo-appbar .back-sidebar-button {
    display: inline-flex !important;
  }

  body:not(.task-login) .comodo-previewbar .comodo-action-secondary {
    display: none;
  }

  body.task-mail.action-none #messagelist-header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-list #messagelist-header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-none #layout-content > .header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-list #layout-content > .header.comodo-appbar .comodo-appbar-actions,
  body.task-mail.action-none #layout-content > .header.comodo-appbar #mailtoolbar,
  body.task-mail.action-list #layout-content > .header.comodo-appbar #mailtoolbar {
    max-width: 56%;
  }
}

body.task-mail #folderlist-content,
body.task-mail #messagelist-content,
body.task-addressbook .scroller,
body.task-settings .scroller {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 251, 252, 0.78)),
    var(--comodo-mail-surface);
}

body.task-mail #mailboxlist li a,
body.task-mail #mailboxlist li span {
  color: var(--comodo-mail-text);
}

body.task-mail #mailboxlist {
  padding: 0.65rem;
}

body.task-mail #mailboxlist li {
  border-radius: 0.95rem;
  margin: 0.18rem 0;
}

body.task-mail #mailboxlist li a {
  border-radius: 0.95rem;
  padding-block: 0.68rem;
}

body.task-mail #mailboxlist li.selected > a,
body.task-mail #mailboxlist li.selected > span {
  background:
    linear-gradient(135deg, rgba(225, 246, 243, 0.95), rgba(236, 251, 241, 0.95));
  box-shadow: inset 3px 0 0 var(--comodo-mail-ocean);
  color: var(--comodo-mail-accent-dark);
  font-weight: 700;
}

body.task-mail #quotadisplay,
body.task-mail .quota-widget {
  background: var(--comodo-mail-accent-wash);
  border: 1px solid var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-md);
  color: var(--comodo-mail-accent-dark);
  margin: 0.75rem;
  padding: 0.65rem 0.75rem;
}

body.task-mail #messagelist {
  background: transparent;
  border-collapse: separate;
  border-spacing: 0 0.45rem;
  padding: 0.35rem 0.65rem;
}

body.task-mail #messagelist .message,
body.task-mail #messagelist tr {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(212, 231, 236, 0.76);
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

body.task-mail #messagelist .message.unread,
body.task-mail #messagelist tr.unread {
  background:
    linear-gradient(90deg, rgba(236, 251, 241, 0.95), rgba(255, 255, 255, 0.95));
  color: var(--comodo-mail-heading);
  font-weight: 700;
}

body.task-mail #messagelist .message.selected,
body.task-mail #messagelist tr.selected {
  background:
    linear-gradient(90deg, var(--comodo-mail-accent-soft), #ffffff);
  box-shadow: inset 4px 0 0 var(--comodo-mail-ocean), var(--comodo-mail-shadow-sm);
}

body.task-mail #messagelist .message:hover,
body.task-mail #messagelist tr:hover {
  background: var(--comodo-mail-accent-wash);
  box-shadow: var(--comodo-mail-shadow-sm);
  transform: translateY(-1px);
}

body.task-mail #messagelist td,
body.task-mail #messagelist th {
  border-color: transparent;
  padding-block: 0.72rem;
}

body.task-mail #messagelist td:first-child,
body.task-mail #messagelist th:first-child {
  border-bottom-left-radius: 0.95rem;
  border-top-left-radius: 0.95rem;
}

body.task-mail #messagelist td:last-child,
body.task-mail #messagelist th:last-child {
  border-bottom-right-radius: 0.95rem;
  border-top-right-radius: 0.95rem;
}

body.task-mail #mailsearchform,
body:not(.task-login) .searchbar input {
  background:
    linear-gradient(180deg, #ffffff, var(--comodo-mail-surface-muted));
  border: 1px solid var(--comodo-mail-line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), var(--comodo-mail-shadow-sm);
  color: var(--comodo-mail-heading);
}

body.task-mail #messagecontframe,
body.task-settings #preferences-frame,
body.task-addressbook iframe {
  background: var(--comodo-mail-surface);
  border: 0;
}

body.task-compose #layout-content,
body.task-compose #layout-sidebar,
body.action-compose #layout-content,
body.action-compose #layout-sidebar {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-2xl);
  box-shadow: var(--comodo-mail-shadow-md);
  min-height: 0;
  overflow: hidden;
}

body.task-compose #compose-content,
body.action-compose #compose-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 249, 0.96));
  color: var(--comodo-mail-text);
}

body.task-compose #compose-headers,
body.action-compose #compose-headers {
  background:
    linear-gradient(180deg, #ffffff, rgba(238, 248, 250, 0.78));
  border: 1px solid var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-xl);
  box-shadow: var(--comodo-mail-shadow-sm);
  margin: 1rem;
  padding: 1rem 1rem 0.1rem;
}

body.task-compose #compose-headers .form-group,
body.action-compose #compose-headers .form-group {
  border-color: var(--comodo-mail-line);
}

body.task-compose #composebodycontainer,
body.action-compose #composebodycontainer {
  background: var(--comodo-mail-surface);
  margin: 0 1rem 1rem;
}

body.task-compose #composebody,
body.action-compose #composebody {
  background: #ffffff;
  border-color: var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-xl);
  box-shadow: inset 0 1px 2px rgba(24, 59, 69, 0.04);
  color: var(--comodo-mail-text);
  min-height: 18rem;
}

body.task-compose #compose-attachments,
body.task-compose #compose-options,
body.action-compose #compose-attachments,
body.action-compose #compose-options {
  background:
    linear-gradient(180deg, var(--comodo-mail-mint-wash), var(--comodo-mail-surface-muted));
  border: 1px solid var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-xl);
  box-shadow: var(--comodo-mail-shadow-sm);
  margin: 1rem;
  padding: 1rem;
}

body.task-compose #attachment-list,
body.task-compose .attachmentslist,
body.action-compose #attachment-list,
body.action-compose .attachmentslist {
  background: var(--comodo-mail-surface);
  border-radius: var(--comodo-mail-radius-md);
}

body.task-compose .formbuttons,
body.action-compose .formbuttons {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
  padding: 0.75rem 1rem;
}

body.task-compose .btn.send,
body.action-compose .btn.send {
  background:
    linear-gradient(135deg, var(--comodo-mail-ocean), var(--comodo-mail-teal));
  border-color: transparent;
  box-shadow: var(--comodo-mail-shadow-glow);
  color: #ffffff;
  font-weight: 800;
}

body.task-settings #sections-table li,
body.task-settings #settings-menu li,
body.task-addressbook #contacts-table tr,
body.task-addressbook #directorylist li {
  color: var(--comodo-mail-text);
}

body.task-settings .propform,
body.task-addressbook .propform,
body.task-settings .formcontent,
body.task-addressbook .formcontent {
  color: var(--comodo-mail-text);
}

body.task-settings .iframe-wrapper,
body.task-addressbook .iframe-wrapper,
body.task-mail .iframe-wrapper {
  background: var(--comodo-mail-surface);
}

body.task-login {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.task-login {
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 111, 75, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(45, 135, 157, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8faf7 0%, #eef6f2 54%, #fbfbf8 100%);
  color: var(--comodo-mail-text);
}

body.task-login::before {
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  position: fixed;
}

body.task-login #layout {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

body.task-login #layout-content.comodo-mail-login {
  align-items: stretch;
  align-content: center;
  background: transparent;
  box-sizing: border-box;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr);
  margin: 0 auto;
  max-width: 76rem;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  width: 100%;
}

.comodo-mail-brand,
.comodo-mail-card {
  border-radius: var(--comodo-mail-radius-xl);
  min-width: 0;
}

.comodo-mail-brand {
  align-self: center;
  background: var(--comodo-mail-panel);
  border: 1px solid var(--comodo-mail-panel-border);
  box-shadow: var(--comodo-mail-shadow-lg);
  padding: 2rem;
}

.comodo-mail-logo-lockup {
  align-items: center;
  display: inline-flex;
  gap: 0.875rem;
}

.comodo-mail-logo-lockup #logo {
  height: 2.75rem;
  left: auto !important;
  margin: 0;
  max-width: none;
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: 2.75rem;
}

.comodo-mail-logo-lockup span {
  color: var(--comodo-mail-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.comodo-mail-hero-copy {
  margin-top: 2.25rem;
  max-width: 38rem;
}

.comodo-mail-eyebrow {
  color: var(--comodo-mail-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.comodo-mail-hero-copy h2 {
  color: var(--comodo-mail-heading);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.comodo-mail-hero-copy p {
  color: var(--comodo-mail-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 1rem 0 0;
}

.comodo-mail-notes {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}

.comodo-mail-notes article {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--comodo-mail-line);
  border-radius: var(--comodo-mail-radius-lg);
  padding: 0.95rem;
}

.comodo-mail-notes h3 {
  color: var(--comodo-mail-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
}

.comodo-mail-notes p {
  color: var(--comodo-mail-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0.4rem 0 0;
}

.comodo-mail-card {
  align-self: center;
  background: var(--comodo-mail-card);
  border: 1px solid var(--comodo-mail-line);
  box-shadow: var(--comodo-mail-shadow-md);
  color: var(--comodo-mail-text);
  padding: 2rem;
}

.comodo-mail-card-header {
  margin-bottom: 1.5rem;
}

.comodo-mail-card-header p {
  color: var(--comodo-mail-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.comodo-mail-card-header h2 {
  color: var(--comodo-mail-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.comodo-mail-card-header span {
  color: var(--comodo-mail-muted);
  display: block;
  line-height: 1.6;
  margin-top: 0.65rem;
}

.comodo-mail-form table {
  display: block;
  margin: 0;
  width: 100%;
}

body.task-login .comodo-mail-card #login-form {
  left: auto;
  max-width: none;
  position: static;
  top: auto;
  width: 100%;
}

.comodo-mail-form tbody,
.comodo-mail-form tr,
.comodo-mail-form td {
  display: block;
  width: 100%;
}

.comodo-mail-form td.title {
  color: var(--comodo-mail-text);
  display: none !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0 0 0.5rem;
}

body.task-login .comodo-mail-form td.title::before,
body.task-login .comodo-mail-form td.input::before {
  content: none;
  display: none;
}

body.task-login .comodo-mail-form td.title label {
  clip: auto;
  color: var(--comodo-mail-text);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  line-height: 1.4;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.comodo-mail-form td.input {
  display: block !important;
  padding: 0 0 1rem;
}

body.task-login .comodo-mail-form .input-group-prepend {
  display: none !important;
}

.comodo-mail-form .form-control {
  background: var(--comodo-mail-surface);
  border: 1px solid var(--comodo-mail-line-strong);
  border-radius: var(--comodo-mail-radius-md);
  box-shadow: var(--comodo-mail-shadow-sm);
  box-sizing: border-box;
  color: var(--comodo-mail-text);
  min-height: 3rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

.comodo-mail-form .form-control:focus {
  border-color: var(--comodo-mail-accent);
  box-shadow: 0 0 0 4px var(--comodo-mail-ring);
}

.comodo-mail-form .formbuttons {
  margin: 0.25rem 0 0;
}

.comodo-mail-form .button.mainaction.submit {
  align-items: center;
  background: var(--comodo-mail-accent-dark);
  border: 0;
  border-radius: var(--comodo-mail-radius-md);
  box-shadow: 0 14px 26px -18px rgba(15, 118, 110, 0.8);
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  text-transform: none;
  width: 100%;
}

.comodo-mail-form .button.mainaction.submit::after {
  content: "Entrar";
}

.comodo-mail-form .button.mainaction.submit .inner {
  display: none;
}

body.task-login #rcmloginsubmit {
  font-size: 0 !important;
  text-transform: none !important;
}

body.task-login #rcmloginsubmit::after {
  content: "Entrar";
  font-size: 1rem;
  text-transform: none;
}

.comodo-mail-form .button.mainaction.submit:hover,
.comodo-mail-form .button.mainaction.submit:focus {
  background: #115e59;
}

body.task-login #login-footer {
  color: var(--comodo-mail-subtle);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 1.25rem;
  text-align: center;
}

body.task-login #login-footer a {
  color: var(--comodo-mail-accent-dark);
}

body.task-login #messagestack {
  position: fixed;
}

body.task-login .noscriptwarning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 900px) {
  body:not(.task-login) #layout-menu {
    border-right: 0;
    box-shadow: var(--comodo-mail-shadow-lg);
  }

  body.task-login #layout-content.comodo-mail-login {
    align-content: start;
    align-items: start;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1rem;
  }

  .comodo-mail-brand,
  .comodo-mail-card {
    border-radius: var(--comodo-mail-radius-lg);
    padding: 1.25rem;
  }

  .comodo-mail-hero-copy {
    margin-top: 1.5rem;
  }

  .comodo-mail-hero-copy h2 {
    font-size: 1.85rem;
  }

  .comodo-mail-notes {
    grid-template-columns: 1fr;
  }

  body.task-login #messagestack {
    position: absolute;
  }
}

@media (max-width: 520px) {
  body.task-login {
    background:
      radial-gradient(circle at 0% 0%, rgba(31, 111, 75, 0.16), transparent 17rem),
      linear-gradient(180deg, #f7faf6 0%, #eef5f0 100%);
  }

  body.task-login::before {
    opacity: 0.18;
  }

  body.task-login #layout-content.comodo-mail-login {
    gap: 0.75rem;
    min-height: 100vh;
    padding: 0.75rem;
  }

  .comodo-mail-brand,
  .comodo-mail-card {
    align-self: start;
    border-radius: 1.05rem;
    padding: 1rem;
  }

  .comodo-mail-brand {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 56px -42px rgba(24, 59, 69, 0.72);
    padding-bottom: 0.9rem;
  }

  .comodo-mail-card {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px -42px rgba(24, 59, 69, 0.7);
    padding-top: 1.1rem;
  }

  .comodo-mail-logo-lockup #logo {
    height: 2.15rem;
    width: 2.15rem;
  }

  .comodo-mail-logo-lockup span {
    font-size: 0.98rem;
  }

  .comodo-mail-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.55rem;
  }

  .comodo-mail-hero-copy {
    margin-top: 1.1rem;
  }

  .comodo-mail-hero-copy h2 {
    font-size: 1.6rem;
    line-height: 1.08;
  }

  .comodo-mail-hero-copy p {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-top: 0.65rem;
  }

  .comodo-mail-notes {
    display: none;
  }

  .comodo-mail-notes article {
    align-items: center;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 0.85rem;
    display: flex;
    min-height: 2.45rem;
    padding: 0.55rem 0.65rem;
  }

  .comodo-mail-notes h3 {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .comodo-mail-notes p {
    display: none;
  }

  .comodo-mail-card-header {
    margin-bottom: 0.85rem;
  }

  .comodo-mail-card-header p {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
  }

  .comodo-mail-card-header h2 {
    font-size: 1.45rem;
  }

  .comodo-mail-card-header span {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 0.4rem;
  }

  .comodo-mail-form td.input {
    padding-bottom: 0.7rem;
  }

  .comodo-mail-form .form-control,
  .comodo-mail-form .button.mainaction.submit {
    min-height: 2.75rem;
  }

  body.task-login #login-footer {
    margin-top: 0.75rem;
  }
}

/* Proposal parity: authenticated mail shell */
body.task-mail.action-none,
body.task-mail.action-list {
  background:
    linear-gradient(90deg, rgba(45, 135, 157, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 135, 157, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 10% 0%, rgba(185, 235, 201, 0.55), transparent 26rem),
    radial-gradient(circle at 98% 10%, rgba(216, 178, 89, 0.22), transparent 22rem),
    #f6fbfa;
  background-size: 28px 28px, 28px 28px, auto, auto;
  overflow: hidden;
}

body.task-mail.action-none #layout,
body.task-mail.action-list #layout {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 231, 236, 0.9);
  border-radius: 16px;
  box-shadow: 0 36px 100px -58px rgba(24, 59, 69, 0.72);
  display: grid !important;
  gap: 0;
  grid-template-columns: 76px minmax(210px, 246px) minmax(320px, 390px) minmax(0, 1fr);
  height: min(900px, calc(100vh - 32px));
  margin: 16px auto;
  max-width: 1480px;
  min-height: 680px;
  overflow: hidden;
  padding: 0;
  width: min(calc(100% - 32px), 1480px);
}

body.task-mail.action-none #layout > .voice,
body.task-mail.action-list #layout > .voice {
  display: none !important;
}

body.task-mail.action-none #layout-menu,
body.task-mail.action-list #layout-menu,
body.task-mail.action-none #layout-sidebar,
body.task-mail.action-list #layout-sidebar,
body.task-mail.action-none #layout-list,
body.task-mail.action-list #layout-list,
body.task-mail.action-none #layout-content,
body.task-mail.action-list #layout-content {
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  margin: 0 !important;
  min-height: 0;
  min-width: 0;
  position: relative;
  grid-row: 1;
}

body.task-mail.action-none #layout-menu,
body.task-mail.action-list #layout-menu {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(24, 59, 69, 0.98), rgba(35, 111, 130, 0.98));
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex !important;
  flex: none !important;
  grid-column: 1;
  width: auto !important;
}

body.task-mail.action-none #layout-menu .popover-header,
body.task-mail.action-list #layout-menu .popover-header {
  padding: 14px 10px 10px;
}

body.task-mail.action-none #layout-menu #logo,
body.task-mail.action-list #layout-menu #logo {
  border-radius: 8px;
  height: 44px;
  padding: 7px;
  width: 44px;
}

body.task-mail.action-none #taskmenu,
body.task-mail.action-list #taskmenu {
  gap: 10px;
  padding: 4px 10px 14px;
}

body.task-mail.action-none #taskmenu a,
body.task-mail.action-list #taskmenu a,
body.task-mail.action-none #taskmenu .button,
body.task-mail.action-list #taskmenu .button {
  border-radius: 8px;
  height: 44px;
  width: 44px;
}

body.task-mail.action-none #layout-sidebar,
body.task-mail.action-list #layout-sidebar {
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-right: 1px solid var(--comodo-mail-line);
  display: flex !important;
  flex: none !important;
  flex-direction: column;
  grid-column: 2;
  max-width: none !important;
  overflow: hidden;
  width: auto !important;
}

body.task-mail.action-none #layout-sidebar.hidden,
body.task-mail.action-list #layout-sidebar.hidden {
  display: flex !important;
  visibility: visible !important;
}

body.task-mail.action-none #layout-list,
body.task-mail.action-list #layout-list {
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-right: 1px solid var(--comodo-mail-line);
  display: flex !important;
  flex: none !important;
  flex-direction: column;
  grid-column: 3;
  max-width: none !important;
  overflow: hidden;
  width: auto !important;
}

body.task-mail.action-none #layout-content,
body.task-mail.action-list #layout-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(241, 248, 248, 0.96));
  border: 0;
  display: flex !important;
  flex: none !important;
  flex-direction: column;
  grid-column: 4;
  overflow: hidden;
  width: auto !important;
}

body.task-mail.action-none .comodo-accountbar,
body.task-mail.action-list .comodo-accountbar {
  align-items: center;
  background: #ffffff !important;
  border-bottom: 1px solid var(--comodo-mail-line) !important;
  display: flex;
  gap: 10px;
  min-height: 76px;
  padding: 18px !important;
}

body.task-mail.action-none .comodo-accountbar .back-list-button,
body.task-mail.action-list .comodo-accountbar .back-list-button {
  display: none !important;
}

body.task-mail.action-none .comodo-account-avatar,
body.task-mail.action-list .comodo-account-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--comodo-mail-ocean), var(--comodo-mail-teal));
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

body.task-mail.action-none .comodo-account-copy,
body.task-mail.action-list .comodo-account-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.task-mail.action-none .comodo-account-title,
body.task-mail.action-list .comodo-account-title {
  color: var(--comodo-mail-heading);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
}

body.task-mail.action-none .comodo-accountbar .username,
body.task-mail.action-list .comodo-accountbar .username {
  color: var(--comodo-mail-muted);
  display: block !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.task-mail.action-none .comodo-accountbar .sidebar-menu,
body.task-mail.action-list .comodo-accountbar .sidebar-menu {
  flex: 0 0 34px;
  height: 34px;
  margin-left: auto !important;
  min-height: 34px;
  min-width: 34px;
  width: 34px;
}

body.task-mail.action-none .comodo-folder-kicker,
body.task-mail.action-list .comodo-folder-kicker {
  color: var(--comodo-mail-subtle);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 18px 18px 8px;
  text-transform: uppercase;
}

body.task-mail.action-none #folderlist-content,
body.task-mail.action-list #folderlist-content {
  background: transparent;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 10px 12px;
}

body.task-mail.action-none #mailboxlist,
body.task-mail.action-list #mailboxlist {
  padding: 0;
}

body.task-mail.action-none #mailboxlist li,
body.task-mail.action-list #mailboxlist li {
  border-bottom: 1px solid var(--comodo-mail-line);
  border-radius: 0;
  margin: 0;
}

body.task-mail.action-none #mailboxlist li a,
body.task-mail.action-list #mailboxlist li a,
body.task-mail.action-none #mailboxlist li span,
body.task-mail.action-list #mailboxlist li span {
  border-radius: 0;
  color: var(--comodo-mail-muted);
  min-height: 52px;
}

body.task-mail.action-none #mailboxlist li.selected > a,
body.task-mail.action-list #mailboxlist li.selected > a,
body.task-mail.action-none #mailboxlist li.selected > span,
body.task-mail.action-list #mailboxlist li.selected > span {
  background: var(--comodo-mail-accent-soft);
  box-shadow: inset 4px 0 0 var(--comodo-mail-ocean);
  color: var(--comodo-mail-accent-dark);
}

body.task-mail.action-none #layout-sidebar > .footer,
body.task-mail.action-list #layout-sidebar > .footer {
  background: transparent;
  border: 0;
  flex: 0 0 auto;
  padding: 0;
}

body.task-mail.action-none #quotadisplay,
body.task-mail.action-list #quotadisplay,
body.task-mail.action-none .quota-widget,
body.task-mail.action-list .quota-widget {
  background: linear-gradient(180deg, #ffffff, var(--comodo-mail-surface-muted));
  border: 1px solid var(--comodo-mail-line);
  border-radius: 8px;
  color: var(--comodo-mail-muted);
  margin: 0 16px 16px;
  padding: 12px;
}

body.task-mail.action-none #messagelist-header.comodo-appbar,
body.task-mail.action-list #messagelist-header.comodo-appbar,
body.task-mail.action-none #layout-content > .header.comodo-appbar,
body.task-mail.action-list #layout-content > .header.comodo-appbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 248, 0.96)) !important;
  border-bottom: 1px solid var(--comodo-mail-line) !important;
  min-height: 70px;
  padding: 12px 14px !important;
}

body.task-mail.action-none #messagelist-header.comodo-appbar::after,
body.task-mail.action-list #messagelist-header.comodo-appbar::after,
body.task-mail.action-none #layout-content > .header.comodo-appbar::after,
body.task-mail.action-list #layout-content > .header.comodo-appbar::after {
  height: 3px;
}

body.task-mail.action-none .comodo-appbar-main,
body.task-mail.action-list .comodo-appbar-main {
  gap: 10px;
}

body.task-mail.action-none .comodo-appbar-main::before,
body.task-mail.action-list .comodo-appbar-main::before {
  border-radius: 999px;
  flex-basis: 6px;
  height: 34px;
}

body.task-mail.action-none .comodo-title-stack,
body.task-mail.action-list .comodo-title-stack {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.task-mail.action-none .comodo-kicker,
body.task-mail.action-list .comodo-kicker {
  color: var(--comodo-mail-subtle);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body.task-mail.action-none #messagelist-header.comodo-appbar .header-title,
body.task-mail.action-list #messagelist-header.comodo-appbar .header-title,
body.task-mail.action-none #layout-content > .header.comodo-appbar .header-title,
body.task-mail.action-list #layout-content > .header.comodo-appbar .header-title {
  font-size: 18px;
  line-height: 1.12;
  min-width: 0;
}

body.task-mail.action-none .comodo-action-group,
body.task-mail.action-list .comodo-action-group {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--comodo-mail-line);
  border-radius: 8px;
  box-shadow: var(--comodo-mail-shadow-sm);
  min-height: 42px;
  padding: 4px;
}

body.task-mail.action-none .comodo-action-group > a,
body.task-mail.action-list .comodo-action-group > a,
body.task-mail.action-none .comodo-action-group .dropbutton > a,
body.task-mail.action-list .comodo-action-group .dropbutton > a,
body.task-mail.action-none .comodo-action-group .dropbutton > .button,
body.task-mail.action-list .comodo-action-group .dropbutton > .button {
  border-radius: 6px;
  color: var(--comodo-mail-muted);
  flex-basis: 34px;
  height: 34px;
  min-height: 34px;
  min-width: 34px;
  width: 34px;
}

body.task-mail.action-none #mailsearchform,
body.task-mail.action-list #mailsearchform {
  border-radius: 8px;
  height: 42px;
  margin: 14px;
  width: calc(100% - 28px);
}

body.task-mail.action-none #messagelist-content,
body.task-mail.action-list #messagelist-content {
  background: transparent;
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 14px 16px;
}

body.task-mail.action-none #messagelist,
body.task-mail.action-list #messagelist {
  border-collapse: separate;
  border-spacing: 0 8px;
  padding: 0;
}

body.task-mail.action-none #messagelist tr,
body.task-mail.action-list #messagelist tr,
body.task-mail.action-none #messagelist .message,
body.task-mail.action-list #messagelist .message {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(212, 231, 236, 0.74);
}

body.task-mail.action-none #messagelist tr.selected,
body.task-mail.action-list #messagelist tr.selected,
body.task-mail.action-none #messagelist .message.selected,
body.task-mail.action-list #messagelist .message.selected {
  background: #ffffff;
  box-shadow: inset 4px 0 0 var(--comodo-mail-ocean), var(--comodo-mail-shadow-sm);
}

body.task-mail.action-none #messagelist-content .listing-info,
body.task-mail.action-list #messagelist-content .listing-info,
body.task-mail.action-none #messagelist-content .message,
body.task-mail.action-list #messagelist-content .message {
  color: var(--comodo-mail-muted);
}

body.task-mail.action-none #layout-list .pagenav,
body.task-mail.action-list #layout-list .pagenav {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--comodo-mail-line);
  flex: 0 0 auto;
}

body.task-mail.action-none .comodo-content-body,
body.task-mail.action-list .comodo-content-body {
  display: grid;
  flex: 1 1 auto;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

@media screen and (max-width: 1300px) {
  body.task-mail.action-none .comodo-content-body,
  body.task-mail.action-list .comodo-content-body {
    grid-template-columns: 1fr;
  }

  body.task-mail.action-none .comodo-context-stack,
  body.task-mail.action-list .comodo-context-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.task-mail.action-none .comodo-message-card,
body.task-mail.action-list .comodo-message-card {
  background: #ffffff;
  border: 1px solid var(--comodo-mail-line);
  border-radius: 12px;
  box-shadow: var(--comodo-mail-shadow-md);
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

body.task-mail.action-none #messagecontframe,
body.task-mail.action-list #messagecontframe {
  background: #ffffff;
  height: 100%;
  min-height: 100%;
}

body.task-mail.action-none .comodo-context-stack,
body.task-mail.action-list .comodo-context-stack {
  align-content: start;
  display: grid;
  gap: 12px;
  min-width: 0;
}

body.task-mail.action-none .comodo-side-panel,
body.task-mail.action-list .comodo-side-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--comodo-mail-line);
  border-radius: 8px;
  box-shadow: var(--comodo-mail-shadow-sm);
  padding: 14px;
}

body.task-mail.action-none .comodo-side-panel h3,
body.task-mail.action-list .comodo-side-panel h3 {
  color: var(--comodo-mail-heading);
  font-size: 13px;
  font-weight: 850;
  margin: 0 0 12px;
}

body.task-mail.action-none .comodo-contact-card,
body.task-mail.action-list .comodo-contact-card {
  align-items: center;
  display: flex;
  gap: 10px;
}

body.task-mail.action-none .comodo-mini-avatar,
body.task-mail.action-list .comodo-mini-avatar {
  align-items: center;
  background: var(--comodo-mail-accent-soft);
  border: 1px solid var(--comodo-mail-line);
  border-radius: 8px;
  color: var(--comodo-mail-accent-dark);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 12px;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  width: 34px;
}

body.task-mail.action-none .comodo-contact-card strong,
body.task-mail.action-list .comodo-contact-card strong {
  color: var(--comodo-mail-heading);
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

body.task-mail.action-none .comodo-contact-card small,
body.task-mail.action-list .comodo-contact-card small {
  color: var(--comodo-mail-muted);
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

body.task-mail.action-none .comodo-timeline,
body.task-mail.action-list .comodo-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.task-mail.action-none .comodo-timeline li,
body.task-mail.action-list .comodo-timeline li {
  color: var(--comodo-mail-muted);
  display: grid;
  font-size: 12px;
  gap: 2px;
  grid-template-columns: 12px 1fr;
  line-height: 1.4;
  list-style: none;
}

body.task-mail.action-none .comodo-timeline li::before,
body.task-mail.action-list .comodo-timeline li::before {
  background: var(--comodo-mail-teal);
  border-radius: 999px;
  content: "";
  height: 7px;
  margin-top: 5px;
  width: 7px;
}

body.task-mail.action-none .comodo-timeline strong,
body.task-mail.action-list .comodo-timeline strong {
  color: var(--comodo-mail-heading);
  display: block;
  font-size: 12px;
}

@media screen and (max-width: 980px) {
  body.task-mail.action-none,
  body.task-mail.action-list {
    overflow: auto;
  }

  body.task-mail.action-none #layout,
  body.task-mail.action-list #layout {
    grid-template-columns: 76px minmax(240px, 360px) minmax(0, 1fr);
    height: auto;
    min-height: calc(100vh - 32px);
  }

  body.task-mail.action-none #layout-sidebar,
  body.task-mail.action-list #layout-sidebar,
  body.task-mail.action-none #layout-sidebar.hidden,
  body.task-mail.action-list #layout-sidebar.hidden {
    display: none !important;
  }

  body.task-mail.action-none #layout-list,
  body.task-mail.action-list #layout-list {
    grid-column: 2;
  }

  body.task-mail.action-none #layout-content,
  body.task-mail.action-list #layout-content {
    grid-column: 3;
  }

  body.task-mail.action-none .comodo-content-body,
  body.task-mail.action-list .comodo-content-body {
    grid-template-columns: 1fr;
  }

  body.task-mail.action-none .comodo-context-stack,
  body.task-mail.action-list .comodo-context-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none #layout,
  body.task-mail.action-list #layout {
    border: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    margin: 0;
    min-height: 100vh;
    width: 100%;
  }

  body.task-mail.action-none #layout-menu,
  body.task-mail.action-list #layout-menu,
  body.task-mail.action-none #layout-list,
  body.task-mail.action-list #layout-list {
    display: none !important;
  }

  body.task-mail.action-none #layout-content,
  body.task-mail.action-list #layout-content {
    grid-column: 1;
  }

  body.task-mail.action-none .comodo-context-stack,
  body.task-mail.action-list .comodo-context-stack {
    grid-template-columns: 1fr;
  }
}

/* Editorial proposal target */
body.task-mail.action-none,
body.task-mail.action-list {
  --comodo-mail-bg: #d8d6cf;
  --comodo-mail-surface: #faf9f5;
  --comodo-mail-surface-muted: #f3f1ec;
  --comodo-mail-accent-soft: #dfeee6;
  --comodo-mail-line: #e4ded3;
  --comodo-mail-line-strong: #d8d0c4;
  --comodo-mail-heading: #171714;
  --comodo-mail-text: #2f2d29;
  --comodo-mail-muted: #756f66;
  --comodo-mail-subtle: #9b9489;
  --comodo-mail-ocean: #1f6f4b;
  --comodo-mail-accent-dark: #1f6f4b;
  background: var(--comodo-mail-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.task-mail.action-none #layout,
body.task-mail.action-list #layout {
  background: var(--comodo-mail-surface);
  border: 0;
  border-radius: 0 12px 12px 0;
  box-shadow: none;
  grid-template-columns: 56px 216px 316px minmax(0, 1fr);
  height: 100vh;
  margin: 0;
  max-width: none;
  min-height: 0;
  width: 100vw;
}

body.task-mail.action-none #layout-menu,
body.task-mail.action-list #layout-menu {
  background: #1a1916;
  border: 0;
}

body.task-mail.action-none #layout-menu .popover-header,
body.task-mail.action-list #layout-menu .popover-header {
  height: 56px;
  padding: 8px 10px;
  position: relative;
}

body.task-mail.action-none #layout-menu .popover-header::before,
body.task-mail.action-list #layout-menu .popover-header::before {
  align-items: center;
  background: #2b7651;
  border-radius: 8px;
  color: #dff3e8;
  content: "R";
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  height: 32px;
  justify-content: center;
  left: 12px;
  position: absolute;
  top: 16px;
  width: 32px;
}

body.task-mail.action-none #layout-menu #logo,
body.task-mail.action-list #layout-menu #logo {
  height: 32px;
  opacity: 0;
  width: 32px;
}

body.task-mail.action-none #taskmenu,
body.task-mail.action-list #taskmenu {
  gap: 8px;
  padding: 0 10px 16px;
}

body.task-mail.action-none #taskmenu a,
body.task-mail.action-list #taskmenu a,
body.task-mail.action-none #taskmenu .button,
body.task-mail.action-list #taskmenu .button {
  border-radius: 7px;
  height: 36px;
  width: 36px;
}

body.task-mail.action-none #taskmenu .compose,
body.task-mail.action-list #taskmenu .compose,
body.task-mail.action-none #taskmenu a.selected,
body.task-mail.action-list #taskmenu a.selected {
  background: #2b7651;
  border-color: #2b7651;
  color: #ffffff;
}

body.task-mail.action-none #taskmenu a:not(.selected):not(.compose),
body.task-mail.action-list #taskmenu a:not(.selected):not(.compose) {
  color: #9b9990;
}

body.task-mail.action-none #layout-sidebar,
body.task-mail.action-list #layout-sidebar,
body.task-mail.action-none #layout-list,
body.task-mail.action-list #layout-list,
body.task-mail.action-none #layout-content,
body.task-mail.action-list #layout-content {
  background: var(--comodo-mail-surface);
  border-color: var(--comodo-mail-line);
}

body.task-mail.action-none #layout-sidebar,
body.task-mail.action-list #layout-sidebar {
  background: #f7f6f1;
}

body.task-mail.action-none .comodo-accountbar,
body.task-mail.action-list .comodo-accountbar {
  align-items: flex-start;
  background: #faf9f5 !important;
  border-bottom: 1px solid var(--comodo-mail-line) !important;
  height: 87px !important;
  justify-content: flex-start !important;
  min-height: 87px;
  padding: 23px 20px 18px !important;
}

body.task-mail.action-none .comodo-account-copy,
body.task-mail.action-list .comodo-account-copy {
  display: block !important;
  height: auto !important;
  line-height: 1.15 !important;
}

body.task-mail.action-none .comodo-account-title,
body.task-mail.action-list .comodo-account-title {
  color: #171714;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.05;
}

body.task-mail.action-none .comodo-account-date,
body.task-mail.action-list .comodo-account-date {
  color: #b27959;
  display: block;
  font-size: 12px;
  height: auto !important;
  line-height: 1.2 !important;
  margin-top: 6px;
}

body.task-mail.action-none .comodo-accountbar .username,
body.task-mail.action-list .comodo-accountbar .username,
body.task-mail.action-none .comodo-accountbar .sidebar-menu,
body.task-mail.action-list .comodo-accountbar .sidebar-menu {
  display: none !important;
}

body.task-mail.action-none .comodo-folder-kicker,
body.task-mail.action-list .comodo-folder-kicker {
  color: #aaa298;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 13px 20px 6px;
}

body.task-mail.action-none .comodo-label-kicker,
body.task-mail.action-list .comodo-label-kicker {
  padding-top: 17px;
}

body.task-mail:not(.comodo-demo) .comodo-label-kicker,
body.task-mail:not(.comodo-demo) .comodo-demo-labels {
  display: none !important;
}

body.task-mail.action-none .comodo-demo-folders,
body.task-mail.action-list .comodo-demo-folders,
body.task-mail.action-none .comodo-demo-labels,
body.task-mail.action-list .comodo-demo-labels {
  display: none;
}

body.comodo-demo.task-mail .comodo-demo-folders,
body.comodo-demo.task-mail .comodo-demo-labels {
  display: grid;
}

body.comodo-demo.task-mail #folderlist-content,
body.comodo-demo.task-mail #layout-sidebar > .footer {
  display: none !important;
}

body.task-mail.action-none .comodo-demo-folders a,
body.task-mail.action-list .comodo-demo-folders a,
body.task-mail.action-none .comodo-demo-labels a,
body.task-mail.action-list .comodo-demo-labels a {
  align-items: center;
  color: #6b655d;
  display: grid;
  font-size: 14px;
  gap: 10px;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  min-height: 38px;
  padding: 0 12px 0 20px;
  text-decoration: none;
}

body.task-mail.action-none .comodo-demo-folders a.active,
body.task-mail.action-list .comodo-demo-folders a.active {
  background: #dfeee6;
  color: #1f6f4b;
}

body.task-mail.action-none .comodo-demo-folders strong,
body.task-mail.action-list .comodo-demo-folders strong {
  background: #1f6f4b;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  min-width: 26px;
  padding: 3px 8px;
  text-align: center;
}

body.task-mail.action-none .comodo-demo-folders a:not(.active) strong,
body.task-mail.action-list .comodo-demo-folders a:not(.active) strong {
  background: #c9c3b8;
}

body.task-mail.action-none .comodo-demo-labels,
body.task-mail.action-list .comodo-demo-labels {
  gap: 8px;
}

body.task-mail.action-none .comodo-demo-labels a,
body.task-mail.action-list .comodo-demo-labels a {
  grid-template-columns: 8px minmax(0, 1fr);
  min-height: 26px;
}

body.task-mail.action-none .dot,
body.task-mail.action-list .dot {
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

body.task-mail.action-none .dot.blue,
body.task-mail.action-list .dot.blue {
  background: #2563d9;
}

body.task-mail.action-none .dot.amber,
body.task-mail.action-list .dot.amber {
  background: #b95b10;
}

body.task-mail.action-none .dot.purple,
body.task-mail.action-list .dot.purple {
  background: #7c3aed;
}

body.task-mail.action-none #messagelist-header.comodo-appbar,
body.task-mail.action-list #messagelist-header.comodo-appbar,
body.task-mail.action-none #layout-content > .header.comodo-appbar,
body.task-mail.action-list #layout-content > .header.comodo-appbar {
  background: #faf9f5 !important;
  border-bottom: 1px solid var(--comodo-mail-line) !important;
  min-height: 57px;
  padding: 12px 16px !important;
}

body.task-mail.action-none #messagelist-header.comodo-appbar::after,
body.task-mail.action-list #messagelist-header.comodo-appbar::after,
body.task-mail.action-none #layout-content > .header.comodo-appbar::after,
body.task-mail.action-list #layout-content > .header.comodo-appbar::after,
body.task-mail.action-none .comodo-appbar-main::before,
body.task-mail.action-list .comodo-appbar-main::before {
  display: none;
}

body.task-mail.action-none .comodo-list-count,
body.task-mail.action-list .comodo-list-count {
  color: #5f5a52;
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body.task-mail.action-none #messagelist-header .header-title,
body.task-mail.action-list #messagelist-header .header-title {
  display: none !important;
}

body.task-mail.action-none #messagelist-header .comodo-action-group,
body.task-mail.action-list #messagelist-header .comodo-action-group {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 24px;
  padding: 0;
}

body.task-mail.action-none #messagelist-header .comodo-action-group > a,
body.task-mail.action-list #messagelist-header .comodo-action-group > a {
  border-radius: 6px;
  height: 24px;
  min-height: 24px;
  min-width: 24px;
  width: 24px;
}

body.task-mail.action-none #mailsearchform,
body.task-mail.action-list #mailsearchform {
  background: #f4f2ed;
  border: 1px solid var(--comodo-mail-line);
  border-radius: 7px;
  box-shadow: none;
  height: 34px;
  margin: -7px 16px 0;
  width: calc(100% - 32px);
}

body.task-mail.action-none #mailsearchform input,
body.task-mail.action-list #mailsearchform input {
  font-size: 13px;
}

body.comodo-demo.task-mail #messagelist {
  display: none !important;
}

body.task-mail.action-none .comodo-demo-messages,
body.task-mail.action-list .comodo-demo-messages {
  display: none;
}

body.comodo-demo.task-mail .comodo-demo-messages {
  display: block;
}

body.comodo-demo.task-mail #messagelist-content {
  padding: 11px 0 0;
}

body.task-mail.action-none .comodo-demo-messages article,
body.task-mail.action-list .comodo-demo-messages article {
  border-bottom: 1px solid var(--comodo-mail-line);
  color: #5f5a52;
  min-height: 80px;
  padding: 13px 16px 11px;
  position: relative;
}

body.task-mail.action-none .comodo-demo-messages article.active,
body.task-mail.action-list .comodo-demo-messages article.active {
  background: #dfeee6;
}

body.task-mail.action-none .comodo-demo-messages header,
body.task-mail.action-list .comodo-demo-messages header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

body.task-mail.action-none .comodo-demo-messages strong,
body.task-mail.action-list .comodo-demo-messages strong,
body.task-mail.action-none .comodo-demo-messages h3,
body.task-mail.action-list .comodo-demo-messages h3 {
  color: #11110f;
  font-size: 13.5px;
  font-weight: 850;
}

body.task-mail.action-none .comodo-demo-messages h3,
body.task-mail.action-list .comodo-demo-messages h3 {
  margin: 3px 0 2px;
}

body.task-mail.action-none .comodo-demo-messages time,
body.task-mail.action-list .comodo-demo-messages time,
body.task-mail.action-none .comodo-demo-messages p,
body.task-mail.action-list .comodo-demo-messages p {
  color: #9a948b;
  font-size: 12px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.task-mail.action-none .chip,
body.task-mail.action-list .chip {
  border-radius: 4px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
  padding: 2px 7px;
}

body.task-mail.action-none .chip.blue,
body.task-mail.action-list .chip.blue {
  background: #e8efff;
  color: #255fd4;
}

body.task-mail.action-none .chip.amber,
body.task-mail.action-list .chip.amber {
  background: #f9e8d8;
  color: #a14c0a;
}

body.task-mail.action-none #layout-content,
body.task-mail.action-list #layout-content {
  background: #faf9f5;
}

body.task-mail.action-none .comodo-previewbar,
body.task-mail.action-list .comodo-previewbar {
  justify-content: flex-start;
}

body.task-mail.action-none .comodo-previewbar .comodo-appbar-main,
body.task-mail.action-list .comodo-previewbar .comodo-appbar-main {
  display: none;
}

body.task-mail.action-none .comodo-previewbar #mailtoolbar,
body.task-mail.action-list .comodo-previewbar #mailtoolbar {
  display: flex !important;
  gap: 6px;
  margin: 0 !important;
  max-width: none;
  width: 100%;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu,
body.task-mail.action-list .comodo-previewbar #toolbar-menu {
  align-items: center;
  display: flex !important;
  gap: 6px;
  height: auto;
  margin: 0 !important;
  max-width: none;
  overflow: visible;
  padding: 0;
  position: static !important;
  width: 100%;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu > li,
body.task-mail.action-list .comodo-previewbar #toolbar-menu > li {
  align-items: center;
  display: flex;
  margin: 0;
  padding: 0;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-group,
body.task-mail.action-list .comodo-previewbar .comodo-action-group {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 32px;
  padding: 0;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-primary,
body.task-mail.action-list .comodo-previewbar .comodo-action-primary {
  order: 1;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-overflow,
body.task-mail.action-list .comodo-previewbar .comodo-action-overflow {
  order: 2;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-secondary,
body.task-mail.action-list .comodo-previewbar .comodo-action-secondary {
  margin-left: auto;
  order: 3;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu > li:has(.comodo-action-secondary),
body.task-mail.action-list .comodo-previewbar #toolbar-menu > li:has(.comodo-action-secondary) {
  margin-left: auto;
}

body.task-mail.action-none .comodo-previewbar .reply-all,
body.task-mail.action-list .comodo-previewbar .reply-all,
body.task-mail.action-none .comodo-previewbar .dropbutton .dropdown,
body.task-mail.action-list .comodo-previewbar .dropbutton .dropdown,
body.task-mail.action-none .comodo-previewbar .more,
body.task-mail.action-list .comodo-previewbar .more,
body.task-mail.action-none .comodo-previewbar .compose,
body.task-mail.action-list .comodo-previewbar .compose {
  display: none !important;
}

body.task-mail.action-none .comodo-previewbar a,
body.task-mail.action-list .comodo-previewbar a {
  align-items: center;
  background: #fbfaf7 !important;
  border: 1px solid var(--comodo-mail-line) !important;
  border-radius: 7px !important;
  color: #6b655d !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 13px !important;
  gap: 7px;
  height: 32px !important;
  min-height: 32px !important;
  min-width: 0 !important;
  opacity: 1 !important;
  padding: 0 12px !important;
  width: auto !important;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu a.reply,
body.task-mail.action-list .comodo-previewbar #toolbar-menu a.reply,
body.task-mail.action-none .comodo-previewbar #toolbar-menu a.forward,
body.task-mail.action-list .comodo-previewbar #toolbar-menu a.forward,
body.task-mail.action-none .comodo-previewbar #toolbar-menu a.markmessage,
body.task-mail.action-list .comodo-previewbar #toolbar-menu a.markmessage,
body.task-mail.action-none .comodo-previewbar #toolbar-menu a.delete,
body.task-mail.action-list .comodo-previewbar #toolbar-menu a.delete {
  width: auto !important;
}

body.task-mail.action-none .comodo-previewbar a::before,
body.task-mail.action-list .comodo-previewbar a::before {
  font-size: 12px !important;
}

body.task-mail.action-none .comodo-previewbar a .inner,
body.task-mail.action-list .comodo-previewbar a .inner {
  clip: auto;
  height: auto;
  overflow: visible;
  position: static;
  white-space: nowrap;
  width: auto;
}

body.task-mail.action-none .comodo-previewbar .reply .inner,
body.task-mail.action-list .comodo-previewbar .reply .inner,
body.task-mail.action-none .comodo-previewbar .forward .inner,
body.task-mail.action-list .comodo-previewbar .forward .inner,
body.task-mail.action-none .comodo-previewbar .markmessage .inner,
body.task-mail.action-list .comodo-previewbar .markmessage .inner,
body.task-mail.action-none .comodo-previewbar .delete .inner,
body.task-mail.action-list .comodo-previewbar .delete .inner {
  font-size: 0;
}

body.task-mail.action-none .comodo-previewbar .reply .inner::after,
body.task-mail.action-list .comodo-previewbar .reply .inner::after {
  content: "Responder";
  font-size: 13px;
}

body.task-mail.action-none .comodo-previewbar .forward .inner::after,
body.task-mail.action-list .comodo-previewbar .forward .inner::after {
  content: "Reenviar";
  font-size: 13px;
}

body.task-mail.action-none .comodo-previewbar .markmessage .inner::after,
body.task-mail.action-list .comodo-previewbar .markmessage .inner::after {
  content: "Etiquetar";
  font-size: 13px;
}

body.task-mail.action-none .comodo-previewbar .delete,
body.task-mail.action-list .comodo-previewbar .delete {
  background: #fff8f6 !important;
  border-color: #f1d8d1 !important;
  color: #d55343 !important;
}

body.task-mail.action-none .comodo-previewbar .delete .inner::after,
body.task-mail.action-list .comodo-previewbar .delete .inner::after {
  content: "Eliminar";
  font-size: 13px;
}

body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.reply,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.forward,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.markmessage,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.delete {
  flex: 0 0 auto !important;
  width: auto !important;
}

body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.reply .inner,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.forward .inner,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.markmessage .inner,
body.task-mail #layout-content > .header.comodo-previewbar #toolbar-menu .comodo-action-group a.delete .inner {
  clip: auto !important;
  height: auto !important;
  overflow: visible !important;
  position: static !important;
  white-space: nowrap !important;
  width: auto !important;
}

body.task-mail.action-none .comodo-content-body,
body.task-mail.action-list .comodo-content-body {
  display: block;
  overflow: auto;
  padding: 0;
}

body.task-mail.action-none .comodo-context-stack,
body.task-mail.action-list .comodo-context-stack {
  display: none !important;
}

body.task-mail.action-none .comodo-demo-preview,
body.task-mail.action-list .comodo-demo-preview {
  display: none;
}

body.comodo-demo.task-mail .comodo-demo-preview {
  display: block;
}

body.comodo-demo.task-mail .comodo-message-card {
  display: none;
}

body.task-mail:not(.comodo-demo) .comodo-message-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: calc(100vh - 57px);
  margin: 0;
}

body.task-mail:not(.comodo-demo) #messagecontframe {
  min-height: calc(100vh - 57px);
}

body.task-mail.action-none .comodo-demo-preview,
body.task-mail.action-list .comodo-demo-preview {
  background: #faf9f5;
  color: #11110f;
  min-height: calc(100vh - 57px);
  padding: 34px 44px 48px;
}

body.task-mail.action-none .comodo-demo-preview h1,
body.task-mail.action-list .comodo-demo-preview h1 {
  color: #11110f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
}

body.task-mail.action-none .comodo-demo-preview-head,
body.task-mail.action-list .comodo-demo-preview-head {
  border-bottom: 1px solid var(--comodo-mail-line);
  margin-bottom: 24px;
  padding-bottom: 24px;
}

body.task-mail.action-none .comodo-demo-sender,
body.task-mail.action-list .comodo-demo-sender {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

body.task-mail.action-none .comodo-demo-avatar,
body.task-mail.action-list .comodo-demo-avatar {
  align-items: center;
  background: #b9dfca;
  border-radius: 50%;
  color: #2d6a4f;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  height: 40px;
  justify-content: center;
  width: 40px;
}

body.task-mail.action-none .comodo-demo-sender strong,
body.task-mail.action-list .comodo-demo-sender strong {
  color: #171714;
  display: block;
  font-size: 14px;
}

body.task-mail.action-none .comodo-demo-sender small,
body.task-mail.action-list .comodo-demo-sender small,
body.task-mail.action-none .comodo-demo-sender time,
body.task-mail.action-list .comodo-demo-sender time {
  color: #aaa298;
  display: block;
  font-size: 12px;
}

body.task-mail.action-none .comodo-demo-copy,
body.task-mail.action-list .comodo-demo-copy {
  color: #11110f;
  font-size: 15px;
  line-height: 1.62;
  max-width: 520px;
}

body.task-mail.action-none .comodo-demo-copy ul,
body.task-mail.action-list .comodo-demo-copy ul {
  border-left: 2px solid #a8d5bd;
  list-style: none;
  margin: 14px 0;
  padding: 0 0 0 18px;
}

body.task-mail.action-none .comodo-demo-copy hr,
body.task-mail.action-list .comodo-demo-copy hr {
  border: 0;
  border-top: 1px dashed var(--comodo-mail-line-strong);
  margin: 24px 0 14px;
}

body.task-mail.action-none .comodo-demo-copy em,
body.task-mail.action-list .comodo-demo-copy em {
  color: #7f766d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

body.comodo-demo.task-mail #messagestack {
  display: none !important;
}

body.task-mail.action-none #layout-list #messagelist-header.comodo-appbar .comodo-title-stack > .header-title,
body.task-mail.action-list #layout-list #messagelist-header.comodo-appbar .comodo-title-stack > .header-title {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  width: 0 !important;
}

body.task-mail.action-none #layout-list #messagelist-header.comodo-appbar .comodo-title-stack > .header-title::before,
body.task-mail.action-list #layout-list #messagelist-header.comodo-appbar .comodo-title-stack > .header-title::before {
  content: none !important;
}

body.task-mail:not(.comodo-demo) #messagelist {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  padding: 0 !important;
}

body.task-mail:not(.comodo-demo) #messagelist tr,
body.task-mail:not(.comodo-demo) #messagelist .message {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.task-mail:not(.comodo-demo) #messagelist tr.selected,
body.task-mail:not(.comodo-demo) #messagelist .message.selected,
body.task-mail:not(.comodo-demo) #messagelist tr:hover,
body.task-mail:not(.comodo-demo) #messagelist .message:hover {
  background: #dfeee6 !important;
}

body.task-mail:not(.comodo-demo) #messagelist td {
  border-bottom: 1px solid var(--comodo-mail-line) !important;
  padding-bottom: 9px !important;
  padding-top: 9px !important;
}

body.task-mail:not(.comodo-demo) #mailboxlist li.inbox > a,
body.task-mail:not(.comodo-demo) #mailboxlist li.drafts > a,
body.task-mail:not(.comodo-demo) #mailboxlist li.sent > a,
body.task-mail:not(.comodo-demo) #mailboxlist li.trash > a {
  font-size: 0 !important;
}

body.task-mail:not(.comodo-demo) #mailboxlist li.inbox > a::after,
body.task-mail:not(.comodo-demo) #mailboxlist li.drafts > a::after,
body.task-mail:not(.comodo-demo) #mailboxlist li.sent > a::after,
body.task-mail:not(.comodo-demo) #mailboxlist li.trash > a::after {
  font-size: 14px;
  line-height: 1.22;
  min-width: 0;
  order: 1;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
}

body.task-mail:not(.comodo-demo) #mailboxlist li.inbox > a::after {
  content: "Bandeja de entrada";
}

body.task-mail:not(.comodo-demo) #mailboxlist li.drafts > a::after {
  content: "Borradores";
}

body.task-mail:not(.comodo-demo) #mailboxlist li.sent > a::after {
  content: "Enviados";
}

body.task-mail:not(.comodo-demo) #mailboxlist li.trash > a::after {
  content: "Papelera";
}

body.task-mail:not(.comodo-demo) #mailboxlist .unreadcount {
  align-items: center;
  background: #1f6f4b !important;
  border-radius: 999px !important;
  bottom: auto !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 800;
  height: 22px !important;
  justify-content: center;
  left: auto !important;
  line-height: 1;
  margin-left: auto !important;
  max-height: 22px;
  min-height: 22px !important;
  min-width: 26px;
  order: 2;
  padding: 3px 8px !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
}

body.task-mail:not(.comodo-demo) #mailboxlist li > a {
  align-items: center !important;
  display: flex !important;
  gap: 10px;
  height: auto !important;
  line-height: 1.22 !important;
  min-height: 44px !important;
  overflow: hidden;
  padding-bottom: 6px !important;
  padding-top: 6px !important;
}

body.task-mail.action-none #messagelist-header.comodo-appbar,
body.task-mail.action-list #messagelist-header.comodo-appbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 14px 16px 10px !important;
}

body.task-mail.action-none #messagelist-header .comodo-appbar-main,
body.task-mail.action-list #messagelist-header .comodo-appbar-main {
  flex: 1 1 auto;
  min-width: 0;
}

body.task-mail.action-none #messagelist-header .comodo-appbar-actions,
body.task-mail.action-list #messagelist-header .comodo-appbar-actions {
  flex: 0 0 auto;
  gap: 6px;
  margin-left: 10px;
}

body.task-mail.action-none #messagelist-header .comodo-action-group:first-child,
body.task-mail.action-list #messagelist-header .comodo-action-group:first-child {
  display: flex !important;
  flex: 0 0 auto;
  gap: 4px;
}

body.task-mail.action-none #messagelist-header .comodo-action-group:last-child,
body.task-mail.action-list #messagelist-header .comodo-action-group:last-child {
  gap: 4px;
}

body.task-mail.action-none #messagelist-header .toolbar-button.refresh,
body.task-mail.action-list #messagelist-header .toolbar-button.refresh,
body.task-mail.action-none #messagelist-header .toolbar-menu-button,
body.task-mail.action-list #messagelist-header .toolbar-menu-button {
  background: transparent !important;
  border: 0 !important;
  color: #756f66 !important;
  flex: 0 0 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  min-width: 24px !important;
  opacity: 1 !important;
  padding: 0 !important;
  width: 24px !important;
}

body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a,
body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a {
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #756f66 !important;
  display: inline-flex !important;
  flex: 0 0 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  min-width: 24px !important;
  opacity: 1 !important;
  padding: 0 !important;
  width: 24px !important;
}

body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a.disabled,
body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a.disabled {
  opacity: 0.35 !important;
}

body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a:hover,
body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a:hover,
body.task-mail.action-none #messagelist-header .toolbar-button.refresh:hover,
body.task-mail.action-list #messagelist-header .toolbar-button.refresh:hover,
body.task-mail.action-none #messagelist-header .toolbar-menu-button:hover,
body.task-mail.action-list #messagelist-header .toolbar-menu-button:hover {
  background: #eeeae1 !important;
  color: #1f6f4b !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu,
body.task-mail.action-list #layout-list > .searchbar.menu {
  align-items: center;
  background: #f4f2ed;
  border: 1px solid var(--comodo-mail-line);
  border-radius: 7px;
  box-shadow: none;
  display: flex;
  height: 34px;
  margin: 0 16px;
  overflow: hidden;
  position: relative;
  width: calc(100% - 32px);
}

body.task-mail.action-none #layout-list > .searchbar.menu::before,
body.task-mail.action-list #layout-list > .searchbar.menu::before {
  border: 1.7px solid #aaa298;
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 14px;
  position: absolute;
  top: 10px;
  width: 10px;
  z-index: 1;
}

body.task-mail.action-none #layout-list > .searchbar.menu::after,
body.task-mail.action-list #layout-list > .searchbar.menu::after {
  background: #aaa298;
  content: "";
  height: 6px;
  left: 24px;
  position: absolute;
  top: 21px;
  transform: rotate(-45deg);
  width: 1.7px;
  z-index: 1;
}

body.task-mail.action-none #layout-list > .searchbar.menu form,
body.task-mail.action-list #layout-list > .searchbar.menu form {
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
}

body.task-mail.action-none #layout-list > .searchbar.menu #mailsearchform,
body.task-mail.action-list #layout-list > .searchbar.menu #mailsearchform {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 10px 0 32px !important;
  width: 100% !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.unread,
body.task-mail.action-list #layout-list > .searchbar.menu .button.unread,
body.task-mail.action-none #layout-list > .searchbar.menu .button.options,
body.task-mail.action-list #layout-list > .searchbar.menu .button.options,
body.task-mail.action-none #layout-list > .searchbar.menu .button.search,
body.task-mail.action-list #layout-list > .searchbar.menu .button.search {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--comodo-mail-line) !important;
  border-radius: 0 !important;
  color: #756f66 !important;
  display: inline-flex !important;
  flex: 0 0 28px;
  font-size: 0 !important;
  height: 32px !important;
  justify-content: center;
  min-height: 32px !important;
  min-width: 28px !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: static !important;
  width: 28px !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.unread::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.unread::before,
body.task-mail.action-none #layout-list > .searchbar.menu .button.options::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.options::before,
body.task-mail.action-none #layout-list > .searchbar.menu .button.search::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.search::before,
body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a::before,
body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a::before,
body.task-mail.action-none #messagelist-header .toolbar-button.refresh::before,
body.task-mail.action-list #messagelist-header .toolbar-button.refresh::before,
body.task-mail.action-none #messagelist-header .toolbar-menu-button::before,
body.task-mail.action-list #messagelist-header .toolbar-menu-button::before {
  align-items: center !important;
  color: currentColor !important;
  display: inline-flex !important;
  font-family: Icons !important;
  font-size: 13px !important;
  height: 1em !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  opacity: 1 !important;
  position: static !important;
  width: 1em !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.unread::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.unread::before {
  content: "\f0e0" !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.options::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.options::before {
  content: "\f0b0" !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.search::before,
body.task-mail.action-list #layout-list > .searchbar.menu .button.search::before {
  content: "\f002" !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.unread:hover,
body.task-mail.action-list #layout-list > .searchbar.menu .button.unread:hover,
body.task-mail.action-none #layout-list > .searchbar.menu .button.options:hover,
body.task-mail.action-list #layout-list > .searchbar.menu .button.options:hover,
body.task-mail.action-none #layout-list > .searchbar.menu .button.search:hover,
body.task-mail.action-list #layout-list > .searchbar.menu .button.search:hover {
  background: #eeeae1 !important;
  color: #1f6f4b !important;
}

body.task-mail.action-none #layout-list > .searchbar.menu .button.unread.active,
body.task-mail.action-list #layout-list > .searchbar.menu .button.unread.active {
  background: #dfeee6 !important;
  color: #1f6f4b !important;
}

body.task-mail.action-none .comodo-previewbar .toolbar-menu-button,
body.task-mail.action-list .comodo-previewbar .toolbar-menu-button {
  display: none !important;
}

body.task-mail.action-none .comodo-previewbar .reply,
body.task-mail.action-list .comodo-previewbar .reply {
  order: 1;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-primary,
body.task-mail.action-list .comodo-previewbar .comodo-action-primary,
body.task-mail.action-none .comodo-previewbar .comodo-action-secondary,
body.task-mail.action-list .comodo-previewbar .comodo-action-secondary,
body.task-mail.action-none .comodo-previewbar .comodo-action-overflow,
body.task-mail.action-list .comodo-previewbar .comodo-action-overflow {
  align-items: center;
  display: flex !important;
  gap: 6px;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu > li:has(.comodo-action-primary),
body.task-mail.action-list .comodo-previewbar #toolbar-menu > li:has(.comodo-action-primary) {
  order: 1;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu > li:has(.comodo-action-overflow),
body.task-mail.action-list .comodo-previewbar #toolbar-menu > li:has(.comodo-action-overflow) {
  order: 2;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu > li:has(.comodo-action-secondary),
body.task-mail.action-list .comodo-previewbar #toolbar-menu > li:has(.comodo-action-secondary) {
  margin-left: 0 !important;
  order: 3;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-primary > .reply,
body.task-mail.action-list .comodo-previewbar .comodo-action-primary > .reply {
  order: 1;
}

body.task-mail.action-none .comodo-previewbar .comodo-action-primary > .dropbutton:has(.forward),
body.task-mail.action-list .comodo-previewbar .comodo-action-primary > .dropbutton:has(.forward) {
  order: 2;
}

body.task-mail.action-none .comodo-previewbar .forward,
body.task-mail.action-list .comodo-previewbar .forward {
  order: 2;
}

body.task-mail.action-none .comodo-previewbar .markmessage,
body.task-mail.action-list .comodo-previewbar .markmessage {
  order: 3;
}

body.task-mail.action-none .comodo-previewbar .delete,
body.task-mail.action-list .comodo-previewbar .delete {
  order: 4;
}

@media screen and (max-width: 980px) {
  body.task-mail.action-none #layout,
  body.task-mail.action-list #layout {
    grid-template-columns: 56px 280px minmax(0, 1fr);
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none,
  body.task-mail.action-list,
  body.task-compose,
  body.action-compose,
  body.task-addressbook,
  body.task-settings {
    background: #efede7;
    margin: 0;
    overflow: hidden;
  }

  body.task-mail.action-none #layout,
  body.task-mail.action-list #layout,
  body.task-compose #layout,
  body.action-compose #layout,
  body.task-addressbook #layout,
  body.task-settings #layout {
    background: #faf9f5;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 64px;
    height: 100dvh;
    margin: 0;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    width: 100vw;
  }

  body.task-mail.action-none #layout-menu,
  body.task-mail.action-list #layout-menu,
  body.task-compose #layout-menu,
  body.action-compose #layout-menu,
  body.task-addressbook #layout-menu,
  body.task-settings #layout-menu {
    align-items: center;
    align-self: auto;
    background: #1a1916;
    border: 0;
    border-radius: 0;
    bottom: 0;
    box-sizing: border-box;
    box-shadow: 0 -16px 44px -34px rgba(23, 23, 20, 0.65) !important;
    display: flex !important;
    flex: none !important;
    grid-column: 1;
    grid-row: 2;
    height: 64px !important;
    left: 0;
    min-height: 64px !important;
    overflow: hidden;
    padding: 0 8px !important;
    position: fixed !important;
    right: 0;
    top: auto !important;
    width: 100vw !important;
    z-index: 30;
  }

  body.task-mail.action-none #layout-menu .popover-header,
  body.task-mail.action-list #layout-menu .popover-header,
  body.task-compose #layout-menu .popover-header,
  body.action-compose #layout-menu .popover-header,
  body.task-addressbook #layout-menu .popover-header,
  body.task-settings #layout-menu .popover-header {
    display: none !important;
  }

  body.task-mail.action-none #taskmenu,
  body.task-mail.action-list #taskmenu,
  body.task-compose #taskmenu,
  body.action-compose #taskmenu,
  body.task-addressbook #taskmenu,
  body.task-settings #taskmenu {
    align-items: center;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 7px;
    height: 100%;
    justify-content: space-around;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 !important;
  }

  body.task-mail.action-none #taskmenu a,
  body.task-mail.action-list #taskmenu a,
  body.task-mail.action-none #taskmenu .button,
  body.task-mail.action-list #taskmenu .button,
  body.task-compose #taskmenu a,
  body.action-compose #taskmenu a,
  body.task-addressbook #taskmenu a,
  body.task-settings #taskmenu a {
    border-radius: 10px;
    flex: 0 0 44px;
    height: 44px !important;
    margin: 0 !important;
    min-height: 44px !important;
    min-width: 44px !important;
    width: 44px !important;
  }

  body.task-mail.action-none #taskmenu .compose:not(.selected),
  body.task-mail.action-list #taskmenu .compose:not(.selected) {
    background: rgba(47, 94, 71, 0.24) !important;
    border-color: rgba(223, 243, 232, 0.18) !important;
    color: #dff3e8 !important;
  }

  body.task-mail.action-none #taskmenu .selected,
  body.task-mail.action-list #taskmenu .selected {
    background: #2b7651 !important;
    color: #ffffff !important;
  }

  body.task-mail.action-none #rcmbtn103-clone,
  body.task-mail.action-list #rcmbtn103-clone,
  body.task-mail.action-none .compose.button[id$="-clone"],
  body.task-mail.action-list .compose.button[id$="-clone"] {
    display: none !important;
  }

  body.task-mail.action-none #taskmenu .inner,
  body.task-mail.action-list #taskmenu .inner,
  body.task-compose #taskmenu .inner,
  body.action-compose #taskmenu .inner,
  body.task-addressbook #taskmenu .inner,
  body.task-settings #taskmenu .inner {
    display: none !important;
  }

  body.task-mail.action-none #layout-sidebar,
  body.task-mail.action-list #layout-sidebar,
  body.task-mail.action-none #layout-list,
  body.task-mail.action-list #layout-list,
  body.task-mail.action-none #layout-content,
  body.task-mail.action-list #layout-content,
  body.task-compose #layout-content,
  body.action-compose #layout-content,
  body.task-addressbook #layout-sidebar,
  body.task-addressbook #layout-list,
  body.task-addressbook #layout-content,
  body.task-settings #layout-sidebar,
  body.task-settings #layout-list,
  body.task-settings #layout-content {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: none !important;
    grid-column: 1;
    grid-row: 1;
    height: calc(100dvh - 64px) !important;
    margin: 0 !important;
    max-height: calc(100dvh - 64px);
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
    position: relative;
    width: 100vw !important;
  }

  body.task-mail.action-none #layout-sidebar,
  body.task-mail.action-list #layout-sidebar,
  body.task-mail.action-none #layout-content,
  body.task-mail.action-list #layout-content {
    display: none !important;
  }

  body.task-mail.action-none #layout-sidebar.selected,
  body.task-mail.action-list #layout-sidebar.selected,
  body.task-mail.action-none #layout-list,
  body.task-mail.action-list #layout-list,
  body.task-mail.action-none #layout-list.selected,
  body.task-mail.action-list #layout-list.selected,
  body.task-mail.action-none #layout-content.selected,
  body.task-mail.action-list #layout-content.selected {
    display: flex !important;
  }

  body.task-mail.action-none #layout-list.hidden,
  body.task-mail.action-list #layout-list.hidden,
  body.task-mail.action-none #layout-list[aria-hidden="true"],
  body.task-mail.action-list #layout-list[aria-hidden="true"] {
    display: none !important;
  }

  body.task-mail.action-none #layout-list.hidden + #layout-content,
  body.task-mail.action-list #layout-list.hidden + #layout-content,
  body.task-mail.action-none #layout-list[aria-hidden="true"] + #layout-content,
  body.task-mail.action-list #layout-list[aria-hidden="true"] + #layout-content {
    display: flex !important;
  }

  body.task-mail.action-none #layout-list,
  body.task-mail.action-list #layout-list,
  body.task-mail.action-none #layout-content,
  body.task-mail.action-list #layout-content,
  body.task-compose #layout-content,
  body.action-compose #layout-content {
    background: #faf9f5 !important;
    flex-direction: column;
  }

  body.task-mail.action-none #messagelist-header.comodo-appbar,
  body.task-mail.action-list #messagelist-header.comodo-appbar,
  body.task-mail.action-none #layout-content > .header.comodo-appbar,
  body.task-mail.action-list #layout-content > .header.comodo-appbar,
  body.task-compose #layout-content > .header,
  body.action-compose #layout-content > .header {
    background: rgba(250, 249, 245, 0.98) !important;
    border-bottom: 1px solid var(--comodo-mail-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    gap: 8px;
    min-height: 58px !important;
    padding: 10px 12px !important;
    position: sticky;
    top: 0;
    z-index: 12;
  }

  body.task-mail.action-none #messagelist-header.comodo-appbar::after,
  body.task-mail.action-list #messagelist-header.comodo-appbar::after,
  body.task-mail.action-none #layout-content > .header.comodo-appbar::after,
  body.task-mail.action-list #layout-content > .header.comodo-appbar::after {
    display: none;
  }

  body.task-mail.action-none #messagelist-header .comodo-appbar-main,
  body.task-mail.action-list #messagelist-header .comodo-appbar-main,
  body.task-mail.action-none #layout-content > .header .comodo-appbar-main,
  body.task-mail.action-list #layout-content > .header .comodo-appbar-main {
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
  }

  body.task-mail.action-none .comodo-appbar-main::before,
  body.task-mail.action-list .comodo-appbar-main::before {
    display: none;
  }

  body.task-mail.action-none .comodo-list-count,
  body.task-mail.action-list .comodo-list-count,
  body.task-mail.action-none .comodo-kicker,
  body.task-mail.action-list .comodo-kicker {
    color: var(--comodo-mail-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  body.task-mail.action-none #messagelist-header .comodo-appbar-actions,
  body.task-mail.action-list #messagelist-header .comodo-appbar-actions,
  body.task-mail.action-none .comodo-previewbar #toolbar-menu,
  body.task-mail.action-list .comodo-previewbar #toolbar-menu {
    align-items: center;
    display: flex !important;
    flex: 0 0 auto;
    gap: 4px;
    margin-left: auto;
    min-width: 0;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group,
  body.task-mail.action-list #messagelist-header .comodo-action-group,
  body.task-mail.action-none .comodo-previewbar .comodo-action-primary,
  body.task-mail.action-list .comodo-previewbar .comodo-action-primary,
  body.task-mail.action-none .comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-list .comodo-previewbar .comodo-action-secondary,
  body.task-mail.action-none .comodo-previewbar .comodo-action-overflow,
  body.task-mail.action-list .comodo-previewbar .comodo-action-overflow {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    gap: 3px;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a,
  body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a,
  body.task-mail.action-none #messagelist-header .toolbar-button.refresh,
  body.task-mail.action-list #messagelist-header .toolbar-button.refresh,
  body.task-mail.action-none #messagelist-header .toolbar-menu-button,
  body.task-mail.action-list #messagelist-header .toolbar-menu-button,
  body.task-mail.action-none .comodo-previewbar .button,
  body.task-mail.action-list .comodo-previewbar .button,
  body.task-mail.action-none .comodo-previewbar a,
  body.task-mail.action-list .comodo-previewbar a {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid var(--comodo-mail-line) !important;
    border-radius: 9px !important;
    color: #756f66 !important;
    display: inline-flex !important;
    flex: 0 0 34px !important;
    font-size: 0 !important;
    height: 34px !important;
    justify-content: center !important;
    max-width: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    opacity: 1 !important;
    padding: 0 !important;
    width: 34px !important;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a.select::before,
  body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a.select::before {
    content: "\2713" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a.threads::before,
  body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a.threads::before {
    content: "\2261" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group:first-child > a.options::before,
  body.task-mail.action-list #messagelist-header .comodo-action-group:first-child > a.options::before {
    content: "\22ef" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
  }

  body.task-mail.action-none .comodo-previewbar .comodo-action-primary .reply,
  body.task-mail.action-list .comodo-previewbar .comodo-action-primary .reply {
    flex-basis: 42px !important;
    max-width: 42px !important;
    width: 42px !important;
  }

  body.task-mail.action-none .comodo-previewbar .inner,
  body.task-mail.action-list .comodo-previewbar .inner {
    display: none !important;
  }

  body.task-mail.action-none #layout-list > .searchbar.menu,
  body.task-mail.action-list #layout-list > .searchbar.menu {
    border-radius: 10px;
    height: 40px;
    margin: 10px 12px 8px;
    width: calc(100% - 24px);
  }

  body.task-mail.action-none #layout-list > .searchbar.menu #mailsearchform,
  body.task-mail.action-list #layout-list > .searchbar.menu #mailsearchform {
    height: 38px !important;
    padding-left: 34px !important;
  }

  body.task-mail.action-none #messagelist-content,
  body.task-mail.action-list #messagelist-content {
    background: #faf9f5;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0 0 10px;
  }

  body.task-mail:not(.comodo-demo) #messagelist td {
    padding-bottom: 12px !important;
    padding-top: 12px !important;
  }

  body.task-mail.action-none #layout-list .pagenav,
  body.task-mail.action-list #layout-list .pagenav {
    background: rgba(250, 249, 245, 0.98);
    border-top: 1px solid var(--comodo-mail-line);
    flex: 0 0 auto;
    min-height: 42px;
  }

  body.task-mail.action-none .comodo-content-body,
  body.task-mail.action-list .comodo-content-body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  body.task-mail:not(.comodo-demo) .comodo-message-card,
  body.task-mail:not(.comodo-demo) #messagecontframe {
    height: calc(100dvh - 122px) !important;
    min-height: calc(100dvh - 122px) !important;
  }

  body.task-mail.action-none .comodo-demo-preview,
  body.task-mail.action-list .comodo-demo-preview {
    min-height: calc(100dvh - 122px);
    overflow: auto;
    padding: 24px 20px 32px;
  }

  body.task-mail.action-none .comodo-demo-preview h1,
  body.task-mail.action-list .comodo-demo-preview h1 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  body.task-mail.action-none .comodo-demo-sender,
  body.task-mail.action-list .comodo-demo-sender {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.task-mail.action-none .comodo-demo-sender time,
  body.task-mail.action-list .comodo-demo-sender time {
    grid-column: 2;
  }

  body.task-mail.action-none .comodo-context-stack,
  body.task-mail.action-list .comodo-context-stack {
    display: none !important;
  }

  body.task-compose #layout-content,
  body.action-compose #layout-content,
  body.task-addressbook #layout-content,
  body.task-settings #layout-content {
    display: flex !important;
  }

  body.task-compose #compose-content,
  body.action-compose #compose-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }

  body.task-compose #compose-headers,
  body.action-compose #compose-headers,
  body.task-compose #composebodycontainer,
  body.action-compose #composebodycontainer,
  body.task-compose #compose-attachments,
  body.task-compose #compose-options,
  body.action-compose #compose-attachments,
  body.action-compose #compose-options {
    border-radius: 10px;
    margin: 10px 12px;
  }

  body.task-compose #composebody,
  body.action-compose #composebody {
    min-height: 42dvh;
  }

  body.task-settings #layout-sidebar,
  body.task-addressbook #layout-sidebar,
  body.task-settings #layout-list,
  body.task-addressbook #layout-list {
    display: none !important;
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none #messagelist-header.comodo-appbar,
  body.task-mail.action-list #messagelist-header.comodo-appbar {
    min-height: 56px !important;
    padding: 9px 12px !important;
  }

  body.task-mail.action-none #messagelist-header .comodo-action-group:first-child,
  body.task-mail.action-list #messagelist-header .comodo-action-group:first-child {
    display: none !important;
  }

  body.task-mail.action-none #messagelist-header .comodo-appbar-actions,
  body.task-mail.action-list #messagelist-header .comodo-appbar-actions {
    gap: 6px;
    margin-left: 8px;
  }

  body.task-mail.action-none .comodo-title-stack,
  body.task-mail.action-list .comodo-title-stack {
    gap: 3px;
  }

  body.task-mail.action-none .comodo-list-count,
  body.task-mail.action-list .comodo-list-count {
    color: #4d473d;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  body.task-mail.action-none #messagelist-header .toolbar-button.refresh,
  body.task-mail.action-list #messagelist-header .toolbar-button.refresh,
  body.task-mail.action-none #messagelist-header .toolbar-menu-button,
  body.task-mail.action-list #messagelist-header .toolbar-menu-button {
    height: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    width: 36px !important;
  }

  body.task-mail.action-none #layout-list > .searchbar.menu,
  body.task-mail.action-list #layout-list > .searchbar.menu {
    background: #ffffff;
    border-radius: 12px;
    height: 42px;
    margin: 8px 12px 10px;
  }

  body.task-mail.action-none #layout-list > .searchbar.menu #mailsearchform,
  body.task-mail.action-list #layout-list > .searchbar.menu #mailsearchform {
    height: 40px !important;
  }

  body.task-mail.action-none #layout-list > .searchbar.menu .button.unread,
  body.task-mail.action-list #layout-list > .searchbar.menu .button.unread,
  body.task-mail.action-none #layout-list > .searchbar.menu .button.options,
  body.task-mail.action-list #layout-list > .searchbar.menu .button.options,
  body.task-mail.action-none #layout-list > .searchbar.menu .button.search,
  body.task-mail.action-list #layout-list > .searchbar.menu .button.search {
    height: 40px !important;
    min-height: 40px !important;
  }

  body.task-mail:not(.comodo-demo) #messagelist td {
    padding-bottom: 11px !important;
    padding-top: 11px !important;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject a,
  body.task-mail:not(.comodo-demo) #messagelist td.subject span {
    display: inline-block;
    max-width: calc(100vw - 56px);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject {
    align-items: baseline;
    column-gap: 8px;
    display: flex !important;
    flex-wrap: wrap;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject .fromto {
    flex: 1 1 auto;
    max-width: calc(100% - 96px);
    min-width: 0;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject .date {
    flex: 0 0 auto;
    margin-left: auto;
    max-width: 92px;
    text-align: right;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject .size {
    display: none !important;
  }

  body.task-mail:not(.comodo-demo) #messagelist td.subject > .subject {
    flex: 1 0 calc(100% - 40px);
  }

  body.task-mail:not(.comodo-demo) #messagelist td.fromto,
  body.task-mail:not(.comodo-demo) #messagelist td.date,
  body.task-mail:not(.comodo-demo) #messagelist td.size {
    color: #756f66;
  }

  body.task-mail.action-none #layout-list .pagenav,
  body.task-mail.action-list #layout-list .pagenav {
    min-height: 40px;
  }

  body.task-mail.action-none #taskmenu,
  body.task-mail.action-list #taskmenu,
  body.task-compose #taskmenu,
  body.action-compose #taskmenu,
  body.task-addressbook #taskmenu,
  body.task-settings #taskmenu,
  body.task-mail.action-none .comodo-previewbar #toolbar-menu,
  body.task-mail.action-list .comodo-previewbar #toolbar-menu,
  body.task-compose #layout-content > .header .toolbar,
  body.action-compose #layout-content > .header .toolbar {
    scrollbar-width: none;
  }

  body.task-mail.action-none #taskmenu,
  body.task-mail.action-list #taskmenu,
  body.task-compose #taskmenu,
  body.action-compose #taskmenu,
  body.task-addressbook #taskmenu,
  body.task-settings #taskmenu {
    gap: 8px;
    justify-content: flex-start;
  }

  body.task-mail.action-none #taskmenu .action-buttons,
  body.task-mail.action-list #taskmenu .action-buttons,
  body.task-compose #taskmenu .action-buttons,
  body.action-compose #taskmenu .action-buttons,
  body.task-addressbook #taskmenu .action-buttons,
  body.task-settings #taskmenu .action-buttons,
  body.task-mail.action-none #taskmenu .special-buttons,
  body.task-mail.action-list #taskmenu .special-buttons,
  body.task-compose #taskmenu .special-buttons,
  body.action-compose #taskmenu .special-buttons,
  body.task-addressbook #taskmenu .special-buttons,
  body.task-settings #taskmenu .special-buttons {
    display: contents !important;
  }

  body.task-mail.action-none #taskmenu a,
  body.task-mail.action-list #taskmenu a,
  body.task-compose #taskmenu a,
  body.action-compose #taskmenu a,
  body.task-addressbook #taskmenu a,
  body.task-settings #taskmenu a,
  body.task-mail.action-none #taskmenu .button,
  body.task-mail.action-list #taskmenu .button,
  body.task-compose #taskmenu .button,
  body.action-compose #taskmenu .button,
  body.task-addressbook #taskmenu .button,
  body.task-settings #taskmenu .button {
    border: 1px solid rgba(223, 243, 232, 0.15) !important;
  }

  body.task-mail.action-none #taskmenu::-webkit-scrollbar,
  body.task-mail.action-list #taskmenu::-webkit-scrollbar,
  body.task-compose #taskmenu::-webkit-scrollbar,
  body.action-compose #taskmenu::-webkit-scrollbar,
  body.task-addressbook #taskmenu::-webkit-scrollbar,
  body.task-settings #taskmenu::-webkit-scrollbar,
  body.task-mail.action-none .comodo-previewbar #toolbar-menu::-webkit-scrollbar,
  body.task-mail.action-list .comodo-previewbar #toolbar-menu::-webkit-scrollbar,
  body.task-compose #layout-content > .header .toolbar::-webkit-scrollbar,
  body.action-compose #layout-content > .header .toolbar::-webkit-scrollbar {
    display: none;
  }

  body.task-mail.action-none .comodo-previewbar #toolbar-menu,
  body.task-mail.action-list .comodo-previewbar #toolbar-menu {
    max-width: 188px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body.task-mail.action-none .comodo-previewbar .delete,
  body.task-mail.action-list .comodo-previewbar .delete {
    background: #fff7f3 !important;
    border-color: #f2c7bc !important;
    color: #d24d3c !important;
  }

  body.task-mail:not(.comodo-demo) .comodo-message-card {
    background: #ffffff;
  }

  body.task-mail:not(.comodo-demo) #messagecontframe {
    border: 0;
    width: 100% !important;
  }

  body.task-compose #layout-content > .header,
  body.action-compose #layout-content > .header {
    min-height: 56px !important;
    padding: 8px 12px !important;
  }

  body.task-compose #layout-content > .header .header-title,
  body.action-compose #layout-content > .header .header-title {
    color: #171714;
    font-size: 15px;
    font-weight: 850;
  }

  body.task-compose #layout-content > .header .toolbar,
  body.action-compose #layout-content > .header .toolbar,
  body.task-compose #layout-content > .header #messagetoolbar,
  body.action-compose #layout-content > .header #messagetoolbar,
  body.task-compose #layout-content > .header #toolbar-menu,
  body.action-compose #layout-content > .header #toolbar-menu {
    max-width: 214px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body.task-compose #compose-headers,
  body.action-compose #compose-headers {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 42px -34px rgba(23, 23, 20, 0.38);
    margin: 12px 14px;
    padding: 12px 12px 4px;
  }

  body.task-compose #composebodycontainer,
  body.action-compose #composebodycontainer {
    margin: 10px 14px 14px;
  }

  body.task-compose #composebody,
  body.action-compose #composebody {
    border-radius: 14px;
    min-height: 44dvh;
  }

  body.task-compose .formbuttons,
  body.action-compose .formbuttons {
    background: rgba(250, 249, 245, 0.98);
    border-top: 1px solid var(--comodo-mail-line);
    bottom: 64px;
    display: flex;
    justify-content: space-around;
    min-height: 56px;
    position: sticky;
    z-index: 14;
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-show {
    background: #faf9f5;
    margin: 0;
    overflow: hidden;
  }

  body.task-mail.action-show #layout {
    background: #faf9f5;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    height: 100dvh;
    margin: 0;
    max-width: none;
    overflow: hidden;
    padding: 0;
    width: 100vw;
  }

  body.task-mail.action-show #layout-menu {
    display: none !important;
  }

  body.task-mail.action-show #layout-content {
    background: #ffffff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1;
    height: 100dvh !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 0;
    overflow: hidden;
    width: 100vw !important;
  }

  body.task-mail.action-show #layout-content > .header {
    align-items: center;
    background: #faf9f5;
    border-bottom: 1px solid var(--comodo-mail-line);
    box-sizing: border-box;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 0 56px;
    gap: 8px;
    height: 56px !important;
    max-height: 56px !important;
    min-height: 56px !important;
    overflow: hidden;
    padding: 8px 10px !important;
  }

  body.task-mail.action-show #layout-content > .header .header-title {
    display: none !important;
  }

  body.task-mail.action-show #layout-content > .header .back-list-button {
    background: #ffffff !important;
    border: 1px solid var(--comodo-mail-line) !important;
    border-radius: 999px !important;
    box-sizing: border-box;
    box-shadow: var(--comodo-mail-shadow-sm);
    color: #0f5f65 !important;
    flex: 0 0 40px;
    height: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    width: 40px !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 1 1 auto;
    gap: 6px;
    height: 40px !important;
    margin: 0 !important;
    max-width: calc(100vw - 68px);
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 !important;
    position: static !important;
    scrollbar-width: none;
    width: auto !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu::-webkit-scrollbar {
    display: none;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu > li {
    display: contents !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu .comodo-action-group,
  body.task-mail.action-show #layout-content > .header #toolbar-menu .dropbutton {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 0 auto;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu .dropbutton {
    background: #ffffff !important;
    border: 1px solid var(--comodo-mail-line) !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    gap: 0;
    overflow: hidden;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu a,
  body.task-mail.action-show #layout-content > .header #toolbar-menu .button {
    background: #ffffff !important;
    border: 1px solid var(--comodo-mail-line) !important;
    border-radius: 10px !important;
    box-sizing: border-box;
    box-shadow: none !important;
    color: #27515a !important;
    flex: 0 0 38px;
    height: 38px !important;
    margin: 0 !important;
    min-height: 38px !important;
    min-width: 38px !important;
    width: 38px !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu .dropbutton a {
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu .dropbutton .dropdown {
    border-left: 1px solid var(--comodo-mail-line) !important;
    flex-basis: 28px;
    min-width: 28px !important;
    width: 28px !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu .delete {
    background: #fff7f3 !important;
    border-color: #f2c7bc !important;
    color: #d24d3c !important;
  }

  body.task-mail.action-show #message-content,
  body.task-mail.action-show #messagebody,
  body.task-mail.action-show .message-part {
    max-width: 100%;
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-show #layout-content {
    background: #faf9f5;
    color: #17201c;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: contain;
  }

  body.task-mail.action-show #layout-content > .header {
    background: rgba(250, 249, 245, 0.98);
    border-bottom: 1px solid #dce7df;
    border-radius: 0 !important;
    box-shadow: 0 14px 28px -26px rgba(23, 23, 20, 0.5) !important;
    position: sticky !important;
    top: 0;
    z-index: 22;
  }

  body.task-mail.action-show #layout-content > .header .toolbar-menu-button {
    background: #ffffff !important;
    border: 1px solid var(--comodo-mail-line) !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    color: #27515a !important;
    flex: 0 0 40px;
    height: 40px !important;
    margin: 0 !important;
    min-height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    position: static !important;
    width: 40px !important;
  }

  body.task-mail.action-show #layout-content > .header #toolbar-menu {
    max-width: calc(100vw - 112px);
  }

  body.task-mail.action-show #layout-content > .content,
  body.task-mail.action-show #layout-content > .frame-content {
    background: #faf9f5;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0 !important;
    width: 100%;
  }

  body.task-mail.action-show #message-header {
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 18px;
    box-shadow: 0 22px 48px -42px rgba(23, 23, 20, 0.55);
    box-sizing: border-box;
    margin: 12px 12px 12px;
    max-width: calc(100vw - 24px);
    padding: 16px;
    width: calc(100vw - 24px);
  }

  body.task-mail.action-show #message-header h2.subject {
    color: #12241e;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 0 14px;
    padding: 0;
  }

  body.task-mail.action-show #message-header h2.subject .extwin {
    display: none !important;
  }

  body.task-mail.action-show #message-header > .header {
    align-items: center;
    background: #f2faf5;
    border: 1px solid #d9eee4;
    border-radius: 14px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    display: grid !important;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr);
    height: auto !important;
    margin: 0;
    min-height: 0 !important;
    overflow: visible;
    padding: 12px !important;
    width: 100%;
  }

  body.task-mail.action-show #message-header .contactphoto {
    align-self: start;
    background: #d8f3e4;
    border: 1px solid #bde3cf;
    border-radius: 999px;
    box-sizing: border-box;
    height: 44px !important;
    padding: 5px;
    width: 44px !important;
  }

  body.task-mail.action-show #message-header .header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  body.task-mail.action-show #message-header .header-summary {
    color: #5d6b64;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  body.task-mail.action-show #message-header .header-summary a,
  body.task-mail.action-show #message-header .header-headers a {
    color: #087264;
    font-weight: 750;
    text-decoration: none;
  }

  body.task-mail.action-show #message-header .header-headers {
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 12px;
    color: #536158;
    display: none;
    font-size: 12px;
    margin-top: 2px;
    padding: 8px;
    width: 100%;
  }

  body.task-mail.action-show #message-header .header-headers .header-title {
    color: #89958f;
    font-size: 11px;
    font-weight: 750;
    padding: 4px 8px 4px 0;
    text-transform: uppercase;
  }

  body.task-mail.action-show #message-header .header-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.task-mail.action-show #message-header .header-links a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 999px;
    color: #27515a;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    min-height: 28px;
    padding: 6px 9px;
    text-decoration: none;
  }

  body.task-mail.action-show #message-content {
    box-sizing: border-box;
    margin: 0 12px 28px;
    max-width: calc(100vw - 24px);
    overflow: visible !important;
    padding: 0;
    width: calc(100vw - 24px);
  }

  body.task-mail.action-show #message-content .leftcol {
    display: none !important;
  }

  body.task-mail.action-show #message-content .rightcol {
    margin: 0;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    width: 100%;
  }

  body.task-mail.action-show #messagebody {
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 18px;
    box-shadow: 0 22px 48px -42px rgba(23, 23, 20, 0.55);
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    padding: 14px;
    width: 100%;
  }

  body.task-mail.action-show #messagebody .message-htmlpart,
  body.task-mail.action-show #message-htmlpart1 {
    box-sizing: border-box;
    margin: 0 !important;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding: 0 !important;
  }

  body.task-mail.action-show #messagebody img {
    height: auto !important;
    max-width: 100% !important;
  }

  body.task-mail.action-show #messagebody table {
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none #menu-overlay.popover-overlay,
  body.task-mail.action-list #menu-overlay.popover-overlay {
    backdrop-filter: blur(4px);
    background: rgba(23, 23, 20, 0.42) !important;
    inset: 0 !important;
    opacity: 1 !important;
    position: fixed !important;
    z-index: 35 !important;
  }

  body.task-mail.action-none #layout-menu.popover,
  body.task-mail.action-list #layout-menu.popover {
    align-items: stretch;
    background: #1a1916 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    bottom: 76px !important;
    box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.78) !important;
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    left: 12px !important;
    max-height: calc(100dvh - 88px);
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 12px !important;
    right: auto !important;
    top: 12px !important;
    width: min(312px, calc(100vw - 24px)) !important;
    z-index: 42 !important;
  }

  body.task-mail.action-none #layout-menu.popover .popover-header,
  body.task-mail.action-list #layout-menu.popover .popover-header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex !important;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 50px;
    padding: 0 0 12px !important;
  }

  body.task-mail.action-none #layout-menu.popover .popover-header::before,
  body.task-mail.action-list #layout-menu.popover .popover-header::before {
    content: none !important;
    display: none !important;
  }

  body.task-mail.action-none #layout-menu.popover #logo,
  body.task-mail.action-list #layout-menu.popover #logo {
    background: #2b7651;
    border-radius: 12px;
    display: block !important;
    height: 40px;
    opacity: 1 !important;
    padding: 8px;
    width: 40px;
  }

  body.task-mail.action-none #layout-menu.popover .cancel,
  body.task-mail.action-list #layout-menu.popover .cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #f5f5ef !important;
    display: flex !important;
    flex: 0 0 38px !important;
    height: 38px !important;
    margin-left: auto !important;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    width: 38px !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu,
  body.task-mail.action-list #layout-menu.popover #taskmenu {
    align-items: stretch;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    height: auto !important;
    justify-content: flex-start;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 0 0 !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu .action-buttons,
  body.task-mail.action-list #layout-menu.popover #taskmenu .action-buttons,
  body.task-mail.action-none #layout-menu.popover #taskmenu .special-buttons,
  body.task-mail.action-list #layout-menu.popover #taskmenu .special-buttons {
    display: contents !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu a,
  body.task-mail.action-list #layout-menu.popover #taskmenu a,
  body.task-mail.action-none #layout-menu.popover #taskmenu .button,
  body.task-mail.action-list #layout-menu.popover #taskmenu .button {
    align-items: center;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    color: #d9ddd4 !important;
    display: flex !important;
    flex: 0 0 44px;
    gap: 12px;
    height: 44px !important;
    justify-content: flex-start;
    margin: 0 !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    width: 100% !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu a.selected,
  body.task-mail.action-list #layout-menu.popover #taskmenu a.selected,
  body.task-mail.action-none #layout-menu.popover #taskmenu .compose,
  body.task-mail.action-list #layout-menu.popover #taskmenu .compose {
    background: #2b7651 !important;
    border-color: #2b7651 !important;
    color: #ffffff !important;
    opacity: 1 !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu a::before,
  body.task-mail.action-list #layout-menu.popover #taskmenu a::before,
  body.task-mail.action-none #layout-menu.popover #taskmenu .button::before,
  body.task-mail.action-list #layout-menu.popover #taskmenu .button::before {
    flex: 0 0 20px;
    font-size: 16px;
    margin: 0;
    text-align: center;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu .inner,
  body.task-mail.action-list #layout-menu.popover #taskmenu .inner {
    clip: auto !important;
    color: inherit !important;
    display: block !important;
    font-size: 14px;
    font-weight: 700;
    height: auto !important;
    line-height: 1;
    overflow: hidden;
    position: static !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto !important;
  }

  body.task-mail.action-none #layout-menu.popover #taskmenu a.selected .inner,
  body.task-mail.action-list #layout-menu.popover #taskmenu a.selected .inner,
  body.task-mail.action-none #layout-menu.popover #taskmenu .compose .inner,
  body.task-mail.action-list #layout-menu.popover #taskmenu .compose .inner {
    color: #ffffff !important;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout::before,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout::before,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout::before,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout::before {
    backdrop-filter: blur(4px);
    background: rgba(23, 23, 20, 0.38);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 35;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout-sidebar,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout-sidebar,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout-sidebar,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout-sidebar {
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 18px !important;
    bottom: 76px !important;
    box-shadow: 0 30px 70px -40px rgba(23, 23, 20, 0.7) !important;
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    left: 12px !important;
    max-height: calc(100dvh - 88px) !important;
    overflow: hidden;
    position: fixed !important;
    right: auto !important;
    top: 12px !important;
    width: min(330px, calc(100vw - 24px)) !important;
    z-index: 42 !important;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout-list,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout-list,
  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout-content,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout-content,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout-list,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout-list,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout-content,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout-content {
    display: none !important;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout-sidebar .comodo-accountbar,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout-sidebar .comodo-accountbar,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout-sidebar .comodo-accountbar,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout-sidebar .comodo-accountbar {
    align-items: center !important;
    background: #f2faf5 !important;
    border-bottom: 1px solid #dce7df !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 14px 58px 14px 14px !important;
    position: relative;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #layout-sidebar .comodo-accountbar .back-list-button,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #layout-sidebar .comodo-accountbar .back-list-button,
  body.task-mail.action-none:has(#layout-sidebar.selected) #layout-sidebar .comodo-accountbar .back-list-button,
  body.task-mail.action-list:has(#layout-sidebar.selected) #layout-sidebar .comodo-accountbar .back-list-button {
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #27515a !important;
    display: flex !important;
    height: 38px !important;
    justify-content: center;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    position: absolute !important;
    right: 14px;
    top: 14px;
    width: 38px !important;
  }

  body.task-mail.action-none:has(#layout-sidebar:not(.hidden)) #folderlist-content,
  body.task-mail.action-list:has(#layout-sidebar:not(.hidden)) #folderlist-content,
  body.task-mail.action-none:has(#layout-sidebar.selected) #folderlist-content,
  body.task-mail.action-list:has(#layout-sidebar.selected) #folderlist-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 6px 8px 12px;
  }
}

@media screen and (max-width: 820px) {
  body.task-mail.action-none:has(.popover.show #toolbar-menu) #layout::before,
  body.task-mail.action-list:has(.popover.show #toolbar-menu) #layout::before {
    backdrop-filter: blur(4px);
    background: rgba(23, 23, 20, 0.42);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1200;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu),
  body.task-mail.action-list .popover.show:has(#toolbar-menu) {
    --comodo-icon-close: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2327515a'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M18%206%206%2018'/%3E%3Cpath%20d='M6%206l12%2012'/%3E%3C/svg%3E");
    --comodo-icon-chevron-right: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m9%2018%206-6-6-6'/%3E%3C/svg%3E");
    --comodo-icon-delete: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%206h18'/%3E%3Cpath%20d='M8%206V4h8v2'/%3E%3Cpath%20d='M19%206l-1%2014H6L5%206'/%3E%3Cpath%20d='M10%2011v5'/%3E%3Cpath%20d='M14%2011v5'/%3E%3C/svg%3E");
    --comodo-icon-forward: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%207l5%205-5%205'/%3E%3Cpath%20d='M4%2018v-2a4%204%200%200%201%204-4h12'/%3E%3C/svg%3E");
    --comodo-icon-mark: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2012l-8%208-9-9V4h7l10%208z'/%3E%3Cpath%20d='M7.5%207.5h.01'/%3E%3C/svg%3E");
    --comodo-icon-more: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='black'%3E%3Ccircle%20cx='5'%20cy='12'%20r='2'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='2'/%3E%3Ccircle%20cx='19'%20cy='12'%20r='2'/%3E%3C/svg%3E");
    --comodo-icon-reply: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2017l-5-5%205-5'/%3E%3Cpath%20d='M20%2018v-2a4%204%200%200%200-4-4H4'/%3E%3C/svg%3E");
    --comodo-icon-reply-all: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2017l-5-5%205-5'/%3E%3Cpath%20d='M12%2017l-5-5%205-5'/%3E%3Cpath%20d='M22%2018v-2a4%204%200%200%200-4-4H7'/%3E%3C/svg%3E");
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 18px !important;
    bottom: auto !important;
    box-shadow: 0 30px 70px -40px rgba(23, 23, 20, 0.7) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    left: auto !important;
    margin: 0 !important;
    max-height: calc(100dvh - 100px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: fixed !important;
    right: 10px !important;
    top: 12px !important;
    transform: none !important;
    width: min(304px, calc(100vw - 24px)) !important;
    z-index: 1300 !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) .arrow,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) .arrow {
    display: none !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) .popover-header,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) .popover-header {
    align-items: center !important;
    background: #f2faf5 !important;
    border: 0 !important;
    border-bottom: 1px solid #dce7df !important;
    border-radius: 18px 18px 0 0 !important;
    box-sizing: border-box !important;
    color: #27515a !important;
    display: flex !important;
    flex: 0 0 58px !important;
    font-size: 0 !important;
    font-weight: 750 !important;
    gap: 10px !important;
    height: 58px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    position: relative !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) .popover-header::before,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) .popover-header::before {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 12px;
    box-sizing: border-box;
    color: #27515a;
    content: "";
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 0;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
    background: #ffffff var(--comodo-icon-close) center / 16px 16px no-repeat;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) .popover-header::after,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) .popover-header::after {
    color: #27515a;
    content: "Acciones";
    display: block;
    font-size: 14px;
    font-weight: 800;
    left: 64px;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    position: absolute;
    right: 16px;
    text-overflow: ellipsis;
    top: 22px;
    white-space: nowrap;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu {
    align-items: stretch !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: auto !important;
    margin: 0 !important;
    max-height: calc(100dvh - 170px) !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 10px !important;
    position: static !important;
    width: 100% !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu > li,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .comodo-action-group,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .comodo-action-group {
    align-items: stretch !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .dropbutton,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .dropbutton {
    align-items: center !important;
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .reply,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .reply {
    --comodo-action-icon: var(--comodo-icon-reply);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .reply-all,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .reply-all {
    --comodo-action-icon: var(--comodo-icon-reply-all);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .forward,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .forward {
    --comodo-action-icon: var(--comodo-icon-forward);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .delete,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .delete {
    --comodo-action-icon: var(--comodo-icon-delete);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .markmessage,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .markmessage {
    --comodo-action-icon: var(--comodo-icon-mark);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .more,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .more {
    --comodo-action-icon: var(--comodo-icon-more);
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu a,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu a,
  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .button,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #27515a !important;
    display: flex !important;
    flex: 0 0 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    gap: 12px !important;
    height: 44px !important;
    justify-content: flex-start !important;
    line-height: 1 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    min-width: 0 !important;
    opacity: 1 !important;
    overflow: hidden !important;
    padding: 0 12px !important;
    text-align: left !important;
    width: 100% !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu a::before,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu a::before,
  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .button::before,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .button::before {
    background: currentColor !important;
    content: "" !important;
    display: block !important;
    flex: 0 0 18px;
    font-size: 0 !important;
    height: 18px !important;
    margin: 0 !important;
    mask-image: var(--comodo-action-icon, var(--comodo-icon-more)) !important;
    mask-position: center !important;
    mask-repeat: no-repeat !important;
    mask-size: 18px 18px !important;
    text-align: center;
    width: 18px !important;
    -webkit-mask-image: var(--comodo-action-icon, var(--comodo-icon-more)) !important;
    -webkit-mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-size: 18px 18px !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .inner,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .inner {
    clip: auto !important;
    color: inherit !important;
    display: block !important;
    flex: 1 1 auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: auto !important;
    line-height: 1 !important;
    overflow: hidden !important;
    position: static !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    width: auto !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown {
    flex: 0 0 40px !important;
    font-size: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    max-width: 40px !important;
    padding: 0 !important;
    width: 40px !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown::before,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown::before {
    content: none !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown::after,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown::after {
    background: currentColor !important;
    content: "" !important;
    display: block !important;
    flex: 0 0 auto !important;
    font-size: 0 !important;
    height: 18px !important;
    line-height: 1 !important;
    mask-image: var(--comodo-icon-chevron-right) !important;
    mask-position: center !important;
    mask-repeat: no-repeat !important;
    mask-size: 18px 18px !important;
    width: 18px !important;
    -webkit-mask-image: var(--comodo-icon-chevron-right) !important;
    -webkit-mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-size: 18px 18px !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown .inner,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown .inner {
    display: none !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .delete,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .delete {
    background: #fff7f3 !important;
    border-color: #f2c7bc !important;
    color: #d24d3c !important;
  }

  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .hidden,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .hidden,
  body.task-mail.action-none .popover.show:has(#toolbar-menu) #toolbar-menu .compose.hidden,
  body.task-mail.action-list .popover.show:has(#toolbar-menu) #toolbar-menu .compose.hidden {
    display: none !important;
  }

  body.task-addressbook:has(.popover.show #toolbar-menu) #layout::before {
    backdrop-filter: blur(4px);
    background: rgba(23, 23, 20, 0.42);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1200;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) {
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 18px !important;
    bottom: auto !important;
    box-shadow: 0 30px 70px -40px rgba(23, 23, 20, 0.7) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    left: auto !important;
    margin: 0 !important;
    max-height: calc(100dvh - 100px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: fixed !important;
    right: 10px !important;
    top: 12px !important;
    transform: none !important;
    width: min(304px, calc(100vw - 24px)) !important;
    z-index: 1300 !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) .arrow {
    display: none !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) .popover-header {
    align-items: center !important;
    background: #f2faf5 !important;
    border: 0 !important;
    border-bottom: 1px solid #dce7df !important;
    border-radius: 18px 18px 0 0 !important;
    box-sizing: border-box !important;
    color: #27515a !important;
    display: flex !important;
    flex: 0 0 58px !important;
    font-size: 0 !important;
    font-weight: 750 !important;
    height: 58px !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    position: relative !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) .popover-header::before {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dce7df;
    border-radius: 12px;
    box-sizing: border-box;
    color: #27515a;
    content: "\00d7";
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 22px;
    font-weight: 500;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) .popover-header::after {
    color: #27515a;
    content: "Acciones";
    display: block;
    font-size: 14px;
    font-weight: 800;
    left: 64px;
    line-height: 1;
    overflow: hidden;
    position: absolute;
    right: 16px;
    text-overflow: ellipsis;
    top: 22px;
    white-space: nowrap;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu {
    align-items: stretch !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: auto !important;
    margin: 0 !important;
    max-height: calc(100dvh - 170px) !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 10px !important;
    position: static !important;
    width: 100% !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .dropbutton {
    align-items: center !important;
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu a,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #27515a !important;
    display: flex !important;
    flex: 0 0 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    gap: 12px !important;
    height: 44px !important;
    justify-content: flex-start !important;
    line-height: 1 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    min-width: 0 !important;
    opacity: 1 !important;
    overflow: hidden !important;
    padding: 0 12px !important;
    text-align: left !important;
    width: 100% !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu a::before,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .button::before {
    flex: 0 0 18px;
    font-size: 15px !important;
    margin: 0 !important;
    text-align: center;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .inner {
    clip: auto !important;
    color: inherit !important;
    display: block !important;
    flex: 1 1 auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: auto !important;
    line-height: 1 !important;
    overflow: hidden !important;
    position: static !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    width: auto !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown {
    flex: 0 0 40px !important;
    font-size: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    max-width: 40px !important;
    padding: 0 !important;
    width: 40px !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .dropdown::after {
    color: inherit !important;
    content: "\203a" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .disabled,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu a.disabled,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .button.disabled,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu .dropbutton:has(.disabled):not(:has(a:not(.disabled))) {
    display: none !important;
  }

  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu > li.spacer,
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu > li:has(> a.disabled),
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu > li:has(> .button.disabled),
  body.task-addressbook .popover.show:has(#toolbar-menu) #toolbar-menu > li:has(> .dropbutton.disabled) {
    display: none !important;
  }

  body.action-compose #layout-content > .header,
  body.task-compose #layout-content > .header,
  body.task-addressbook #layout-sidebar > .header,
  body.task-addressbook #layout-list > .header,
  body.task-addressbook #layout-content > .header,
  body.task-settings #layout-sidebar > .header,
  body.task-settings #layout-list > .header,
  body.task-settings #layout-content > .header {
    align-items: center !important;
    background: rgba(250, 249, 245, 0.98) !important;
    border-bottom: 1px solid #e4ded3 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 0 58px !important;
    gap: 8px !important;
    height: 58px !important;
    min-height: 58px !important;
    overflow: hidden !important;
    padding: 8px 10px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
  }

  body.action-compose #layout-content > .header .header-title,
  body.task-compose #layout-content > .header .header-title,
  body.task-addressbook #layout-sidebar > .header .header-title,
  body.task-addressbook #layout-list > .header .header-title,
  body.task-addressbook #layout-content > .header .header-title,
  body.task-settings #layout-sidebar > .header .header-title,
  body.task-settings #layout-list > .header .header-title,
  body.task-settings #layout-content > .header .header-title {
    color: #171714 !important;
    flex: 1 1 auto !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.action-compose #layout-content > .header .toolbar,
  body.action-compose #layout-content > .header #toolbar-menu,
  body.action-compose #layout-content > .header #messagetoolbar,
  body.task-compose #layout-content > .header .toolbar,
  body.task-compose #layout-content > .header #toolbar-menu,
  body.task-compose #layout-content > .header #messagetoolbar,
  body.task-addressbook #layout-sidebar > .header .toolbar,
  body.task-addressbook #layout-list > .header .toolbar,
  body.task-addressbook #layout-content > .header .toolbar,
  body.task-addressbook #layout-content > .header #toolbar-menu,
  body.task-settings #layout-sidebar > .header .toolbar,
  body.task-settings #layout-list > .header .toolbar,
  body.task-settings #layout-content > .header .toolbar,
  body.task-settings #layout-content > .header #toolbar-menu {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex: 0 1 auto !important;
    gap: 6px !important;
    height: 40px !important;
    justify-content: flex-end !important;
    margin: 0 0 0 auto !important;
    max-width: calc(100vw - 72px) !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 !important;
    position: static !important;
    scrollbar-width: none;
    width: auto !important;
  }

  body.action-compose #layout-content > .header .toolbar::-webkit-scrollbar,
  body.action-compose #layout-content > .header #toolbar-menu::-webkit-scrollbar,
  body.action-compose #layout-content > .header #messagetoolbar::-webkit-scrollbar,
  body.task-compose #layout-content > .header .toolbar::-webkit-scrollbar,
  body.task-compose #layout-content > .header #toolbar-menu::-webkit-scrollbar,
  body.task-compose #layout-content > .header #messagetoolbar::-webkit-scrollbar,
  body.task-addressbook #layout-sidebar > .header .toolbar::-webkit-scrollbar,
  body.task-addressbook #layout-list > .header .toolbar::-webkit-scrollbar,
  body.task-addressbook #layout-content > .header .toolbar::-webkit-scrollbar,
  body.task-addressbook #layout-content > .header #toolbar-menu::-webkit-scrollbar,
  body.task-settings #layout-sidebar > .header .toolbar::-webkit-scrollbar,
  body.task-settings #layout-list > .header .toolbar::-webkit-scrollbar,
  body.task-settings #layout-content > .header .toolbar::-webkit-scrollbar,
  body.task-settings #layout-content > .header #toolbar-menu::-webkit-scrollbar {
    display: none;
  }

  body.action-compose #layout-content > .header .button,
  body.action-compose #layout-content > .header a.button,
  body.action-compose #layout-content > .header .toolbar a,
  body.action-compose #layout-content > .header #toolbar-menu a,
  body.task-compose #layout-content > .header .button,
  body.task-compose #layout-content > .header a.button,
  body.task-compose #layout-content > .header .toolbar a,
  body.task-compose #layout-content > .header #toolbar-menu a,
  body.task-addressbook #layout-sidebar > .header .button,
  body.task-addressbook #layout-list > .header .button,
  body.task-addressbook #layout-content > .header .button,
  body.task-addressbook #layout-content > .header .toolbar a,
  body.task-addressbook #layout-content > .header #toolbar-menu a,
  body.task-settings #layout-sidebar > .header .button,
  body.task-settings #layout-list > .header .button,
  body.task-settings #layout-content > .header .button,
  body.task-settings #layout-content > .header .toolbar a,
  body.task-settings #layout-content > .header #toolbar-menu a {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #dce7df !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #27515a !important;
    display: inline-flex !important;
    flex: 0 0 38px !important;
    height: 38px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 38px !important;
    min-height: 38px !important;
    min-width: 38px !important;
    opacity: 1 !important;
    padding: 0 !important;
    width: 38px !important;
  }

  body.task-addressbook #layout-list > .header .task-menu-button,
  body.task-addressbook #layout-list > .header .button.disabled,
  body.task-addressbook #layout-list > .header a.disabled,
  body.task-addressbook #layout-content > .header .button.disabled,
  body.task-addressbook #layout-content > .header a.disabled,
  body.task-settings #layout-list > .header .button.disabled,
  body.task-settings #layout-list > .header a.disabled,
  body.task-settings #layout-content > .header .button.disabled,
  body.task-settings #layout-content > .header a.disabled {
    display: none !important;
  }

  body.task-addressbook #layout-list > .header .back-sidebar-button,
  body.task-addressbook #layout-list > .header .toolbar-menu-button,
  body.task-addressbook #layout-list > .header .button:not(.disabled),
  body.task-addressbook #layout-list .floating-action-buttons a:not(.disabled) {
    pointer-events: auto !important;
  }

  body.task-addressbook #layout-list .floating-action-buttons {
    bottom: 112px !important;
    display: flex !important;
    position: fixed !important;
    right: 14px !important;
    z-index: 24 !important;
  }

  body.task-addressbook #layout-list .floating-action-buttons a:not(.disabled) {
    align-items: center !important;
    background: #38bdf8 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 18px 36px -20px rgba(14, 116, 144, 0.74) !important;
    color: #ffffff !important;
    display: flex !important;
    font-size: 0 !important;
    height: 56px !important;
    justify-content: center !important;
    min-height: 56px !important;
    min-width: 56px !important;
    width: 56px !important;
  }

  body.task-addressbook #layout-list .floating-action-buttons a:not(.disabled)::before {
    content: "+" !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 30px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
  }

  body.task-addressbook #layout-list .floating-action-buttons a:not(.disabled) .inner {
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }

  body.action-compose #layout-content > .header .button .inner,
  body.action-compose #layout-content > .header .toolbar a .inner,
  body.action-compose #layout-content > .header #toolbar-menu a .inner,
  body.task-compose #layout-content > .header .button .inner,
  body.task-compose #layout-content > .header .toolbar a .inner,
  body.task-compose #layout-content > .header #toolbar-menu a .inner,
  body.task-addressbook #layout-sidebar > .header .button .inner,
  body.task-addressbook #layout-list > .header .button .inner,
  body.task-addressbook #layout-content > .header .button .inner,
  body.task-addressbook #layout-content > .header .toolbar a .inner,
  body.task-addressbook #layout-content > .header #toolbar-menu a .inner,
  body.task-settings #layout-sidebar > .header .button .inner,
  body.task-settings #layout-list > .header .button .inner,
  body.task-settings #layout-content > .header .button .inner,
  body.task-settings #layout-content > .header .toolbar a .inner,
  body.task-settings #layout-content > .header #toolbar-menu a .inner {
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }

  body.task-addressbook #layout-sidebar,
  body.task-addressbook #layout-list,
  body.task-addressbook #layout-content,
  body.task-settings #layout-sidebar,
  body.task-settings #layout-list,
  body.task-settings #layout-content {
    background: #faf9f5 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.task-addressbook #layout-sidebar:not(.hidden),
  body.task-addressbook #layout-list:not(.hidden),
  body.task-addressbook #layout-content:not(.hidden),
  body.task-settings #layout-sidebar:not(.hidden),
  body.task-settings #layout-list:not(.hidden),
  body.task-settings #layout-content:not(.hidden) {
    display: flex !important;
  }

  body.action-compose #layout-sidebar.hidden,
  body.action-compose #layout-list.hidden,
  body.task-compose #layout-sidebar.hidden,
  body.task-compose #layout-list.hidden,
  body.task-addressbook #layout-sidebar.hidden,
  body.task-addressbook #layout-list.hidden,
  body.task-addressbook #layout-content.hidden,
  body.task-settings #layout-sidebar.hidden,
  body.task-settings #layout-list.hidden,
  body.task-settings #layout-content.hidden {
    display: none !important;
  }

  body.action-compose #layout-content > .content,
  body.action-compose #layout-content > .frame-content,
  body.task-compose #layout-content > .content,
  body.task-compose #layout-content > .frame-content,
  body.task-addressbook #layout-list > .scroller,
  body.task-addressbook #layout-content > .scroller,
  body.task-addressbook #layout-content > .content,
  body.task-addressbook #layout-content > .frame-content,
  body.task-settings #layout-list > .scroller,
  body.task-settings #layout-content > .scroller,
  body.task-settings #layout-content > .content,
  body.task-settings #layout-content > .frame-content {
    background: #faf9f5 !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding: 12px !important;
  }

  body.action-compose .box,
  body.action-compose .propform,
  body.action-compose fieldset,
  body.task-compose .box,
  body.task-compose .propform,
  body.task-compose fieldset,
  body.task-addressbook .listing,
  body.task-addressbook .records-table,
  body.task-addressbook .box,
  body.task-addressbook .propform,
  body.task-settings .listing,
  body.task-settings .records-table,
  body.task-settings .box,
  body.task-settings .propform,
  body.task-settings fieldset {
    background: #ffffff !important;
    border: 1px solid #e4ded3 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px -34px rgba(23, 23, 20, 0.38) !important;
  }
}

/* Final cascade: deployable webmail polish over the older experimental skin. */
body.task-login {
  background: #f6f8fb !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.task-login #layout,
body.task-login .comodo-mail-login {
  background: #f6f8fb !important;
  min-height: 100vh !important;
}

body.task-login .comodo-mail-login {
  align-content: center !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 420px) !important;
  justify-content: center !important;
  padding: 32px 20px !important;
  width: 100% !important;
}

body.task-login .comodo-mail-brand,
body.task-login .comodo-mail-card {
  box-sizing: border-box !important;
  max-width: 420px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.task-login .comodo-mail-brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center !important;
}

body.task-login .comodo-mail-logo-lockup {
  justify-content: center !important;
  margin: 0 !important;
}

body.task-login .comodo-mail-eyebrow,
body.task-login .comodo-mail-notes {
  display: none !important;
}

body.task-login .comodo-mail-notes article p {
  display: none !important;
}

body.task-login .comodo-mail-hero-copy {
  margin-top: 12px !important;
}

body.task-login .comodo-mail-hero-copy h2 {
  color: #0f172a !important;
  font-size: 21px !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
  line-height: 1.18 !important;
  margin: 0 !important;
}

body.task-login .comodo-mail-hero-copy p,
body.task-login .comodo-mail-card-header span {
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.task-login .comodo-mail-card {
  background: #ffffff !important;
  border: 1px solid #dbe5ea !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px -34px rgba(15, 23, 42, 0.44) !important;
  padding: 26px !important;
}

body.task-login .comodo-mail-card-header {
  margin-bottom: 18px !important;
  text-align: left !important;
}

body.task-login .comodo-mail-card-header p {
  color: #237185 !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 6px !important;
  text-transform: uppercase !important;
}

body.task-login .comodo-mail-card-header h2 {
  color: #0f172a !important;
  font-size: 24px !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

body.task-login .comodo-mail-form table,
body.task-login .comodo-mail-form tbody,
body.task-login .comodo-mail-form tr,
body.task-login .comodo-mail-form td {
  display: block !important;
  width: 100% !important;
}

body.task-login .comodo-mail-form tr + tr {
  margin-top: 12px !important;
}

body.task-login .comodo-mail-form .title,
body.task-login .comodo-mail-form .input-group-prepend {
  display: none !important;
}

body.task-login .comodo-mail-form input.form-control {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-size: 15px !important;
  height: 44px !important;
  padding: 0 13px !important;
  width: 100% !important;
}

body.task-login #rcmloginsubmit {
  background: #236f82 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0 !important;
  font-weight: 760 !important;
  height: 44px !important;
  margin-top: 16px !important;
  width: 100% !important;
}

body.task-login #rcmloginsubmit::after {
  content: "Entrar";
  font-size: 14px;
}

body.task-mail #layout {
  background: #ffffff !important;
  gap: 0 !important;
  grid-template-columns: 56px 240px minmax(320px, 390px) minmax(0, 1fr) !important;
  padding: 0 !important;
}

body.task-mail {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body.task-mail #layout-menu {
  background: #111827 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.task-mail #layout-sidebar,
body.task-mail #layout-list,
body.task-mail #layout-content {
  background: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.task-mail #layout-sidebar,
body.task-mail #layout-list {
  border-right: 1px solid #e2e8f0 !important;
}

body.task-mail .comodo-accountbar,
body.task-mail .comodo-appbar,
body.task-mail #messagelist-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 56px !important;
}

body.task-mail .comodo-accountbar {
  height: 72px !important;
  padding: 12px 16px !important;
}

body.task-mail .comodo-account-title,
body.task-mail .header-title,
body.task-mail .comodo-title-stack .header-title {
  color: #0f172a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

body.task-mail .comodo-account-date {
  display: none !important;
}

body.task-mail .comodo-accountbar .username {
  color: #64748b !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  max-width: 170px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.task-mail .comodo-folder-kicker,
body.task-mail .comodo-list-count,
body.task-mail .comodo-kicker {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.task-mail .comodo-folder-kicker {
  margin: 16px 16px 8px !important;
}

body.task-mail #folderlist-content {
  padding: 0 10px 12px !important;
}

body.task-mail #mailboxlist {
  background: transparent !important;
  border: 0 !important;
}

body.task-mail #mailboxlist li > a,
body.task-mail #mailboxlist li.mailbox > a {
  border-radius: 8px !important;
  color: #334155 !important;
  font-size: 14px !important;
  min-height: 38px !important;
  padding: 9px 10px !important;
}

body.task-mail #mailboxlist li.selected > a,
body.task-mail #mailboxlist li > a.selected {
  background: #e6f2f4 !important;
  color: #155e75 !important;
  font-weight: 720 !important;
}

body.task-mail .comodo-mail-listbar,
body.task-mail .comodo-previewbar {
  height: 56px !important;
  padding: 0 12px !important;
}

body.task-mail .searchbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  min-height: 44px !important;
  padding: 6px 10px !important;
}

body.task-mail .searchbar input,
body.task-mail #mailsearchform input {
  background: #f8fafc !important;
  border: 1px solid #dbe5ea !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  height: 32px !important;
  padding-left: 12px !important;
}

body.task-mail .searchbar .input-group-prepend,
body.task-mail .searchbar .input-group-text {
  display: none !important;
}

body.task-mail .searchbar form::before {
  content: none !important;
  display: none !important;
}

body.task-mail #messagelist-content,
body.task-mail .comodo-content-body,
body.task-mail .iframe-wrapper,
body.task-mail .comodo-message-card {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.task-mail .comodo-content-body {
  display: block !important;
  height: calc(100vh - 56px) !important;
  padding: 0 !important;
}

body.task-mail .comodo-message-card,
body.task-mail #messagecontframe {
  height: 100% !important;
  width: 100% !important;
}

body.task-mail #mailtoolbar,
body.task-mail .comodo-appbar-actions {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

body.task-mail #mailtoolbar a,
body.task-mail #mailtoolbar .button,
body.task-mail .comodo-appbar-actions a,
body.task-mail .comodo-appbar-actions .button {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.task-mail.action-none .comodo-previewbar #mailtoolbar {
  display: none !important;
}

body.task-mail.action-none .comodo-previewbar #toolbar-menu {
  display: none !important;
}

@media screen and (max-width: 820px) {
  body.task-login .comodo-mail-login {
    align-content: start !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body.task-login .comodo-mail-hero-copy h2 {
    font-size: 18px !important;
  }

  body.task-login .comodo-mail-card {
    padding: 20px !important;
  }

  body.task-mail.action-compose #layout-content {
    background: #faf9f5 !important;
  }

  body.task-mail #layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Shared Comodo app switcher for the Roundcube shell. */
.comodo-app-switcher {
  flex: 0 0 auto;
  margin: 0;
  position: relative;
}

.comodo-app-switcher > summary {
  list-style: none;
}

.comodo-app-switcher > summary::-webkit-details-marker {
  display: none;
}

#taskmenu .comodo-app-switcher-trigger {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  width: 44px;
}

#taskmenu .comodo-app-switcher-trigger:hover,
#taskmenu .comodo-app-switcher-trigger:focus-visible,
.comodo-app-switcher[open] > .comodo-app-switcher-trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  outline: none;
}

#taskmenu .comodo-app-switcher-trigger svg {
  fill: currentColor;
  height: 19px;
  width: 19px;
}

#taskmenu .comodo-app-switcher-trigger .inner {
  display: none;
}

.comodo-app-switcher-menu {
  background: #ffffff;
  border: 1px solid #dbe5ea;
  border-radius: 14px;
  bottom: auto;
  box-shadow: 0 24px 60px -26px rgba(15, 23, 42, 0.48);
  box-sizing: border-box;
  display: none;
  left: 64px;
  max-height: min(620px, calc(100vh - 24px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  position: fixed;
  top: 12px;
  width: 304px;
  z-index: 1400;
}

.comodo-app-switcher[open] > .comodo-app-switcher-menu {
  display: block;
}

.comodo-app-switcher-heading {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.06em;
  padding: 8px 10px 7px;
  text-transform: uppercase;
}

#taskmenu .comodo-app-switcher-menu .comodo-app-switcher-item {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-sizing: border-box;
  color: #0f172a !important;
  display: flex !important;
  gap: 10px;
  height: auto !important;
  margin: 0 !important;
  min-height: 52px !important;
  min-width: 0 !important;
  padding: 7px 8px !important;
  text-decoration: none;
  width: 100% !important;
}

#taskmenu .comodo-app-switcher-menu .comodo-app-switcher-item:hover,
#taskmenu .comodo-app-switcher-menu .comodo-app-switcher-item:focus-visible {
  background: #f8fafc !important;
  outline: none;
}

#taskmenu .comodo-app-switcher-menu .comodo-app-switcher-item.is-current {
  background: #f1f5f9 !important;
}

.comodo-app-switcher-more {
  border-top: 1px solid #e2e8f0;
  margin-top: 4px;
  padding-top: 4px;
}

.comodo-app-switcher-more > summary {
  cursor: pointer;
  list-style: none;
}

.comodo-app-switcher-more > summary::-webkit-details-marker {
  display: none;
}

.comodo-app-switcher-more-menu {
  border-left: 1px solid #e2e8f0;
  display: none;
  margin: 2px 0 4px 18px;
  padding-left: 6px;
}

.comodo-app-switcher-more[open] > .comodo-app-switcher-more-menu {
  display: block;
}

#taskmenu .comodo-app-switcher-more-menu .comodo-app-switcher-item {
  min-height: 48px !important;
}

.comodo-app-switcher-tile {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  flex: 0 0 36px;
  font-size: 12px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 36px;
}

.comodo-app-switcher-tile.is-pos {
  background: #fff1f2;
  color: #be123c;
}

.comodo-app-switcher-tile.is-accounting {
  background: #eff6ff;
  color: #1d4ed8;
}

.comodo-app-switcher-tile.is-crm {
  background: #f0fdfa;
  color: #0f766e;
}

.comodo-app-switcher-tile.is-pay {
  background: #fffbeb;
  color: #b45309;
}

.comodo-app-switcher-tile.is-route {
  background: #ecfeff;
  color: #0e7490;
}

.comodo-app-switcher-tile.is-mail {
  background: #fdf4ff;
  color: #a21caf;
}

.comodo-app-switcher-tile.is-auth {
  background: #ecfdf5;
  color: #047857;
}

.comodo-app-switcher-tile.is-admin {
  background: #f0f9ff;
  color: #0369a1;
}

.comodo-app-switcher-tile.is-platform {
  background: #f5f3ff;
  color: #6d28d9;
}

.comodo-app-switcher-tile.is-host {
  background: #eef2ff;
  color: #4338ca;
}

.comodo-app-switcher-tile.is-hr {
  background: #ecfdf5;
  color: #047857;
}

.comodo-app-switcher-tile.is-sign {
  background: #f7fee7;
  color: #4d7c0f;
}

.comodo-app-switcher-tile.is-todo {
  background: #fff7ed;
  color: #c2410c;
}

.comodo-app-switcher-tile.is-more {
  background: #f1f5f9;
  color: #475569;
  letter-spacing: 0.08em;
}

.comodo-app-switcher-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.comodo-app-switcher-copy strong,
.comodo-app-switcher-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comodo-app-switcher-copy strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.25;
}

.comodo-app-switcher-copy small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 2px;
}

.comodo-app-switcher-item em {
  color: #94a3b8;
  flex: 0 0 auto;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
}

/* Production contrast guardrails for the inbox list. */
body.task-mail:not(.comodo-demo) #messagelist tr,
body.task-mail:not(.comodo-demo) #messagelist .message {
  background: #ffffff !important;
}

body.task-mail:not(.comodo-demo) #messagelist td {
  border-bottom: 1px solid #e2e8f0 !important;
}

body.task-mail:not(.comodo-demo) #messagelist .fromto,
body.task-mail:not(.comodo-demo) #messagelist td.fromto,
body.task-mail:not(.comodo-demo) #messagelist .fromto a {
  color: #0f172a !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}

body.task-mail:not(.comodo-demo) #messagelist td.subject > .subject,
body.task-mail:not(.comodo-demo) #messagelist td.subject > .subject a,
body.task-mail:not(.comodo-demo) #messagelist .subject .subject {
  color: #475569 !important;
  opacity: 1 !important;
}

body.task-mail:not(.comodo-demo) #messagelist .date,
body.task-mail:not(.comodo-demo) #messagelist td.date,
body.task-mail:not(.comodo-demo) #messagelist .size,
body.task-mail:not(.comodo-demo) #messagelist td.size {
  color: #475569 !important;
  opacity: 1 !important;
}

body.task-mail:not(.comodo-demo) #messagelist tr.unread .fromto,
body.task-mail:not(.comodo-demo) #messagelist tr.unread td.subject > .subject {
  color: #0f172a !important;
  font-weight: 760 !important;
}

@media screen and (max-width: 820px) {
  .comodo-app-switcher {
    height: 44px;
    width: 44px;
  }

  #taskmenu .comodo-app-switcher-trigger {
    border-color: rgba(223, 243, 232, 0.15);
    color: #dff3e8;
  }

  .comodo-app-switcher-menu {
    bottom: 76px;
    left: auto;
    max-height: calc(100dvh - 100px);
    right: 12px;
    top: auto;
    width: min(320px, calc(100vw - 24px));
  }
}
