/*
 * Mersal public homepage v2 — standalone stylesheet.
 * Loaded only by modules/Frontend/Resources/views/v2/index.blade.php. Every class starts with "mh-"
 * and every rule is scoped to body.mh, so nothing here can reach the dashboards.
 */

/* ---------- tokens ---------- */
.mh {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --soft: #eef7e8;
    --ink: #0a1a3a;
    --ink-2: #2f3d5c;
    --muted: #5b6784;
    --line: #e2e8f2;
    --brand: #36a03a;
    --brand-2: #2b8230;
    --brand-ink: #ffffff;
    --accent: #7ac943;
    --mint: #e3f2db;
    --warn: #b4540a;
    --bad: #c2362f;
    --dark: #0a1a3a;
    --dark-2: #10264f;
    --dark-line: #213a6b;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(10, 26, 58, .05), 0 12px 32px -12px rgba(10, 26, 58, .16);
    --shadow-lg: 0 2px 4px rgba(10, 26, 58, .04), 0 30px 70px -24px rgba(10, 26, 58, .28);
    --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    --ease: cubic-bezier(.22, .8, .25, 1);
    --header-h: 72px;
}

/* ---------- base (scoped) ---------- */
.mh, .mh *, .mh *::before, .mh *::after { box-sizing: border-box; }
.mh-html { scroll-behavior: smooth; scroll-padding-top: 84px; /* header height (72px) + 12px */ -webkit-text-size-adjust: 100%; }
body.mh {
    margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
    font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.mh :where(img, svg) { display: block; max-width: 100%; }
.mh :where(img) { height: auto; }
.mh :where(a) { color: inherit; text-decoration: none; }
.mh :where(button, input, select) { font: inherit; color: inherit; }
.mh :where(button) { cursor: pointer; }
/* base resets carry no extra weight (:where), so every component class below wins over them */
.mh :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; }
.mh :where(ul, ol) { padding: 0; list-style: none; }
.mh :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.mh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mh-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.mh-skip:focus { top: 12px; }

.mh-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .mh-wrap { padding-inline: 28px; } }

.mh-muted { color: var(--muted); }
.mh-center { text-align: center; }
.mh-fine { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.mh-fine svg { display: inline-block; vertical-align: -3px; margin-inline-end: 4px; }
.mh-fine .mh-chip { margin-inline-end: 6px; }

/* ---------- buttons, chips ---------- */
.mh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
    border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.mh-btn:hover { transform: translateY(-1px); }
.mh-btn:active { transform: translateY(0); }
.mh-btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px -8px rgba(54, 160, 58, .6); }
.mh-btn--primary:hover { background: var(--brand-2); }
.mh-btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.mh-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.mh-btn--soft { background: var(--soft); color: var(--brand-2); }
.mh-btn--soft:hover { background: var(--mint); }
.mh-btn--light { background: #fff; color: var(--brand-2); }
.mh-btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.mh-btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.mh-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.mh-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }

.mh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff3e6; color: var(--warn); white-space: nowrap; }
.mh-chip--soft { background: var(--soft); color: var(--muted); font-weight: 500; }
.mh-chip--ok { background: var(--mint); color: var(--brand-2); }
.mh-chip--closed { background: #eef1f6; color: var(--muted); }
.mh-chip--glass { background: rgba(255, 255, 255, .1); color: #cdd6e8; font-weight: 500; vertical-align: middle; }

.mh-av { --h: 160; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 15px;
    background: hsl(var(--h) 60% 90%); color: hsl(var(--h) 55% 28%); }
.mh-av--sm { width: 32px; height: 32px; font-size: 13px; }
.mh-av--xs { width: 28px; height: 28px; font-size: 12px; border: 2px solid #fff; }

/* ---------- header ---------- */
.mh-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 251, .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.mh-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 26, 58, .35); }
.mh-header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.mh-brand img { height: 36px; width: auto; }
.mh-nav { display: none; margin-inline-start: 12px; }
.mh-nav ul { display: flex; gap: 2px; }
.mh-nav a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); font-weight: 500; transition: background .2s, color .2s; }
.mh-nav a:hover, .mh-nav a.is-active { color: var(--brand); background: rgba(54, 160, 58, .07); }
.mh-header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.mh-link-login { display: none; font-weight: 600; font-size: 15px; padding: 8px 10px; color: var(--ink-2); }
.mh-link-login:hover { color: var(--brand); }
.mh-header__actions > .mh-btn { display: none; }
.mh-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.mh-drawer { border-top: 1px solid var(--line); background: var(--bg); padding: 12px 16px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mh-drawer a[data-mh-drawer-link] { display: block; padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mh-drawer__actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 560px) { .mh-header__actions > .mh-btn { display: inline-flex; } }
@media (min-width: 1100px) {
    .mh-nav, .mh-link-login { display: block; }
    .mh-burger, .mh-drawer { display: none !important; }
}

/* ---------- section scaffolding ---------- */
.mh-sec { padding-block: 72px; position: relative; }
.mh-sec--tight { padding-block: 40px; }
.mh-sec--soft { background: var(--surface); }
.mh-sec--dark { background: var(--dark); color: #eef2f9; }
@media (min-width: 900px) { .mh-sec { padding-block: 112px; } .mh-sec--tight { padding-block: 56px; } }

.mh-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.mh-head--side { margin: 0; text-align: start; max-width: none; }
.mh-head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; text-align: start; margin-bottom: 28px; }
.mh-head h2 { font-size: clamp(28px, 6.4vw, 46px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.mh-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: 15px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(54, 160, 58, .08); }
.mh-sec--dark .mh-kicker { color: #a6dc98; background: rgba(54, 160, 58, .1); }
.mh-lead { margin-top: 16px; font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); line-height: 1.8; }
.mh-sec--dark .mh-lead { color: #aab5cc; }
.mh-lead a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.mh-split { display: grid; gap: 40px; align-items: center; }
.mh-split > * { min-width: 0; }
@media (min-width: 960px) { .mh-split { grid-template-columns: 1fr 1.1fr; gap: 64px; } .mh-split--rev > :first-child { order: 2; } }

.mh-try { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.mh-try svg { color: var(--brand); }

.mh-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.mh-card h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 14px; }
.mh-card h3 svg { color: var(--brand); }

.mh-seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--soft); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mh-seg::-webkit-scrollbar { display: none; }
.mh-seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; min-height: 38px; }
.mh-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(10, 26, 58, .2); }
.mh-seg--small button { padding: 6px 12px; font-size: 13px; min-height: 34px; }

/* ---------- reveal on scroll ---------- */
.mh-js .mh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mh-js .mh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.mh-hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.mh-hero__glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
    background: radial-gradient(42% 46% at 50% 30%, rgba(54, 160, 58, .18), transparent 70%), radial-gradient(30% 30% at 82% 18%, rgba(54, 160, 58, .12), transparent 70%); }
.mh-hero__copy { position: relative; text-align: center; max-width: 1040px; }
.mh-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.mh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(54, 160, 58, .2); }
/* "Meta partner" badge of the hero: larger, Meta mark + blue check */
.mh-eyebrow--meta { gap: 12px; padding: 11px 22px 11px 16px; margin-bottom: 6px; font-size: 18px; font-weight: 700; color: var(--ink); border: 1px solid #cfe0fb;
    background: linear-gradient(#fff, #fff) padding-box; box-shadow: 0 0 0 6px rgba(0, 130, 251, .08), 0 14px 32px -14px rgba(0, 100, 225, .5); }
.mh-meta { flex: none; width: 42px; height: 30px; }
.mh-meta-check { flex: none; width: 21px; height: 21px; }
@media (max-width: 520px) { .mh-eyebrow--meta { font-size: 15.5px; gap: 9px; padding: 9px 16px 9px 12px; } .mh-meta { width: 34px; height: 24px; } .mh-meta-check { width: 18px; height: 18px; } }
.mh-hero__title { margin-top: 20px; font-size: clamp(32px, 7.4vw, 64px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.mh-grad { background: linear-gradient(90deg, var(--brand) 0%, #4fb43f 55%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mh-hero__sub { margin: 20px auto 0; max-width: 720px; font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); line-height: 1.85; }
.mh-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.mh-hero__ctas .mh-btn { flex: 1 1 220px; max-width: 320px; }
.mh-hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 22px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.mh-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.mh-hero__points svg { color: var(--brand); }
@media (min-width: 900px) { .mh-hero { padding: 72px 0 96px; } }

/* app frame */
.mh-app { position: relative; margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mh-app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.mh-app__dots { display: flex; gap: 6px; }
.mh-app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7e4; }
.mh-app__title { min-width: 0; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-app__bar .mh-chip { margin-inline-start: auto; }

/* chat bubbles: base look, used by the phone previews (what the customer sees on WhatsApp) */
.mh-msg { position: relative; max-width: 82%; padding: 9px 13px 22px; border-radius: 16px; font-size: 14px; line-height: 1.65; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); word-wrap: break-word; }
.mh-msg time { position: absolute; inset-inline-end: 10px; bottom: 4px; font-size: 10.5px; color: var(--muted); }
.mh-msg--in { align-self: flex-start; background: #fff; border-start-start-radius: 4px; }
.mh-msg--out { align-self: flex-end; background: #d9fdd3; border-start-end-radius: 4px; }
.mh-msg--bot { align-self: flex-end; background: #e8f3ff; border-start-end-radius: 4px; }
.mh-msg--note { align-self: stretch; max-width: none; background: #fff6d8; border: 1px dashed #e5c76b; padding-bottom: 10px; }
.mh-msg--sm { font-size: 13px; padding: 7px 11px; max-width: 90%; }
.mh-msg__by { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--brand-2); margin-bottom: 2px; }
.mh-msg--bot .mh-msg__by { color: #2463a8; }
.mh-msg--note .mh-msg__by { color: #8a6a0a; }
.mh-ticks { color: #9aa5a0; letter-spacing: -3px; margin-inline-start: 4px; transition: color .4s; }
.mh-ticks.is-read { color: #34b7f1; }
.mh-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--ink-2); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); text-align: center; }
.mh-typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; background: #d9fdd3; border-radius: 16px; border-start-end-radius: 4px; }
.mh-typing i { width: 7px; height: 7px; border-radius: 50%; background: #5b8f6c; animation: mh-typing 1.2s infinite; }
.mh-typing i:nth-child(2) { animation-delay: .15s; }
.mh-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mh-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.mh-tag { font-style: normal; font-size: 11.5px; line-height: 1.6; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--brand-2); font-weight: 600; }
.mh-tag--done { background: #eef1f6; color: var(--muted); }

/* ---------- Mersal platform look (.mh-ui): copied from the real chat screen (/chat) ---------- */
.mh-ui { --ui-ink: #32325d; --ui-title: #1f2d3d; --ui-text: #3c4858; --ui-sub: #667781; --ui-line: #e9ecef;
    --ui-blue: #095ea6; --ui-blue-soft: #eff7fe; --ui-indigo: #5e72e4; --ui-green: #2dce89; --ui-teal: #1f827e; --ui-amber: #ffaa00;
    --ui-chat: #efeae2; font-family: "Cairo", var(--font); color: var(--ui-ink); }
.mh-ui__body { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; }
.mh-ui__ibtn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #6c7a89; }

/* sidebar (wide screens only) */
.mh-ui__nav { display: none; border-inline-start: 0; border-inline-end: 1px solid var(--ui-line); background: #fff; }
.mh-ui__brand { height: 64px; display: grid; place-items: center;
    background: radial-gradient(circle at 10% 150%, rgba(43, 182, 115, .42), transparent 55%), radial-gradient(circle at 100% -50%, rgba(31, 134, 207, .6), transparent 60%), #071d36; }
.mh-ui__brand img { width: 96px; height: auto; }
.mh-ui__nav ul { padding: 14px 10px; display: grid; gap: 2px; }
.mh-ui__nav li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; font-size: 13px; color: #525f7f; white-space: nowrap; }
.mh-ui__nav li i { display: grid; place-items: center; color: var(--c); }
.mh-ui__nav li.is-on { background: #eaf3fc; color: var(--ui-blue); font-weight: 600; }

/* conversation list */
.mh-ui__list { display: none; flex-direction: column; min-width: 0; border-inline-end: 1px solid var(--ui-line); padding: 14px 12px 0; background: #fff; overflow: hidden; }
.mh-ui__listhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mh-ui__listhead b { font-size: 19px; font-weight: 600; color: var(--ui-title); }
.mh-ui__field { height: 38px; display: flex; align-items: center; padding: 0 14px; border: 1px solid #dee2e6; border-radius: 10px; color: #adb5bd; font-size: 13px; margin-bottom: 8px; background: #fff; }
.mh-ui__field--select { color: var(--ui-ink); justify-content: space-between; }
.mh-ui__field--select::after { content: ""; width: 7px; height: 7px; border: solid #525f7f; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }
.mh-ui__tabs { display: flex; gap: 4px; padding: 4px; margin: 4px 0 8px; border: 1px solid #eef1f6; border-radius: 12px; background: #f6f9fc; font-size: 12.5px; }
.mh-ui__tabs span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 9px; color: #525f7f; white-space: nowrap; }
.mh-ui__tabs .is-on { background: #fff; color: var(--ui-blue); font-weight: 600; box-shadow: 0 0 0 1px #d6e6f5; }
.mh-ui__tabs em { font-style: normal; font-size: 11px; min-width: 22px; height: 18px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: #172b4d; color: #fff; }
.mh-ui__list > ul { display: grid; align-content: start; }
.mh-ui__conv { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 84px; padding: 8px 6px; border-bottom: 1px solid var(--ui-line); border-radius: 8px; transition: background .3s; }
.mh-ui__conv.is-new { background: var(--ui-blue-soft); box-shadow: inset -2px 0 0 var(--ui-blue); }
[dir="ltr"] .mh-ui__conv.is-new { box-shadow: inset 2px 0 0 var(--ui-blue); }
.mh-ui__main p { display: flex; align-items: center; gap: 6px; }
.mh-ui__main b { font-size: 13.5px; font-weight: 600; color: var(--ui-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-ui__main small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ui-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-ui__timer { flex: none; font-size: 9.5px; font-weight: 700; color: var(--ui-amber); font-variant-numeric: tabular-nums; }
.mh-ui__meta { display: grid; justify-items: center; text-align: center; gap: 1px; width: 98px; }
.mh-ui__line { font-size: 11.5px; color: #1aae6f; line-height: 1.4; }
.mh-ui__meta small { font-size: 9.5px; color: var(--ui-teal); }
.mh-ui__agent { font-size: 12px; color: var(--ui-indigo); min-height: 18px; border-top: 1px solid var(--ui-line); padding-top: 1px; width: 100%; transition: opacity .3s; }
.mh-ui__agent:empty { display: none; }
.mh-ui__unread { margin-top: 3px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #f00; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; transition: transform .3s var(--ease), opacity .3s; }
.mh-ui__unread.is-gone { display: none; }

/* default avatar with the WhatsApp badge, like the platform */
.mh-ui__av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
    background: #e4e7eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='7' fill='%23fff'/%3E%3Cpath d='M6 36c2-8 8-11 14-11s12 3 14 11' fill='%23fff'/%3E%3C/svg%3E") center / cover; }
.mh-ui__av::after { content: ""; position: absolute; inset-inline-start: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff;
    background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3zm4.4 12.4c-.2.5-1.1 1-1.6 1-.4.1-.9.1-1.5-.1-.3-.1-.8-.3-1.4-.5-2.4-1-4-3.5-4.1-3.6-.1-.2-1-1.3-1-2.5s.6-1.8.9-2.1c.2-.2.5-.3.6-.3h.5c.1 0 .3 0 .5.4l.7 1.7c.1.1.1.3 0 .4l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.7 1.1 1.4 1.8 1 .9 1.8 1.1 2.1 1.3.3.1.4.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.6.8c.3.1.4.2.5.3 0 .1 0 .6-.1 1.1z'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* chat column */
.mh-ui__chat { display: flex; flex-direction: column; min-width: 0; }
.mh-ui__head { display: flex; align-items: center; gap: 8px; height: 62px; padding: 0 14px; border-bottom: 1px solid var(--ui-line); background: #fff; }
.mh-ui__who { min-width: 110px; flex: 1; display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.mh-ui__who b { flex-basis: 100%; }
.mh-ui__who b { display: block; font-size: 15px; font-weight: 600; color: var(--ui-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-ui__who small { display: block; font-size: 12px; color: var(--ui-sub); text-align: end; }
[dir="rtl"] .mh-ui__who small { text-align: right; }
.mh-ui__num { display: none; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid #cfe8c3; background: #f0f8eb; color: #2b8230; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mh-ui__log { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; height: 380px; overflow: hidden; /* fixed: the demo never changes the page height */
    background: var(--ui-chat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='3' cy='3' r='1.1' fill='%23ddd5c8'/%3E%3Ccircle cx='17' cy='17' r='.9' fill='%23e3dccf'/%3E%3C/svg%3E"); }
.mh-ui__pill { align-self: center; padding: 4px 14px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); text-align: center; }

/* bubbles inside the platform look: grey for the customer, light blue for the business (as in /chat) */
.mh-ui .mh-msg { max-width: 78%; padding: 6px 10px 4px; border-radius: 15px; font-size: 13.5px; line-height: 1.7; color: #1a1a1a; box-shadow: none; }
.mh-ui .mh-msg time { position: static; display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-top: 2px; font-size: 10.5px; color: var(--ui-sub); }
.mh-ui .mh-msg--in { background: #f2f2f2; border: 1px solid #ccc; }
.mh-ui .mh-msg--out, .mh-ui .mh-msg--bot { background: var(--ui-blue-soft); border: 1px solid #98daf6; border-radius: 15px 10px 2px 15px; }
.mh-ui .mh-msg--note { background: #fff8e6; border: 1px dashed #f0b44c; border-radius: 10px; }
.mh-ui .mh-msg__by { color: var(--ui-blue); font-size: 11px; }
.mh-ui .mh-msg--note .mh-msg__by { color: #cc7700; }
.mh-ui .mh-sys { border-radius: 8px; background: #fff; color: #54656f; font-size: 12px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.mh-ui .mh-typing { background: var(--ui-blue-soft); border: 1px solid #98daf6; border-radius: 15px 10px 2px 15px; padding: 10px 14px; }
.mh-ui .mh-typing i { background: #5b8fb8; }

/* composer: reply / private note switch + input, as in the platform */
.mh-ui__compose { padding: 8px 12px 12px; background: var(--ui-chat); }
.mh-ui__modes { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 8px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(11, 20, 26, .12); font-size: 12px; font-weight: 600; }
.mh-ui__modes span { padding: 3px 12px; border-radius: 999px; color: #cc7700; }
.mh-ui__modes .is-on { background: var(--ui-blue); color: #fff; }
.mh-ui__box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 14px; border-radius: 26px; background: #fff; box-shadow: 0 1px 3px rgba(11, 20, 26, .2); color: var(--ui-sub); }
.mh-ui__plus { font-size: 22px; line-height: 1; color: #54656f; }
.mh-ui__ph { flex: 1; font-size: 13.5px; }
.mh-ui__at { font-size: 17px; font-weight: 600; color: #54656f; }
.mh-ui__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ui-blue); color: #fff; }

/* hero steps appear one by one (only when JS runs; without JS everything is visible) */
.mh-js [data-hero-log] [data-step] { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mh-js [data-hero-log] [data-step].is-on { opacity: 1; transform: none; }
.mh-js [data-hero-log] [data-step].is-off { display: none; }

@media (min-width: 560px) { .mh-ui__num { display: inline-flex; } }
@media (min-width: 820px) {
    .mh-ui__body { grid-template-columns: 330px minmax(0, 1fr); }
    .mh-ui__list { display: flex; }
}
@media (min-width: 1180px) {
    .mh-ui__body { grid-template-columns: 172px 326px minmax(0, 1fr); }
    .mh-ui__nav { display: block; }
}

/* ---------- hero demo: interactive parts ---------- */
.mh-ui button, .mh-ui input, .mh-ui select { font: inherit; color: inherit; }
.mh-ui__body { position: relative; height: 600px; }
.mh-ui__nav, .mh-ui__list, .mh-ui__chat { min-height: 0; }
.mh-ui__list > ul { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-bottom: 8px; }
.mh-ui__list > ul > li + li { margin-top: 2px; }
input.mh-ui__field, select.mh-ui__field { width: 100%; color: var(--ui-ink); font-size: 13px; outline: none; -webkit-appearance: none; appearance: none; }
input.mh-ui__field::placeholder { color: #adb5bd; }
input.mh-ui__field:focus, select.mh-ui__field:focus { border-color: #8fb8de; box-shadow: 0 0 0 3px rgba(9, 94, 166, .12); }
select.mh-ui__field--select { cursor: pointer; padding-inline-end: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525f7f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center / 14px; }
[dir="ltr"] select.mh-ui__field--select { background-position: right 12px center; }
.mh-ui__field--select::after { content: none; }
.mh-ui__tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border: 0; border-radius: 9px; background: none; color: #525f7f; white-space: nowrap; cursor: pointer; font-size: 12.5px; }
.mh-ui__tabs button[aria-selected="true"] { background: #fff; color: var(--ui-blue); font-weight: 600; box-shadow: 0 0 0 1px #d6e6f5; }
.mh-ui__tabs button em { font-style: normal; font-size: 11px; min-width: 22px; height: 18px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: #172b4d; color: #fff; }
button.mh-ui__conv { width: 100%; border: 0; border-bottom: 1px solid var(--ui-line); background: none; text-align: start; cursor: pointer; }
button.mh-ui__conv:hover { background: #f6f9fc; }
button.mh-ui__conv[aria-current="true"] { background: var(--ui-blue-soft); box-shadow: inset -2px 0 0 var(--ui-blue); }
[dir="ltr"] button.mh-ui__conv[aria-current="true"] { box-shadow: inset 2px 0 0 var(--ui-blue); }
.mh-ui__conv.is-closed .mh-ui__timer { color: #8898aa; }
.mh-ui__pin { color: var(--ui-blue); display: inline-grid; }
.mh-ui__empty { padding: 24px 8px; text-align: center; color: var(--ui-sub); font-size: 13px; }
.mh-ui :focus-visible { outline: 2px solid var(--ui-blue); outline-offset: 2px; }

/* header with the platform's options */
.mh-ui__head { position: relative; z-index: 3; gap: 6px; padding: 0 10px; }
.mh-ui__toList { display: none; }
.mh-ui__tags { display: flex; flex-wrap: nowrap; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.mh-ui__tags:empty { display: none; }
.mh-ui__tags i { flex: none; white-space: nowrap; font-style: normal; font-size: 10.5px; line-height: 1.6; padding: 0 7px; border-radius: 999px; background: #f0ecff; color: #5b3fc4; }
.mh-ui__actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.mh-ui__actions .mh-ui__num { margin-inline-end: 6px; }
button.mh-ui__ibtn { border: 0; background: none; cursor: pointer; color: #54656f; transition: background .2s, color .2s; }
button.mh-ui__ibtn:hover, button.mh-ui__ibtn[aria-pressed="true"], button.mh-ui__ibtn[aria-expanded="true"] { background: #eef3f8; color: var(--ui-blue); }
.mh-ui__dd { position: relative; }
.mh-ui__assign { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; margin-inline-end: 4px; border: 1px solid #d5e0ee; border-radius: 10px; background: #eff4fa; color: var(--ui-blue); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.mh-ui__assign span { text-decoration: underline; text-underline-offset: 3px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.mh-ui__assign.is-none span { text-decoration: none; color: #8898aa; }
.mh-ui__menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 5; min-width: 220px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid #e4e9f0; box-shadow: 0 12px 32px -8px rgba(17, 27, 33, .25); }
.mh-ui__menu p { padding: 4px 10px 6px; font-size: 11.5px; color: var(--ui-sub); }
.mh-ui__menu button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 9px; background: none; text-align: start; font-size: 13.5px; color: var(--ui-ink); cursor: pointer; }
.mh-ui__menu button:hover { background: #f4f7fb; }
.mh-ui__menu button[aria-checked="true"] { background: #eaf3fc; color: var(--ui-blue); font-weight: 700; }
.mh-ui__menu button small { margin-inline-start: auto; font-size: 11.5px; color: var(--ui-sub); font-weight: 400; }
.mh-ui__menu .mh-av { width: 26px; height: 26px; font-size: 11px; }
.mh-ui__find { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-bottom: 1px solid var(--ui-line); background: #fff; color: var(--ui-sub); }
.mh-ui__find[hidden] { display: none; }
.mh-ui__find input { flex: 1; height: 32px; border: 0; outline: none; background: none; font-size: 13.5px; }
.mh-ui mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 1px; }

/* chat area, customer panel, composer */
.mh-ui__stage { position: relative; flex: 1 1 0; min-height: 0; display: flex; }
.mh-ui__log { flex: 1; height: auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.mh-ui__side { position: absolute; inset-block: 0; inset-inline-end: 0; z-index: 2; width: min(280px, 88%); overflow-y: auto; padding: 16px; background: #fff; border-inline-start: 1px solid var(--ui-line); box-shadow: -12px 0 30px -18px rgba(17, 27, 33, .35); font-size: 13px; }
.mh-ui__side[hidden] { display: none; }
.mh-ui__side h3 { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ui-title); margin-bottom: 12px; }
.mh-ui__side dl { display: grid; gap: 10px; }
.mh-ui__side dt { font-size: 11.5px; color: var(--ui-sub); }
.mh-ui__side dd { margin: 0; font-weight: 600; color: var(--ui-title); }
.mh-ui__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 14px; }
.mh-ui__cards span { display: grid; place-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--ui-line); border-radius: 10px; font-size: 11.5px; color: #525f7f; }
.mh-ui__compose { flex: none; }
.mh-ui__modes button { padding: 3px 12px; border: 0; border-radius: 999px; background: none; color: var(--ui-blue); font-weight: 600; font-size: 12px; cursor: pointer; }
.mh-ui__modes button[data-hero-mode="note"] { color: #cc7700; }
.mh-ui__modes button[aria-pressed="true"] { background: var(--ui-blue); color: #fff; }
.mh-ui__modes button[data-hero-mode="note"][aria-pressed="true"] { background: #cc7700; color: #fff; }
input.mh-ui__ph { min-width: 0; height: 40px; border: 0; outline: none; background: none; font-size: 14px; color: #111b21; }
input.mh-ui__ph::placeholder { color: var(--ui-sub); }
button.mh-ui__send { border: 0; cursor: pointer; }
.mh-ui__chat { position: relative; }
.mh-ui__chat.is-note .mh-ui__box { background: #fff8e6; box-shadow: 0 0 0 1px #f0b44c; }
.mh-ui__chat.is-closed .mh-ui__compose { opacity: .55; }
.mh-ui__toast { position: absolute; inset-inline: 0; bottom: 118px; margin: 0 auto; width: max-content; max-width: 90%; padding: 7px 14px; border-radius: 10px; background: #111b21; color: #fff; font-size: 12.5px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 4; }
.mh-ui__toast.is-on { opacity: 1; transform: none; }
.mh-try--hero { margin-top: 14px; }

/* small screens: list and chat take turns, like the mobile app */
@media (max-width: 819px) {
    .mh-ui__body { height: 580px; }
    .mh-ui__toList { display: grid; }
    .mh-ui__body.is-list .mh-ui__list { display: flex; }
    .mh-ui__body.is-list .mh-ui__chat { display: none; }
    .mh-ui__head .mh-ui__av { display: none; }
}
@media (max-width: 639px) {
    .mh-ui__opt, .mh-ui__actions .mh-ui__num { display: none; }
    .mh-ui__assign span { max-width: 64px; }
    .mh-ui__menu { min-width: 200px; }
}
@media (min-width: 640px) and (max-width: 1099px) { .mh-ui__actions .mh-ui__num { display: none; } }
@media (min-width: 1180px) and (max-width: 1299px) { .mh-ui__actions .mh-ui__num { display: none; } }

/* ---------- clients ---------- */
.mh-clients { padding: 8px 0 48px; text-align: center; }
.mh-clients__title { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.mh-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mh-marquee__track { display: flex; gap: 48px; width: max-content; align-items: center; padding-inline: 24px; }
.mh-marquee.is-running .mh-marquee__track { animation: mh-marquee var(--dur, 40s) linear infinite; }
.mh-marquee:hover .mh-marquee__track, .mh-marquee:focus-within .mh-marquee__track { animation-play-state: paused; }
.mh-marquee img { height: 48px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.mh-marquee img:hover { filter: none; opacity: 1; }
.mh-marquee:not(.is-running) .mh-marquee__track { flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 40px; }
@keyframes mh-marquee { to { transform: translateX(calc(var(--shift, 50%))); } }

/* ---------- inbox demo ---------- */
.mh-inbox { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mh-inbox__side { padding: 14px; border-bottom: 1px solid var(--line); background: #fcfdfc; min-width: 0; }
.mh-inbox__side .mh-seg { width: 100%; }
.mh-inbox__side .mh-seg button { flex: 1; padding-inline: 10px; }
.mh-inbox__list { margin-top: 12px; align-content: start; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.mh-inbox__list li { flex: none; width: 230px; }
.mh-inbox__list button { width: 100%; text-align: start; border: 1px solid transparent; background: none; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; transition: background .2s, border-color .2s; }
.mh-inbox__list button:hover { background: var(--soft); }
.mh-inbox__list button[aria-pressed="true"] { background: rgba(54, 160, 58, .07); border-color: rgba(54, 160, 58, .25); }
.mh-inbox__list button > div { min-width: 0; }
.mh-inbox__list b { display: block; font-size: 14px; }
.mh-inbox__list small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-inbox__list .mh-row { display: flex; gap: 6px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.mh-inbox__empty { padding: 16px; color: var(--muted); font-size: 13px; text-align: center; width: 100%; }
.mh-team { display: none; margin-top: 16px; }
.mh-team p { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.mh-team ul { display: grid; gap: 6px; }
.mh-team li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.mh-team li .mh-on { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-inline-start: auto; }
.mh-team li em { font-style: normal; color: var(--muted); font-size: 12px; }

.mh-inbox__main { display: flex; flex-direction: column; min-width: 0; }
.mh-inbox__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mh-inbox__who { display: flex; align-items: center; gap: 10px; flex: 1 1 100%; min-width: 0; }
.mh-inbox__who b { display: block; font-size: 15px; }
.mh-inbox__who small { color: var(--muted); font-size: 12px; }
.mh-select { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex: 1; }
.mh-select select { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.mh-inbox__log { flex: none; height: 340px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f4f1ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23e3ded2'/%3E%3C/svg%3E"); }
.mh-inbox__log > * { animation: mh-pop .35s var(--ease); }
@keyframes mh-pop { from { opacity: 0; transform: translateY(6px); } }
.mh-inbox__reply { border-top: 1px solid var(--line); padding: 10px 12px 12px; }
.mh-inbox__mode { display: flex; gap: 14px; font-size: 13px; margin-bottom: 8px; color: var(--ink-2); }
.mh-inbox__mode label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 32px; }
.mh-inbox__mode input { accent-color: var(--brand); width: 16px; height: 16px; }
.mh-inbox__input { display: flex; gap: 8px; }
.mh-inbox__input input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; font-size: 16px; }
.mh-inbox__input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(54, 160, 58, .15); }
.mh-inbox.is-note .mh-inbox__input input { background: #fffbea; border-color: #e5c76b; }
.mh-inbox__input .mh-btn { width: 44px; min-height: 44px; padding: 0; }
.mh-inbox.is-closed .mh-inbox__reply { opacity: .5; pointer-events: none; }
/* inbox demo in the platform look (.mh-ui) */
.mh-inbox.mh-ui .mh-inbox__side { background: #fff; }
.mh-inbox.mh-ui .mh-seg { background: #f6f9fc; border: 1px solid #eef1f6; border-radius: 12px; padding: 4px; }
.mh-inbox.mh-ui .mh-seg button { border-radius: 9px; color: #525f7f; font-size: 13px; }
.mh-inbox.mh-ui .mh-seg button[aria-selected="true"] { background: #fff; color: var(--ui-blue); font-weight: 600; box-shadow: 0 0 0 1px #d6e6f5; }
.mh-inbox.mh-ui .mh-inbox__list button { border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 8px; }
.mh-inbox.mh-ui .mh-inbox__list button:hover { background: #f6f9fc; }
.mh-inbox.mh-ui .mh-inbox__list button[aria-pressed="true"] { background: var(--ui-blue-soft); box-shadow: inset -2px 0 0 var(--ui-blue); }
.mh-inbox.mh-ui .mh-inbox__list b { color: var(--ui-title); font-weight: 600; font-size: 13.5px; }
.mh-inbox.mh-ui .mh-inbox__list small { color: var(--ui-text); }
.mh-inbox.mh-ui .mh-inbox__list .mh-ui__agent { border: 0; padding: 0; width: auto; min-height: 0; font-size: 12px; }
.mh-inbox.mh-ui .mh-inbox__list .mh-ui__line { font-size: 11px; }
.mh-inbox.mh-ui .mh-inbox__who b { color: var(--ui-title); font-weight: 600; }
.mh-inbox.mh-ui .mh-inbox__who small { color: var(--ui-sub); }
.mh-inbox.mh-ui .mh-inbox__log { background: var(--ui-chat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='3' cy='3' r='1.1' fill='%23ddd5c8'/%3E%3Ccircle cx='17' cy='17' r='.9' fill='%23e3dccf'/%3E%3C/svg%3E"); gap: 8px; }
.mh-inbox.mh-ui .mh-inbox__reply { background: var(--ui-chat); border-top: 0; }
.mh-inbox.mh-ui .mh-inbox__mode { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(11, 20, 26, .12); }
.mh-inbox.mh-ui .mh-inbox__mode label { position: relative; min-height: 0; }
.mh-inbox.mh-ui .mh-inbox__mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mh-inbox.mh-ui .mh-inbox__mode span { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ui-blue); }
.mh-inbox.mh-ui .mh-inbox__mode .is-note span { color: #cc7700; }
.mh-inbox.mh-ui .mh-inbox__mode input:checked + span { background: var(--ui-blue); color: #fff; }
.mh-inbox.mh-ui .mh-inbox__mode .is-note input:checked + span { background: #cc7700; }
.mh-inbox.mh-ui .mh-inbox__mode input:focus-visible + span { outline: 2px solid var(--ui-blue); outline-offset: 2px; }
.mh-inbox.mh-ui .mh-inbox__input input { border: 0; border-radius: 26px; box-shadow: 0 1px 3px rgba(11, 20, 26, .2); }
.mh-inbox.mh-ui .mh-inbox__input input:focus { box-shadow: 0 0 0 2px var(--ui-blue); }
.mh-inbox.mh-ui .mh-inbox__input .mh-btn { background: var(--ui-blue); border-radius: 50%; }
.mh-inbox.mh-ui.is-note .mh-inbox__input input { background: #fff8e6; box-shadow: 0 0 0 1px #f0b44c; }
.mh-inbox.mh-ui .mh-btn--soft { background: #eaf3fc; color: var(--ui-blue); }
@media (min-width: 900px) {
    .mh-inbox { grid-template-columns: 320px 1fr; }
    .mh-inbox__side { border-bottom: 0; border-inline-end: 1px solid var(--line); }
    .mh-inbox__list { display: grid; overflow: visible; }
    .mh-inbox__list li { width: auto; }
    .mh-team { display: block; }
    .mh-inbox__who { flex: 1 1 auto; }
    .mh-select { flex: none; }
    .mh-inbox__log { flex: 1 1 0; height: auto; min-height: 400px; } /* grows with the panel, never with its messages */
}

/* before / after */
.mh-ba { margin-top: 56px; display: grid; gap: 16px; align-items: stretch; }
.mh-ba__col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.mh-ba__col h3 { font-size: 18px; margin-bottom: 16px; }
.mh-ba__col ul { display: grid; gap: 10px; margin-top: 18px; }
.mh-ba__col li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.mh-ba__col li svg { flex: none; margin-top: 5px; }
.mh-ba__col--before { background: #fbf8f6; }
.mh-ba__col--before li svg { color: var(--bad); }
.mh-ba__col--after { border-color: rgba(54, 160, 58, .35); box-shadow: 0 0 0 4px rgba(54, 160, 58, .06); }
.mh-ba__col--after li svg { color: var(--brand); }
.mh-ba__arrow { display: grid; place-items: center; color: var(--brand); transform: rotate(-90deg); }
.mh-ba__phones { display: flex; gap: 10px; justify-content: center; height: 86px; align-items: center; }
.mh-ba__phones span { width: 34px; height: 60px; border-radius: 8px; border: 2px solid #cfd5d1; position: relative; animation: mh-shake 3s infinite; }
.mh-ba__phones span::after { content: ""; position: absolute; top: -7px; inset-inline-end: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--bad); }
.mh-ba__phones span:nth-child(2) { animation-delay: .4s; } .mh-ba__phones span:nth-child(3) { animation-delay: .8s; } .mh-ba__phones span:nth-child(4) { animation-delay: 1.2s; }
@keyframes mh-shake { 0%, 90%, 100% { transform: none; } 93% { transform: rotate(-6deg); } 96% { transform: rotate(6deg); } }
.mh-ba__hub { position: relative; height: 86px; display: grid; place-items: center; }
.mh-ba__center { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 0 0 8px rgba(54, 160, 58, .1); }
.mh-ba__hub i { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); border: 2px solid #fff; }
.mh-ba__hub i:nth-of-type(1) { inset-inline-start: 18%; top: 8px; } .mh-ba__hub i:nth-of-type(2) { inset-inline-end: 18%; top: 8px; }
.mh-ba__hub i:nth-of-type(3) { inset-inline-start: 22%; bottom: 6px; } .mh-ba__hub i:nth-of-type(4) { inset-inline-end: 22%; bottom: 6px; }
@media (min-width: 860px) { .mh-ba { grid-template-columns: 1fr 64px 1fr; } .mh-ba__arrow { transform: none; } }
[dir="rtl"] .mh-ba__arrow svg { transform: scaleX(-1); }

.mh-mini-features { margin-top: 28px; display: grid; gap: 12px; }
.mh-mini-features li { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(54, 160, 58, .05); }
.mh-mini-features b { display: block; font-size: 16px; margin-bottom: 4px; }
.mh-mini-features span { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .mh-mini-features { grid-template-columns: repeat(3, 1fr); } }

/* ---------- campaigns ---------- */
.mh-camp { display: grid; gap: 24px; align-items: center; }
.mh-camp__board { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 18px; min-width: 0; }
.mh-camp__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mh-camp__tabs::-webkit-scrollbar { display: none; }
.mh-camp__tabs button { flex: none; border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); min-height: 40px; transition: all .2s; }
.mh-camp__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mh-camp__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.mh-camp__meta > div { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; border: 1px solid var(--line); min-width: 0; }
.mh-camp__meta small { display: block; font-size: 12px; color: var(--muted); }
.mh-camp__meta b { font-size: 14px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-camp__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.mh-kpi { background: var(--surface); border-radius: var(--radius-sm); padding: 12px; border: 1px solid var(--line); }
.mh-kpi small { display: block; font-size: 12px; color: var(--muted); }
.mh-kpi b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mh-kpi--bad b { color: var(--bad); }
.mh-camp__bars { display: grid; gap: 12px; margin-top: 18px; }
.mh-camp__bars > div { display: grid; grid-template-columns: 64px 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.mh-camp__bars i { display: block; height: 10px; border-radius: 999px; background: #e6ebf3; overflow: hidden; }
.mh-camp__bars em { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 1.1s var(--ease); }
.mh-camp__bars b { font-variant-numeric: tabular-nums; text-align: end; }
@media (min-width: 640px) { .mh-camp__meta, .mh-camp__kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .mh-camp { grid-template-columns: 1fr 300px; gap: 48px; } }

/* phone */
.mh-phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 9px; position: relative;
    background: linear-gradient(145deg, #3a4150, #1b2030 38%, #0f1320 62%, #2c3343); box-shadow: 0 40px 80px -30px rgba(10, 26, 58, .55), 0 2px 6px rgba(10, 26, 58, .2), inset 0 0 0 1.5px #565e70, inset 0 0 0 4px #0b0e16; }
/* side buttons */
.mh-phone::after { content: ""; position: absolute; inset-inline-end: -3px; top: 22%; width: 3px; height: 54px; border-radius: 2px 0 0 2px; background: #2a3141; box-shadow: 0 74px 0 #2a3141; }
.mh-phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 999px; background: #000; z-index: 2; box-shadow: inset 34px 0 0 -30px #1a2a44; }
.mh-phone__screen { height: 100%; border-radius: 38px; overflow: hidden; background: #efe9df; display: flex; flex-direction: column; }
.mh-phone__top { display: flex; align-items: center; gap: 8px; padding: 46px 14px 10px; background: #075e54; color: #fff; }
.mh-phone__top b { display: block; font-size: 14px; }
.mh-phone__top small { font-size: 11px; opacity: .8; }
.mh-phone__chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; }
.mh-phone__chat::-webkit-scrollbar { display: none; }
.mh-tpl { align-self: flex-start; width: 92%; background: #fff; border-radius: 12px; border-start-start-radius: 4px; padding: 6px 6px 0; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); font-size: 13px; transition: opacity .3s; }
.mh-tpl.is-swap { opacity: 0; }
.mh-tpl__media { height: 136px; border-radius: 8px; overflow: hidden; background: #eef1f6; }
.mh-tpl__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-tpl b { display: block; padding: 8px 6px 2px; font-size: 14px; }
.mh-tpl p { padding: 0 6px; line-height: 1.6; }
.mh-tpl small { display: block; padding: 4px 6px 8px; color: var(--muted); font-size: 11px; }
.mh-tpl__btn { display: block; text-align: center; border-top: 1px solid #eef1f6; padding: 10px; color: #0a7cbf; font-weight: 600; }
.mh-reset { margin-inline-start: auto; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 13px; min-height: 36px; }
.mh-reset:hover { background: rgba(255, 255, 255, .12); }

/* phone mock drawn like the WhatsApp app (light mode): status bar, header, wallpaper, bubbles with tails, message bar */
.mh-wa .mh-phone__screen { background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M6 8l3-3M30 30l3 3M28 8a2 2 0 1 0 0 .1M10 30a2 2 0 1 0 0 .1' stroke='%23d9d0c2' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); font-family: -apple-system, "SF Arabic", "Segoe UI", var(--font); }
.mh-wa__status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 14px 26px 0; background: #f6f6f6; color: #000; font-size: 13px; }
.mh-wa__status span { display: inline-flex; gap: 5px; align-items: center; }
.mh-wa__sig { width: 16px; height: 9px; background: linear-gradient(90deg, #000 0 3px, transparent 3px 4.5px, #000 4.5px 7.5px, transparent 7.5px 9px, #000 9px 12px, transparent 12px 13.5px, #000 13.5px); -webkit-mask: linear-gradient(to top, #000 100%, transparent 0); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.mh-wa__bat { width: 22px; height: 10px; border: 1.5px solid #000; border-radius: 3px; position: relative; }
.mh-wa__bat::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: #000; border-radius: 1px; }
.mh-wa .mh-wa__top { padding: 6px 10px 8px; gap: 8px; background: #f6f6f6; color: #000; border-bottom: 1px solid #dcdcdc; }
.mh-wa__back { display: grid; place-items: center; color: #007aff; }
[dir="ltr"] .mh-wa__back { transform: scaleX(-1); }
.mh-wa__av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #dfe5e7; color: #54656f; font-weight: 700; font-size: 15px; overflow: hidden; }
.mh-wa__av--logo { background: #fff; box-shadow: inset 0 0 0 1px #e2e8f2; }
.mh-wa__av--logo img { width: 32px; height: auto; display: block; }
.mh-wa__who { min-width: 0; flex: 1; }
.mh-wa__who b { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.mh-wa__tick { flex: none; }
.mh-wa__who small { display: block; font-size: 11.5px; color: #667781; opacity: 1; }
.mh-wa__icons { display: inline-flex; gap: 16px; color: #007aff; }
.mh-wa .mh-reset { border-color: #c9d6e2; color: #007aff; min-height: 32px; padding: 4px 12px; }
.mh-wa .mh-reset:hover { background: #eaf3ff; }
.mh-wa__day { align-self: center; padding: 3px 10px; border-radius: 8px; background: #fff; color: #54656f; font-size: 11.5px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.mh-wa .mh-tpl { position: relative; border-radius: 0 10px 10px 10px; padding: 4px 4px 0; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
[dir="rtl"] .mh-wa .mh-tpl { border-radius: 10px 0 10px 10px; }
.mh-wa .mh-tpl::before, .mh-wa .mh-msg--in::before { content: ""; position: absolute; top: 0; inset-inline-start: -7px; width: 8px; height: 12px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
[dir="ltr"] .mh-wa .mh-tpl::before, [dir="ltr"] .mh-wa .mh-msg--in::before { clip-path: polygon(0 0, 100% 0, 100% 100%); transform: scaleX(-1); }
[dir="rtl"] .mh-wa .mh-tpl::before, [dir="rtl"] .mh-wa .mh-msg--in::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.mh-wa .mh-tpl small { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mh-wa .mh-tpl small time { font-size: 10.5px; color: #667781; }
.mh-wa .mh-tpl__btn { color: #027eb5; font-weight: 500; }
.mh-wa .mh-msg { border-radius: 8px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.mh-wa .mh-msg--in { border-start-start-radius: 0; }
.mh-wa .mh-msg--out { border-start-end-radius: 0; background: #d9fdd3; }
.mh-wa .mh-msg--out::before { content: ""; position: absolute; top: 0; inset-inline-end: -7px; width: 8px; height: 12px; background: inherit; }
[dir="rtl"] .mh-wa .mh-msg--out::before { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.mh-wa .mh-qr button { color: #027eb5; border-radius: 8px; }
.mh-wa__bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px 18px; background: #f6f6f6; color: #007aff; border-top: 1px solid #dcdcdc; }
.mh-wa__field { flex: 1; display: flex; justify-content: flex-end; align-items: center; height: 32px; padding: 0 8px; border-radius: 18px; background: #fff; border: 1px solid #e1e1e1; color: #8b8b8b; }

/* ---------- forget the ban ---------- */
.mh-noban__grid { display: grid; gap: 18px; align-items: stretch; }
.mh-noban__card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; font-family: var(--font); }
.mh-noban__card--bad { background: linear-gradient(180deg, #fff 0%, #fff6f5 100%); border-color: #f3d3cf; }
.mh-noban__card--good { background: linear-gradient(180deg, #fff 0%, #f1fbf5 100%); border-color: #cdebd9; }
.mh-noban__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.mh-noban__label small { flex-basis: 100%; font-size: 13px; font-weight: 500; color: var(--muted); }
.mh-noban__card--bad .mh-noban__label svg { color: var(--bad); }
.mh-noban__card--good .mh-noban__label svg { color: var(--brand); }
.mh-noban__vs { display: grid; place-items: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }

/* the phone that gets banned */
.mh-noban__phone { position: relative; align-self: center; width: min(270px, 100%); height: 360px; border-radius: 34px; overflow: hidden; border: 8px solid #111827; box-shadow: var(--shadow); background: #efeae2; display: flex; flex-direction: column; }
.mh-noban__bar { display: flex; align-items: center; gap: 8px; padding: 26px 12px 10px; background: #f6f6f6; border-bottom: 1px solid #dcdcdc; font-size: 13px; }
.mh-noban__bar .mh-wa__av { width: 28px; height: 28px; font-size: 12px; }
.mh-noban__log { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px; overflow: hidden; }
.mh-noban__msg { align-self: flex-end; max-width: 85%; padding: 6px 10px; border-radius: 8px; background: #d9fdd3; font-size: 12.5px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.mh-noban__msg time { margin-inline-start: 8px; font-size: 10px; color: #8696a0; }
.mh-noban__count { align-self: center; margin-top: 4px; padding: 3px 10px; border-radius: 8px; background: #fff; font-size: 11.5px; color: #54656f; }
.mh-noban__count b { color: var(--bad); font-variant-numeric: tabular-nums; }
.mh-noban__ban { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; background: rgba(255, 255, 255, .94); }
.mh-noban__ban b { font-size: 15px; line-height: 1.6; color: #111b21; }
.mh-noban__ban small { font-size: 12.5px; color: var(--muted); }
.mh-noban__banicon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fde7e4; color: var(--bad); }

/* the Mersal side */
.mh-noban__panel { display: grid; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e3efe8; font-family: "Cairo", var(--font); }
.mh-noban__ok { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mh-noban__ok > div { flex: 1; min-width: 0; }
.mh-noban__ok b { display: block; font-size: 14px; }
.mh-noban__ok small { font-size: 12px; color: var(--muted); }
.mh-noban__shield { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--brand); }
.mh-noban__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f0f8eb; border: 1px solid #cfe8c3; color: #2b8230; font-size: 12px; font-weight: 600; }
.mh-noban__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(54, 160, 58, .25); }
.mh-noban__progress { height: 8px; border-radius: 999px; background: #e8efe9; overflow: hidden; }
.mh-noban__progress i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: right; }
[dir="ltr"] .mh-noban__progress i { transform-origin: left; }
.mh-noban__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mh-noban__kpis div { padding: 10px; border-radius: 12px; background: #f6f9fc; }
.mh-noban__kpis small { display: block; font-size: 11.5px; color: var(--muted); }
.mh-noban__kpis b { font-size: 20px; font-variant-numeric: tabular-nums; }
.mh-noban__ticks { font-size: 13px; color: var(--ink-2); }
.mh-noban__ticks span { color: #34b7f1; letter-spacing: -3px; margin-inline-end: 6px; }
.mh-noban__points { display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.mh-noban__points li { display: flex; align-items: center; gap: 8px; }
.mh-noban__points svg { color: var(--brand); flex: none; }
.mh-noban__fine { margin-top: 16px; text-align: center; }

/* motion (JS only; without JS / reduced motion the final state shows) */
.mh-js [data-mh-noban] [data-nb] { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mh-js [data-mh-noban].is-run [data-nb] { opacity: 0; transform: translateY(8px); }
.mh-js [data-mh-noban].is-run [data-nb].is-on { opacity: 1; transform: none; }
.mh-js [data-mh-noban].is-run .mh-noban__ban { transform: scale(.96); }
.mh-js [data-mh-noban].is-run .mh-noban__ban.is-on { transform: none; }
[data-mh-noban] .mh-noban__phone.is-shake { animation: mh-nb-shake .5s; }
@keyframes mh-nb-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.mh-js [data-mh-noban].is-run [data-nb-bar] { transform: scaleX(var(--p, 0)); transition: transform .3s linear; }

@media (min-width: 900px) {
    .mh-noban__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
    .mh-noban__phone { height: 380px; }
}

/* ---------- chatbot ---------- */
.mh-bot { display: grid; gap: 28px; align-items: center; }
.mh-flow { position: relative; display: none; height: 420px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23dfe5e1'/%3E%3C/svg%3E"); box-shadow: var(--shadow); }
.mh-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mh-flow__lines path { fill: none; stroke: #d3dbe8; stroke-width: 2; stroke-dasharray: 6 6; transition: stroke .3s; vector-effect: non-scaling-stroke; }
.mh-flow__lines path.is-on { stroke: var(--brand); stroke-dasharray: none; stroke-width: 3; }
.mh-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); min-width: 116px; white-space: nowrap; text-align: center; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s, background .3s; }
.mh-node small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.mh-node--start { background: var(--ink); color: #fff; border-color: var(--ink); }
.mh-node--start small { color: #aab5cc; }
.mh-node--end { background: #f8fafd; }
.mh-node.is-on { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(54, 160, 58, .14), var(--shadow); background: #f2f9ee; }
.mh-phone--bot { width: min(320px, 100%); }
.mh-camp .mh-phone { aspect-ratio: 9 / 15.5; }
.mh-qr { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; width: 86%; }
.mh-qr button { border: 0; background: #fff; color: #0a7cbf; font-weight: 600; font-size: 13px; padding: 9px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); min-height: 38px; transition: background .2s; }
.mh-qr button:hover { background: #f2f9ff; }
.mh-qr button:disabled { opacity: .45; cursor: default; }
.mh-phone .mh-msg { font-size: 13px; max-width: 86%; }
@media (min-width: 960px) { .mh-bot { grid-template-columns: 1fr 320px; gap: 48px; } .mh-flow { display: block; } }

/* ---------- contacts ---------- */
.mh-pipeline { display: grid; gap: 8px; margin: 24px 0; }
.mh-pipeline li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: border-color .3s, background .3s; }
.mh-pipeline li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e6ebf3; font-size: 13px; transition: background .3s, color .3s; }
.mh-pipeline li.is-on { border-color: rgba(54, 160, 58, .4); background: #f2f9ee; }
.mh-pipeline li.is-on span { background: var(--brand); color: #fff; }
.mh-contacts { display: grid; gap: 14px; min-width: 0; }
.mh-excel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mh-excel__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #107c41; color: #fff; font-size: 13px; font-weight: 600; direction: ltr; justify-content: flex-end; }
.mh-excel table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mh-excel th, .mh-excel td { padding: 8px 10px; border-bottom: 1px solid #eef1f6; text-align: start; }
.mh-excel th { background: #f6f8f7; color: var(--muted); font-weight: 600; }
.mh-excel td[dir="ltr"] { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mh-excel tr.is-moving { animation: mh-fly .6s var(--ease) forwards; }
@keyframes mh-fly { to { opacity: 0; transform: translateY(16px); } }
.mh-cbook { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; min-width: 0; }
.mh-cbook__top { display: grid; gap: 10px; }
.mh-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.mh-search input { border: 0; outline: none; flex: 1; min-width: 0; min-height: 42px; background: none; font-size: 16px; }
.mh-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(54, 160, 58, .15); }
.mh-groups { display: flex; gap: 6px; flex-wrap: wrap; }
.mh-groups button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 34px; }
.mh-groups button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.mh-cbook__list { margin-top: 10px; display: grid; align-content: start; gap: 4px; height: 270px; overflow-y: auto; }
.mh-cbook__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; animation: mh-pop .35s var(--ease); }
.mh-cbook__list li:hover { background: var(--soft); }
.mh-cbook__list b { display: block; font-size: 14px; }
.mh-cbook__list small { color: var(--muted); font-size: 12px; }
.mh-cbook__list .mh-tag { font-size: 11px; }
.mh-cbook__empty { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; display: block !important; }
.mh-cbook__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; font-size: 13px; color: var(--muted); }
/* side by side only when there is room (full width below 960px, wide screens above 1180px) */
@media (min-width: 640px) and (max-width: 959px), (min-width: 1180px) { .mh-contacts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ---------- team / branches ---------- */
.mh-branches__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mh-branches__num { font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.mh-branches__num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mh-branches__grid { display: grid; gap: 14px; }
.mh-branches__grid .mh-card { min-width: 0; }
.mh-branches__grid ul > li { animation: mh-pop .35s var(--ease); }
.mh-agents, .mh-bconvs, .mh-perms { display: grid; gap: 8px; }
.mh-agents li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mh-agents li div { min-width: 0; }
.mh-agents li b { display: block; font-size: 14px; }
.mh-agents li small { color: var(--muted); font-size: 12px; }
.mh-agents li .mh-on { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.mh-agents li .mh-on.is-off { background: #c9d0cc; }
.mh-bconvs li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.mh-perms { margin-top: 14px; }
.mh-perms li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mh-perms li svg { flex: none; }
.mh-perms li.yes svg { color: var(--brand); }
.mh-perms li.no { color: var(--muted); }
.mh-perms li.no svg { color: #b8c1d1; }
@media (min-width: 900px) { .mh-branches__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- analytics: copy of the real Mersal dashboard (light, .mh-dash inside the .mh-ui scope) ---------- */
.mh-dash { margin-top: 36px; }
.mh-dash__body { background: #f6f8fb; padding: 16px; display: grid; gap: 14px; }
.mh-dash__title { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.mh-dash__title b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.mh-dash__title small { display: block; font-size: 12.5px; color: var(--muted); }
.mh-dash__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid #eef1f6; border-radius: 999px; padding: 5px 12px; }
.mh-dash__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(54, 160, 58, .18); }
.mh-dash__top { display: grid; gap: 14px; }
.mh-dash__welcome { position: relative; overflow: hidden; border-radius: 16px; padding: 20px; color: #fff;
    background: radial-gradient(circle at 10% 125%, rgba(54, 160, 58, .42), transparent 46%), radial-gradient(circle at 96% -25%, rgba(43, 74, 143, .75), transparent 52%), var(--ink); }
.mh-dash__welcome small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #c9d4ea; }
.mh-dash__welcome b { display: block; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; margin: 6px 0 4px; }
.mh-dash__welcome p { margin: 0; font-size: 13px; color: #d7deec; }
.mh-dash__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mh-dash__acts span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.mh-dash__acts span.is-main { background: var(--brand); border-color: var(--brand); }
.mh-dash__ready { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 16px; box-shadow: 0 2px 8px rgba(10, 26, 58, .04); }
.mh-dash__ring { flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e6edf4 0); }
.mh-dash__ring > div { width: 82px; height: 82px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.mh-dash__ring b { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.mh-dash__ring small { font-size: 10.5px; color: var(--muted); }
.mh-dash__ready-list { flex: 1; min-width: 0; display: grid; gap: 8px; font-size: 13px; }
.mh-dash__ready-list p { margin: 0; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.mh-dash__ready-list p b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mh-dash__ok { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--brand-2); background: var(--mint); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.mh-dash__ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.mh-dash__bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mh-dash__seg { display: flex; gap: 6px; flex-wrap: wrap; }
.mh-dash__seg span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f2; color: var(--ink-2); white-space: nowrap; }
.mh-dash__seg span.is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.mh-dash__seg--views span.is-on { background: #eaf3fc; border-color: #cfe3f7; color: #095ea6; }
.mh-dash__kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mh-dash__kpi { position: relative; overflow: hidden; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(10, 26, 58, .04); min-width: 0; }
.mh-dash__kpi::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--k); }
.mh-dash__kpi p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.mh-dash__kpi p i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--kb); color: var(--k); flex: none; }
.mh-dash__kpi b { display: block; font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--ink); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.mh-dash__kpi small { font-size: 11.5px; color: #8a95ad; }
.mh-dash__grid { display: grid; gap: 14px; }
.mh-dash__panel { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 16px; box-shadow: 0 2px 8px rgba(10, 26, 58, .04); min-width: 0; }
.mh-dash__ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.mh-dash__ph b { font-size: 14.5px; color: var(--ink); }
.mh-dash__tag { font-size: 11.5px; color: var(--muted); background: #f1f4f9; border-radius: 999px; padding: 3px 10px; }
.mh-dash__tag.is-ok { color: var(--brand-2); background: var(--mint); font-weight: 700; }
.mh-dash__legend { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.mh-dash__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.mh-dash__legend i.out { background: var(--brand); } .mh-dash__legend i.in { background: #2b4a8f; }
.mh-line { width: 100%; height: 160px; }
.mh-line__grid { stroke: #eef1f6; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.mh-line__area { fill: rgba(54, 160, 58, .09); }
.mh-line__out, .mh-line__in { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mh-line__out { stroke: var(--brand); } .mh-line__in { stroke: #2b4a8f; }
/* lines are drawn left to right by un-clipping them */
.mh-js .mh-line__out, .mh-js .mh-line__in, .mh-js .mh-line__area { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease); }
.mh-js .is-in .mh-line__out, .mh-js .is-in .mh-line__in, .mh-js .is-in .mh-line__area { clip-path: inset(0 0 0 0); }
.mh-js .is-in .mh-line__in { transition-delay: .25s; }
.mh-days { direction: ltr; display: grid; grid-template-columns: repeat(7, 1fr); font-size: 11px; color: #8a95ad; text-align: center; margin-top: 6px; }
.mh-hbars { display: grid; gap: 12px; }
.mh-hbars li { display: grid; grid-template-columns: 44px 1fr 36px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.mh-hbars i { height: 8px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.mh-hbars em { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--brand); }
.mh-js .mh-hbars em { width: 0; transition: width 1.2s var(--ease); }
.mh-js .is-in .mh-hbars em { width: var(--w); }
.mh-hbars b { color: var(--ink); text-align: end; font-variant-numeric: tabular-nums; }
.mh-dash__camp { margin: 0 0 10px; font-weight: 700; color: var(--ink); font-size: 14px; }
.mh-dash__prog { height: 8px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.mh-dash__prog em { display: block; height: 100%; width: var(--w); background: #2b4a8f; border-radius: inherit; }
.mh-js .mh-dash__prog em { width: 0; transition: width 1.4s var(--ease); }
.mh-js .is-in .mh-dash__prog em { width: var(--w); }
.mh-dash__note { display: block; margin-top: 6px; font-size: 11.5px; color: #8a95ad; }
.mh-dash__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.mh-dash__stats p { margin: 0; text-align: center; background: #f6f8fb; border-radius: 10px; padding: 8px 4px; }
.mh-dash__stats b { display: block; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mh-dash__stats small { font-size: 11px; color: var(--muted); }
@media (min-width: 900px) {
    .mh-dash__body { padding: 22px; }
    .mh-dash__top { grid-template-columns: minmax(0, 1fr) 320px; }
    .mh-dash__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mh-dash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-dash__panel--wide { grid-column: span 2; }
}
@media (max-width: 520px) { .mh-dash__seg--views { display: none; } .mh-dash__ready { padding: 12px; gap: 12px; } .mh-dash__ring { width: 88px; height: 88px; } .mh-dash__ring > div { width: 70px; height: 70px; } }

/* ---------- integrations ---------- */
.mh-code { margin-top: 24px; background: var(--dark); color: #dbe3f1; border-radius: var(--radius-sm); padding: 16px 18px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; text-align: left; }
.mh-code .k { color: #8fd17f; font-weight: 700; } .mh-code .s { color: #9db8f0; } .mh-code .v { color: #f4c46b; }
.mh-hub { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; }
.mh-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mh-hub__lines line { stroke: #d3dbe8; stroke-width: 1.5; stroke-dasharray: 4 6; }
.mh-hub.is-in .mh-hub__lines line { animation: mh-dash 2.4s linear infinite; animation-delay: var(--d); }
@keyframes mh-dash { to { stroke-dashoffset: -40; } }
.mh-hub__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(54, 160, 58, .07), 0 0 0 22px rgba(54, 160, 58, .04), var(--shadow-lg); padding: 12px; }
.mh-hub__center img { width: 100%; height: auto; }
.mh-hub__node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: clamp(11px, 2.8vw, 13px); font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }

/* ---------- industries ---------- */
.mh-ind { display: grid; gap: 14px; }
.mh-ind__card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.mh-ind__card:hover, .mh-ind__card:focus-within, .mh-ind__card:focus { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(54, 160, 58, .3); }
.mh-ind__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--brand-2); }
.mh-ind__card h3 { font-size: 19px; }
.mh-ind__card p { font-size: 14px; color: var(--ink-2); }
.mh-ind__card p span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.mh-ind__solution span { color: var(--brand) !important; }
.mh-ind__chat { margin-top: auto; padding: 12px; border-radius: var(--radius-sm); background: #efe9df; display: flex; flex-direction: column; gap: 6px; }
.mh-ind__chat .mh-msg { padding-bottom: 7px; }
@media (min-width: 680px) { .mh-ind { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mh-ind { grid-template-columns: repeat(3, 1fr); } }

/* ---------- compare ---------- */
.mh-cmp { max-width: 860px; margin-inline: auto; text-align: center; }
.mh-cmp__switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
.mh-cmp__switch button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); min-height: 44px; transition: background .25s, color .25s; }
.mh-cmp__switch button[data-cmp="with"][aria-selected="true"] { background: var(--brand); color: #fff; }
.mh-cmp__switch button[data-cmp="without"][aria-selected="true"] { background: #6b5048; color: #fff; }
.mh-cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: start; font-size: 15px; }
.mh-cmp__table th { padding: 14px 16px; font-size: 14px; background: #fafbfa; border-bottom: 1px solid var(--line); text-align: start; }
.mh-cmp__table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; transition: opacity .3s, background .3s; }
.mh-cmp__table tr:last-child td { border-bottom: 0; }
.mh-cmp__table td svg { display: inline-block; vertical-align: -3px; margin-inline-end: 6px; }
.mh-cmp__table td:first-child svg { color: var(--bad); }
.mh-cmp__table td:last-child svg { color: var(--brand); }
.mh-cmp__table td:last-child { font-weight: 600; }
.mh-cmp__table th:first-child, .mh-cmp__table td:first-child { border-inline-end: 1px solid var(--line); }
.mh-cmp__table[data-cmp-state="with"] td:first-child { opacity: .45; }
.mh-cmp__table[data-cmp-state="with"] td:last-child { background: #f4fbf7; }
.mh-cmp__table[data-cmp-state="without"] td:last-child { opacity: .45; }
.mh-cmp__table[data-cmp-state="without"] td:first-child { background: #fcf6f4; }
@media (max-width: 520px) { .mh-cmp__table { font-size: 14px; } .mh-cmp__table td, .mh-cmp__table th { padding: 12px 10px; } }

/* ---------- steps ---------- */
.mh-steps { display: grid; gap: 14px; counter-reset: s; position: relative; }
.mh-step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mh-step__num { font-size: 14px; font-weight: 700; color: var(--brand); background: var(--mint); align-self: flex-start; padding: 2px 10px; border-radius: 999px; }
.mh-step h3 { font-size: 19px; }
.mh-step p { color: var(--muted); font-size: 14px; }
.mh-step__vis { margin-top: auto; padding-top: 14px; min-height: 76px; display: grid; place-items: center; }
.mh-mini-form { width: 80%; display: grid; gap: 6px; }
.mh-mini-form i { height: 10px; border-radius: 6px; background: #e2e8e4; }
.mh-mini-form b { text-align: center; padding: 6px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 12px; }
.mh-mini-link { display: flex; align-items: center; gap: 8px; width: 80%; }
.mh-mini-link span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; flex: none; }
.mh-mini-link span.ok { background: var(--brand); }
.mh-mini-link em { flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) 50%, #dfe6e2 50%); background-size: 200% 100%; animation: mh-link 2.4s linear infinite; }
@keyframes mh-link { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.mh-mini-team { display: flex; align-items: center; }
.mh-mini-team .mh-av + .mh-av { margin-inline-start: -8px; }
.mh-mini-team b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; margin-inline-start: -8px; border: 2px solid #fff; font-size: 14px; }
.mh-mini-chat { width: 80%; display: grid; gap: 6px; }
.mh-mini-chat i { height: 14px; border-radius: 8px; width: 60%; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.mh-mini-chat i.out { justify-self: end; background: #d9fdd3; width: 70%; }
@media (min-width: 680px) { .mh-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
    .mh-steps { grid-template-columns: repeat(4, 1fr); }
    .mh-steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, #d3dbe8 0 8px, transparent 8px 14px); z-index: 0; }
    .mh-step { z-index: 1; }
}

/* ---------- apps ---------- */
.mh-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mh-store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 12px; background: #0b0f0d; color: #fff; direction: ltr; transition: transform .2s var(--ease), background .2s; }
.mh-store:hover { transform: translateY(-2px); background: #1b2420; }
.mh-store span { display: grid; line-height: 1.15; text-align: left; }
.mh-store small { font-size: 10.5px; opacity: .85; }
.mh-store b { font-size: 17px; font-weight: 600; }
.mh-stores--small .mh-store { min-height: 44px; padding: 6px 12px; }
.mh-stores--small .mh-store b { font-size: 14px; }
.mh-devices { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; padding-bottom: 28px; }
.mh-device { width: min(220px, 46%); border-radius: 30px; padding: 7px; background: #111827; box-shadow: var(--shadow-lg); overflow: hidden; }
.mh-device img { border-radius: 24px; width: 100%; aspect-ratio: 540 / 1097; object-fit: cover; background: #e9eee9; }
.mh-device--back { transform: translateX(-18%) rotate(-5deg) translateY(-24px); opacity: .95; }
.mh-device--front { transform: translateX(18%) rotate(4deg); margin-inline-start: -16%; position: relative; z-index: 1; }
.mh-devices__note { position: absolute; bottom: 0; inset-inline: 0; text-align: center; margin: 0; }
@media (min-width: 960px) { .mh-device { width: 250px; } }

/* ---------- trust / testimonials ---------- */
.mh-trust { display: grid; gap: 12px; }
.mh-trust li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mh-trust__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--brand-2); }
.mh-trust b { font-size: 16px; }
.mh-trust span:not(.mh-trust__icon) { color: var(--muted); font-size: 14px; }
@media (min-width: 860px) { .mh-trust { grid-template-columns: repeat(3, 1fr); } }
.mh-quotes { display: grid; gap: 14px; margin-top: 28px; }
.mh-quote { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mh-quote blockquote { font-size: 16px; line-height: 1.8; }
.mh-quote figcaption { margin-top: 12px; font-size: 14px; }
.mh-quote figcaption span { display: block; color: var(--muted); }
@media (min-width: 860px) { .mh-quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- pricing ---------- */
.mh-plans { display: grid; gap: 16px; align-items: stretch; }
.mh-plan { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.mh-plan h3 { font-size: 22px; }
.mh-plan__desc { color: var(--muted); font-size: 15px; }
.mh-plan ul { display: grid; gap: 10px; margin: 6px 0 14px; }
.mh-plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.mh-plan li svg { flex: none; margin-top: 5px; color: var(--brand); }
.mh-plan .mh-btn { margin-top: auto; }
.mh-plan--featured { background: var(--dark); color: #eef2f9; border-color: var(--dark); box-shadow: var(--shadow-lg); }
.mh-plan--featured .mh-plan__desc { color: #aab5cc; }
.mh-plan--featured li svg { color: var(--accent); }
.mh-plan--solo { max-width: 560px; margin-inline: auto; text-align: center; align-items: center; }
@media (min-width: 860px) { .mh-plans { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); } .mh-plan--featured { transform: translateY(-10px); } }

/* ---------- faq ---------- */
.mh-faq { display: grid; gap: 28px; }
.mh-faq__list { display: grid; gap: 10px; }
.mh-qa { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.mh-qa[open] { border-color: rgba(54, 160, 58, .35); box-shadow: var(--shadow); }
.mh-qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; font-size: 16px; min-height: 56px; }
.mh-qa summary::-webkit-details-marker { display: none; }
.mh-qa summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.mh-qa summary i::before, .mh-qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand-2); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.mh-qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.mh-qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.mh-qa p { padding: 0 18px 18px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
@media (min-width: 960px) { .mh-faq { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; } .mh-faq .mh-head--side { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- blog ---------- */
.mh-posts { display: grid; gap: 14px; }
.mh-post a { display: flex; flex-direction: column; gap: 8px; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 18px; transition: transform .3s var(--ease), box-shadow .3s; }
.mh-post a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mh-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.mh-post h3, .mh-post p, .mh-post__more { padding-inline: 18px; }
.mh-post h3 { font-size: 17px; line-height: 1.5; margin-top: 8px; }
.mh-post p { font-size: 14px; color: var(--muted); }
.mh-post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14px; }
[dir="rtl"] .mh-post__more svg { transform: scaleX(-1); }
@media (min-width: 680px) { .mh-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mh-posts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- final CTA ---------- */
.mh-final { padding: 24px 0 72px; }
.mh-final__in { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 32px; padding: 56px 20px; background: radial-gradient(60% 80% at 80% 0%, rgba(54, 160, 58, .35), transparent 60%), linear-gradient(135deg, #2b8230, #0a1a3a); max-width: 1144px; }
.mh-final h2 { font-size: clamp(28px, 6vw, 48px); line-height: 1.3; max-width: 760px; margin-inline: auto; }
.mh-final p { margin: 16px auto 0; max-width: 640px; color: #cdd6e8; font-size: 17px; }
@media (min-width: 900px) { .mh-final__in { padding: 80px 40px; } }

/* ---------- footer ---------- */
.mh-footer { background: var(--dark); color: #b7cbc1; padding: 56px 0 24px; font-size: 15px; }
.mh-footer__grid { display: grid; gap: 32px; }
.mh-footer__logo { height: 38px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }
.mh-footer__about p { margin-top: 14px; max-width: 380px; }
.mh-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.mh-footer ul { display: grid; gap: 8px; }
.mh-footer a:hover { color: #fff; }
.mh-footer .mh-store { background: #13284f; border: 1px solid var(--dark-line); }
.mh-contact a { display: inline-block; padding: 2px 0; }
.mh-social { display: flex !important; gap: 10px; margin-top: 18px; }
.mh-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #13284f; border: 1px solid var(--dark-line); transition: background .2s; }
.mh-social a:hover { background: var(--brand); }
.mh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--dark-line); margin-top: 40px; padding-top: 20px; font-size: 13px; }
@media (min-width: 860px) { .mh-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
/* room for the floating WhatsApp button on phones */
@media (max-width: 859px) { .mh-footer { padding-bottom: 92px; } }

/* floating WhatsApp button */
.mh-wa-float { position: fixed; z-index: 40; inset-inline-start: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(54, 160, 58, .14), 0 10px 26px -8px rgba(10, 26, 58, .45); transition: transform .2s var(--ease), background .2s; }
.mh-wa-float:hover { transform: scale(1.06); background: var(--brand-2); }
.mh-wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mh-wa-float svg { display: block; width: 30px; height: 30px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .mh-html { scroll-behavior: auto; }
    .mh *, .mh *::before, .mh *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .mh-js .mh-reveal { opacity: 1; transform: none; }
    .mh-marquee .mh-marquee__track { animation: none !important; }
}

/* ---------- print ---------- */
@media print { .mh-header, .mh-wa-float, .mh-final, .mh-hero__glow { display: none !important; } .mh-js .mh-reveal { opacity: 1; transform: none; } }

/* ---------- campaigns: create -> send -> details, copied from the real screens (/campaigns/create, /campaigns/{id}/show) ---------- */
.mh-cs { display: grid; gap: 24px; align-items: start; }
.mh-cs__app { min-width: 0; background: #f8f9fe; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow-lg); }
.mh-cs__views { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid #eef1f6; border-radius: 12px; background: #fff; overflow-x: auto; scrollbar-width: none; }
.mh-cs__views button { flex: 1 0 auto; height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: #525f7f; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.mh-cs__views button[aria-selected="true"] { background: #eaf3fc; color: var(--ui-blue); box-shadow: 0 0 0 1px #d6e6f5; }
.mh-cs__views button:disabled { opacity: .45; cursor: default; }
.mh-cs__card, .mh-cs__box { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); padding: 16px; }
.mh-cs__card h3 { font-size: 16px; font-weight: 700; color: var(--ui-ink); margin-bottom: 12px; }
.mh-cs__f { display: block; margin-bottom: 14px; }
.mh-cs__f > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #8898aa; }
.mh-cs__f input, .mh-cs__f select { width: 100%; height: 39px; padding: 0 12px; border: 1px solid #dee2e6; border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--ui-ink); }
.mh-cs__f input:focus, .mh-cs__f select:focus { outline: none; border-color: var(--ui-blue); box-shadow: 0 0 0 3px rgba(9, 94, 166, .15); }
.mh-cs__f small { display: block; margin-top: 6px; font-size: 11.5px; color: #8898aa; }
.mh-cs__switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid #eef1f6; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #8898aa; cursor: pointer; }
.mh-cs__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mh-cs__switch i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #dee2e6; transition: background .2s; }
.mh-cs__switch i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: inset-inline-start .2s; }
.mh-cs__switch input:checked + i { background: #1aae6f; }
.mh-cs__switch input:checked + i::after { inset-inline-start: 18px; }
.mh-cs__switch input:focus-visible + i { outline: 2px solid var(--ui-blue); outline-offset: 2px; }
.mh-cs__when { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #e3eefa; font-size: 13px; color: #525f7f; }
.mh-cs__when[hidden] { display: none; }
.mh-cs__actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.mh-cs__btn { height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: #1aae6f; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: filter .2s; }
.mh-cs__btn:hover { filter: brightness(.95); }
.mh-cs__btn--soft { background: #eaf3fc; color: var(--ui-blue); height: 34px; font-size: 13px; }
.mh-cs__back { border: 0; background: none; color: #8898aa; font-size: 12.5px; padding: 0; margin-bottom: 6px; cursor: pointer; }
.mh-cs__back:hover { color: var(--ui-blue); }
.mh-cs__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mh-cs__title b { font-size: 20px; font-weight: 700; color: var(--ui-ink); overflow-wrap: anywhere; }
.mh-cs__badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #eef1f4; color: #525f7f; }
.mh-cs__badge.is-run { background: rgba(9, 94, 166, .12); color: var(--ui-blue); }
.mh-cs__badge.is-ok { background: rgba(45, 206, 137, .14); color: #1aae6f; }
.mh-cs__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.mh-cs__meta span { display: inline-flex; gap: 4px; background: #fff; border: 1px solid #e9ecef; border-radius: 16px; padding: 4px 12px; font-size: 12.5px; color: #525f7f; }
.mh-cs__meta span[hidden] { display: none; }
.mh-cs__meta b { font-weight: 600; color: var(--ui-ink); }
.mh-cs__subtabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid #eef1f6; border-radius: 12px; background: #fff; }
.mh-cs__subtabs button { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: #525f7f; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mh-cs__subtabs button[aria-selected="true"] { background: #eaf3fc; color: var(--ui-blue); }
.mh-cs__subtabs em { font-style: normal; font-size: 11px; padding: 0 7px; border-radius: 999px; background: #eef1f4; color: #525f7f; font-variant-numeric: tabular-nums; }
.mh-cs__sched { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; border: 1px solid #f7d58b; font-size: 13px; color: #8a5a00; }
.mh-cs__sched[hidden] { display: none; }
.mh-cs__sched span { display: inline-flex; align-items: center; gap: 6px; }
.mh-cs__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.mh-cs__kpi { position: relative; overflow: hidden; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); padding: 12px 14px; min-width: 0; }
.mh-cs__kpi::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 3px; background: var(--c); }
.mh-cs__kpi > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mh-cs__kpi i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--bg); color: var(--c); font-style: normal; font-size: 13px; font-weight: 700; }
.mh-cs__kpi em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; }
.mh-cs__kpi b { display: block; font-size: 22px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; line-height: 1.3; }
.mh-cs__kpi span { display: block; font-size: 13px; font-weight: 600; color: var(--ui-ink); }
.mh-cs__kpi small { display: block; font-size: 11px; color: #8898aa; margin-top: 2px; line-height: 1.5; }
.mh-cs__progtop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.mh-cs__progtop b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--ui-ink); }
.mh-cs__progtop small { font-size: 12.5px; color: #8898aa; }
.mh-cs__progress { height: 12px; border-radius: 8px; background: #eef1f4; overflow: hidden; display: flex; }
.mh-cs__progress span { display: block; height: 100%; width: 0; }
.mh-cs .s-read { background: #2563eb; }
.mh-cs .s-delivered { background: #2dce89; }
.mh-cs .s-sent { background: #11cdef; }
.mh-cs .s-failed { background: #f5365c; }
.mh-cs__legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: #525f7f; }
.mh-cs__legend span { display: inline-flex; align-items: center; gap: 6px; }
.mh-cs__legend i { width: 10px; height: 10px; border-radius: 3px; background: #eef1f4; }
.mh-cs__rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.mh-cs__rates > div { background: #fff; border: 1px solid #eef1f4; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.mh-cs__rates b { display: block; font-size: 20px; font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; }
.mh-cs__rates span { font-size: 12px; color: #525f7f; }
.mh-cs__reasons[hidden] { display: none; }
.mh-cs__reasons h4 { font-size: 14px; font-weight: 700; color: var(--ui-ink); margin-bottom: 4px; }
.mh-cs__reason { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f3f5; }
.mh-cs__reason:last-child { border-bottom: 0; padding-bottom: 0; }
.mh-cs__reason > b { min-width: 46px; text-align: center; font-size: 16px; font-weight: 700; color: #f5365c; font-variant-numeric: tabular-nums; }
.mh-cs__reason strong { display: block; font-size: 13.5px; color: var(--ui-ink); }
.mh-cs__reason small { display: block; font-size: 12px; color: #8898aa; margin-top: 2px; }
.mh-cs__table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; overflow: hidden; font-size: 13px; }
.mh-cs__table th { text-align: start; font-size: 12px; font-weight: 600; color: #8898aa; background: #f8fafc; padding: 10px 12px; }
.mh-cs__table td { padding: 10px 12px; border-top: 1px solid #f1f3f5; color: var(--ui-ink); }
.mh-cs__table td[dir="ltr"] { text-align: end; color: #525f7f; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mh-cs__st { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.mh-cs__st--p { background: #eef1f4; color: #8898aa; }
.mh-cs__st--s { background: rgba(17, 205, 239, .14); color: #0da5c0; }
.mh-cs__st--d { background: rgba(45, 206, 137, .14); color: #1aae6f; }
.mh-cs__st--r { background: rgba(37, 99, 235, .12); color: #2563eb; }
.mh-cs__st--f { background: rgba(245, 54, 92, .12); color: #f5365c; }
.mh-cs__more { margin-top: 8px; font-size: 12px; color: #8898aa; text-align: center; }
.mh-cs__hint { align-self: center; font-size: 11px; color: #54656f; background: rgba(255, 255, 255, .85); padding: 3px 10px; border-radius: 8px; }
.mh-cs__hint[hidden] { display: none; }
.mh-cs .mh-tpl { position: relative; }
.mh-cs .mh-tpl.is-arrived { animation: mh-pop .45s var(--ease); }
.mh-cs .mh-phone__chat .mh-msg--out { align-self: flex-end; max-width: 70%; padding: 6px 10px 4px; font-size: 13px; position: relative; }
.mh-cs .mh-phone__chat .mh-msg time { display: block; font-size: 10px; color: #667781; text-align: end; }
.mh-cs__fine { margin-top: 10px; text-align: center; }
.mh-cs [hidden] { display: none !important; }
@media (min-width: 640px) { .mh-cs__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .mh-cs { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } .mh-cs .mh-phone { position: sticky; top: 96px; } }
@media (max-width: 420px) { .mh-cs__rates { grid-template-columns: 1fr; } .mh-cs__app { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { .mh-cs .mh-tpl.is-arrived { animation: none; } }

/* industries: icon + title header (no photos), white card with the brand stripe */
.mh-ind__card { position: relative; padding: 0; gap: 0; overflow: hidden; background: var(--surface); }
.mh-ind__card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.mh-ind__head { display: flex; align-items: center; gap: 12px; padding: 22px 22px 6px; }
.mh-ind__head .mh-ind__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--brand-2); }
.mh-ind__head h3 { font-size: 19px; color: var(--ink); }
.mh-ind__body { display: flex; flex-direction: column; gap: 10px; padding: 8px 22px 22px; flex: 1; }

/* ---------- legal pages (privacy / terms) in the new design ---------- */
.mh-legal { padding-block: 32px 72px; }
.mh-legal__in { max-width: 860px; }
.mh-legal__crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.mh-legal__crumbs a { color: var(--brand-2); font-weight: 600; }
.mh-legal h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.3; color: var(--ink); margin-bottom: 18px; }
.mh-legal__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mh-legal__tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.mh-legal__tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mh-legal__body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.mh-legal__body > p:first-child { display: inline-block; font-size: 13.5px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 4px 14px; margin-bottom: 8px; }
.mh-legal__body h2 { font-size: clamp(19px, 3.2vw, 22px); color: var(--ink); margin: 26px 0 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); line-height: 1.5; }
.mh-legal__body p { margin: 0 0 10px; }
.mh-legal__body ul { margin: 0 0 12px; padding-inline-start: 22px; list-style: disc; }
.mh-legal__body li { margin-bottom: 6px; }
.mh-legal__body li::marker { color: var(--brand); }

/* ---------- phones: everything readable and easy to tap (most visitors browse on a phone) ---------- */
@media (max-width: 600px) {
    /* "with Mersal" card: the campaign name gets the full width, the number status goes under it */
    .mh-noban__ok > div { flex: 1 1 calc(100% - 60px); }
    .mh-noban__ok .mh-noban__live { flex-basis: 100%; justify-content: center; }
    .mh-noban__ok b { font-size: 15px; }
    .mh-noban__ok small { font-size: 12.5px; }

    /* dashboard copy: bigger ring with its label inside, readable small texts */
    .mh-dash__ring { width: 100px; height: 100px; }
    .mh-dash__ring > div { width: 80px; height: 80px; }
    .mh-dash__ring b { font-size: 19px; }
    .mh-dash__ring small { display: block; max-width: 64px; margin-inline: auto; font-size: 10.5px; line-height: 1.25; }
    .mh-dash__kpi small, .mh-dash__tag, .mh-dash__note, .mh-dash__ok, .mh-dash__stats small, .mh-dash__title small { font-size: 12.5px; }
    .mh-dash__welcome p { font-size: 13.5px; }
    .mh-dash__acts span { padding: 9px 12px; }

    /* integrations hub, tags, chips */
    .mh-hub__node { font-size: 12.5px; padding: 7px 12px; }
    .mh-tag { font-size: 12px; }

    /* tap targets: at least ~44px high */
    .mh-groups button, .mh-seg button { min-height: 42px; }
    .mh-footer nav a, .mh-contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
    .mh-footer nav li, .mh-contact li { margin: 0; }
    .mh-footer__bottom { font-size: 14px; justify-content: center; text-align: center; }
    .mh-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
    .mh-legal__crumbs a { display: inline-flex; align-items: center; min-height: 40px; }

    /* WhatsApp button: a little smaller and closer to the edge so it hides less of the page */
    .mh-wa-float { width: 52px; height: 52px; inset-inline-start: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
    .mh-wa-float svg { width: 27px; height: 27px; }

    /* reading comfort */
    .mh-lead { font-size: 16px; line-height: 1.85; }
    .mh-faq summary, .mh-qa summary { min-height: 52px; }
}
@media (max-width: 600px) { .mh-faq .mh-lead a { display: inline-block; padding-block: 10px; } }

/* ---------- tour video dialog ---------- */
.mh-video { padding: 0; border: 0; background: transparent; width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.mh-video::backdrop { background: rgba(10, 26, 58, .82); backdrop-filter: blur(4px); }
.mh-video__box { background: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); }
.mh-video__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; color: #fff; }
.mh-video__head b { font-size: 16px; }
.mh-video__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.mh-video__close:hover { background: rgba(255, 255, 255, .16); }
.mh-video__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mh-video__player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: calc(100dvh - 160px); background: #000; }
.mh-video__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; color: #c9d4ea; font-size: 14px; }
html.mh-video-open { overflow: hidden; }
html.mh-video-open .mh-wa-float { display: none; }
@media (max-width: 600px) {
    .mh-video { width: 100vw; max-height: 100dvh; margin: auto 0; }
    .mh-video__box { border-radius: 0; }
    .mh-video__foot { justify-content: center; text-align: center; }
    .mh-video__foot .mh-btn { width: 100%; }
}
