:root {
  --message-list-width: 320px;
  --rail: #26343b;
  --rail-active: #36505a;
  --accent: #26aeea;
  --accent-strong: #0b8fd0;
  --line: #d9e1e6;
  --surface: #f6f8fa;
  --panel: #ffffff;
  --text: #263238;
  --muted: #68757d;
  --danger: #d92d3a;
  --shadow: 0 12px 32px rgba(30, 43, 50, 0.12);
}

[data-bs-theme="dark"] {
  --rail: #151e23;
  --rail-active: #22323a;
  --line: #2b3b44;
  --surface: #10181d;
  --panel: #172228;
  --text: #edf4f7;
  --muted: #a7b4bb;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mail-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  height: 4px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mail-progress.is-active,
.mail-progress.is-finishing {
  opacity: 1;
  transform: translateY(0);
}

.mail-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8, #22d3ee);
  box-shadow: 0 0 12px rgba(38, 174, 234, 0.75);
  transition: width 180ms ease;
}

button,
input,
select {
  font: inherit;
}

.modal:not(.show),
.d-none {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

.rail {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  height: 64px;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  background: var(--rail);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8eef2 0 38%, #38bdf8 38% 70%, #26343b 70%);
  color: #13232b;
  font-weight: 800;
}

.rail-nav {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 4px;
}

.rail-bottom {
  display: grid;
  place-items: center;
}

.rail-btn {
  width: 64px;
  height: 54px;
  border: 0;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #edf7fb;
  background: transparent;
  font-size: 11px;
}

.rail-btn i {
  font-size: 20px;
  line-height: 1;
}

.rail-btn.active,
.rail-btn:focus-visible,
.rail-btn:hover {
  background: var(--rail-active);
  color: #4cc9ff;
}

.mail-app {
  min-width: 0;
  padding-bottom: 64px;
}

.topbar {
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

[data-bs-theme="dark"] .topbar {
  background: rgba(23, 34, 40, 0.96);
}

.address-box {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: end;
  justify-self: start;
  justify-items: start;
  gap: 10px 14px;
}

.address-text {
  min-width: 0;
  display: grid;
  justify-items: start;
  text-align: left;
}

.address-label {
  justify-self: center;
}

.address-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  align-self: end;
  padding-bottom: 5px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, max-content));
  gap: 10px;
  justify-content: center;
  max-width: 100%;
}

.top-stats div {
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  text-align: center;
}

.top-stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.top-stats strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
}

.address-label,
.eyebrow {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.address-box strong {
  display: block;
  max-width: min(100%, 720px);
  padding: 10px 20px;
  border: 1px solid #4ecbff;
  border-radius: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  cursor: pointer;
}

.address-box strong:hover,
.address-box strong:focus-visible {
  background: color-mix(in srgb, #4dcaff 14%, transparent);
  outline: none;
}

.address-timer {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
}

.icon-btn,
.tool-btn,
.attachment {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
}

.icon-btn {
  min-width: 0;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /*padding: 8px 12px;*/
  border-radius: 6px;
  font-weight: 700;
}

.icon-btn i {
  font-size: 18px;
}

.icon-btn span {
  font-size: 12px;
}

.icon-btn:hover,
.icon-btn:focus-visible,
.tool-btn:hover,
.tool-btn:focus-visible {
  border-color: var(--line);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ShareThis sticky buttons are injected outside our layout. Keep them clear of
   the app rail and bottom mobile navigation so they do not cover core controls. */
.st-sticky-share-buttons,
#st-1,
#st-2,
[id^="st-"].st-sticky-share-buttons,
.sharethis-sticky-share-buttons {
  z-index: 35 !important;
}

.st-sticky-share-buttons.st-left,
.st-sticky-share-buttons[data-position="left"],
#st-1.st-left,
#st-2.st-left,
[id^="st-"].st-sticky-share-buttons,
.sharethis-sticky-share-buttons {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
  left: 0px !important;
  top: 560px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.st-sticky-share-buttons.st-right,
.st-sticky-share-buttons[data-position="right"],
#st-1.st-right,
#st-2.st-right {
  right: 0 !important;
}

.st-sticky-share-buttons.st-bottom,
.st-sticky-share-buttons[data-position="bottom"],
#st-1.st-bottom,
#st-2.st-bottom {
  bottom: 64px !important;
}

.tool-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.language-select {
  min-height: 40px;
  border-color: var(--line);
  border-radius: 6px;
  background-color: var(--panel);
  color: var(--text);
  font-size: 14px;
}

.workspace {
  min-height: calc(100vh - 128px);
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
}

.message-list,
.reader {
  min-width: 0;
  background: var(--panel);
}

.message-list {
  border-right: 1px solid var(--line);
}

.list-tools {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}

.searchbox {
  position: relative;
}

.searchbox i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.searchbox .form-control {
  min-height: 40px;
  padding-left: 38px;
  border-color: var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

.messages {
  height: calc(100vh - 186px);
  overflow: auto;
}

.message-row {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
}

.message-row.unread::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.message-row.read::before {
  content: "";
}

.message-row.upgrade-row {
  background: #b82934;
  color: #fff;
}

.message-row.upgrade-row::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
}

.message-row.upgrade-row:hover {
  background: #9f1f29;
}

.message-row.upgrade-row small,
.message-row.upgrade-row time {
  color: rgba(255, 255, 255, 0.78);
}

.message-row.locked-row {
  background: color-mix(in srgb, var(--danger) 7%, var(--panel));
}

.message-row.locked-row::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--danger);
}

.message-row.active {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
}

.message-row:hover {
  background: color-mix(in srgb, var(--accent) 9%, var(--panel));
}

.message-row strong,
.message-row span,
.message-row small {
  display: block;
}

.message-row strong {
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.message-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.message-row small {
  color: var(--muted);
  font-size: 12px;
}

.message-row time {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.upgrade-modal-content {
  border: 0;
  border-radius: 8px;
}

.upgrade-copy {
  color: var(--muted);
}

.upgrade-plans {
  display: grid;
  gap: 14px;
}

.upgrade-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.upgrade-field input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

.upgrade-field span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.upgrade-field small {
  color: var(--muted);
  font-weight: 600;
}

.upgrade-help {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  cursor: help;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.upgrade-help:hover,
.upgrade-help:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.upgrade-section-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.upgrade-plan-list,
.upgrade-gateways {
  display: grid;
  gap: 10px;
}

.upgrade-plan {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

.upgrade-plan:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}

.upgrade-plan.selected,
.upgrade-gateway.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.upgrade-plan strong,
.upgrade-plan small {
  display: block;
}

.upgrade-plan small {
  color: var(--muted);
}

.upgrade-plan b {
  color: var(--accent);
  white-space: nowrap;
}

.upgrade-gateways {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upgrade-gateway,
.upgrade-complete {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
}

.upgrade-complete {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.upgrade-empty {
  margin: 0;
  color: var(--muted);
}

.reader {
  position: fixed;
  inset: 64px 0 64px;
  z-index: 22;
  display: none;
  overflow: auto;
}

.reader.open {
  display: block;
}

.reader-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.toolbar-group {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.tool-btn {
  min-width: 70px;
  height: 40px;
  display: grid;
  grid-auto-flow: column;
  place-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
}

.tool-btn.danger {
  color: var(--danger);
  font-weight: 800;
}

[data-bs-theme="light"] .tool-btn.danger {
  color: #b4232f;
}

.reader-body {
  padding: 16px;
}

.message-meta {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, var(--line));
  color: var(--accent-strong);
  font-weight: 800;
}

.message-meta h2 {
  margin: 2px 0 4px;
  font-size: 19px;
  line-height: 1.25;
}

.message-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.message-content {
  max-width: 920px;
  padding: 18px;
  border: 10px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: var(--panel);
}

.message-content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.message-content p,
.message-html {
  color: var(--text);
  line-height: 1.65;
}

.message-html {
  overflow-x: auto;
  word-break: break-word;
}

.message-html img {
  max-width: 100%;
  height: auto;
}

.message-html table {
  max-width: 100%;
}

.plain-mail {
  white-space: normal;
}

.plain-mail h4 {
  margin: 18px 0 10px;
  font-size: 16px;
}

.plain-mail hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.plain-mail a {
  color: var(--accent-strong);
  font-weight: 700;
}

.attachment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.attachment {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  max-width: 100%;
  padding: 8px 10px;
  border-color: var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment small {
  color: var(--muted);
}

.seo-content {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.seo-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 38px 16px 96px;
}

.seo-lead {
  max-width: 780px;
  margin-bottom: 24px;
}

.seo-lead h1 {
  margin: 4px 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
}

.seo-lead p,
.seo-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.seo-grid article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.seo-grid h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.seo-grid h3 {
  margin: 16px 0 6px;
  font-size: 16px;
}

.recent-blog-posts,
.homepage-faqs {
  background: var(--surface);
}

.recent-blog-inner,
.homepage-faq-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 36px 16px;
}

.recent-blog-inner h2,
.homepage-faq-inner h2 {
  margin: 4px 0 20px;
  font-size: clamp(28px, 4vw, 42px);
}

.recent-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.blog-card-media {
  min-height: 190px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(229, 72, 77, .24), transparent 32%),
    radial-gradient(circle at 28% 34%, rgba(37, 99, 235, .3), transparent 34%),
    #121a26;
  color: #2f6df6;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  text-decoration: none;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}

.blog-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-card-kicker i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--danger);
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 18px);
  letter-spacing: 0;

}

.blog-card h2 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--accent-strong);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.blog-card small {
  color: var(--muted);
  font-weight: 800;
}

.recent-blog-card {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.recent-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.recent-blog-card small,
.recent-blog-card p,
.homepage-faq-list p,
.home-footer p,
.home-footer small {
  color: var(--muted);
}

.recent-blog-card h3 {
  margin: 8px 0;
  font-size: 20px;
}

.recent-blog-card a {
  color: var(--text);
  text-decoration: none;
}

.recent-blog-card a:hover {
  color: var(--accent-strong);
}

.homepage-faq-list {
  display: grid;
  gap: 10px;
}

.homepage-faq-list details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.homepage-faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.homepage-faq-list p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.home-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 16px 92px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.home-footer > * {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.home-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 20px;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-footer a {
  color: var(--accent-strong);
  text-decoration: none;
}

.toastify {
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-weight: 700;
}

@media (min-width: 768px) {
  .topbar {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .topbar-right {
    justify-items: end;
  }

  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 34px;
  }

  .recent-blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-footer {
    padding-bottom: 28px;
  }
}

@media (max-width: 1129px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .top-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .top-stats div {
    min-width: 0;
    padding: 10px 8px;
  }

  .top-stats span {
    font-size: 11px;
  }

  .top-stats strong {
    font-size: 14px;
  }

  .address-box {
    gap: 6px;
  }

  .address-box {
    grid-template-columns: 1fr;
    justify-self: center;
    justify-items: center;
    align-items: center;
    width: 100%;
  }

  .address-text {
    justify-items: center;
    text-align: center;
    width: min(100%, 430px);
  }

  .address-actions {
    justify-content: center;
    gap: 4px;
    padding-bottom: 0;
  }

  .icon-btn {
    min-height: 36px;
    padding: 7px 8px;
  }

  .icon-btn span {
    font-size: 12px;
  }

  .address-box strong {
    padding: 8px 12px;
    font-size: 18px;
  }

  .language-select {
    min-height: 36px;
    padding-left: 8px;
    padding-right: 28px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .app-shell {
    grid-template-columns: 78px 1fr;
  }

  .rail {
    position: sticky;
    inset: 0 auto 0 0;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 68px 1fr auto;
    align-items: stretch;
  }

  .rail-nav {
    grid-auto-flow: row;
    align-content: start;
  }

  .rail-btn {
    width: 78px;
    height: 58px;
  }

  .mail-app {
    padding-bottom: 0;
  }

  .home-footer {
    grid-column: 2;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 8px 12px;
  }

  .address-box {
    display: grid;
    grid-template-columns: max-content auto;
    align-content: center;
    align-items: end;
    justify-self: start;
    justify-content: start;
    justify-items: start;
    column-gap: 18px;
    max-width: min(760px, 100%);
  }

  .address-box strong {
    max-width: 100%;
  }

  .topbar-right {
    justify-self: end;
    align-items: center;
    justify-content: end;
    flex-wrap: nowrap;
  }

  .workspace {
    min-height: calc(100vh - 58px);
    grid-template-columns: var(--message-list-width) minmax(0, 1fr);
  }

  .reader {
    position: static;
    display: block;
    width: auto;
    inset: auto;
    box-shadow: none;
  }

  .reader {
    border-left: 0;
  }

  .reader-toolbar,
  .list-tools {
    min-height: 58px;
  }

  .messages {
    height: calc(100vh - 116px);
  }

  .reader-body {
    padding: 16px 18px 28px;
  }

  .message-content {
    min-height: 420px;
    padding: 28px 34px;
  }
}

@media (max-width: 1023.98px) {
  .st-sticky-share-buttons.st-left,
  .st-sticky-share-buttons[data-position="left"],
  #st-1.st-left,
  #st-2.st-left,
  [id^="st-"].st-sticky-share-buttons,
  .sharethis-sticky-share-buttons {
    left: 0 !important;
    top: 560px !important;
    bottom: auto !important;
    transform: scale(0.82);
    transform-origin: left top;
  }

  .st-sticky-share-buttons.st-right,
  .st-sticky-share-buttons[data-position="right"],
  #st-1.st-right,
  #st-2.st-right {
    top: 72px !important;
    transform: scale(0.82);
    transform-origin: right top;
  }

  .st-sticky-share-buttons.st-bottom,
  .st-sticky-share-buttons[data-position="bottom"],
  #st-1.st-bottom,
  #st-2.st-bottom {
    bottom: 72px !important;
  }
}

@media (max-width: 430px) {
  .st-sticky-share-buttons.st-left,
  .st-sticky-share-buttons[data-position="left"],
  #st-1.st-left,
  #st-2.st-left,
  [id^="st-"].st-sticky-share-buttons,
  .sharethis-sticky-share-buttons {
    transform: scale(0.72);
  }

  .st-sticky-share-buttons.st-right,
  .st-sticky-share-buttons[data-position="right"],
  #st-1.st-right,
  #st-2.st-right {
    transform: scale(0.72);
  }
}
