@font-face {
  font-family: Inter;
  src: url('../fonts/Inter.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('../fonts/Manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bh-navy: #101c32;
  --bh-petrol: #0f766e;
  --bh-turquoise: #2dd4bf;
  --bh-ice: #e8f4f3;
  --bh-line: #d8e3eb;
  --bh-muted: #526175;
  --bh-white: #fff;
}

body:not(.task-login) {
  color: var(--bh-navy);
  font-family: Inter, Arial, sans-serif;
}

body:not(.task-login) h1,
body:not(.task-login) h2,
body:not(.task-login) .header-title,
body:not(.task-login) #message-header .subject {
  font-family: Manrope, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body:not(.task-login) .btn-primary,
body:not(.task-login) .button.mainaction {
  border-color: var(--bh-petrol);
  background: var(--bh-petrol);
}

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

body:not(.task-login) a {
  color: var(--bh-petrol);
}

body:not(.task-login) #remote-objects-message .boxbuttons a,
body:not(.task-login) #remote-objects-message .boxbuttons a:hover,
body:not(.task-login) #remote-objects-message .boxbuttons a:focus-visible {
  color: #fff;
}

body:not(.task-login) .listing li.selected,
body:not(.task-login) .listing tr.selected td,
body:not(.task-login) .menu.toolbar a:hover,
body:not(.task-login) .menu.toolbar a:focus {
  background-color: #ddf7ee;
}

body:not(.task-login) .listing li.selected a,
body:not(.task-login) .listing tr.selected td {
  color: var(--bh-navy);
}

body:not(.task-login) :focus-visible {
  outline: 2px solid var(--bh-petrol);
  outline-offset: 2px;
}

body.bh-suite-active .bh-home {
  box-sizing: border-box;
}

.task-login,
.task-login.dark-mode {
  background: var(--bh-navy);
}

.task-login .bytehost-login-card {
  border-color: var(--bh-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.task-login .bytehost-eyebrow,
.task-login .bytehost-subtitle {
  color: var(--bh-petrol);
}

.task-login #rcmloginsubmit {
  border-color: var(--bh-petrol);
  background: var(--bh-petrol);
}

.task-login #rcmloginsubmit:hover {
  background: #115e59;
}

.task-login .bytehost-login-footer {
  color: #c1cdd9;
}

@media (min-width: 1200px) {
  html.bh-pilot-booting body:is(.task-mail, .task-addressbook, .task-settings) #layout {
    visibility: hidden;
  }

  body.bh-pilot-desktop #layout {
    display: grid;
    grid-template-columns: 242px minmax(380px, 29%) minmax(0, 1fr);
    grid-template-rows: 64px minmax(0, 1fr);
    height: 100dvh;
    background: var(--bh-white);
  }

  body.bh-pilot-desktop #layout-menu {
    display: none;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #layout {
    grid-template-columns: 64px minmax(380px, 32%) minmax(0, 1fr);
  }

  body.bh-pilot-desktop .bh-topbar {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 242px minmax(0, 1fr) 310px;
    align-items: center;
    min-width: 0;
    border-bottom: 1px solid #203b50;
    background: #071e30;
    color: #fff;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-topbar {
    grid-template-columns: 64px minmax(0, 1fr) 310px;
  }

  .bh-brand-slot {
    display: flex;
    min-width: 0;
    align-items: center;
  }

  .bh-brand {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 64px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 12px;
    text-decoration: none;
  }

  .bh-brand img {
    display: block;
    width: min(158px, 100%);
    height: 39px;
    object-fit: contain;
    object-position: left center;
  }

  .bh-brand-caption {
    padding-left: 42px;
    color: #d7e8eb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
  }

  .bh-sidebar-toggle {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    margin-right: 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #d7e8eb;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }

  .bh-sidebar-toggle:hover,
  .bh-sidebar-toggle:focus-visible {
    background: #203b50;
    color: #fff;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-brand {
    display: none;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-sidebar-toggle {
    margin: 0 auto;
  }

  .bh-top-search {
    position: relative;
    width: min(100%, 520px);
    padding: 0 12px;
  }

  .bh-search-shortcut {
    position: absolute;
    top: 50%;
    right: 86px;
    transform: translateY(-50%);
    color: #dce9ef;
    font-size: 11px;
    pointer-events: none;
  }

  body.bh-pilot-desktop #layout .bh-top-search .searchbar {
    position: static;
    display: flex;
    width: 100%;
    height: 40px;
    margin: 0;
    border: 1px solid #456071;
    border-radius: 8px;
    background: #334e61;
    color: #fff;
  }

  body.bh-pilot-desktop #layout .bh-top-search .searchbar form,
  body.bh-pilot-desktop #layout .bh-top-search .searchbar form::before,
  body.bh-pilot-desktop #layout .bh-top-search .searchbar > a,
  body.bh-pilot-desktop #layout .bh-top-search .searchbar > button {
    border: 0;
    background: transparent;
    color: #fff;
  }

  body.bh-pilot-desktop #layout .bh-top-search .searchbar form {
    gap: 8px;
  }

  body.bh-pilot-desktop #mailsearchform {
    min-width: 0;
    height: 38px;
    flex: 1;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 14px;
  }

  body.bh-pilot-desktop #mailsearchform::placeholder {
    color: #e8f1f5;
    opacity: 1;
  }

  .bh-top-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 18px;
  }

  .bh-top-actions > .refresh {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0;
  }

  .bh-top-actions > .refresh .inner {
    display: none;
  }

  .bh-top-actions > .refresh::before {
    color: #fff;
  }

  .bh-account {
    position: relative;
  }

  .bh-account-button {
    display: flex;
    max-width: 290px;
    align-items: center;
    gap: 10px;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
  }

  .bh-account-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #dff0ed;
    color: var(--bh-navy);
    font-size: 12px;
    font-weight: 700;
  }

  .bh-account-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bh-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    transform: rotate(45deg) translateY(-2px);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    font-size: 0;
  }

  .bh-account-menu {
    position: absolute;
    z-index: 1000;
    top: 44px;
    right: 0;
    width: 190px;
    padding: 6px;
    border: 1px solid var(--bh-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 28, 50, .16);
  }

  .bh-account-menu[hidden] {
    display: none;
  }

  .bh-account-menu .special-buttons {
    display: flex;
    flex-direction: column;
  }

  .bh-account-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 4px;
    color: var(--bh-navy);
    text-decoration: none;
  }

  body.bh-pilot-desktop #layout-sidebar,
  body.bh-pilot-desktop #layout-list,
  body.bh-pilot-desktop #layout-content {
    grid-row: 2;
    min-width: 0;
    max-width: none;
    width: auto;
    height: auto;
    min-height: 0;
    flex: none;
    background: #fff;
  }

  body.bh-pilot-desktop #layout-sidebar {
    grid-column: 1;
    border-right: 1px solid var(--bh-line);
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar #folderlist-content {
    padding: 0 5px;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .bh-compose {
    margin: 14px 7px 10px;
    font-size: 0;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .bh-compose .inner,
  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .bh-sidebar-nav .inner,
  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .footer,
  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .unreadcount {
    display: none !important;
  }

  .bh-compose-icon {
    display: none;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-compose-icon {
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #layout-sidebar .bh-compose::before {
    display: none;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #mailboxlist li > a,
  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-sidebar-nav > a {
    display: flex;
    width: 50px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed #mailboxlist li > a::before,
  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-sidebar-nav > a::before {
    float: none;
    width: auto;
    margin: 0;
    font-size: 18px;
  }

  body.bh-pilot-desktop.bh-sidebar-collapsed .bh-sidebar-nav {
    padding: 0 7px;
  }

  body.bh-pilot-desktop #layout-sidebar > .header {
    display: none;
  }

  body.bh-pilot-desktop .bh-compose {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 14px 14px 10px;
    border-radius: 7px;
    background: var(--bh-petrol);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  body.bh-pilot-desktop .bh-compose:hover {
    background: #115e59;
    color: #fff;
  }

  body.bh-pilot-desktop .bh-compose::before {
    margin-right: 10px;
    font-size: 16px;
  }

  body.bh-pilot-desktop #folderlist-content {
    flex: 1;
    min-height: 0;
    padding: 0 10px;
  }

  body.bh-pilot-desktop #mailboxlist li {
    margin: 2px 0;
    border: 0;
    border-radius: 6px;
  }

  body.bh-pilot-desktop #mailboxlist li > a {
    min-height: 36px;
    border-radius: 6px;
    color: var(--bh-navy);
    font-size: 13px;
    font-weight: 500;
    line-height: 36px;
  }

  body.bh-pilot-desktop #mailboxlist li.selected > a {
    background: #ddf7ee;
    color: var(--bh-navy);
    font-weight: 700;
  }

  body.bh-pilot-desktop .bh-sidebar-nav {
    padding: 8px 14px 0;
    border-top: 1px solid var(--bh-line);
  }

  body.bh-pilot-desktop .bh-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  body.bh-pilot-desktop .bh-sidebar-nav > a {
    display: flex;
    min-height: 32px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 5px;
    color: var(--bh-navy);
    font-size: 13px;
    text-decoration: none;
  }

  body.bh-pilot-desktop .bh-sidebar-nav > a::before {
    display: inline-block;
    width: 20px;
    margin-right: 7px;
    font-family: Icons;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
  }

  body.bh-pilot-desktop .bh-sidebar-nav > a.contacts::before { content: "\f0c0"; }
  body.bh-pilot-desktop .bh-sidebar-nav > a.button-bytehost-home::before { content: "\f015"; }
  body.bh-pilot-desktop .bh-sidebar-nav > a.button-bytehost-calendar::before { content: "\f073"; }
  body.bh-pilot-desktop .bh-sidebar-nav > a.settings::before { content: "\f013"; }

  body.bh-pilot-desktop .bh-sidebar-nav > a .inner {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #layout-sidebar > .footer {
    display: grid;
    box-sizing: border-box;
    min-height: 48px;
    height: 48px;
    max-height: 48px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-top: 1px solid var(--bh-line);
    background: #fff;
    color: var(--bh-muted);
    font-size: 12px;
  }

  body.bh-pilot-desktop .bh-quota-heading {
    color: var(--bh-navy);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #quotadisplay {
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 0;
  }

  body.bh-pilot-desktop #quotadisplay::before {
    font-size: 13px;
  }

  body.bh-pilot-desktop #quotadisplay .bar {
    min-width: 20px;
    margin: 0 6px;
  }

  body.bh-pilot-desktop #quotadisplay .count {
    white-space: nowrap;
  }

  body.bh-pilot-desktop #layout-list {
    grid-column: 2;
    border-right: 1px solid var(--bh-line);
  }

  body.bh-pilot-desktop #messagelist-header {
    display: flex;
    box-sizing: border-box;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 14px;
    border-bottom: 1px solid var(--bh-line);
    background: #fff;
    color: var(--bh-navy);
  }

  body.bh-pilot-desktop #messagelist-header .header-title {
    display: none;
  }

  body.bh-pilot-desktop .bh-folder-heading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 1px;
  }

  body.bh-pilot-desktop .bh-folder-name {
    overflow: hidden;
    color: var(--bh-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bh-pilot-desktop .bh-folder-count {
    color: var(--bh-muted);
    font-size: 12px;
    line-height: 1.3;
  }

  body.bh-pilot-desktop #messagelist-header .toolbar {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    margin-left: auto;
  }

  body.bh-pilot-desktop #messagelist-header .toolbar a {
    display: inline-flex;
    width: 30px;
    min-width: 30px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--bh-muted);
    font-size: 0;
  }

  body.bh-pilot-desktop #messagelist-header .toolbar a::before {
    font-size: 16px;
  }

  body.bh-pilot-desktop #messagelist-header .toolbar a .inner {
    display: none;
  }

  body.bh-pilot-desktop #messagelist-content {
    min-height: 0;
    background: #fff;
  }

  body.bh-pilot-desktop #messagelist tr {
    height: 42px;
  }

  body.bh-pilot-desktop #messagelist td {
    height: 42px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--bh-line);
    background: #fff;
  }

  body.bh-pilot-desktop #messagelist tr.selected td {
    background: #e3f6f3;
  }

  body.bh-pilot-desktop #messagelist td.subject {
    position: relative;
    align-content: center;
    box-sizing: border-box;
    min-height: 0;
    padding: 2px 10px 2px 52px;
  }

  body.bh-pilot-desktop #messagelist td.subject .bh-avatar {
    position: absolute;
    top: 50%;
    left: 17px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #dff0ed;
    color: var(--bh-navy);
    font-size: 9px;
    font-weight: 700;
    transform: translateY(-50%);
  }

  body.bh-pilot-desktop #messagelist td.subject span.fromto,
  body.bh-pilot-desktop #messagelist td.subject span.subject {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    color: var(--bh-navy);
    font-size: 12px;
    line-height: 1.25;
  }

  body.bh-pilot-desktop #messagelist td.subject span.fromto {
    overflow: hidden;
    padding-right: 110px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #messagelist td.subject span.subject {
    display: block;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #messagelist td.subject span.date {
    position: absolute;
    top: 3px;
    right: 12px;
    color: var(--bh-muted);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #messagelist td.subject span.msgicon.status {
    position: absolute;
    top: 50%;
    left: -1px;
    transform: translateY(-50%);
  }

  body.bh-pilot-desktop #messagelist tr.unread td.subject span.msgicon.status::before {
    color: #0ba895;
  }

  body.bh-pilot-desktop #layout-content {
    grid-column: 3;
  }

  body.bh-pilot-desktop #layout-content > .header {
    display: flex;
    height: 72px;
    min-height: 72px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--bh-line);
    background: #fff;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu {
    display: flex !important;
    float: none !important;
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 0 8px;
    border: 1px solid #d8e3eb !important;
    border-radius: 7px;
    background: #f8fafb !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu > li > a,
  body.bh-pilot-desktop #layout-content #toolbar-menu > li > span.dropbutton > a {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    min-width: 30px;
    max-width: none !important;
    height: 36px !important;
    align-items: center;
    flex-direction: row !important;
    justify-content: center;
    padding: 0 6px !important;
    color: var(--bh-navy);
    font-size: 13px !important;
    white-space: nowrap;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu a::before {
    display: inline-block !important;
    width: 17px !important;
    height: auto !important;
    flex: 0 0 auto;
    margin-right: 5px !important;
    line-height: 1 !important;
    font-size: 16px;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropbutton {
    display: inline-flex !important;
    float: none !important;
    align-items: center;
    height: 36px;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu a .inner {
    display: inline !important;
    margin-left: 0;
    font-size: 13px !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropdown {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropdown .inner {
    display: none !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropdown::before {
    width: 12px !important;
    margin: 0 !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu > li.spacer {
    flex: 0 0 1px;
    width: 1px;
    height: 20px;
    margin: 0 3px;
    background: var(--bh-line);
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu a.disabled {
    color: #8a99a9;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu > li {
    display: flex;
    float: none !important;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
    height: 36px;
    padding: 0;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu > li:has(> .compose.hidden),
  body.bh-pilot-desktop #layout-content #toolbar-menu > li:has(> a[id$="-clone"]),
  body.bh-pilot-desktop #layout-content #toolbar-menu > li.spacer {
    display: none !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu > li > a,
  body.bh-pilot-desktop #layout-content #toolbar-menu > li .dropbutton > a:not(.dropdown) {
    flex: 0 0 auto;
    max-width: none !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropbutton > a.dropdown {
    flex: 0 0 12px;
    width: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    padding: 0 !important;
  }

  body.bh-pilot-desktop #layout-content #toolbar-menu .dropbutton > a.dropdown .inner {
    display: none !important;
  }

  body.bh-pilot-desktop .iframe-wrapper {
    min-height: 0;
  }

  body.bh-pilot-page #layout {
    display: grid;
    grid-template-columns: 242px minmax(300px, 29%) minmax(0, 1fr);
    grid-template-rows: 64px minmax(0, 1fr);
    height: 100dvh;
    background: var(--bh-white);
  }

  body.bh-pilot-page #layout-menu {
    display: none;
  }

  body.bh-pilot-page .bh-topbar {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    min-width: 0;
    align-items: center;
    border-bottom: 1px solid #203b50;
    background: #071e30;
    color: #fff;
  }

  body.bh-pilot-page .bh-brand {
    flex: 0 0 242px;
    width: 242px;
  }

  .bh-page-nav {
    display: flex;
    min-width: 0;
    height: 100%;
    align-items: center;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bh-page-nav::-webkit-scrollbar {
    display: none;
  }

  .bh-page-nav a {
    display: inline-flex;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 12px;
    border-radius: 5px;
    color: #d5e5ed !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
  }

  .bh-page-nav a:hover,
  .bh-page-nav a:focus-visible {
    background: #203b50;
    color: #fff !important;
  }

  .bh-page-nav a.active {
    background: #164c59;
    color: #fff !important;
    font-weight: 700;
  }

  body.bh-pilot-page .bh-top-actions {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 12px;
    padding-right: 18px;
  }

  body.bh-pilot-page .bh-page-compose {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 5px;
    background: var(--bh-petrol);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  body.bh-pilot-page .bh-page-compose::before {
    content: '\f0e0';
    font-family: Icons;
    font-size: 15px;
    font-weight: 900;
  }

  body.bh-pilot-page .bh-page-compose:hover {
    background: #115e59;
  }

  body.bh-pilot-page #layout-sidebar,
  body.bh-pilot-page #layout-list,
  body.bh-pilot-page #layout-content {
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    max-width: none;
    width: auto;
    height: auto;
    flex: none;
    background: var(--bh-white);
  }

  body.bh-pilot-page #layout-sidebar {
    grid-column: 1;
    border-right: 1px solid var(--bh-line);
  }

  body.bh-pilot-page #layout-list {
    grid-column: 2;
    border-right: 1px solid var(--bh-line);
  }

  body.bh-pilot-page #layout-content {
    grid-column: 3;
  }

  body.bh-pilot-page :is(#layout-sidebar, #layout-list, #layout-content) > .header {
    box-sizing: border-box;
    min-height: 58px;
    border-bottom: 1px solid var(--bh-line);
    background: var(--bh-white);
    color: var(--bh-navy);
  }

  body.bh-pilot-page :is(#layout-sidebar, #layout-list, #layout-content) > .header .header-title {
    color: var(--bh-navy);
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
  }

  body.bh-pilot-page #layout-sidebar .listing li,
  body.bh-pilot-page #layout-list .listing li {
    border-color: var(--bh-line);
  }

  body.bh-pilot-page #layout-sidebar .listing li.selected,
  body.bh-pilot-page #layout-list .listing li.selected {
    background: #ddf7ee;
  }

  body.bh-pilot-page #layout-list .searchbar {
    border-bottom: 1px solid var(--bh-line);
  }

  body.bh-pilot-page :is(#layout-sidebar, #layout-list) .listing li > a {
    color: var(--bh-navy);
    font-size: 13px;
  }

  body.bh-pilot-page :is(#layout-sidebar, #layout-list) .listing li.selected > a {
    color: #075e57;
    font-weight: 650;
  }

  body.bh-pilot-page #layout-content .form-control,
  body.bh-pilot-page #layout-content select,
  body.bh-pilot-page #layout-content textarea {
    border-color: var(--bh-line);
    border-radius: 5px;
    color: var(--bh-navy);
    font-size: 13px;
  }

  body.bh-pilot-page.task-mail.action-compose #layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  body.bh-pilot-page.task-mail.action-compose #layout-content {
    grid-column: 1;
  }

  body.bh-pilot-page.task-mail.action-compose #layout-sidebar {
    grid-column: 2;
    border-right: 0;
    border-left: 1px solid var(--bh-line);
    background: #f8fafb;
  }

  body.bh-pilot-page.task-mail.action-compose #compose-content,
  body.bh-pilot-page.task-mail.action-compose #compose-headers,
  body.bh-pilot-page.task-mail.action-compose #composebody {
    background: var(--bh-white);
  }

  body.bh-pilot-page.task-mail.action-compose #compose-headers {
    border-bottom: 1px solid var(--bh-line);
  }

  body.bh-pilot-page.task-mail:not(.action-compose) #layout-content {
    grid-column: 1 / -1;
  }

  body.bh-pilot-page:has(.bh-home) #layout-content > .header,
  body.bh-pilot-page:has(.bh-calendar-app) #layout-content > .header,
  body.bh-pilot-page:has(.bh-booking-app) #layout-content > .header,
  body.bh-pilot-page:has(.bh-suite) #layout-content > .header {
    display: none;
  }

  body.bh-pilot-page #layout-content .bh-booking-new,
  body.bh-pilot-page #layout-content .bh-booking-new:hover {
    color: #fff;
  }

  body.bh-pilot-page .bh-suite {
    max-width: none;
    padding: 22px 28px;
  }

  body.bh-pilot-page .bh-suite-header {
    align-items: center;
    margin-bottom: 16px;
  }

  body.bh-pilot-page .bh-suite-header h1 {
    font-size: 22px;
  }

  body.bh-pilot-page .bh-suite-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.bh-pilot-page .bh-upload {
    display: grid;
    grid-template-columns: minmax(240px, 460px) auto;
    justify-content: start;
    align-items: end;
    gap: 8px 12px;
    margin-bottom: 8px;
  }

  body.bh-pilot-page .bh-upload label {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--bh-navy);
    font-size: 13px;
  }

  body.bh-pilot-page .bh-upload input[type='file'] {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--bh-line);
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
  }

  body.bh-pilot-page .bh-upload .button {
    height: 36px;
    margin: 0;
    white-space: nowrap;
  }

  body.bh-pilot-page .bh-help {
    margin: 8px 0 18px;
  }

  body.bh-pilot-page .bh-calendar-upcoming {
    width: 242px;
    padding: 20px 16px;
  }

  body.bh-pilot-page .bh-calendar-shell {
    grid-template-columns: 242px minmax(0, 1fr);
  }

  body.bh-pilot-page .bh-calendar-toolbar {
    padding: 0 20px;
  }
}

.task-mail:is(.action-show, .action-preview) #message-header {
  padding: 22px 24px 12px;
  background: #fff;
}

.task-mail:is(.action-show, .action-preview) #message-header .subject {
  margin-bottom: 18px;
  color: var(--bh-navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.task-mail:is(.action-show, .action-preview) #message-header > .header {
  border-top: 1px solid var(--bh-line);
  color: var(--bh-navy);
}

.task-mail:is(.action-show, .action-preview) #message-content {
  background: #fff;
}

.task-mail:is(.action-show, .action-preview) #message-content .rightcol {
  padding: 12px 24px 24px;
}

.task-mail:is(.action-show, .action-preview) #message-content .pre,
.task-mail:is(.action-show, .action-preview) #message-content pre {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.task-mail:is(.action-show, .action-preview) #attachment-list {
  border-color: var(--bh-line);
  background: #f8fafb;
}

.task-mail.action-compose #layout-content,
.task-addressbook #layout-content,
.task-settings #layout-content {
  background: #fff;
}

html.dark-mode body:not(.task-login) {
  --bh-navy: #f8fafc;
  --bh-white: #17283d;
  --bh-line: #34485d;
  --bh-muted: #a8bacb;
  background: #101c32;
  color: #f8fafc;
}

html.dark-mode body.bh-pilot-desktop .bh-topbar {
  background: #071e30;
}

html.dark-mode body.bh-pilot-page #layout,
html.dark-mode body.bh-pilot-page :is(#layout-sidebar, #layout-list, #layout-content),
html.dark-mode body.bh-pilot-page :is(#layout-sidebar, #layout-list, #layout-content) > .header,
html.dark-mode body.bh-pilot-page.task-mail.action-compose #compose-content,
html.dark-mode body.bh-pilot-page.task-mail.action-compose #compose-headers {
  background: #17283d;
  color: #f8fafc;
}

html.dark-mode body.bh-pilot-page .bh-suite-panel {
  background: #17283d;
}

html.dark-mode body.bh-pilot-page #layout-sidebar .listing li.selected,
html.dark-mode body.bh-pilot-page #layout-list .listing li.selected {
  background: #134e4a;
}

html.dark-mode body.bh-pilot-desktop #layout-sidebar,
html.dark-mode body.bh-pilot-desktop #layout-list,
html.dark-mode body.bh-pilot-desktop #layout-content {
  background: #17283d;
}

html.dark-mode body.bh-pilot-desktop #messagelist-header,
html.dark-mode body.bh-pilot-desktop #layout-content > .header,
html.dark-mode body.bh-pilot-desktop #layout-sidebar > .footer,
html.dark-mode body.bh-pilot-desktop #messagelist td {
  background: #17283d;
  color: #f8fafc;
}

html.dark-mode body.bh-pilot-desktop #messagelist tr.selected td,
html.dark-mode body.bh-pilot-desktop #mailboxlist li.selected > a {
  background: #134e4a;
  color: #f8fafc;
}

html.dark-mode body.bh-pilot-desktop #mailboxlist li > a,
html.dark-mode body.bh-pilot-desktop .bh-sidebar-nav > a,
html.dark-mode body.bh-pilot-desktop #messagelist td.subject span.fromto,
html.dark-mode body.bh-pilot-desktop #messagelist td.subject span.subject {
  color: #f8fafc;
}

html.dark-mode body.bh-pilot-desktop #layout-content #toolbar-menu {
  background: #203950;
}

html.dark-mode body.bh-pilot-desktop #messagelist td.subject .bh-avatar,
html.dark-mode body:not(.task-login) .bh-account-avatar {
  background: #2c615f;
  color: #f8fafc;
}

html.dark-mode body.task-mail:is(.action-show, .action-preview) #message-header,
html.dark-mode body.task-mail:is(.action-show, .action-preview) #message-content {
  background: #17283d;
  color: #f8fafc;
}

html.dark-mode body.task-mail:is(.action-show, .action-preview) #message-header .subject {
  color: #f8fafc;
}

@media (min-width: 1200px) {
  body.bh-pilot-desktop #messagelist tr.unread:not(.selected) td {
    background: #edf8f6;
  }

  body.bh-pilot-desktop #messagelist tr.unread td.subject {
    box-shadow: inset 3px 0 #008e80;
  }

  body.bh-pilot-desktop #messagelist tr.unread td.subject span.fromto {
    font-weight: 700;
  }

  body.bh-pilot-desktop #messagelist tr.unread td.subject span.subject {
    font-weight: 600;
  }

  body.bh-pilot-desktop #messagelist tr:not(.unread):not(.selected) td.subject span.subject {
    color: #536579;
  }

  html.dark-mode body.bh-pilot-desktop #messagelist tr.unread:not(.selected) td {
    background: #23404b;
  }

  html.dark-mode body.bh-pilot-desktop #messagelist tr.unread td.subject {
    box-shadow: inset 3px 0 #2dd4bf;
  }

  html.dark-mode body.bh-pilot-desktop #messagelist tr:not(.unread):not(.selected) td.subject span.subject {
    color: #b9c9d7;
  }
}

@media (max-width: 1199px) {
  .bh-topbar {
    display: none;
  }

  body.bh-suite-active #layout-content > .header {
    display: none;
  }

  body.bh-suite-active .bh-suite-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.bh-suite-active .bh-suite {
    max-width: none;
  }

  #layout-menu .popover-header {
    background-color: #071e30;
  }

  #layout-menu img#logo {
    content: url('../images/logo-kit-dark.png');
    width: 50px;
    height: 36px;
  }
}

@media (max-width: 460px) {
  .task-login,
  .task-login.dark-mode {
    background: #fff;
  }

  .task-login .bytehost-login-card {
    box-shadow: none;
  }

  .task-login .bytehost-login-footer {
    color: var(--bh-muted);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-account-menu,
  .bh-compose {
    transition: none;
  }
}
