/* Sales portal — light, quiet, one accent (the brand's). Logical properties so Arabic mirrors. */
@font-face { font-family: 'Plex'; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --accent: #2B62C9;
  --accent-soft: color-mix(in oklab, var(--accent) 10%, white);
  --accent-ink: color-mix(in oklab, var(--accent) 80%, black);
  --bg: #F3F5F8; --surface: #FFFFFF; --sunk: #F8FAFC;
  --ink: #0E1A2B; --ink-2: #4A5568; --ink-3: #8592A6;
  --line: #E3E8EF; --line-2: #D2D9E3;
  --hot: #0F7B55; --hot-bg: #E3F4EC; --warm: #9A5800; --warm-bg: #FCF0DC; --cool: #34557F; --cool-bg: #E7EDF6; --bad: #B42318; --bad-bg: #FCEBE9; --none: #59636F; --none-bg: #EDF0F3;
  --r: 12px; --r-sm: 8px;
  --font: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[dir="rtl"] { --font: 'Plex Arabic', 'Plex', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2 { margin: 0; letter-spacing: -.01em; }
h1 { font-size: 26px; font-weight: 600; line-height: 1.2; }
h2 { font-size: 15px; font-weight: 600; }
p { margin: 0 0 10px; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 13px; }
.icon { width: 16px; height: 16px; stroke-width: 1.8; flex: none; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
details > summary { cursor: pointer; list-style: none; } details > summary::-webkit-details-marker { display: none; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; flex: none; }
.logo img { height: 20px; width: auto; display: block; }
.logo span { padding-inline-start: 12px; border-inline-start: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; }
.tabs { display: flex; align-self: stretch; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink-2); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs a.on .icon { color: var(--accent); }
.tabs .n { font-size: 12px; font-weight: 600; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; text-align: center; }
.me { display: flex; align-items: center; gap: 10px; flex: none; }
.ghost-btn { font-size: 13px; color: var(--ink-2); padding: 6px 10px; border-radius: var(--r-sm); }
.ghost-btn:hover { background: var(--sunk); text-decoration: none; }
.who { position: relative; }
.who summary { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid var(--line); }
[dir="rtl"] .who summary { padding: 4px 4px 4px 8px; }
.av { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; flex: none; }
.nm { font-size: 14px; font-weight: 500; }
.who-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -16px rgba(14,26,43,.25); padding: 6px; }
.who-id { padding: 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.who-id b { color: var(--ink); font-weight: 600; }
.who-pop a, .who-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--r-sm); color: var(--ink); font: inherit; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: start; text-decoration: none; }
.who-pop a:hover, .who-pop button:hover { background: var(--sunk); }
.who-pop form { margin: 0; }

/* page */
.page { max-width: 1280px; margin: 0 auto; padding: 28px 24px 48px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.head p { margin: 6px 0 0; max-width: 70ch; }
.foot { text-align: center; color: var(--ink-3); font-size: 12px; padding: 0 0 28px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-sm); margin-bottom: 16px; font-size: 14px; background: var(--hot-bg); color: var(--hot); }
.flash.error { background: var(--bad-bg); color: var(--bad); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.card + .card { margin-top: 16px; }
.card h2 { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.count { font-size: 12px; font-weight: 500; color: var(--ink-3); background: var(--sunk); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.sec { margin: 24px 0 10px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.narrow { max-width: 520px; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; font-size: 14px; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--sunk); color: var(--ink); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.stack-form .btn { margin-top: 4px; }
.link { color: var(--accent-ink); }

/* list filters */
.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; text-decoration: none !important; }
.chip b { font-weight: 600; color: var(--ink-3); }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on b { color: rgba(255,255,255,.7); }
.chips .sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 4px; }
.search { position: relative; width: 280px; max-width: 100%; }
.search .icon { position: absolute; top: 50%; inset-inline-start: 12px; transform: translateY(-50%); color: var(--ink-3); }
.search .input { padding-inline-start: 36px; }

/* reasons */
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.reason { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.r-handed { color: var(--hot); } .reason.r-handed { background: var(--hot-bg); }
.r-stalled { color: var(--warm); } .reason.r-stalled { background: var(--warm-bg); }
.r-no_reply { color: var(--cool); } .reason.r-no_reply { background: var(--cool-bg); }
.r-bounced { color: var(--bad); } .reason.r-bounced { background: var(--bad-bg); }
.r-no_email, .r-done { color: var(--none); } .reason.r-no_email, .reason.r-done { background: var(--none-bg); }
.chip.r-handed .dot { color: var(--hot); } .chip.on.r-handed .dot, .chip.on .dot { color: #fff; }

/* the list */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
table.leads { width: 100%; border-collapse: collapse; }
.leads th { text-align: start; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 11px 16px; background: var(--sunk); border-bottom: 1px solid var(--line); white-space: nowrap; }
.leads td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.leads tr:last-child td { border-bottom: 0; }
.leads tbody tr:hover { background: #FAFBFD; }
.leads tr.mine td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
[dir="rtl"] .leads tr.mine td:first-child { box-shadow: inset -3px 0 0 var(--accent); }
.num { text-align: end; font-variant-numeric: tabular-nums; }
.co { min-width: 200px; }
.co-name { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.co-meta { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.why { width: 30%; }
.hint { display: block; color: var(--ink-2); font-size: 13px; margin-top: 7px; line-height: 1.45; max-width: 46ch; }
.who b { display: block; font-weight: 500; }
.who .ti { display: block; color: var(--ink-3); font-size: 13px; }
.tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-ink); white-space: nowrap; }
.mail { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13px; min-width: 0; }
.mail a { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail.struck a { text-decoration: line-through; color: var(--ink-3); }
.mail em { font-style: normal; font-size: 11px; color: var(--bad); background: var(--bad-bg); padding: 0 6px; border-radius: 4px; }
.more { display: inline-block; font-size: 12.5px; margin-top: 6px; }
.cp { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; display: inline-grid; place-items: center; flex: none; }
.cp:hover { background: var(--sunk); color: var(--ink); }
.cp .icon { width: 13px; height: 13px; grid-area: 1/1; }
.cp .c2 { display: none; } .cp.copied .c1 { display: none; } .cp.copied .c2 { display: block; color: var(--hot); }
.owner { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.owner .av { width: 24px; height: 24px; font-size: 11px; background: var(--ink-3); }
.owner.me .av { background: var(--accent); }
.own form { margin: 0; }
.calls b { font-size: 15px; }
.cb { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
.cb.due { color: var(--warm); font-weight: 600; }
.go { width: 1%; text-align: end; }
.empty { text-align: center; padding: 56px 16px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-2); }
.empty .icon { width: 28px; height: 28px; color: var(--ink-3); margin-bottom: 10px; }
.empty h2 { font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.empty.slim { padding: 28px 16px; }

/* lead page */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.lead-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.lh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.lh-meta a { display: inline-flex; align-items: center; gap: 5px; }
.lh-own { display: flex; align-items: center; gap: 10px; }
.lh-own form { margin: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.col-side { position: sticky; top: 80px; display: grid; gap: 16px; }
.col-side .card + .card { margin-top: 0; }
.hints { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hints li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.hi { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.hints b { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.hints p { margin: 2px 0 0; line-height: 1.55; }
.approach { border-color: color-mix(in oklab, var(--accent) 25%, var(--line)); }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(0, 1.6fr) auto; gap: 6px 16px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.people li:first-child { border-top: 0; padding-top: 0; }
.pp-who b { display: block; font-weight: 500; }
.pp-who span { display: block; color: var(--ink-3); font-size: 13px; }
.pp-reach { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-width: 0; }
.pp-reach .tel, .pp-reach .mail { margin-top: 0; }
.li { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
.src { font-size: 11.5px; color: var(--ink-3); background: var(--sunk); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
details.add { margin-top: 14px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
details.add summary { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 12px; }
.grid2 .wide { grid-column: 1 / -1; }
.mails { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mails li { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sunk); }
.mails li.in { background: var(--surface); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.mails summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; font-size: 14px; }
.mails summary b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-tag { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.mails li.in .who-tag { color: var(--accent-ink); }
.mails .when { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.mails .body { padding: 0 12px 12px; font-size: 14px; color: var(--ink-2); line-height: 1.6; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.body.pre { white-space: pre-wrap; font-size: 14px; color: var(--ink-2); margin-top: 10px; overflow-wrap: anywhere; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 140px minmax(0, 1fr); overflow-wrap: anywhere; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.log li:first-child { border-top: 0; }
.log .when { color: var(--ink-3); font-size: 12.5px; }
.log .by { color: var(--ink-3); }
.log li.team div { color: var(--ink); } .log li:not(.team) div { color: var(--ink-2); }
.callcard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.callcard .lbl { font-size: 12px; color: var(--ink-3); }
.callcard .cc-name { font-size: 18px; font-weight: 600; }
.cc-alt { width: 100%; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.cc-alt b { font-weight: 500; }
.cc-alt .ti { color: var(--ink-3); font-size: 13px; margin-bottom: 6px; }
.callcard .alt-call { height: 40px; font-size: 15px; }
.tel.line { font-weight: 500; color: var(--ink-2); }
.tel .lbl-s { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.ptype { font-size: 11px; color: var(--ink-3); background: var(--sunk); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }
.pending { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--warm); }
.pending .icon { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cc-line { width: 100%; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.alt { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; }
.alt-l { color: var(--ink-3); font-size: 12px; }
.alt b { font-weight: 500; }
.alt .ti { display: block; color: var(--ink-3); }
.callcard .ti { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.callcard .call { height: 46px; font-size: 16px; font-variant-numeric: tabular-nums; margin: 4px 0; }
.callcard .mail { width: 100%; }
.logcard h2 { margin-bottom: 12px; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.oc { position: relative; }
.oc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.oc span { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; line-height: 1.25; }
.oc input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.oc input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.oc-meeting input:checked + span { border-color: var(--hot); background: var(--hot-bg); color: var(--hot); }
.oc-not_interested input:checked + span, .oc-unreachable input:checked + span { border-color: var(--none); background: var(--none-bg); color: var(--ink); }
.wf { display: none; }
.log-form:has(input[value="call_back"]:checked) .wf-call_back, .log-form:has(input[value="meeting"]:checked) .wf-meeting, .log-form .wf.show { display: flex; }

/* meetings */
.meet .when-cell { width: 170px; }
.when-cell b { display: block; font-weight: 600; }
.when-cell span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meet td .small { display: block; margin-top: 4px; color: var(--ink-2); }
.meet.past { opacity: .75; }
.booked { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.booked.team { color: var(--hot); font-weight: 500; }

/* activity */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.numb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.numb .icon { color: var(--accent); margin-bottom: 6px; }
.numb b { font-size: 30px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.numb span { color: var(--ink-2); font-size: 13px; }
.stages { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stg { flex: 1; padding: 12px 14px; border-inline-start: 1px solid var(--line); min-width: 0; }
.stg:first-child { border-inline-start: 0; }
.stg b { display: block; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stg span { font-size: 12.5px; color: var(--ink-2); }
.feed { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.feed li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.feed li:first-child { border-top: 0; }
.fi { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); color: var(--ink-3); }
.feed .k-meeting .fi { background: var(--hot-bg); color: var(--hot); }
.feed .k-sales .fi { background: var(--accent-soft); color: var(--accent-ink); }
.feed a { font-weight: 600; color: var(--ink); }
.feed .when { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); margin-inline-end: 8px; }
.live-dot.on { background: var(--hot); box-shadow: 0 0 0 3px var(--hot-bg); }

/* sign in */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(900px 500px at 0% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.gate-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 30px 60px -36px rgba(14,26,43,.35); }
.gate-brand img { height: 24px; display: block; margin-bottom: 24px; }
.gate-card h1 { font-size: 22px; margin-bottom: 6px; }
.gate-card > p { margin-bottom: 22px; }
.gate .flash { max-width: 400px; width: 100%; }
.gate main, .gate { align-content: center; }
.lang-link { display: inline-block; margin-top: 6px; }

/* phones */
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; } .col-side { position: static; order: -1; } }
@media (max-width: 820px) {
  .top-in { padding: 0 14px; gap: 12px; height: auto; flex-wrap: wrap; padding-top: 10px; }
  .tabs { order: 3; flex-basis: 100%; height: 44px; }
  .me { margin-inline-start: auto; }
  .nm { display: none; }
  .tabs a { padding: 0 8px; gap: 6px; }
  .page { padding: 18px 14px 40px; }
  h1 { font-size: 22px; }
  .search { width: 100%; }
  table.leads thead { display: none; }
  table.leads, .leads tbody, .leads tr, .leads td { display: block; width: 100%; }
  .leads tr { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
  .leads td { padding: 0; border: 0; }
  .leads td.co { grid-column: 1; min-width: 0; }
  .leads td.go { grid-column: 2; grid-row: 1; }
  .leads td.why, .leads td.who { grid-column: 1 / -1; width: auto; }
  .leads td.own { grid-column: 1; }
  .leads td.calls { grid-column: 2; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
  .leads td.calls::before { content: attr(data-label); font-size: 12px; color: var(--ink-3); }
  .leads td.calls .cb { margin: 0; }
  .meet td { margin-bottom: 4px; }
  .people li { grid-template-columns: 1fr auto; }
  .pp-reach { grid-column: 1 / -1; grid-row: 2; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { flex-wrap: wrap; } .stg { flex: 1 1 33%; border-top: 1px solid var(--line); }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .tabs a .icon { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
