/* Help: the three "connect the site's email" guides (Gmail / Microsoft 365 or Outlook / another provider). 2026-10-11 */

/* Before you start */
.hs-before { max-width: 760px; margin: 22px 0 0; padding: 18px 20px; background: #f4f7f2; border: 1px solid #cfdad4; border-radius: 10px; }
.hs-before h4, .hs-know h4 { margin: 0 0 10px; color: #13231d; font-size: 16px; line-height: 1.3; }
.hs-check { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hs-check li { position: relative; padding-left: 30px; color: rgba(20, 33, 29, .8); font-size: 14.5px; line-height: 1.55; }
.hs-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid #0b7656; background: #fff;
}
.hs-check li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 9px;
  border-right: 2px solid #0b7656; border-bottom: 2px solid #0b7656; transform: rotate(45deg);
}
.hs-before-warn { margin: 12px 0 0; padding: 10px 12px; color: #5b4a12; background: #fbf3dc; border: 1px solid #ecdcae; border-radius: 8px; font-size: 13.5px; line-height: 1.55; }
.hs-before a, .hs-know a, .hs-detail a { color: #0b7656; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Off-app step (Google account): a plain card in place of the phone, same height so Previous/Next stay put */
.hs-offapp { justify-self: center; width: min(100%, 440px); min-height: calc(clamp(250px, calc((100svh - 250px) * 0.46), 360px) * 2.1741 + 20px); display: flex; align-items: center; }
.hs-offapp-card { width: 100%; padding: 26px 24px; background: #fff; border: 1px solid #dde3df; border-radius: 16px; box-shadow: 0 18px 44px rgba(20, 33, 29, .1); }
.hs-offapp-where { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #4d6158; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hs-offapp-where::before { content: ""; width: 18px; height: 12px; border: 2px solid currentColor; border-bottom-width: 4px; border-radius: 3px; }
.hs-offapp-card h4 { margin: 0 0 14px; color: #13231d; font-size: 20px; line-height: 1.25; }
.hs-offapp-card ol { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 20px; color: rgba(20, 33, 29, .82); font-size: 14.5px; line-height: 1.5; }
.hs-offapp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.hs-offapp-links .button { margin: 0; }
.hs-offapp-help { color: #0b7656; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hs-offapp-links a::after { content: "\2197"; margin-left: 6px; font-weight: 400; }
@media (max-width: 1099px) {
  .hs-offapp { min-height: calc(clamp(260px, calc((100svh - 300px) * 0.46), 340px) * 2.1741 + 20px); }
}
@media (max-width: 699px) {
  .hs-offapp { min-height: 0; }
  .hs-offapp-card { padding: 20px 16px; }
  .hs-offapp-card h4 { font-size: 18px; }
}

/* Good to know / tips, and the closing note */
.hs-know { max-width: 760px; margin: 22px 0 0; padding: 18px 20px; border: 1px solid #dde3df; border-radius: 10px; }
.hs-know ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.hs-know li { color: rgba(20, 33, 29, .78); font-size: 14px; line-height: 1.6; }
.hs-endnote { max-width: 760px; margin: 18px 0 0; padding: 14px 18px; color: #13231d; background: #e6f2ec; border: 1px solid #9fd3bd; border-radius: 10px; font-size: 15px; font-weight: 650; line-height: 1.5; }

/* Next: choose one of the three guides (one soft pill, three underlined links) */
.hs-choose { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; margin: 18px 0 0; scroll-margin-top: 140px; }
.hs-choose p {
  margin: 0; padding: 10px 18px; border-radius: 24px; background: var(--sv-accent-soft, #ecf8f1);
  color: var(--sv-link, #17533f); font-weight: 700; line-height: 1.5;
}
.hs-choose a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(23, 83, 63, .35); border-radius: 4px; transition: text-decoration-color 200ms ease; }
.hs-choose a:hover { text-decoration-color: currentColor; }
.hs-choose a:focus-visible { outline: 2px solid #0b7656; outline-offset: 2px; }
.hs-choose .hs-account { margin: 0; height: 22px; font-size: 11px; }
@media (max-width: 640px) { .hs-choose { justify-content: flex-start; } }

/* dark */
[data-theme="dark"] .hs-before { background: var(--dark-2, #0a1914); border-color: var(--line); }
[data-theme="dark"] .hs-know { border-color: var(--line); }
[data-theme="dark"] .hs-before h4, [data-theme="dark"] .hs-know h4, [data-theme="dark"] .hs-offapp-card h4 { color: #fff; }
[data-theme="dark"] .hs-check li, [data-theme="dark"] .hs-know li, [data-theme="dark"] .hs-offapp-card ol { color: var(--muted, #93a79c); }
[data-theme="dark"] .hs-check li::before { background: transparent; border-color: #7fe3b0; }
[data-theme="dark"] .hs-check li::after { border-color: #7fe3b0; }
[data-theme="dark"] .hs-before-warn { color: #f3e2ad; background: rgba(236, 200, 100, .1); border-color: rgba(236, 200, 100, .28); }
[data-theme="dark"] .hs-before a, [data-theme="dark"] .hs-know a, [data-theme="dark"] .hs-detail a, [data-theme="dark"] .hs-offapp-help { color: #7fe3b0; }
[data-theme="dark"] .hs-offapp-card { background: rgba(255, 255, 255, .04); border-color: var(--line); box-shadow: none; }
[data-theme="dark"] .hs-offapp-where { color: #bfe8d2; }
[data-theme="dark"] .hs-endnote { color: #eef6f1; background: rgba(127, 227, 176, .1); border-color: rgba(127, 227, 176, .3); }
[data-theme="dark"] .hs-choose p { color: #bfe8d2; background: rgba(127, 227, 176, .1); }
[data-theme="dark"] .hs-choose a { text-decoration-color: rgba(191, 232, 210, .4); }
[data-theme="dark"] .hs-choose a:hover { text-decoration-color: currentColor; }
/* 6-step guides (another provider): progress fill, as the other step counts */
.hs-guide[data-total="6"][data-step="1"] .hs-progress i { transform: scaleX(0.167); }
.hs-guide[data-total="6"][data-step="2"] .hs-progress i { transform: scaleX(0.333); }
.hs-guide[data-total="6"][data-step="3"] .hs-progress i { transform: scaleX(0.5); }
.hs-guide[data-total="6"][data-step="4"] .hs-progress i { transform: scaleX(0.667); }
.hs-guide[data-total="6"][data-step="5"] .hs-progress i { transform: scaleX(0.833); }
.hs-guide[data-total="6"][data-step="6"] .hs-progress i { transform: scaleX(1); }
/* Before you start as plain bullets (Microsoft guide: notes, not things to tick) */
.hs-plain { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.hs-plain li { color: rgba(20, 33, 29, .8); font-size: 14.5px; line-height: 1.55; }
[data-theme="dark"] .hs-plain li { color: var(--muted, #93a79c); }
/* Outgoing (SMTP) settings table (another provider guide) */
.hs-know.hs-smtp { max-width: none; }
.hs-smtp p { margin: 0 0 12px; color: rgba(20, 33, 29, .78); font-size: 14px; line-height: 1.6; }
.hs-smtp p.hs-smtp-must { margin: 14px 0 10px; padding: 10px 12px; color: #13231d; background: #e6f2ec; border: 1px solid #9fd3bd; border-radius: 8px; font-weight: 650; }
.hs-smtp-table { overflow-x: auto; border: 1px solid #dde3df; border-radius: 8px; background: #fff; }
.hs-smtp-table:focus-visible { outline: 2px solid #0b7656; outline-offset: 2px; }
.hs-smtp-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.hs-smtp-table th, .hs-smtp-table td { padding: 9px 12px; border-bottom: 1px solid #e3e8e5; color: #13231d; text-align: left; vertical-align: top; }
.hs-smtp-table thead th { background: #e8eee9; font-size: 12px; font-weight: 800; }
.hs-smtp-table tbody th { font-weight: 750; }
.hs-smtp-table tr:last-child th, .hs-smtp-table tr:last-child td { border-bottom: 0; }
.hs-smtp-table td:nth-child(2) { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.hs-smtp-table td:last-child { color: rgba(20, 33, 29, .78); }
.hs-smtp-table a { color: #0b7656; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* phones: each provider as a small card */
@media (max-width: 699px) {
  .hs-smtp-table { overflow: visible; border: 0; background: transparent; }
  .hs-smtp-table table, .hs-smtp-table tbody, .hs-smtp-table tr, .hs-smtp-table th, .hs-smtp-table td { display: block; }
  .hs-smtp-table thead { display: none; }
  .hs-smtp-table tr { margin: 0 0 10px; padding: 10px 12px; background: #fff; border: 1px solid #dde3df; border-radius: 8px; }
  .hs-smtp-table th, .hs-smtp-table td { padding: 3px 0; border: 0; }
  .hs-smtp-table tbody th { font-size: 14.5px; padding-bottom: 6px; }
  .hs-smtp-table td::before { content: attr(data-label); display: block; color: #607169; font-family: Inter, system-ui, sans-serif; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
}
[data-theme="dark"] .hs-smtp p { color: var(--muted, #93a79c); }
[data-theme="dark"] .hs-smtp p.hs-smtp-must { color: #eef6f1; background: rgba(127, 227, 176, .1); border-color: rgba(127, 227, 176, .3); }
[data-theme="dark"] .hs-smtp-table, [data-theme="dark"] .hs-smtp-table tr { background: rgba(255, 255, 255, .04); border-color: var(--line); }
[data-theme="dark"] .hs-smtp-table th, [data-theme="dark"] .hs-smtp-table td { color: #e6efeb; border-bottom-color: var(--line); }
[data-theme="dark"] .hs-smtp-table thead th { background: rgba(255, 255, 255, .08); color: #fff; }
[data-theme="dark"] .hs-smtp-table td:last-child { color: var(--muted, #93a79c); }
[data-theme="dark"] .hs-smtp-table a { color: #7fe3b0; }
@media (max-width: 699px) { [data-theme="dark"] .hs-smtp-table { background: transparent; } }
