/* =========================================================================
   Email panel (/panel/email/{service}). A mail client first: folder-style nav
   on the left, the inbox as the main surface, administration in the same nav.
   Flat surfaces and hairlines on the shared hp tokens; orange only for the
   one primary action and the active item.
   ========================================================================= */

.hm-app {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    min-height: calc(100dvh - 120px);
    border-top: 1px solid var(--hp-line);
}

/* ---------------------------------------------------------------- nav --- */
.hm-nav {
    display: flex; flex-direction: column; gap: 2px;
    padding: 16px 10px 12px;
    border-right: 1px solid var(--hp-line);
    background: var(--hp-bg-2);
}
.hm-nav__id { display: flex; flex-direction: column; gap: 3px; padding: 0 8px 14px; }
.hm-nav__domain { font: 600 14.5px/1.25 var(--hp-display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.hm-nav__plan { display: flex; align-items: center; gap: 6px; font: 500 11px/1.3 var(--hp-mono); color: var(--hp-ink-3); text-transform: uppercase; letter-spacing: .06em; }
.hm-nav__compose { width: 100%; justify-content: flex-start; margin-bottom: 10px; }
.hm-nav__label { margin: 14px 8px 4px; font: 500 10.5px/1 var(--hp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hp-ink-3); }
.hm-nav__boxes { list-style: none; margin: 0; padding: 0; }
.hm-nav__boxes a, .hm-nav__links a, .hm-nav__add {
    display: flex; align-items: center; gap: 9px; width: 100%; height: 32px; padding: 0 8px;
    border: 0; border-radius: 6px; background: none; color: var(--hp-ink-2);
    font: 500 13px/1 var(--hp-font); text-align: left; cursor: pointer;
}
.hm-nav__boxes a:hover, .hm-nav__links a:hover, .hm-nav__add:hover:not(:disabled) { background: var(--hp-fill-2); color: var(--hp-ink); }
.hm-nav__boxes a.is-active, .hm-nav__links a.is-active { background: var(--hp-fill-2); color: var(--hp-ink); box-shadow: inset 2px 0 0 var(--hp-accent); }
.hm-nav__links a.is-active .hp-ico { color: var(--hp-accent); }
.hm-nav__addr { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-nav__boxes em, .hm-nav__links em { margin-left: auto; font: 500 11px/1 var(--hp-mono); font-style: normal; color: var(--hp-ink-3); }
.hm-nav__links em.is-warn { color: var(--hp-warn); }
.hm-nav__add { color: var(--hp-ink-3); }
.hm-nav__add:disabled { opacity: .5; cursor: default; }
.hm-nav__links { display: flex; flex-direction: column; gap: 1px; }
.hm-nav__foot { margin-top: auto; padding: 16px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.hm-nav__meter > span { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.hm-nav__meter small { color: var(--hp-ink-3); font: 500 11px/1.4 var(--hp-mono); }
.hm-nav__renew { font: 500 11px/1 var(--hp-mono); color: var(--hp-ink-3); }

/* --------------------------------------------------------------- work --- */
.hm-work { min-width: 0; display: flex; flex-direction: column; }
.hm-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px; border-bottom: 1px solid var(--hp-line); }
.hm-bar__title { margin: 0; font: 600 16px/1 var(--hp-display); letter-spacing: -0.015em; }
.hm-bar__crumb { margin-left: auto; font: 500 11px/1 var(--hp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hp-ink-3); }
.hm-bar__menu { display: none; }
.hm-mail { padding: 14px 16px 16px; }
.hm-mail .webmail { margin: 0; }
.hm-panel { padding: 20px 24px 48px; display: flex; flex-direction: column; gap: 16px; max-width: 1280px; }
.hm-banner { display: flex; align-items: center; gap: 12px; margin: 14px 24px 0; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--hp-err) 40%, transparent); border-radius: 8px; font-size: 13px; color: var(--hp-ink-2); }
.hm-banner > .hp-ico { color: var(--hp-err); }
.hm-banner > span { flex: 1; }
.hm-h { margin: 6px 0 0; font: 600 18px/1.2 var(--hp-display); }

/* --------------------------------------------------------- shared bits --- */
.hm .hp-card { border-radius: 8px; padding: 16px; }
.hm .hp-card--flush { padding: 0; }
.hm .hp-card--flush > .hp-card__head { padding: 14px 16px 12px; margin: 0; border-bottom: 1px solid var(--hp-line); }
.hm .hp-card__head h2 { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.hm-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hm-sub { margin: 2px 0 0; color: var(--hp-ink-3); font-size: 12.5px; }
.hm-quiet { color: var(--hp-ink-3); font-size: 13px; padding: 4px 0; list-style: none; }
.hm-pad { padding: 14px 16px; }
.hm-mt { margin-top: 10px; }
.hm-r { text-align: right; }
.hm-nowrap { white-space: nowrap; }
.hm-block { display: block; }
.hm-wide { width: 100%; margin-top: 12px; }
.hm-trunc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-flip { transform: rotate(180deg); }
.hm-val { font: 600 12.5px/1 var(--hp-mono); color: var(--hp-ink); margin-left: 6px; }

.hm-avatar {
    display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 5px;
    background: var(--hp-fill-2); border: 1px solid var(--hp-line); color: var(--hp-ink-2);
    font: 600 11px/1 var(--hp-mono);
}
.hm-avatar--lg { width: 36px; height: 36px; border-radius: 8px; font-size: 14px; }

.hm-failed, .hm-note, .hm-alert {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--hp-line-2);
    border-radius: 8px; font-size: 13px; color: var(--hp-ink-2); background: var(--hp-bg-2);
}
.hm-failed { border-color: color-mix(in srgb, var(--hp-err) 40%, transparent); }
.hm-failed > .hp-ico { color: var(--hp-err); }
.hm-failed > span, .hm-note > span { flex: 1; }
.hm-note > .hp-ico { color: var(--hp-warn); flex: none; }
.hm-alert > .hp-ico { color: var(--hp-warn); }
.hm-alert > span { flex: 1; display: flex; flex-direction: column; }
.hm-alert small { color: var(--hp-ink-3); }

.hm-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-toolbar > .hp-btn--accent { margin-left: auto; }
.hm-search { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 380px; height: 34px; padding: 0 10px; border: 1px solid var(--hp-line-2); border-radius: 6px; background: var(--hp-bg); color: var(--hp-ink-3); }
.hm-search:focus-within { border-color: var(--hp-accent-line); }
.hm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--hp-ink); font: 400 13.5px/1 var(--hp-font); }
.hm-quota { display: flex; flex-direction: column; gap: 5px; width: 180px; font-size: 12.5px; color: var(--hp-ink-3); }
.hm-quota b { color: var(--hp-ink); font-family: var(--hp-mono); }
.hm-pick { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hp-ink-3); }
.hm-pick .hp-input { width: auto; min-width: 240px; height: 34px; }
.hm-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hp-ink-2); cursor: pointer; }

.hm-chip, .hm-copyval {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 8px; border: 1px solid var(--hp-line-2);
    border-radius: 5px; background: var(--hp-fill); color: var(--hp-ink-2); font: 500 12px/1.4 var(--hp-mono); cursor: pointer;
}
.hm-chip { cursor: default; }
.hm-chip.is-local { border-color: var(--hp-accent-line); color: var(--hp-ink); }
.hm-chip.is-muted { color: var(--hp-ink-3); border-style: dashed; }
.hm-chip button { border: 0; background: none; color: var(--hp-ink-3); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 0 0 2px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.hm-copyval:hover { color: var(--hp-ink); border-color: var(--hp-ink-3); }
.hm-copyval code { overflow-wrap: anywhere; text-align: left; }
.hm-copyval--block { display: flex; justify-content: space-between; width: 100%; padding: 9px 11px; align-items: flex-start; }
.hm-copyval--block > span { display: inline-flex; gap: 5px; align-items: center; flex: none; color: var(--hp-ink-3); font-family: var(--hp-font); }
.hm-copyval--big code { font-size: 15px; letter-spacing: .02em; color: var(--hp-ink); }

.hm-inline { display: flex; gap: 8px; margin-bottom: 10px; }
.hm-inline .hp-input { height: 32px; }
.hm-form { display: flex; flex-direction: column; gap: 14px; }
.hm-form__foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.hm-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-3 { display: grid; grid-template-columns: 1fr 100px 130px; gap: 12px; }
.hm-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hp-line); cursor: pointer; }
.hm-row > span { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; }
.hm-row small { color: var(--hp-ink-3); font-size: 12.5px; }
.hm-row .hp-toggle { margin-top: 1px; }
.hm-range { width: 100%; accent-color: var(--hp-accent); }
.hm-pw { display: flex; gap: 8px; }
.hm-strength { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: 2px; }
.hm-strength i { height: 3px; border-radius: 2px; background: var(--hp-fill-2); }
.hm-strength[data-s="1"] i:nth-child(-n+1), .hm-strength[data-s="2"] i:nth-child(-n+2) { background: var(--hp-err); }
.hm-strength[data-s="3"] i:nth-child(-n+3) { background: var(--hp-warn); }
.hm-strength[data-s="4"] i:nth-child(-n+4), .hm-strength[data-s="5"] i { background: var(--hp-ok); }
.hm-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-height: 38px; padding: 5px 8px; border: 1px solid var(--hp-line-2); border-radius: var(--hp-r-sm); background: var(--hp-bg); }
.hm-tags:focus-within { border-color: var(--hp-accent-line); }
.hm-tags input { flex: 1 1 160px; min-width: 120px; border: 0; outline: 0; background: none; color: var(--hp-ink); font: 400 13.5px/1.8 var(--hp-font); }
.hm-addrin { display: flex; align-items: stretch; height: 38px; border: 1px solid var(--hp-line-2); border-radius: var(--hp-r-sm); background: var(--hp-bg); overflow: hidden; }
.hm-addrin:focus-within { border-color: var(--hp-accent-line); }
.hm-addrin input { flex: 1; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: none; color: var(--hp-ink); font: 500 14px/1 var(--hp-mono); }
.hm-addrin > span, .hm-addrin select { display: flex; align-items: center; padding: 0 12px; border: 0; border-left: 1px solid var(--hp-line); background: var(--hp-fill); color: var(--hp-ink-3); font: 500 13px/1 var(--hp-mono); }
.hm-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hm-presets--2 { grid-template-columns: 1fr 1fr; }
.hm-presets button, .hm-provgrid button, .hm-provs button, .hm-pill span {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 11px; border: 1px solid var(--hp-line-2);
    border-radius: 6px; background: var(--hp-bg); color: var(--hp-ink-2); font: 500 13px/1.25 var(--hp-font); text-align: left; cursor: pointer;
}
.hm-presets small { color: var(--hp-ink-3); font-size: 11.5px; font-weight: 400; }
.hm-presets .is-active, .hm-provgrid .is-active, .hm-provs .is-active { border-color: var(--hp-accent); color: var(--hp-ink); box-shadow: inset 0 0 0 1px var(--hp-accent); }
.hm-provs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hm-provs button { padding: 6px 10px; font-size: 12.5px; }
.hm-provgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.hm-checks-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-pill input { position: absolute; opacity: 0; pointer-events: none; }
.hm-pill span { padding: 5px 9px; font-size: 12.5px; }
.hm-pill input:checked + span { border-color: var(--hp-accent); color: var(--hp-ink); }
.hm-pill input:focus-visible + span { outline: 2px solid var(--hp-accent); }
.hm-guide { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--hp-ink-2); }
.hm-guide li::marker { font: 600 12px var(--hp-mono); color: var(--hp-ink-3); }
.hm-guide--big { font-size: 13.5px; gap: 10px; }
.hm-guide b { color: var(--hp-ink); font-weight: 600; }
.hm-tips ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--hp-ink-2); }

/* ----------------------------------------------------------- overview --- */
.hm-figs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--hp-line); border-radius: 8px; background: var(--hp-surface); }
.hm-figs > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-right: 1px solid var(--hp-line); min-width: 0; }
.hm-figs > div:last-child { border-right: 0; }
.hm-figs small { font: 500 10.5px/1 var(--hp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-ink-3); }
.hm-figs b { font: 600 20px/1.1 var(--hp-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-figs span { font-size: 12px; color: var(--hp-ink-3); }

.hm-setup__count { font: 500 13px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-setup__count b { color: var(--hp-ink); }
.hm-steps { list-style: none; margin: 0; padding: 0; }
.hm-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hp-line); }
.hm-steps__mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hp-line-2); font: 600 11px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-steps__mark i { font-style: normal; }
.hm-steps li.is-done .hm-steps__mark { border-color: var(--hp-ok); color: var(--hp-ok); }
.hm-steps li.is-done strong { color: var(--hp-ink-3); text-decoration: line-through; text-decoration-color: var(--hp-line-2); }
.hm-steps__txt { display: flex; flex-direction: column; font-size: 13.5px; }
.hm-steps__txt small { color: var(--hp-ink-3); font-size: 12.5px; }

.hm-legend { display: flex; gap: 14px; font-size: 12px; color: var(--hp-ink-3); }
.hm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hm-sw { width: 8px; height: 8px; border-radius: 2px; }
.hm-sw--in, .hm-chart__in { background: var(--hp-ink-2); }
.hm-sw--out, .hm-chart__out { background: var(--hp-accent); }
.hm-sw--spam, .hm-chart__spam { background: color-mix(in srgb, var(--hp-ink) 22%, transparent); }
.hm-chart { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 168px; padding-top: 6px; }
.hm-chart__col { display: flex; flex-direction: column; min-width: 0; }
.hm-chart__stack { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; border-bottom: 1px solid var(--hp-line-2); }
.hm-chart__stack i { display: block; min-height: 0; border-radius: 1px; }
.hm-chart__col:hover .hm-chart__stack { background: var(--hp-fill); }
.hm-chart__col small { height: 16px; margin-top: 4px; font: 500 10px/16px var(--hp-mono); color: var(--hp-ink-3); white-space: nowrap; }
.hm-chart-skel { height: 168px; }

.hm-feed, .hm-verdicts, .hm-queue, .hm-jobs { list-style: none; margin: 0; padding: 0; }
.hm-feed li, .hm-verdicts li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 64px; align-items: center; gap: 12px; padding: 9px 16px; border-top: 1px solid var(--hp-line); }
.hm-feed li:first-child, .hm-verdicts li:first-child { border-top: 0; }
.hm-feed__dir { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--hp-fill-2); color: var(--hp-ink-3); }
.hm-feed__dir .hp-ico { transform: rotate(180deg); }
.hm-feed__dir.is-out { color: var(--hp-accent); }
.hm-feed__dir.is-out .hp-ico { transform: none; }
.hm-feed__dir.is-err { color: var(--hp-err); }
.hm-feed__main, .hm-verdicts__main { display: flex; flex-direction: column; min-width: 0; }
.hm-feed__main strong, .hm-verdicts__main strong { font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-feed__main small, .hm-verdicts__main small { color: var(--hp-ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-feed time, .hm-verdicts time { font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); text-align: right; }
.hm-feed__none { display: block !important; padding: 18px 16px !important; color: var(--hp-ink-3); font-size: 13px; }
.hm-quiet + * { margin-top: 0; }

.hm-health .hm-health__body { display: flex; flex-direction: column; gap: 10px; }
.hm-score-n { display: flex; align-items: baseline; gap: 8px; }
.hm-score-n b { font: 600 28px/1 var(--hp-display); letter-spacing: -0.03em; }
.hm-score-n small { color: var(--hp-ink-3); font-size: 12.5px; }
.hm-checks { list-style: none; margin: 0; padding: 0; }
.hm-checks li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--hp-line); font-size: 13px; }
.hm-checks small { margin-left: auto; color: var(--hp-ink-3); font: 500 11px/1 var(--hp-mono); }
.hm-usage { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-usage li { display: flex; gap: 10px; align-items: center; }
.hm-usage__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hm-usage__row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.hm-usage__row strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-usage__row small { flex: none; font: 500 11px/1.5 var(--hp-mono); color: var(--hp-ink-3); }
.hm-senders { list-style: none; margin: 0; padding: 0; }
.hm-senders li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--hp-line); font-size: 13px; }
.hm-senders b { font: 500 12px/1.6 var(--hp-mono); }

/* ---------------------------------------------------------- mailboxes --- */
.hm-boxes { display: flex; flex-direction: column; }
.hm-box { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(140px, .8fr) minmax(150px, .8fr) auto; align-items: center; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--hp-line); }
.hm-box:first-child { border-top: 0; }
.hm-box:hover { background: var(--hp-fill); }
.hm-box.is-off { opacity: .6; }
.hm-box__open { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hm-box__id { display: flex; flex-direction: column; min-width: 0; }
.hm-box__id strong { font: 600 13.5px/1.3 var(--hp-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-box__id small { display: flex; flex-wrap: wrap; gap: 6px; color: var(--hp-ink-3); font-size: 12.5px; }
.hm-box__tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.hm-box__tags em { font: 500 10.5px/1.6 var(--hp-mono); font-style: normal; text-transform: uppercase; letter-spacing: .05em; padding: 0 6px; border-radius: 4px; border: 1px solid var(--hp-line-2); color: var(--hp-ink-3); }
.hm-box__tags em.is-accent { border-color: var(--hp-accent-line); color: var(--hp-accent); }
.hm-box__use { display: flex; flex-direction: column; gap: 5px; }
.hm-box__nums { font-size: 12.5px; }
.hm-box__nums b { font: 600 12.5px/1 var(--hp-mono); }
.hm-box__nums small { color: var(--hp-ink-3); font-family: var(--hp-mono); }
.hm-box__meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--hp-ink-3); }
.hm-box__meta b { color: var(--hp-ink-2); font: 500 12px/1.4 var(--hp-mono); }
.hm-box__acts { display: flex; gap: 6px; justify-content: flex-end; }
.hm-explain > div { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--hp-line); border-radius: 8px; font-size: 12.5px; color: var(--hp-ink-3); }
.hm-explain p { margin: 0; }
.hm-explain strong { color: var(--hp-ink); font-weight: 600; }
.hm-explain .hp-ico { flex: none; margin-top: 2px; }

/* ------------------------------------------------------------ aliases --- */
.hm-catchall { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.hm-catchall__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--hp-line-2); color: var(--hp-ink-3); }
.hm-catchall.is-on .hm-catchall__ico { color: var(--hp-accent); border-color: var(--hp-accent-line); }
.hm-catchall h2 { margin: 0; font: 600 14.5px/1.3 var(--hp-display); }
.hm-catchall p:not(.hp-eyebrow) { margin: 4px 0 0; font-size: 12.5px; color: var(--hp-ink-3); max-width: 70ch; }
.hm-catchall .hp-eyebrow { margin-bottom: 4px; }
.hm-catchall__act { display: flex; align-items: center; gap: 12px; }
.hm-aliases tr.is-off td { opacity: .55; }
.hm-addr { padding: 0; border: 0; background: none; color: var(--hp-ink); font: 600 13px/1 var(--hp-mono); cursor: pointer; }
.hm-addr i { font-style: normal; color: var(--hp-ink-3); font-weight: 500; }
.hm-arrow { color: var(--hp-ink-3); width: 20px; }

/* ---------------------------------------------------------------- dns --- */
.hm-dnshead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.hm-dnshead__score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; border: 1px solid var(--hp-line-2); border-radius: 8px; }
.hm-dnshead__score b { font: 600 22px/1 var(--hp-display); letter-spacing: -0.02em; }
.hm-dnshead__score small { font: 500 10px/1.6 var(--hp-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--hp-ink-3); }
.hm-dnshead h2 { margin: 0; font: 600 16px/1.3 var(--hp-display); letter-spacing: -0.01em; }
.hm-dnshead__txt p:last-child { margin: 6px 0 0; font-size: 13px; color: var(--hp-ink-2); display: flex; flex-wrap: wrap; gap: 6px; }
.hm-dnshead__acts { display: flex; gap: 8px; }
.hm-rec { padding: 0; overflow: hidden; }
.hm-rec__head { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; width: 100%; padding: 13px 16px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hm-rec__head:hover { background: var(--hp-fill); }
.hm-rec__state { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--hp-line-2); color: var(--hp-ink-3); }
.hm-rec.is-ok .hm-rec__state { color: var(--hp-ok); border-color: color-mix(in srgb, var(--hp-ok) 40%, transparent); }
.hm-rec.is-warn .hm-rec__state { color: var(--hp-warn); border-color: color-mix(in srgb, var(--hp-warn) 45%, transparent); }
.hm-rec.is-err .hm-rec__state { color: var(--hp-err); border-color: color-mix(in srgb, var(--hp-err) 45%, transparent); }
.hm-rec__title { display: flex; flex-direction: column; min-width: 0; }
.hm-rec__title strong { font: 600 14px/1.3 var(--hp-display); display: flex; gap: 8px; align-items: baseline; }
.hm-rec__title em { font: 500 10.5px/1 var(--hp-mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-ink-3); }
.hm-rec__title small { color: var(--hp-ink-2); font-size: 12.5px; }
.hm-rec__chev { color: var(--hp-ink-3); transition: transform .2s; }
.hm-rec__head[aria-expanded=true] .hm-rec__chev { transform: rotate(180deg); }
.hm-rec__body { padding: 0 16px 16px 56px; display: flex; flex-direction: column; gap: 12px; }
.hm-rec__why { margin: 0; font-size: 12.5px; color: var(--hp-ink-3); }
.hm-recbox { border: 1px solid var(--hp-line-2); border-radius: 6px; padding: 12px; background: var(--hp-bg); display: flex; flex-direction: column; gap: 10px; }
.hm-recbox__label { margin: 0; font: 500 10.5px/1 var(--hp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-ink-3); }
.hm-recbox__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.hm-recbox__grid > div, .hm-recbox__val { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.hm-recbox small, .hm-found small { font-size: 11.5px; color: var(--hp-ink-3); }
.hm-recbox__grid code { font-size: 13px; font-weight: 600; }
.hm-recbox__note { margin: 0; font-size: 12.5px; color: var(--hp-ink-2); }
.hm-found { display: flex; flex-direction: column; gap: 4px; }
.hm-found code { font-size: 12px; color: var(--hp-ink-2); overflow-wrap: anywhere; padding: 4px 8px; border-left: 2px solid var(--hp-line-2); }
.hm-domains { list-style: none; margin: 0 0 10px; padding: 0; }
.hm-domains li { display: flex; align-items: center; gap: 8px; min-height: 36px; border-top: 1px solid var(--hp-line); font: 500 13px/1 var(--hp-mono); }
.hm-domains li > span { flex: 1; overflow-wrap: anywhere; }
.hm-domains em { font: 500 10.5px/1 var(--hp-mono); font-style: normal; text-transform: uppercase; color: var(--hp-ink-3); }
.hm-proof { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 10px; border: 1px solid var(--hp-accent-line); border-radius: 6px; font-size: 12.5px; }
.hm-proof p { margin: 0; }

/* --------------------------------------------------------------- spam --- */
.hm-policy--wl h2 .hp-ico { color: var(--hp-ok); }
.hm-policy--bl h2 .hp-ico { color: var(--hp-err); }
.hm-plist { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; }
.hm-plist li { display: flex; align-items: center; justify-content: space-between; min-height: 36px; border-top: 1px solid var(--hp-line); font-size: 12.5px; }
.hm-scores { display: flex; flex-direction: column; }
.hm-score { display: grid; grid-template-columns: 24px minmax(160px, 1fr) minmax(120px, 2fr) auto auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--hp-line); }
.hm-score strong { font: 500 13px/1.2 var(--hp-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-score__nums { font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); white-space: nowrap; }
.hm-scale { position: relative; height: 6px; border-radius: 3px; background: var(--hp-fill-2); overflow: hidden; }
.hm-scale i { position: absolute; top: 0; bottom: 0; }
.hm-scale__ok { left: 0; background: color-mix(in srgb, var(--hp-ok) 55%, transparent); }
.hm-scale__junk { background: color-mix(in srgb, var(--hp-warn) 65%, transparent); }
.hm-scale__rej { right: 0; background: color-mix(in srgb, var(--hp-err) 65%, transparent); }
.hm-verdicts li { grid-template-columns: 52px minmax(0, 1fr) auto 64px auto; }
.hm-verdicts__score { display: flex; flex-direction: column; gap: 4px; }
.hm-verdicts__score b { font: 600 12px/1 var(--hp-mono); }
.hm-verdicts__score i { position: relative; display: block; height: 3px; border-radius: 2px; background: var(--hp-fill-2); overflow: hidden; }
.hm-verdicts__score i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: currentColor; }
.hm-verdicts__score.is-ok { color: var(--hp-ok); }
.hm-verdicts__score.is-warn { color: var(--hp-warn); }
.hm-verdicts__score.is-err { color: var(--hp-err); }

/* ------------------------------------------------------ deliverability --- */
.hm-auth { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--hp-line); border-radius: 8px; overflow: hidden; }
.hm-auth__tile { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 0; border-right: 1px solid var(--hp-line); background: var(--hp-surface); color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hm-auth__tile:last-child { border-right: 0; }
.hm-auth__tile:hover { background: var(--hp-fill-2); }
.hm-auth__k { font: 600 11px/1 var(--hp-mono); letter-spacing: .1em; color: var(--hp-ink-3); }
.hm-auth__tile strong { font: 600 15px/1.2 var(--hp-display); }
.hm-auth__tile small { font-size: 12px; color: var(--hp-ink-3); }
.hm-auth__tile.is-ok strong { color: var(--hp-ok); }
.hm-auth__tile.is-warn strong { color: var(--hp-warn); }
.hm-auth__tile.is-err strong { color: var(--hp-err); }
.hm-blsum { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--hp-line); font-size: 13px; color: var(--hp-ink-2); }
.hm-blsum.is-ok > .hp-ico { color: var(--hp-ok); }
.hm-blsum.is-err > .hp-ico { color: var(--hp-err); }
.hm-bl { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hm-bl__row { display: grid; grid-template-columns: 10px 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--hp-line); font-size: 12.5px; }
.hm-bl__row code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hp-ink-3); font-size: 11.5px; }
.hm-bl__row small { font: 500 11px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-bl__row.is-listed small { color: var(--hp-err); }
.hm-queue li { padding: 10px 16px; border-top: 1px solid var(--hp-line); }
.hm-queue li:first-child { border-top: 0; }
.hm-queue__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; }
.hm-queue__top time { margin-left: auto; font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-queue__why { margin: 6px 0 0; font: 400 11.5px/1.55 var(--hp-mono); color: var(--hp-ink-3); overflow-wrap: anywhere; }
.hm-ips { list-style: none; margin: 0 0 10px; padding: 0; }
.hm-ips li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--hp-line); font-size: 12.5px; }
.hm-ips small { display: flex; align-items: center; gap: 6px; color: var(--hp-ink-3); }

/* ------------------------------------------------------------ devices --- */
.hm-settings td { font-size: 13px; }
.hm-qr { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hm-qr img { width: 168px; height: 168px; padding: 8px; background: #fff; border: 1px solid var(--hp-line-2); border-radius: 6px; }
.hm-qr p { margin: 0; font-size: 12.5px; color: var(--hp-ink-3); }

/* ------------------------------------------------------------- import --- */
.hm-mig { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.hm-mig h2 { margin: 0 0 12px; font: 600 15px/1.35 var(--hp-display); max-width: 60ch; }
.hm-mig__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-mig__steps li { display: flex; gap: 10px; font-size: 12.5px; color: var(--hp-ink-2); }
.hm-mig__steps b { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1px solid var(--hp-line-2); border-radius: 50%; font: 600 10.5px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.hm-prov { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: 8px; background: var(--hp-surface); color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hm-prov:hover:not(:disabled) { border-color: var(--hp-ink-3); }
.hm-prov:disabled { opacity: .5; cursor: default; }
.hm-prov > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.hm-prov strong { font-size: 13px; font-weight: 600; }
.hm-prov small { font: 400 11.5px/1.3 var(--hp-mono); color: var(--hp-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-jobs li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--hp-line); }
.hm-jobs li:first-child { border-top: 0; }
.hm-jobs__main { display: flex; flex-direction: column; min-width: 0; }
.hm-jobs__main strong { font: 600 13px/1.35 var(--hp-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-jobs__main em { font-style: normal; color: var(--hp-ink-3); font-weight: 500; }
.hm-jobs__main small { color: var(--hp-ink-3); font-size: 12px; }
.hm-jobs__last { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.hm-jobs__last small { font: 500 11px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-jobs__acts { display: flex; gap: 6px; }
.hm-console-x { margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; }
.hm-log .hp-console__body { height: 320px; }

/* --------------------------------------------------------------- logs --- */
.hm-seg { padding: 3px; }
.hm-seg > button { height: 28px; font-size: 12.5px; }
.hm-logs__count { margin-left: auto; }
.hm-logs__body { height: calc(100dvh - 300px); min-height: 360px; overflow: auto; padding: 6px 0; scrollbar-color: rgb(255 255 255 / .2) transparent; }
.hm-line { display: grid; grid-template-columns: 128px 62px minmax(0, 1fr); gap: 12px; padding: 2px 14px; margin: 0; font: 400 12px/1.6 var(--hp-mono); color: #d8d5cf; }
.hm-line:hover { background: rgb(255 255 255 / .04); }
.hm-line time { color: rgb(233 230 225 / .45); white-space: nowrap; }
.hm-line__prog { color: rgb(233 230 225 / .55); overflow: hidden; text-overflow: ellipsis; }
.hm-line__msg { overflow-wrap: anywhere; }
.hm-line__ip { color: rgb(233 230 225 / .4); }
.hm-line.is-bad .hm-line__msg { color: #f2a48f; }
.hm-line.is-good .hm-line__msg { color: #b9dcb4; }
.hm-line--none { display: block; color: rgb(233 230 225 / .5); padding: 14px; }

/* --------------------------------------------------------------- sheet --- */
.hm-scrim { position: fixed; inset: 0; z-index: 70; background: rgb(0 0 0 / .4); }
.hm-sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(560px, 100vw); background: var(--hp-bg); border-left: 1px solid var(--hp-line-2); box-shadow: var(--hp-shadow-lg); }
.hm-in { transition: transform .22s var(--hp-ease); }
.hm-in-from { transform: translateX(100%); }
.hm-sheet__in { display: flex; flex-direction: column; height: 100%; }
.hm-sheet__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--hp-line); }
.hm-sheet__head h2 { margin: 0; font: 600 15px/1.3 var(--hp-mono); overflow-wrap: anywhere; }
.hm-sheet__head p { margin: 3px 0 0; display: flex; align-items: center; gap: 8px; color: var(--hp-ink-3); font-size: 12.5px; }
.hm-sheet__tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--hp-line); overflow-x: auto; scrollbar-width: none; }
.hm-sheet__tabs button { flex: none; height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--hp-ink-3); font: 500 12.5px/1 var(--hp-font); cursor: pointer; }
.hm-sheet__tabs button:hover { color: var(--hp-ink); }
.hm-sheet__tabs button.is-active { color: var(--hp-ink); border-bottom-color: var(--hp-accent); }
.hm-sheet__body { flex: 1; overflow-y: auto; padding: 18px; }
.hm-usebig { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hp-line); border-radius: 8px; }
.hm-usebig > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-right: 1px solid var(--hp-line); }
.hm-usebig > div:last-child { border-right: 0; }
.hm-usebig small { font: 500 10.5px/1 var(--hp-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--hp-ink-3); }
.hm-usebig b { font: 600 15px/1.2 var(--hp-display); }
.hm-apps { list-style: none; margin: 0; padding: 0; }
.hm-apps li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--hp-line); }
.hm-apps li > span { display: flex; flex-direction: column; font-size: 13px; }
.hm-apps small { color: var(--hp-ink-3); font: 400 11px/1.5 var(--hp-mono); }
.hm-appnew { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--hp-line); border-radius: 8px; }
.hm-appnew .hp-btn { align-self: flex-end; }
.hm-oostate { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: 6px; font-size: 13px; font-weight: 500; }
.hm-oostate.is-on { border-color: color-mix(in srgb, var(--hp-ok) 45%, transparent); }
.hm-danger { display: flex; gap: 12px; padding: 14px; border: 1px solid color-mix(in srgb, var(--hp-err) 40%, transparent); border-radius: 8px; font-size: 13px; }
.hm-danger > .hp-ico { color: var(--hp-err); flex: none; }
.hm-danger p { margin: 4px 0 0; color: var(--hp-ink-3); }

/* -------------------------------------------------------------- modal --- */
.hm-modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / .45); }
.hm-modal__box { display: flex; flex-direction: column; gap: 14px; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px; background: var(--hp-bg); border: 1px solid var(--hp-line-2); border-radius: 10px; box-shadow: var(--hp-shadow-lg); }
.hm-modal__box--wide { width: min(640px, 100%); }
.hm-modal__box > header { display: flex; align-items: center; justify-content: space-between; }
.hm-modal__box > header h2 { margin: 0; font: 600 16px/1.2 var(--hp-display); }
.hm-modal__box > footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hp-line); }
.hm-modal__box > footer > span:empty { flex: 1; }
.hm-secret { align-items: stretch; }
.hm-secret__ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hp-accent-line); border-radius: 8px; color: var(--hp-accent); }
.hm-secret h2 { margin: 0; font: 600 17px/1.2 var(--hp-display); }
.hm-secret__kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 12px; align-items: center; margin: 0; }
.hm-secret__kv dt { font-size: 12.5px; color: var(--hp-ink-3); }
.hm-secret__kv dd { margin: 0; min-width: 0; font-size: 12.5px; }

.hm-toast { position: fixed; right: 20px; bottom: 44px; z-index: 90; display: flex; align-items: center; gap: 10px; max-width: min(440px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 8px; background: var(--hp-ink); color: var(--hp-bg); font-size: 13px; font-weight: 500; box-shadow: var(--hp-shadow-lg); }
.hm-toast.is-err { background: var(--hp-err); color: #fff; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1180px) {
    .hm-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-figs > div:nth-child(3n) { border-right: 0; }
    .hm-figs > div:nth-child(-n+3) { border-bottom: 1px solid var(--hp-line); }
    .hm-box { grid-template-columns: minmax(0, 1fr) 150px auto; }
    .hm-box__meta { display: none; }
}
@media (max-width: 900px) {
    .hm-app { grid-template-columns: minmax(0, 1fr); }
    .hm-nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 72; width: min(280px, 86vw); height: 100dvh; transform: translateX(-102%); transition: transform .22s var(--hp-ease); box-shadow: var(--hp-shadow-lg); }
    .hm-app.is-nav .hm-nav { transform: none; }
    .hm-bar { padding: 0 16px; }
    .hm-bar__menu { display: grid; }
    .hm-panel { padding: 16px 16px 40px; }
    .hm-mail { padding: 10px; }
    .hm-banner { margin: 12px 16px 0; }
    .hm-dnshead { grid-template-columns: auto minmax(0, 1fr); }
    .hm-dnshead__acts { grid-column: 1 / -1; }
    .hm-auth { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-auth__tile:nth-child(2) { border-right: 0; }
    .hm-auth__tile:nth-child(-n+2) { border-bottom: 1px solid var(--hp-line); }
    .hm-mig { grid-template-columns: minmax(0, 1fr); }
    .hm-mig__steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .hm-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-figs > div { border-bottom: 1px solid var(--hp-line); }
    .hm-figs > div:nth-child(3n) { border-right: 1px solid var(--hp-line); }
    .hm-figs > div:nth-child(2n) { border-right: 0; }
    .hm-figs > div:nth-last-child(-n+2) { border-bottom: 0; }
    .hm-box { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
    .hm-box__use { grid-column: 1 / -1; grid-row: 2; }
    .hm-box__acts .hp-btn--icon { display: none; }
    .hm-catchall { grid-template-columns: minmax(0, 1fr); }
    .hm-catchall__ico { display: none; }
    .hm-feed li { grid-template-columns: 26px minmax(0, 1fr) auto; }
    .hm-feed time { display: none; }
    .hm-verdicts li { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .hm-verdicts time, .hm-verdicts .hp-btn { display: none; }
    .hm-score { grid-template-columns: 24px minmax(0, 1fr) auto; }
    .hm-scale, .hm-score__nums { display: none; }
    .hm-jobs li { grid-template-columns: 14px minmax(0, 1fr); }
    .hm-jobs__last, .hm-jobs__acts { grid-column: 2; align-items: flex-start; }
    .hm-2, .hm-3 { grid-template-columns: minmax(0, 1fr); }
    .hm-presets { grid-template-columns: minmax(0, 1fr); }
    .hm-rec__body { padding-left: 16px; }
    .hm-rec__head { grid-template-columns: 26px minmax(0, 1fr) 16px; }
    .hm-rec__head .hp-badge { display: none; }
    .hm-line { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 12px; }
    .hm-bl__row { grid-template-columns: 10px minmax(0, 1fr) auto; }
    .hm-bl__row code { display: none; }
    .hm-quota { width: 100%; order: 3; }
    .hm-toolbar > .hp-btn--accent { margin-left: 0; }
    .hm-pick .hp-input { min-width: 0; width: 100%; }
    .hm-pick { flex: 1 1 100%; }
    .hm-sheet { width: 100vw; }
    .hm-dnshead { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hm-dnshead__score { flex-direction: row; gap: 8px; width: auto; height: auto; padding: 8px 12px; justify-self: start; }
    .hm-dnshead__acts { grid-column: auto; }
    .hm-bar__crumb { display: none; }
}

/* ----------------------------------------------------- panel frame ------ */
/* Mail and administration are the rail's buttons; the inbox fills the body. */
.hpf.hm-app { border-top: 0; }
.hm-store { display: inline-flex; align-items: center; gap: 10px; margin-right: 6px; }
.hm-store small { font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); white-space: nowrap; }
.hm-store .hp-meter { display: block; width: 90px; }
@media (max-width: 640px) { .hm-store { display: none; } }
.hpf.hm-app .hm-panel { max-width: none; }
.hm-prov__logo .hp-logo { width: 16px; height: 16px; color: var(--hp-ink); }

/* ── deliverability score + provider table (2026-11-24) ───────────────── */
.hm-dscore { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.hm-dscore__head { display: flex; gap: 18px; align-items: center; }
.hm-dscore__head h2 { margin: 0 0 2px; }
.hm-dscore__grade { flex: none; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--hp-line); text-align: center; line-height: 1; }
.hm-dscore__grade strong { font: 700 30px/1 var(--hp-display, var(--hp-font)); }
.hm-dscore__grade small { font-size: 11px; color: var(--hp-ink-3); margin-top: -14px; }
.hm-dscore__grade.is-ok { border-color: var(--hp-ok); color: var(--hp-ok); }
.hm-dscore__grade.is-warn { border-color: var(--hp-warn); color: var(--hp-warn); }
.hm-dscore__grade.is-err { border-color: var(--hp-err); color: var(--hp-err); }
.hm-fixes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.hm-fixes li { display: flex; gap: 8px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--hp-line); border-radius: var(--hp-r-sm, 6px); }
.hm-fixes li .hp-badge { flex: none; text-transform: capitalize; }
.hm-dtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.hm-dtable th { text-align: left; font-weight: 500; color: var(--hp-ink-3); padding: 6px 8px; border-bottom: 1px solid var(--hp-line); }
.hm-dtable td { padding: 6px 8px; border-bottom: 1px solid var(--hp-line); }
.hm-dtable td.is-err, .hm-dscore .is-err { color: var(--hp-err); font-weight: 600; }
.hm-logs__status { width: auto; min-width: 140px; }
div.hm-auth__tile { cursor: default; }
@media (max-width: 900px) {
  .hm-auth { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-auth__tile:nth-child(3n) { border-right: 0; }
  .hm-dtable { display: block; overflow-x: auto; }
}
@media (max-width: 520px) {
  .hm-auth { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-dscore__head { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ analytics --- */
/* One accent (delivered / outgoing), ink for incoming, warn/err only for states
   that need attention. Bars have no background track; empty is empty. */
.hm-an { display: flex; flex-direction: column; gap: 16px; }
.hm-an__body { display: flex; flex-direction: column; gap: 16px; }
.hm-an__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hm-an__stamp { margin-left: auto; font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-an__figs { transition: opacity .2s var(--hp-ease, ease); }
.hm-an__figs.is-loading { opacity: .55; }
.hm-figs b.is-err { color: var(--hp-err); }
.hm-trend.is-up::before { content: "↑ "; color: var(--hp-ok); }
.hm-trend.is-down::before { content: "↓ "; color: var(--hp-ink-3); }
.hm-an__empty { margin-top: 4px; }

.hm-an__sw-wait, .hm-an__wait { background: color-mix(in srgb, var(--hp-warn) 70%, transparent); }
.hm-an__sw-bad, .hm-an__bad { background: var(--hp-err); }
.hm-an__ok { background: var(--hp-accent); }
.hm-an__in { background: var(--hp-ink-2); opacity: .55; }

.hm-an__chart { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; height: 210px; padding-top: 6px; }
.hm-an__col { display: flex; flex-direction: column; min-width: 0; }
.hm-an__pair { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-bottom: 1px solid var(--hp-line-2); }
.hm-an__stack { display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; min-width: 0; }
.hm-an__stack i { display: block; border-radius: 1px; transform-origin: bottom; }
.hm-an__col:hover .hm-an__pair { background: var(--hp-fill); }
.hm-an__col small { height: 16px; margin-top: 4px; font: 500 10px/16px var(--hp-mono); color: var(--hp-ink-3); white-space: nowrap; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .hm-an__stack i { animation: hm-an-grow .5s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes hm-an-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

.hm-an__split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.hm-an__trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.hm-prov2 { list-style: none; margin: 0; padding: 0; }
.hm-prov2 li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 42%); align-items: center; gap: 6px 16px; padding: 12px 16px; border-top: 1px solid var(--hp-line); }
.hm-prov2 li:first-child { border-top: 0; }
.hm-prov2__name { display: flex; flex-direction: column; min-width: 0; }
.hm-prov2__name strong { font-weight: 500; font-size: 13.5px; }
.hm-prov2__name small { color: var(--hp-ink-3); font-size: 12px; }
.hm-prov2__rate { display: flex; align-items: center; gap: 10px; }
.hm-prov2__bar { height: 6px; border-radius: 3px; background: var(--hp-accent); min-width: 2px; }
.hm-prov2__bar.is-warn { background: var(--hp-warn); }
.hm-prov2__rate b { font: 600 13px/1 var(--hp-mono); font-variant-numeric: tabular-nums; }
.hm-prov2__flag { grid-column: 1 / -1; font-size: 12px; color: var(--hp-err); }

.hm-heat { display: flex; flex-direction: column; gap: 3px; }
.hm-heat__row { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.hm-heat__row span { font: 500 10.5px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-heat__row i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--hp-fill-2); }
.hm-heat__row i.is-on { background: var(--hp-accent); }
.hm-heat__axis { display: grid; grid-template-columns: 34px repeat(4, 6fr) 1fr; font: 500 10px/1 var(--hp-mono); color: var(--hp-ink-3); margin-top: 4px; }

.hm-rank { list-style: none; margin: 0; padding: 0; }
.hm-rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; padding: 10px 16px; border-top: 1px solid var(--hp-line); }
.hm-rank li:first-child { border-top: 0; }
.hm-rank__name { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-rank b { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 600 15px/1 var(--hp-display); font-variant-numeric: tabular-nums; }
.hm-rank small { color: var(--hp-ink-3); font-size: 12px; }
.hm-rank small.is-err { color: var(--hp-err); }

.hm-attn { list-style: none; margin: 0; padding: 0; }
.hm-attn li { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 16px; border-top: 1px solid var(--hp-line); }
.hm-attn li:first-child { border-top: 0; }
.hm-attn .hp-badge { justify-self: start; }
.hm-attn strong { font-weight: 500; font-size: 13.5px; word-break: break-all; }
.hm-attn p { margin: 2px 0 0; color: var(--hp-ink-2); font-size: 13px; line-height: 1.45; max-width: 70ch; }
.hm-attn time { font: 500 11.5px/1.4 var(--hp-mono); color: var(--hp-ink-3); white-space: nowrap; }
.hm-line__why { display: block; margin-top: 2px; color: var(--hp-ink-2); font-family: var(--hp-font); white-space: normal; }

@media (max-width: 1100px) {
  .hm-an__trio { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hm-an__split, .hm-an__trio { grid-template-columns: 1fr; }
  .hm-an__figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-an__figs > div:nth-child(3n) { border-right: 0; }
  .hm-an__figs > div:nth-child(-n+3) { border-bottom: 1px solid var(--hp-line); }
}
@media (max-width: 560px) {
  .hm-an__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-an__figs > div { border-right: 1px solid var(--hp-line) !important; border-bottom: 1px solid var(--hp-line); }
  .hm-an__figs > div:nth-child(2n) { border-right: 0 !important; }
  .hm-an__chart { height: 160px; gap: 2px; }
  .hm-an__stamp { margin-left: 0; width: 100%; }
  .hm-attn li { grid-template-columns: 1fr; gap: 6px; }
  .hm-heat__row span { font-size: 9px; }
}
.hm-attn__who { display: block; margin-top: 4px; color: var(--hp-ink-3); font: 500 11.5px/1.5 var(--hp-mono); word-break: break-word; }
.hm-rank__name.is-muted { color: var(--hp-ink-3); font-style: italic; }
.hm-an .hp-card__head { flex-wrap: wrap; row-gap: 8px; }
.hm-an .hm-legend { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 560px) { .hm-an .hp-card__head > div:first-child { flex: 1 1 100%; } }
.hm-limit { display: grid; grid-template-columns: 120px minmax(0, 180px); gap: 8px; }
.hm-held { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--hp-err) 40%, transparent); border-radius: 8px; }
.hm-held > .hp-ico { color: var(--hp-err); flex: none; }
.hm-held p { margin: 2px 0 0; font-size: 13px; color: var(--hp-ink-2); }

/* ------------------------------------------------------- inbox placement --- */
.hm-place .hm-form.hm-pad { padding: 0 16px 14px; }
.hm-place__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hm-place__list { list-style: none; margin: 0; padding: 0; }
.hm-place__list > li { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--hp-line); }
.hm-place__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.hm-place__top strong { font-weight: 600; font-size: 13.5px; }
.hm-place__top time { font: 500 11.5px/1 var(--hp-mono); color: var(--hp-ink-3); }
.hm-place__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.hm-place__chip { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--hp-line); border-radius: 8px; }
.hm-place__chip b { font-weight: 500; font-size: 12.5px; }
.hm-place__chip em { font-style: normal; font-size: 12px; color: var(--hp-ink-3); }
.hm-place__chip.is-inbox { border-color: color-mix(in srgb, var(--hp-ok) 45%, transparent); }
.hm-place__chip.is-inbox em { color: var(--hp-ok); }
.hm-place__chip.is-spam, .hm-place__chip.is-missing { border-color: color-mix(in srgb, var(--hp-err) 45%, transparent); }
.hm-place__chip.is-spam em, .hm-place__chip.is-missing em { color: var(--hp-err); }
.hm-place__chip.is-other em { color: var(--hp-warn); }
@media (prefers-reduced-motion: no-preference) {
  .hm-place__chip.is-waiting em { animation: hm-pulse 1.4s ease-in-out infinite; }
  @keyframes hm-pulse { 50% { opacity: .35; } }
}

.hm-place .hp-card__head { flex-wrap: wrap; row-gap: 8px; }
.hm-place .hp-card__head > div:first-child { flex: 1 1 220px; min-width: 0; }

/* ------------------------------------------------------------ engagement --- */
.hm-eng { display: flex; flex-direction: column; gap: 14px; }
.hm-eng .hp-card__head { flex-wrap: wrap; row-gap: 8px; }
.hm-eng--empty { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hm-eng--empty h2 { margin: 0 0 2px; }
.hm-eng__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 16px; align-items: stretch; }
.hm-eng__chart { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; height: 150px; }
.hm-eng__click { background: var(--hp-ink-2); }
.hm-eng__kinds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hm-eng__kinds li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--hp-line); font-size: 13px; }
.hm-eng__kinds li:first-child { border-top: 0; }
.hm-eng__kinds span { color: var(--hp-ink-3); font-size: 12px; text-align: right; }
.hm-eng__kinds b { font: 600 12.5px/1.3 var(--hp-mono); font-variant-numeric: tabular-nums; }
.hm-eng__camps td small { display: block; color: var(--hp-ink-3); font-size: 11.5px; }
.hm-eng__cname { display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .hm-eng__row { grid-template-columns: 1fr; }
  .hm-eng__figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-eng__camps { display: block; overflow-x: auto; }
}
@media (max-width: 560px) { .hm-eng__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Campaigns tab: the Business OS marketing suite. Its root (.em) is an inline-size
   container, so it has no intrinsic width: give it the panel's full width. */
.hm-panel > .hm-mkt { align-self: stretch; width: 100%; min-width: 0; }
.hm-mkt > .em { width: 100%; }
/* In the mail panel the sidebar picks the marketing section, so the suite's own tab strip goes. */
.hm-mkt .em-tabs { display: none; }
.hm-box__acts .hm-webmail-btn { gap: 6px; }
.hm-mailbar { display: flex; align-items: center; gap: 10px; padding: 10px 24px 0; font-size: 13px; color: var(--hp-ink-3); }

/* ==========================================================================
   Marketing sections inside the mail panel (2026-11-24 design pass)
   The suite is the Business OS component; here it is re-themed onto the
   panel's own tokens so it reads as one product:
     - shape: cards 14px (--hp-r-lg), controls 10px (--hp-r-sm), pills for state
     - colour: one accent (--hp-accent) for primary actions only
     - type: Inter Tight for headings, Inter body, JetBrains Mono for numbers
   ========================================================================== */
.hm-mkt .em {
    --em-surface: var(--hp-surface);
    --em-paper: var(--hp-bg);
    --em-well: var(--hp-fill);
    --em-fill: var(--hp-fill-2);
    --em-hair: var(--hp-line);
    --em-hair-2: var(--hp-line-2);
    --em-r: var(--hp-r-lg);
    --em-r-sm: var(--hp-r-sm);
    --em-display: var(--hp-display);
    --em-mono-f: var(--hp-mono);
    --em-accent: var(--hp-accent);
    --em-accent-soft: var(--hp-accent-soft);
    font-family: var(--hp-font);
    padding-bottom: 0;
}

/* Page head: the panel header already names the page, so the big title is
   for screen readers only; the description and actions stay as a toolbar. */
.hm-mkt .em-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; }
.hm-mkt .em-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hm-mkt .em-sub { margin: 0; max-width: 65ch; color: var(--hp-ink-3); font-size: 13.5px; line-height: 1.5; }
.hm-mkt .em-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons: same shape and weight as .hp-btn; the accent only on the primary action. */
.hm-mkt .em-btn { height: 36px; padding: 0 14px; border-radius: var(--hp-r-sm); border-color: var(--hp-line-2); background: var(--hp-surface); font: 600 13px/1 var(--hp-font); letter-spacing: -0.01em; }
.hm-mkt .em-btn:hover { border-color: var(--hp-ink-3); }
.hm-mkt .em-btn.is-primary { background: var(--hp-accent); border-color: var(--hp-accent); color: #fff; }
.hm-mkt .em-btn.is-primary:hover { box-shadow: 0 0 0 1px var(--hp-accent-line), 0 10px 28px -12px var(--hp-accent); }
.hm-mkt .em-btn:active, .hm-mkt .em-icon-btn:active { transform: translateY(1px); }
.hm-mkt .em-btn:focus-visible, .hm-mkt .em-input:focus-visible, .hm-mkt .em-subnav button:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 2px; }
.hm-mkt .em-link { color: var(--hp-accent); }

/* Fields: the panel's input. */
.hm-mkt .em-input { height: 38px; border-radius: var(--hp-r-sm); border-color: var(--hp-line-2); background: var(--hp-bg); font: 400 14px/1.2 var(--hp-font); }
.hm-mkt textarea.em-input { height: auto; line-height: 1.5; padding: 10px 12px; }
.hm-mkt .em-input:focus { outline: none; border-color: var(--hp-accent-line); box-shadow: 0 0 0 3px var(--hp-accent-soft); }
.hm-mkt .em-input::placeholder { color: var(--hp-ink-3); }
.hm-mkt .em-field > span, .hm-mkt .em-field > b { font-size: 12.5px; font-weight: 600; color: var(--hp-ink-2); }

/* Sub-navigation (Contacts / Lists / Segments ...): the panel's segmented control. */
.hm-mkt .em-subnav { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 16px; border-radius: 12px; background: var(--hp-fill); border: 1px solid var(--hp-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hm-mkt .em-subnav button { height: 30px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--hp-ink-3); font: 500 13px/1 var(--hp-font); white-space: nowrap; cursor: pointer; transition: color .15s, background .15s; }
.hm-mkt .em-subnav button:hover { color: var(--hp-ink); }
.hm-mkt .em-subnav button.is-on { background: var(--hp-bg-2); color: var(--hp-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12), inset 0 0 0 1px var(--hp-line); }

/* Lists sit in a card, like every other panel list. */
.hm-mkt .em-ledger, .hm-mkt .em-people-list, .hm-mkt .em-rows {
    margin: 0; padding: 0; list-style: none; overflow: hidden;
    border: 1px solid var(--hp-line); border-radius: var(--hp-r-lg); background: var(--hp-surface);
}
.hm-mkt .em-crow, .hm-mkt .em-person, .hm-mkt .em-row { border-bottom: 1px solid var(--hp-line); padding-inline: 16px; }
.hm-mkt .em-ledger > :last-child, .hm-mkt .em-people-list > :last-child, .hm-mkt .em-rows > :last-child { border-bottom: 0; }
.hm-mkt .em-crow-hit, .hm-mkt .em-person-hit { border-radius: 0; }
.hm-mkt .em-crow:hover, .hm-mkt .em-person:hover { background: var(--hp-fill); }
.hm-mkt .em-crow-name, .hm-mkt .em-person-name { font-weight: 600; }
.hm-mkt .em-crow-note { color: var(--hp-ink-3); }
.hm-mkt .em-none { padding: 22px 16px; color: var(--hp-ink-3); }
.hm-mkt .em-avatar { background: var(--hp-fill-2); color: var(--hp-ink-2); font-family: var(--hp-mono); }
.hm-mkt .em-num, .hm-mkt .em-crow-stats { font-family: var(--hp-mono); font-variant-numeric: tabular-nums; }

/* Filter/add rows above a list: a toolbar card. */
.hm-mkt .em-add { border: 1px solid var(--hp-line); border-radius: var(--hp-r-lg); background: var(--hp-surface); padding: 14px 16px; }
.hm-mkt .em-toolbar { gap: 8px; margin: 14px 0; }

/* Forms: readable width, each group a card. */
.hm-mkt .em-form { max-width: 760px; gap: 16px; }
.hm-mkt .em-group, .hm-mkt .em-group.is-panel {
    padding: 18px 20px 20px; margin: 0; gap: 14px;
    border: 1px solid var(--hp-line); border-radius: var(--hp-r-lg); background: var(--hp-surface); box-shadow: none;
}
.hm-mkt .em-group > legend, .hm-mkt .em-group > h3 { float: left; width: 100%; margin: 0 0 2px; padding: 0; font: 600 15px/1.3 var(--hp-display); letter-spacing: -0.015em; color: var(--hp-ink); }
.hm-mkt .em-group > legend + * { clear: both; }
.hm-mkt .em-hint { color: var(--hp-ink-3); font-size: 13px; line-height: 1.5; max-width: 65ch; }
.hm-mkt .em-go-row { display: flex; justify-content: flex-end; gap: 8px; }
.hm-mkt .em-group.is-panel { margin-top: 16px; max-width: 760px; }

/* Plan usage strip at the bottom: the panel's figures row. */
.hm-mkt .em-allowance { border: 1px solid var(--hp-line); border-radius: var(--hp-r-lg); background: var(--hp-surface); padding: 14px 16px; margin-top: 20px; }
.hm-mkt .em-meter { border-radius: 99px; }

/* Designs: thumbnails share the card radius. */
.hm-mkt .em-recipe, .hm-mkt .em-tape { border-radius: var(--hp-r-lg); }

/* Menus (From a template, row menus). */
.hm-mkt .em-menu-pop { border: 1px solid var(--hp-line-2); border-radius: var(--hp-r-sm); background: var(--hp-bg-2); box-shadow: var(--hp-shadow-lg); }
.hm-mkt .em-menu-item { border-radius: 7px; }

@media (prefers-reduced-motion: reduce) {
    .hm-mkt .em-btn, .hm-mkt .em-subnav button, .hm-mkt .em-crow, .hm-mkt .em-person { transition: none; }
}
@media (max-width: 640px) {
    .hm-mkt .em-head { align-items: flex-start; }
    .hm-mkt .em-head-actions { width: 100%; }
    .hm-mkt .em-head-actions .em-btn { flex: 1 1 auto; }
    .hm-mkt .em-crow, .hm-mkt .em-person, .hm-mkt .em-row { padding-inline: 12px; }
    .hm-mkt .em-group { padding: 16px; }
}

/* Shape lock for the panel's own figure strips and chips added this round. */
.hm-figs, .hm-auth { border-radius: var(--hp-r-lg); }
.hm-place__chip, .hm-fixes li, .hm-held { border-radius: var(--hp-r-sm); }

/* Contrast: white on the orange accent is 2.85:1 (fails WCAG AA). Near-black
   on the same orange is ~7:1, so accent buttons in the mail panel use dark ink. */
.hm .hp-btn--accent, .hm-mkt .em-btn.is-primary { color: #140904; }
.hm .hp-btn--accent .hp-ico, .hm-mkt .em-btn.is-primary svg { color: currentColor; }
.hm-mkt .em-group > legend { border-bottom: 0; padding-bottom: 0; }
.hm-mkt .em-subnav { flex-wrap: nowrap; }
.hm-mkt .em-subnav button { flex: none; }

/* Form-style pages (Sender settings, API & webhooks): the whole column, description
   included, is centred at a readable width instead of hugging the left edge. */
.hm-mkt .em-body:has(> .em-form, > .em-group.is-panel) { max-width: 760px; margin-inline: auto; }
.hm-mkt .em-body:has(> .em-form, > .em-group.is-panel) > .em-form,
.hm-mkt .em-body:has(> .em-form, > .em-group.is-panel) > .em-group.is-panel { max-width: none; }
