.hx-mail-landing .hx-wh-hero { min-height: 500px; padding: 26px 0 46px; }
.hx-mail-landing .hx-wh-hero-media { min-height: 0; align-self: center; }
.hx-mail-laptop { width: min(100%, 630px); margin: 0 auto; }
.hx-mail-laptop-screen { position: relative; padding: 9px 8px 6px; border: 1px solid #385454; border-radius: 17px 17px 5px 5px; background: linear-gradient(140deg, #223c3b, #122c2d); box-shadow: 0 23px 58px #073d3455; }
.hx-mail-laptop-screen::before { position: absolute; top: 3px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #7da29c; content: ""; }
.hx-mail-laptop-base { position: relative; width: min(calc(100% + 34px), calc(100vw - 16px)); height: 15px; margin-left: 50%; transform: translateX(-50%); border-radius: 2px 2px 14px 14px; background: linear-gradient(#e5eee9, #9bb1aa 73%, #688a81); box-shadow: 0 9px 14px #073d3430; }
.hx-mail-laptop-base i { display: block; width: 18%; height: 5px; margin: 0 auto; border-radius: 0 0 7px 7px; background: #9db4ab; }
@keyframes hx-mail-cursor-tap { 0%, 45%, 100% { transform: translateY(-2px) rotate(-8deg) scale(1); } 55%, 70% { transform: translateY(2px) rotate(0) scale(.88); } 80% { transform: translateY(-2px) rotate(-8deg) scale(1); } }
.hx-mail-preview { box-sizing: border-box; width: 100%; overflow: hidden; border: 1px solid #d9eee3; border-radius: 9px 9px 2px 2px; background: #edf5ee; color: #234a3b; text-align: left; }
.hx-mail-preview * { box-sizing: border-box; }
.hx-mail-preview-top { display: flex; height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; border-bottom: 1px solid #e5f0e9; background: linear-gradient(110deg, #fcfffd, #f1faf4); }
.hx-mail-preview-top img { display: block; width: 145px; height: auto; }
.hx-mail-preview-top span { display: inline-flex; align-items: center; gap: 6px; color: #6d8a7b; font-size: 10px; font-weight: 650; white-space: nowrap; }
.hx-mail-preview-top .hx-mail-preview-top-actions { gap: 6px; }
.hx-mail-preview-top .hx-mail-preview-top-actions i { width: 7px; height: 7px; border-radius: 50%; background: #b8d5c5; }
.hx-mail-preview-top .hx-mail-preview-top-actions i:first-child { background: #35bc8d; }
.hx-mail-preview-tabs { display: flex; gap: 5px; padding: 5px 9px; border-bottom: 1px solid #e3eee8; background: #f8fcf8; }
.hx-mail-preview-tabs button { display: flex; min-width: 0; height: 29px; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #698579; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.hx-mail-preview-tabs button:hover { background: #edf5ee; color: #137c5b; }
.hx-mail-preview-tabs button[aria-selected="true"] { border-color: #cfe9d8; background: #e4f5e9; color: #147c5b; }
.hx-mail-preview-tabs button:focus-visible, .hx-mail-preview-message:focus-visible { outline: 2px solid #13a377; outline-offset: -3px; }
.hx-mail-preview-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-mail-preview-panel { height: 275px; background: #f9fcf9; }
.hx-mail-preview-panel[hidden] { display: none !important; }
.hx-mail-preview-mail { display: grid; grid-template-columns: 115px minmax(0, 1fr); }
.hx-mail-preview-sidebar { display: flex; flex-direction: column; gap: 4px; padding: 15px 8px; border-right: 1px solid #d9e9dd; background: #edf5ee; }
.hx-mail-preview-compose { display: grid; min-height: 31px; place-items: center; margin-bottom: 11px; border-radius: 6px; background: #138258; color: #fff; font-size: 10px; font-weight: 750; }
.hx-mail-preview-sidebar span { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 3px; padding: 0 6px; border-radius: 6px; color: #708a7e; font-size: 10px; white-space: nowrap; }
.hx-mail-preview-sidebar .is-current { background: #dff4e9; color: #147953; font-weight: 750; }
.hx-mail-preview-sidebar b { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 5px; background: #29b88a; color: #fff; font-size: 10px; }
.hx-mail-preview-main { display: grid; min-width: 0; grid-template-columns: minmax(0, 45%) minmax(0, 55%); padding: 0; background: #fff; }
.hx-mail-preview-list { position: relative; z-index: 1; min-width: 0; padding: 11px 10px; border-right: 1px solid #e2eee6; }
.hx-mail-preview-title { display: flex; min-height: 33px; align-items: center; justify-content: space-between; gap: 10px; }
.hx-mail-preview-title strong { color: #244a3d; font-size: 14px; font-weight: 750; }
.hx-mail-preview-title span { color: #839a8e; font-size: 10px; }
.hx-mail-preview-message { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 9px; padding: 5px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #315447; font: inherit; text-align: left; cursor: pointer; }
.hx-mail-preview-message:hover { background: #f3faf5; }
.hx-mail-preview-message.is-selected { border-color: #d9efe2; border-left: 3px solid #2daa79; background: #edf8f0; }
.hx-mail-preview-message i { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #d4eddd; color: #18855d; font-size: 12px; font-style: normal; font-weight: 800; }
.hx-mail-preview-message:nth-of-type(3) i { background: #e4e9fa; color: #6175ab; }
.hx-mail-preview-message span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.hx-mail-preview-message b, .hx-mail-preview-message em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-mail-preview-message b { font-size: 10px; font-weight: 750; }
.hx-mail-preview-message em { color: #718a7c; font-size: 10px; font-style: normal; }
.hx-mail-preview-message small { align-self: flex-start; margin-top: 3px; color: #8ba196; font-size: 9px; white-space: nowrap; }
.hx-mail-preview-reading { min-width: 0; margin: 0; padding: 19px 15px; background: #f6faf6; }
.hx-mail-preview-reading strong { display: block; color: #274e3f; font-size: 12px; line-height: 1.35; }
.hx-mail-preview-reading p { margin: 14px 0 12px; color: #607a6c; font-size: 11px; line-height: 1.5; }
.hx-mail-preview-reading span { display: block; overflow-wrap: anywhere; color: #1e9b70; font-size: 10px; font-weight: 650; }
.hx-mail-preview-calendar, .hx-mail-preview-contacts { padding: 13px 17px; }
.hx-mail-preview-week { display: grid; grid-template-columns: repeat(5, 1fr); margin: 9px 0 6px 41px; color: #6e897c; text-align: center; }
.hx-mail-preview-week span { font-size: 9px; font-weight: 700; }
.hx-mail-preview-schedule { overflow: hidden; border: 1px solid #e5f0e8; border-radius: 9px; }
.hx-mail-preview-schedule > div { display: grid; grid-template-columns: 40px repeat(5, 1fr); min-height: 47px; border-top: 1px solid #e5f0e8; }
.hx-mail-preview-schedule > div:first-child { border-top: 0; }
.hx-mail-preview-schedule small { padding: 8px 0 0 6px; background: #f8fbf8; color: #8aa195; font-size: 9px; }
.hx-mail-preview-schedule span { min-width: 0; border-left: 1px solid #e5f0e8; }
.hx-mail-preview-schedule .hx-mail-preview-event { display: flex; flex-direction: column; justify-content: center; gap: 3px; margin: 4px 2px; padding: 3px 4px; border: 0; border-radius: 5px; background: #d9f3e7; color: #147c58; font-size: 8px; font-weight: 750; line-height: 1.15; }
.hx-mail-preview-event em { font-size: 8px; font-style: normal; font-weight: 500; }
.hx-mail-preview-schedule .hx-mail-preview-event.is-soft { background: #e8ecfc; color: #586dac; }
.hx-mail-preview-schedule .hx-mail-preview-event.is-dark { background: #dff2ee; color: #277e72; }
.hx-mail-preview-bottom { margin-top: 12px; padding: 10px 11px; border: 1px solid #e1efe7; border-radius: 8px; background: #f6fbf8; color: #587c69; font-size: 10px; line-height: 1.35; }
.hx-mail-preview-contact-list { display: grid; gap: 8px; margin-top: 11px; }
.hx-mail-preview-contact-list > div { display: flex; min-height: 43px; align-items: center; gap: 10px; padding: 5px 9px; border: 1px solid #e8f1eb; border-radius: 8px; background: #fcfefd; }
.hx-mail-preview-contact-list i { display: grid; flex: 0 0 31px; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: #dff2e5; color: #26845f; font-size: 10px; font-style: normal; font-weight: 800; }
.hx-mail-preview-contact-list > div:nth-child(2) i { background: #e8eafa; color: #6975ad; }
.hx-mail-preview-contact-list span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.hx-mail-preview-contact-list strong { color: #2b5340; font-size: 10px; }
.hx-mail-preview-contact-list small { overflow: hidden; color: #7f9588; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hx-mail-preview-contact-list b { padding: 3px 7px; border-radius: 5px; background: #e6f7ec; color: #32845b; font-size: 9px; font-weight: 650; }
@media (max-width: 1199px) {
    .hx-mail-landing .hx-wh-hero-inner { grid-template-columns: 1fr; gap: 26px; }
    .hx-mail-landing .hx-wh-hero-copy { text-align: center; }
    .hx-mail-landing .hx-wh-hero-badges { justify-content: center; }
    .hx-mail-landing .hx-wh-hero-media { width: min(100%, 630px); margin: 0 auto; }
}
@media (max-width: 767px) {
    .hx-mail-landing .hx-wh-hero { min-height: 0; padding: 42px 0 55px; }
}
@media (max-width: 420px) {
    .hx-mail-preview-top { padding: 0 12px; }
    .hx-mail-preview-top img { width: 125px; }
    .hx-mail-preview-top span { font-size: 9px; }
    .hx-mail-preview-mail { grid-template-columns: minmax(0, 1fr); }
    .hx-mail-preview-sidebar { display: none; }
    .hx-mail-preview-main { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
    .hx-mail-preview-list { padding: 8px 5px; }
    .hx-mail-preview-reading { padding: 16px 9px; }
    .hx-mail-preview-reading strong { font-size: 11px; }
    .hx-mail-preview-reading p { font-size: 10px; }
    .hx-mail-preview-reading span { font-size: 9px; }
    .hx-mail-preview-message { gap: 5px; padding: 5px 4px; }
    .hx-mail-preview-message small { font-size: 8px; }
    .hx-mail-preview-message i { flex-basis: 24px; width: 24px; height: 24px; }
    .hx-mail-preview-message small { display: none; }
    .hx-mail-preview-title span { display: none; }
    .hx-mail-preview-calendar, .hx-mail-preview-contacts { padding: 10px 9px; }
    .hx-mail-preview-week span { font-size: 8px; }
    .hx-mail-preview-schedule .hx-mail-preview-event { font-size: 7px; }
}

/* Compact, interactive webmail reading pane and in-screen guidance. */
.hx-mail-preview { position: relative; }
.hx-mail-preview-panel { height: 320px; }
.hx-mail-preview-tab-hint { position: absolute; z-index: 3; top: 50px; right: 8px; display: inline-flex; min-height: 29px; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid #9adbc1; border-radius: 999px; background: rgba(234, 250, 241, .76); backdrop-filter: blur(5px); box-shadow: 0 3px 12px #073d3428; color: #14664a; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.hx-mail-preview-tab-hint:hover { background: #e6f8ed; }
.hx-mail-preview-tab-hint:focus-visible { outline: 2px solid #148a66; outline-offset: 2px; }
.hx-mail-preview-tab-hint[hidden] { display: none; }
.hx-mail-preview-tab-hint svg { width: 18px; height: 18px; flex: 0 0 18px; fill: #28a879; stroke: #0f6d4d; stroke-width: .7; animation: hx-mail-cursor-tap 1.8s ease-in-out infinite; transform-origin: 45% 75%; }
.hx-mail-preview-message { min-height: 62px; }
.hx-mail-preview-message span { gap: 2px; }
.hx-mail-preview-message .hx-mail-preview-snippet { display: block; max-width: 100%; overflow: hidden; color: #91a196; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.hx-mail-preview-message time { align-self: flex-start; margin-top: 3px; color: #8ba196; font-size: 9px; white-space: nowrap; }
.hx-mail-preview-reading { overflow: auto; padding: 14px 11px; background: #fff; scrollbar-width: thin; }
.hx-mail-preview-reading > strong { margin-bottom: 11px; font-size: 11px; }
.hx-mail-preview-sender { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #edf2ed; padding-bottom: 7px; }
.hx-mail-preview-sender i { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #dcf2e4; color: #16805b; font-size: 9px; font-style: normal; font-weight: 800; }
.hx-mail-preview-sender span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 1px; }
.hx-mail-preview-sender b { overflow: hidden; color: #2a4f40; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hx-mail-preview-sender small { overflow: hidden; color: #82988b; font-size: 8px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.hx-mail-preview-sender time { color: #83978b; font-size: 8px; }
.hx-mail-preview-to { margin: 5px 0 10px 30px; color: #8b9c91; font-size: 8px; }
.hx-mail-preview-body p { margin: 0 0 8px; color: #526b5c; font-size: 9px; line-height: 1.45; }
.hx-mail-preview-body ul { margin: 0 0 8px; padding-left: 15px; color: #526b5c; font-size: 9px; line-height: 1.45; }
.hx-mail-preview-body li { margin: 0 0 2px; }
.hx-mail-preview-attachment { margin-top: 11px; padding: 7px 8px; border: 1px solid #dcebe0; border-radius: 6px; background: #f6fbf7; color: #377d5c; font-size: 8px; }
.hx-mail-preview-attachment[hidden] { display: none; }
.hx-mail-preview-attachment span { display: inline; color: inherit; font-size: inherit; font-weight: 650; }
@media (max-width: 420px) {
  .hx-mail-preview-tabs { gap: 1px; padding: 5px 4px; }
  .hx-mail-preview-tabs button { gap: 3px; padding: 0 4px; font-size: 9px; }
  .hx-mail-preview-tabs svg { width: 13px; height: 13px; }
  .hx-mail-preview-tab-hint { right: 3px; gap: 3px; padding: 3px 5px; font-size: 8px; }
  .hx-mail-preview-tab-hint svg { width: 14px; height: 14px; flex-basis: 14px; }
  .hx-mail-preview-message { min-height: 63px; }
  .hx-mail-preview-message time { display: none; }
  .hx-mail-preview-reading { padding: 12px 7px; }
  .hx-mail-preview-body p, .hx-mail-preview-body ul { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hx-mail-preview-tab-hint svg { animation: none; } }
