/* =====================================================================
   Стафф-Б — слой редизайна v2: спокойно, воздушно, без перегруза
   Подключается поверх оригинальной вёрстки, структуру не меняет.
   Разметка на инлайн-стилях → адресуемся через [style*=...] + !important.
   ===================================================================== */

:root {
  --signal: #ffc600;          /* жёлтый логотипа */
  --signal-hi: #ffd23a;
  --signal-ink: #8a6300;      /* жёлтый для текста на светлом */
  --signal-wash: #fff6d6;

  --ink: #16171a;
  --ink-2: #1e1f23;
  --ink-line: rgba(255, 255, 255, 0.08);

  --paper: #f6f6f3;
  --paper-2: #eeeeea;
  --surface: #ffffff;
  --line: #e7e7e2;
  --line-strong: #d2d2cc;

  --text: #16171a;
  --text-2: #55575d;
  --text-3: #7a7c82;
  --on-dark-2: #b3b5ba;
  --on-dark-3: #8c8f95;

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --section: clamp(64px, 6.5vw, 104px);   /* вертикальный ритм секций */
  --gutter: clamp(20px, 4vw, 64px);
  --container: 1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lift: 0 18px 40px -20px rgba(22, 23, 26, 0.22);
}

/* ---------- База ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--surface) !important; }
body,
body :where(div, p, span, a, button, input, textarea, select, label, li, h1, h2, h3, h4, h5, h6, summary, small, strong) {
  font-family: var(--font) !important;
}
body { color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.55; }

h1, h2, .hero-mobile-section + div p:is([style*="font-size:32px"], [style*="font-size: 32px"]) {
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
}
h3 { letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }

::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal) !important; outline-offset: 3px !important; border-radius: 6px; }

html { scrollbar-color: #c2c2bc var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #cacac4; border: 3px solid var(--paper); border-radius: 10px; }

.home-stats-number, [style*="₽"], .sec-steps span, .geo-stats-grid { font-variant-numeric: tabular-nums; }

/* ---------- Контейнер: уже и с полями ---------- */
main :is([style*="max-width:1400px;margin:0 auto;padding:0 48px"], [style*="max-width: 1400px; margin: 0px auto; padding: 0px 48px"]),
header > div:is([style*="max-width:1400px"], [style*="max-width: 1400px"]),
footer > div.max-w-\[1400px\],
div:is([style*="background-color:#0f172a;border-bottom:1px solid #1e293b"], [style*="background-color: rgb(15, 23, 42); border-bottom: 1px solid rgb(30, 41, 59)"]) > div,
section.py-12 > div.max-w-\[1400px\] {
  max-width: calc(var(--container) + 2 * var(--gutter)) !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}

/* ---------- Палитра ---------- */
:is([style*="background-color:#0f172a"], [style*="background-color: rgb(15, 23, 42)"]) { background-color: var(--ink) !important; }
:is([style*="background-color:#1e293b"], [style*="background-color: rgb(30, 41, 59)"]) { background-color: var(--ink-2) !important; }
:is([style*="background-color:#f8fafc"], [style*="background-color: rgb(248, 250, 252)"]) { background-color: var(--paper) !important; }
:is([style*="background-color:#f1f5f9"], [style*="background-color: rgb(241, 245, 249)"]) { background-color: var(--paper-2) !important; }
:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]), :is([style*="background:#facc15"], [style*="background: rgb(250, 204, 21)"]) { background-color: var(--signal) !important; }

:is([style^="color:#0f172a"], [style^="color: rgb(15, 23, 42)"]), :is([style*=";color:#0f172a"], [style*="; color: rgb(15, 23, 42)"]),
:is([style^="color:#334155"], [style^="color: rgb(51, 65, 85)"]), :is([style*=";color:#334155"], [style*="; color: rgb(51, 65, 85)"]) { color: var(--text) !important; }
:is([style^="color:#475569"], [style^="color: rgb(71, 85, 105)"]), :is([style*=";color:#475569"], [style*="; color: rgb(71, 85, 105)"]),
:is([style^="color:#64748b"], [style^="color: rgb(100, 116, 139)"]), :is([style*=";color:#64748b"], [style*="; color: rgb(100, 116, 139)"]) { color: var(--text-2) !important; }
:is([style^="color:#94a3b8"], [style^="color: rgb(148, 163, 184)"]), :is([style*=";color:#94a3b8"], [style*="; color: rgb(148, 163, 184)"]) { color: var(--text-3) !important; }
:is([style^="color:#cbd5e1"], [style^="color: rgb(203, 213, 225)"]), :is([style*=";color:#cbd5e1"], [style*="; color: rgb(203, 213, 225)"]) { color: var(--on-dark-2) !important; }
:is([style^="color:#facc15"], [style^="color: rgb(250, 204, 21)"]), :is([style*=";color:#facc15"], [style*="; color: rgb(250, 204, 21)"]) { color: var(--signal) !important; }
:is([style^="color:#eab308"], [style^="color: rgb(234, 179, 8)"]), :is([style*=";color:#eab308"], [style*="; color: rgb(234, 179, 8)"]),
:is([style^="color:#ca8a04"], [style^="color: rgb(202, 138, 4)"]), :is([style*=";color:#ca8a04"], [style*="; color: rgb(202, 138, 4)"]) { color: var(--signal-ink) !important; }

:is(:is([style*="background-color:#0f172a"], [style*="background-color: rgb(15, 23, 42)"]), footer, .sec-steps) :is(:is([style^="color:#94a3b8"], [style^="color: rgb(148, 163, 184)"]), :is([style*=";color:#94a3b8"], [style*="; color: rgb(148, 163, 184)"])) { color: var(--on-dark-2) !important; }
:is(:is([style*="background-color:#0f172a"], [style*="background-color: rgb(15, 23, 42)"]), footer) :is(:is([style^="color:#64748b"], [style^="color: rgb(100, 116, 139)"]), :is([style*=";color:#64748b"], [style*="; color: rgb(100, 116, 139)"])) { color: var(--on-dark-3) !important; }
:is(:is([style*="background-color:#0f172a"], [style*="background-color: rgb(15, 23, 42)"]), footer) :is(:is([style^="color:#eab308"], [style^="color: rgb(234, 179, 8)"]), :is([style*=";color:#eab308"], [style*="; color: rgb(234, 179, 8)"])) { color: var(--signal) !important; }

:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"]),
:is([style*="border-top:1px solid #e2e8f0"], [style*="border-top: 1px solid rgb(226, 232, 240)"]), :is([style*="border-bottom:1px solid #e2e8f0"], [style*="border-bottom: 1px solid rgb(226, 232, 240)"]) { border-color: var(--line) !important; }
:is([style*="border-top:1px solid #f1f5f9"], [style*="border-top: 1px solid rgb(241, 245, 249)"]), :is([style*="border-bottom:1px solid #f1f5f9"], [style*="border-bottom: 1px solid rgb(241, 245, 249)"]) { border-color: var(--paper-2) !important; }
:is([style*="border-bottom:1px solid #1e293b"], [style*="border-bottom: 1px solid rgb(30, 41, 59)"]) { border-color: var(--ink-line) !important; }

svg [stroke="#facc15"], svg[stroke="#facc15"], svg [stroke="#eab308"], svg[stroke="#eab308"] { stroke: var(--signal); }
svg [fill="#facc15"], svg[fill="#facc15"] { fill: var(--signal); }

/* ---------- Кнопки ---------- */
:is(button, a):is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) {
  border-radius: var(--r-md) !important;
  font-weight: 700 !important;
  transition: background-color .2s, transform .25s var(--ease-out) !important;
}
:is(button, a):is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]):hover { background-color: var(--signal-hi) !important; transform: translateY(-1px); }
:is(button, a):is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]):active { transform: scale(.98); }

a:is([style*="background-color:rgba(255,255,255,0.15)"], [style*="background-color: rgba(255, 255, 255, 0.15)"]), a:is([style*="background-color:rgba(255,255,255,0.1)"], [style*="background-color: rgba(255, 255, 255, 0.1)"]) {
  border-radius: var(--r-md) !important; transition: background-color .2s !important;
}
a:is([style*="background-color:rgba(255,255,255,0.15)"], [style*="background-color: rgba(255, 255, 255, 0.15)"]):hover, a:is([style*="background-color:rgba(255,255,255,0.1)"], [style*="background-color: rgba(255, 255, 255, 0.1)"]):hover { background-color: rgba(255,255,255,.22) !important; }

/* ---------- Шапка ---------- */
header:is([style*="position:sticky"], [style*="position: sticky"]) {
  background-color: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line) !important;
}
header :is([style*="height:64px"], [style*="height: 64px"]) { height: 76px !important; }
header nav { gap: 4px !important; }
header nav > a, header nav > div > a { color: var(--text-2) !important; transition: color .2s, background-color .2s !important; }
header nav > a:hover, header nav > div > a:hover { color: var(--text) !important; background-color: var(--paper) !important; }
header nav > a:is(:is([style*="font-weight:600"], [style*="font-weight: 600"]), [style*="font-weight: 600"]) { color: var(--text) !important; }
header .desktop-only:is([style*="gap:20px"], [style*="gap: 20px"]) { gap: 24px !important; }
header :is([style*="box-shadow:0 20px 40px rgba(0,0,0,0.12)"], [style*="box-shadow: rgba(0, 0, 0, 0.12) 0px 20px 40px"]) {
  border-radius: var(--r-lg) !important;
  box-shadow: 0 24px 56px -24px rgba(22, 23, 26, 0.28) !important;
}
header :is(:is([style*="transition:background-color 0.15s"], [style*="transition: background-color 0.15s"]), [style*="transition: background-color 0.15s"]):hover { background-color: var(--paper) !important; }
header button:is([style*="background-color:#f8fafc"], [style*="background-color: rgb(248, 250, 252)"]) { border-radius: 999px !important; background-color: transparent !important; }
header a[href^="tel:"]:is([style*="font-weight:600"], [style*="font-weight: 600"]):hover { color: var(--signal-ink) !important; }

/* ---------- Hero (видео не трогаем) ---------- */
.hero-shadow-overlay {
  background: linear-gradient(90deg, rgba(14,15,17,.92) 0%, rgba(14,15,17,.86) 36%, rgba(14,15,17,.55) 60%, rgba(14,15,17,.15) 82%, transparent 100%) !important;
}
.hero-desktop-section > div:is([style*="padding:80px 48px"], [style*="padding: 80px 48px"]) {
  max-width: calc(var(--container) + 2 * var(--gutter)) !important;
  padding: 88px var(--gutter) !important;
  min-height: 580px !important;
}
.hero-desktop-section :is([style*="max-width:560px"], [style*="max-width: 560px"]) { max-width: 560px !important; }
.hero-desktop-section h1 {
  font-size: clamp(36px, 3.2vw, 46px) !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
}
.hero-desktop-section p:is([style*="font-size:18px"], [style*="font-size: 18px"]) { font-size: 17px !important; line-height: 1.6 !important; color: rgba(255,255,255,.78) !important; margin-bottom: 28px !important; max-width: 30em; }
.hero-desktop-section :is([style*="gap:20px;margin-bottom:32px"], [style*="gap: 20px; margin-bottom: 32px"]) { margin-bottom: 36px !important; gap: 22px !important; }
.hero-desktop-section span:is([style*="color:rgba(255,255,255,0.4)"], [style*="color: rgba(255, 255, 255, 0.4)"]) { display: none; }
.hero-desktop-section button:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) { padding: 15px 26px !important; font-size: 15px !important; }
.hero-desktop-section :is([style*="display:flex;gap:12px"], [style*="display: flex; gap: 12px"]) { gap: 14px !important; }

/* бейдж — тише */
:is(.hero-desktop-section, .hero-mobile-section + div) :is([style*="display:inline-flex;align-items:center"], [style*="display: inline-flex; align-items: center"]):is([style*="border:1px solid rgba(255, 255, 255"], [style*="border: 1px solid rgba(255, 255, 255"]) {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 24px !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}


/* мобильный hero */
.hero-mobile-section :is([style*="linear-gradient(to top, #0f172a"], [style*="linear-gradient(to top, rgb(15, 23, 42)"]) { background: linear-gradient(to top, var(--ink) 0%, transparent 100%) !important; }
.hero-mobile-section + div:is([style*="padding:24px 16px 32px"], [style*="padding: 24px 16px 32px"]) { padding: 28px 20px 44px !important; }
.hero-mobile-section + div p:is([style*="font-size:32px"], [style*="font-size: 32px"]) { font-size: clamp(26px, 7vw, 30px) !important; line-height: 1.15 !important; margin-bottom: 16px !important; }
.hero-mobile-section + div span:is([style*="color:#475569"], [style*="color: rgb(71, 85, 105)"]) { display: none; }
.hero-mobile-section + div :is([style*="flex-wrap:wrap;gap:8px;margin-bottom:20px"], [style*="flex-wrap: wrap; gap: 8px; margin-bottom: 20px"]) { gap: 10px 18px !important; margin-bottom: 28px !important; }

/* ---------- Цифры под hero ---------- */
section:is([style*="padding:32px 0;border-top:1px solid #e2e8f0"], [style*="padding: 32px 0px; border-top: 1px solid rgb(226, 232, 240)"]) {
  background-color: var(--surface) !important;
  padding: 40px 0 !important;
  border-top: 0 !important;
}
.home-stats-grid { text-align: left !important; gap: 32px !important; }
.home-stats-number {
  font-weight: 700 !important; letter-spacing: -0.03em;
  font-size: clamp(24px, 2.1vw, 30px) !important; margin-bottom: 6px !important; white-space: nowrap;
}
.home-stats-number:is([style*="color:#eab308"], [style*="color: rgb(234, 179, 8)"]) { color: var(--text) !important; }

/* ---------- Заголовки секций ---------- */
main h2:is([style*="font-size:22px"], [style*="font-size: 22px"]), main h2:is([style*="font-size:28px"], [style*="font-size: 28px"]), main h2:is([style*="font-size:30px"], [style*="font-size: 30px"]),
main h2:is([style*="font-size:36px"], [style*="font-size: 36px"]), .sec-benefits-title, .sec-geo-title, .sec-steps-title,
section.py-12 h2 {
  font-size: clamp(26px, 2.2vw, 32px) !important;
  line-height: 1.2 !important;
}
main section > div > div:is([style*="justify-content:space-between"], [style*="justify-content: space-between"]) { align-items: flex-end !important; gap: 24px; flex-wrap: wrap; }

/* ссылки «Все …» — просто текст со стрелкой */
main a:is([style*="font-size:14px;color:#64748b;text-decoration:none;display:flex"], [style*="font-size: 14px; color: rgb(100, 116, 139); text-decoration: none; display: flex"]) {
  color: var(--text) !important; font-weight: 600; font-size: 15px !important;
  text-decoration: underline !important; text-decoration-color: var(--line-strong) !important;
  text-underline-offset: 6px; transition: text-decoration-color .2s !important;
}
main a:is([style*="font-size:14px;color:#64748b;text-decoration:none;display:flex"], [style*="font-size: 14px; color: rgb(100, 116, 139); text-decoration: none; display: flex"]):hover { text-decoration-color: var(--signal) !important; }

/* ---------- Отрасли ---------- */
section:is([style="padding:40px 0"], [style^="padding: 40px 0px"]) { padding: var(--section) 0 calc(var(--section) * .6) !important; border-top: 1px solid var(--line); }
section:is([style="padding:40px 0"], [style^="padding: 40px 0px"]) > div > div:first-child { margin-bottom: 36px !important; }
.industries-grid { gap: 20px !important; }
@media (min-width: 1024px) { .industries-grid { gap: 24px !important; } }
.industries-grid > a {
  padding: 14px !important; border-radius: var(--r-lg) !important; gap: 16px !important; align-items: center;
  transition: border-color .25s, box-shadow .35s var(--ease-out) !important;
}
.industries-grid > a:hover { border-color: var(--line-strong) !important; box-shadow: var(--shadow-lift); }
.industries-grid > a > div:first-child { width: 72px !important; height: 72px !important; border-radius: var(--r-md) !important; }
.industries-grid h3 { font-size: 15.5px !important; font-weight: 700 !important; margin-bottom: 6px !important; }
.industries-grid p { line-height: 1.5 !important; }
.industries-grid p:is([style*="color:#ca8a04"], [style*="color: rgb(202, 138, 4)"]) { margin-top: 6px; font-size: 13px !important; }

/* ---------- Почему выбирают нас ---------- */
.sec-benefits { padding: var(--section) 0 !important; background-color: var(--paper) !important; }
.sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) {
  text-align: left !important; margin-bottom: 48px !important;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; align-items: end;
}
.sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) > h2 { margin-bottom: 16px !important; grid-column: 1; }
.sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) > p { margin: 0 !important; grid-column: 1; font-size: 16px !important; line-height: 1.6; max-width: 34em !important; }
.sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) > div {
  grid-column: 2; grid-row: 1 / 3; align-self: end;
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
.sec-benefits-grid { gap: 40px 40px !important; }
@media (min-width: 1100px) { .sec-benefits-grid { grid-template-columns: repeat(4, 1fr) !important; } }
.sec-benefits-grid > div { background: transparent !important; border-radius: 0 !important; padding: 28px 0 0 !important; border-top: 1px solid var(--line-strong); }
.sec-benefits-grid > div > div:is([style*="width:64px"], [style*="width: 64px"]) { width: 40px !important; height: 40px !important; border-radius: 10px !important; margin-bottom: 24px !important; }
.sec-benefits-grid > div > div:is([style*="font-size:30px"], [style*="font-size: 30px"]) {
  font-weight: 700 !important; letter-spacing: -0.03em; color: var(--text) !important;
  font-size: clamp(20px, 1.7vw, 24px) !important; margin-bottom: 10px !important; white-space: nowrap;
}
.sec-benefits-grid h3 { font-size: 16px !important; font-weight: 700 !important; margin-bottom: 8px !important; }
.sec-benefits-grid p { font-size: 15px !important; color: var(--text-2) !important; }

/* ---------- Популярные должности ---------- */
section:is([style="padding:64px 0"], [style^="padding: 64px 0px"]) { padding: var(--section) 0 !important; }
section:is([style="padding:64px 0"], [style^="padding: 64px 0px"]) > div > div:first-child { margin-bottom: 36px !important; }
.positions-grid { gap: 40px 24px !important; }
.positions-grid > div, .positions-grid > div > div { min-width: 0; }
@media (min-width: 1024px) { .positions-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 40px 24px !important; } }
.positions-grid > div { border: 0 !important; border-radius: 0 !important; background: transparent !important; overflow: visible !important; }
.positions-grid > div > a > div:is([style*="height:140px"], [style*="height: 140px"]) { height: 168px !important; border-radius: var(--r-md) !important; }
.positions-grid img { transition: transform .7s var(--ease-out) !important; }
.positions-grid > div:hover img { transform: scale(1.04); }
.positions-grid :is([style*="background-color:rgba(255,255,255,0.95)"], [style*="background-color: rgba(255, 255, 255, 0.95)"]) {
  top: 14px !important; right: auto !important; left: 14px !important;
  background-color: rgba(255,255,255,.96) !important; border-radius: 8px !important; box-shadow: none !important;
  font-weight: 600 !important; font-size: 12px !important; padding: 4px 8px !important;
}
.positions-grid > div > div:is([style*="padding:14px"], [style*="padding: 14px"]) { padding: 16px 0 0 !important; gap: 8px !important; }
.positions-grid h3 { font-size: 16px !important; font-weight: 700 !important; }
/* теги — одной строкой текста через точку, без плашек */
.positions-grid div:is([style*="flex-wrap:wrap;gap:6px"], [style*="flex-wrap: wrap; gap: 6px"]) { gap: 0 !important; flex-wrap: nowrap !important; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg,#000 85%,transparent); mask-image: linear-gradient(90deg,#000 85%,transparent); }
.positions-grid span:is([style*="border-radius:4px"], [style*="border-radius: 4px"]) {
  background: transparent !important; padding: 0 !important; border-radius: 0 !important;
  color: var(--text-3) !important; font-size: 13px !important;
}
.positions-grid span:is([style*="border-radius:4px"], [style*="border-radius: 4px"]) + span::before { content: "·"; margin: 0 8px; color: var(--line-strong); }
.positions-grid div:is([style*="display:flex;gap:10px;margin-top:auto"], [style*="display: flex; gap: 10px; margin-top: auto"]) { margin-top: auto !important; padding-top: 12px; gap: 20px !important; align-items: center; }
.positions-grid button:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"]) {
  flex: 0 0 auto !important; padding: 9px 16px !important; font-size: 13.5px !important;
  background-color: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; font-weight: 600 !important;
  transition: background-color .2s !important;
}
.positions-grid button:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"]):hover { background-color: #34363c !important; }
.positions-grid a:is([style*="background-color:#f1f5f9"], [style*="background-color: rgb(241, 245, 249)"]) {
  flex: 0 0 auto !important; padding: 0 !important; background: transparent !important; color: var(--text) !important; font-weight: 600 !important;
  text-decoration: underline !important; text-decoration-color: var(--line-strong) !important; text-underline-offset: 5px;
}
.positions-grid a:is([style*="background-color:#f1f5f9"], [style*="background-color: rgb(241, 245, 249)"]):hover { text-decoration-color: var(--signal) !important; }

/* ---------- Как мы работаем ---------- */
.sec-steps { padding: var(--section) 0 !important; background-color: var(--ink) !important; }
.sec-steps > div > div:is([style*="text-align:center"], [style*="text-align: center"]) { text-align: left !important; margin-bottom: 48px !important; }
.sec-steps > div > div:is([style*="text-align:center"], [style*="text-align: center"]) h2 { margin-bottom: 12px !important; }
.sec-steps > div > div:is([style*="text-align:center"], [style*="text-align: center"]) p { margin: 0 !important; font-size: 16px !important; color: var(--on-dark-2) !important; }
.sec-steps-grid { gap: 48px 40px !important; }
.sec-steps-grid > div { background: transparent !important; border-radius: 0 !important; padding: 28px 0 0 !important; border-top: 1px solid rgba(255,255,255,.14); }
.sec-steps-grid > div > div:first-child { margin-bottom: 20px !important; }
.sec-steps-grid span:is([style*="font-size:30px"], [style*="font-size: 30px"]) { font-size: 14px !important; font-weight: 600 !important; color: var(--on-dark-3) !important; }
.sec-steps-grid h3 { font-size: 16.5px !important; font-weight: 700 !important; margin-bottom: 10px !important; }
.sec-steps-grid p { font-size: 15px !important; color: var(--on-dark-2) !important; line-height: 1.6; }

/* ---------- Отзывы: пустой блок скрыт (redesign.js) ---------- */
[data-sb-empty] { display: none !important; }

/* ---------- География ---------- */
.sec-geo { padding: var(--section) 0 !important; }
.sec-geo > div > div:is([style*="text-align:center"], [style*="text-align: center"]) { text-align: left !important; margin-bottom: 40px !important; }
.sec-geo > div > div:is([style*="text-align:center"], [style*="text-align: center"]) h2 { margin-bottom: 16px !important; }
.sec-geo > div > div:is([style*="text-align:center"], [style*="text-align: center"]) p { font-size: 16px !important; }
.sec-geo :is([style*="border-radius:24px;padding:48px"], [style*="border-radius: 24px; padding: 48px"]) { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.sec-geo :is([style*="border-radius:24px;padding:48px"], [style*="border-radius: 24px; padding: 48px"]) > div:first-child { margin: 0 auto 56px !important; max-width: 920px; }
.geo-stats-grid { gap: 40px !important; }
.geo-stats-grid > div { text-align: left !important; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.geo-stats-grid > div > div:first-child { display: none !important; }
.geo-stats-grid > div > div:is([style*="font-size:32px"], [style*="font-size: 32px"]) { font-weight: 700 !important; letter-spacing: -0.03em; font-size: clamp(22px, 2vw, 28px) !important; margin-bottom: 4px !important; white-space: nowrap; }
.geo-stats-grid > div > div:is([style*="color:#eab308"], [style*="color: rgb(234, 179, 8)"]) { color: var(--text) !important; }

/* ---------- FAQ ---------- */
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) { padding: var(--section) 0 !important; }
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div { max-width: calc(var(--container) + 2 * var(--gutter)) !important; padding: 0 var(--gutter) !important; }
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div:is([style*="max-width:896px"], [style*="max-width: 896px"]) { max-width: none !important; }
@media (min-width: 1024px) {
  section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div:is([style*="max-width:896px"], [style*="max-width: 896px"]) {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start;
  }
  section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div:is([style*="max-width:896px"], [style*="max-width: 896px"]) > div:first-child { position: sticky; top: 120px; }
}
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div > div:is([style*="text-align:center"], [style*="text-align: center"]) { text-align: left !important; margin-bottom: 40px !important; }
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) h2 { font-size: clamp(26px, 2.2vw, 32px) !important; line-height: 1.2 !important; margin-bottom: 16px !important; }
section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) :is([style*="flex-direction:column;gap:16px"], [style*="flex-direction: column; gap: 16px"]) { gap: 0 !important; border-top: 1px solid var(--line-strong); }
.faq-details { background: transparent !important; border-radius: 0 !important; border-bottom: 1px solid var(--line-strong); box-shadow: none !important; }
.faq-details[open] { box-shadow: none !important; }
.faq-details summary { padding: 22px 0 !important; font-weight: 600; font-size: 16px; transition: color .2s; }
.faq-details summary:hover { color: var(--signal-ink); }
.faq-details[open] .faq-chevron { color: var(--text) !important; }
.faq-details .faq-chevron { transition: transform .35s var(--ease-out) !important; }
.faq-details > div { padding: 0 48px 24px 0 !important; }
.faq-details > div p { color: var(--text-2) !important; font-size: 15px !important; line-height: 1.7 !important; max-width: 62ch; }

/* ---------- CTA + форма ---------- */
section.py-12 { padding: var(--section) 0 !important; }
section.py-12 > div > div.rounded-3xl { border-radius: var(--r-xl) !important; background-color: var(--ink) !important; padding: clamp(24px, 4vw, 56px) !important; }
section.py-12 > div > div.rounded-3xl > div:is([style*="filter:blur(60px)"], [style*="filter: blur(60px)"]) { display: none !important; }
section.py-12 .grid { gap: clamp(32px, 5vw, 80px) !important; }
section.py-12 p:is([style*="font-size:17px"], [style*="font-size: 17px"]) { font-size: 16px !important; margin-bottom: 32px !important; }
section.py-12 :is([style*="linear-gradient(135deg, #3b82f6"], [style*="linear-gradient(135deg, rgb(59, 130, 246)"]) { background: #3a3c42 !important; }
section.py-12 :is([style*="linear-gradient(135deg, #facc15"], [style*="linear-gradient(135deg, rgb(250, 204, 21)"]) { background: var(--signal) !important; }

.b24-form-wrapper, .b24-form .b24-form-wrapper { border-radius: var(--r-lg) !important; box-shadow: none !important; }
.b24-form .b24-form-control {
  border-radius: 10px !important; border-color: var(--line) !important; background-color: var(--paper) !important;
  transition: border-color .2s, background-color .2s, box-shadow .2s !important;
}
.b24-form .b24-form-control:focus { border-color: var(--ink) !important; background-color: #fff !important; box-shadow: 0 0 0 3px rgba(255,198,0,.35) !important; }
.b24-form .b24-form-btn, .b24-form-btn {
  background-color: var(--signal) !important; color: var(--ink) !important; border-radius: var(--r-md) !important;
  font-weight: 700 !important; font-family: var(--font) !important; box-shadow: none !important; transition: background-color .2s !important;
}
.b24-form .b24-form-btn:hover, .b24-form-btn:hover { background-color: var(--signal-hi) !important; }
.b24-form .b24-form-field-agreement a { color: var(--text-2) !important; text-underline-offset: 3px; }

/* ---------- SEO-блок и подвал ---------- */
div:is([style*="background-color:#0f172a;border-bottom:1px solid #1e293b"], [style*="background-color: rgb(15, 23, 42); border-bottom: 1px solid rgb(30, 41, 59)"]) > div { padding-top: 64px !important; padding-bottom: 48px !important; }
div:is([style*="background-color:#0f172a;border-bottom:1px solid #1e293b"], [style*="background-color: rgb(15, 23, 42); border-bottom: 1px solid rgb(30, 41, 59)"]) h2 { font-size: 17px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
div:is([style*="background-color:#0f172a;border-bottom:1px solid #1e293b"], [style*="background-color: rgb(15, 23, 42); border-bottom: 1px solid rgb(30, 41, 59)"]) :is([style*="line-height:1.7"], [style*="line-height: 1.7"]) { max-width: 80ch; }
footer { background-color: var(--ink) !important; }
footer > div { padding-top: 56px !important; padding-bottom: 48px !important; }
footer :is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) { margin-bottom: 64px !important; }
footer a:is([style*="color:#94a3b8"], [style*="color: rgb(148, 163, 184)"]) { color: var(--on-dark-2) !important; transition: color .2s !important; }
footer a:is([style*="color:#94a3b8"], [style*="color: rgb(148, 163, 184)"]):hover { color: #fff !important; }
footer li:is([style*="margin-bottom:10px"], [style*="margin-bottom: 10px"]) { margin-bottom: 14px !important; }
footer a[href^="tel:"] { font-weight: 700 !important; font-size: 18px !important; }
footer a[href^="tel:"]:hover { color: var(--signal) !important; }
footer a:is([style*="width:36px;height:36px"], [style*="width: 36px; height: 36px"]) { border-radius: 10px !important; transition: background-color .2s, color .2s !important; }
footer a:is([style*="width:36px;height:36px"], [style*="width: 36px; height: 36px"]):hover { background-color: var(--signal) !important; color: var(--ink) !important; }

/* ---------- Внутренние страницы ---------- */
main div:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"]):is([style*="border-radius:16px"], [style*="border-radius: 16px"]),
main div:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"]):is([style*="border-radius:12px"], [style*="border-radius: 12px"]) { border-radius: var(--r-lg) !important; }
main a:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"])[style*="border-radius"] { transition: border-color .2s, box-shadow .3s var(--ease-out) !important; }
main a:is([style*="border:1px solid #e2e8f0"], [style*="border: 1px solid rgb(226, 232, 240)"])[style*="border-radius"]:hover { border-color: var(--line-strong) !important; box-shadow: var(--shadow-lift); }

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 767px) {
  :root { --section: 56px; --gutter: 20px; }
  .home-stats-grid { gap: 28px 20px !important; }
  section:is([style*="padding:32px 0;border-top:1px solid #e2e8f0"], [style*="padding: 32px 0px; border-top: 1px solid rgb(226, 232, 240)"]) { padding: 40px 0 !important; }
  .home-stats-number { font-size: 24px !important; }
  .sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) { grid-template-columns: 1fr; margin-bottom: 40px !important; }
  .sec-benefits > div > div:is([style*="text-align:center"], [style*="text-align: center"]) > div { grid-column: 1; grid-row: auto; margin-top: 28px; justify-self: start; }
  .sec-benefits-grid { gap: 36px !important; }
  .positions-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 28px 14px !important; }
  .positions-grid > div > a > div:is([style*="height:140px"], [style*="height: 140px"]) { height: 120px !important; }
  .positions-grid div:is([style*="display:flex;gap:10px;margin-top:auto"], [style*="display: flex; gap: 10px; margin-top: auto"]) { gap: 14px !important; }
  .sec-steps-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px !important; }
  .sec-steps > div > div:is([style*="text-align:center"], [style*="text-align: center"]) { margin-bottom: 44px !important; }
  .geo-stats-grid { gap: 28px 20px !important; }
  .sec-geo :is([style*="border-radius:24px;padding:48px"], [style*="border-radius: 24px; padding: 48px"]) > div:first-child { margin-bottom: 44px !important; }
  .faq-details summary { padding: 22px 0 !important; font-size: 16.5px; }
  .faq-details > div { padding: 0 0 24px !important; }
  section.py-12 > div > div.rounded-3xl { border-radius: var(--r-lg) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Без «подложек»: полупрозрачные пилюли-бейджи → просто текст ---------- */
main :is([style*="display:inline-flex"], [style*="display: inline-flex"]):is([style*="background-color:rgba(250, 204, 21"], [style*="background-color: rgba(250, 204, 21"]),
main :is([style*="display:inline-flex"], [style*="display: inline-flex"]):is([style*="background-color:rgba(250,204,21"], [style*="background-color: rgba(250, 204, 21"]),
main :is([style*="display:inline-flex"], [style*="display: inline-flex"]):is([style*="background-color:rgba(255, 255, 255, 0.08)"], [style*="background-color: rgba(255, 255, 255, 0.08)"]),
main :is([style*="display:inline-flex"], [style*="display: inline-flex"]):is([style*="background-color:#fef9c3"], [style*="background-color: rgb(254, 249, 195)"]),
main :is([style*="display:inline-flex"], [style*="display: inline-flex"]):is([style*="background-color:#fefce8"], [style*="background-color: rgb(254, 252, 232)"]) {
  background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important;
}

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — тот же язык, что на главной:
   белый фон, линии вместо коробок, сдержанные размеры
   ===================================================================== */

/* --- контейнеры и фон --- */
main .max-w-\[1400px\], main :is([style*="max-width:1400px;margin:0 auto"], [style*="max-width: 1400px; margin: 0px auto"]) {
  max-width: calc(var(--container) + 2 * var(--gutter)) !important;
  padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
}
main > div:is([style*="background-color:#f8fafc"], [style*="background-color: rgb(248, 250, 252)"]), main > div.bg-slate-50, body .bg-slate-50 { background-color: var(--surface) !important; }
main > nav, main > nav:is([style*="background-color:#f8fafc"], [style*="background-color: rgb(248, 250, 252)"]) { background-color: var(--surface) !important; border-bottom: 1px solid var(--line) !important; }
main > nav a, .position-breadcrumbs a { transition: color .2s !important; }
main > nav a:hover, .position-breadcrumbs a:hover { color: var(--text) !important; }

/* колонка + сайдбар */
main .flex.lg\:flex-row { gap: 56px !important; }
main div:is([style*="display:flex;gap:32px;flex-wrap:wrap"], [style*="display: flex; gap: 32px; flex-wrap: wrap"]) { gap: 56px !important; }
main div:is([style*="padding-top:48px;padding-bottom:48px"], [style*="padding-top: 48px; padding-bottom: 48px"]), main div:is([style*="padding-top:32px;padding-bottom:32px"], [style*="padding-top: 32px; padding-bottom: 32px"]) { padding-top: 48px !important; padding-bottom: 88px !important; }

/* вложенные секции (FAQ и CTA внутри колонки) — без своих полей */
:is(main main, .position-main-content) section > div:is([style*="max-width:1400px"], [style*="max-width: 1400px"]),
:is(main main, .position-main-content) section.py-12 > div { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
:is(main main, .position-main-content) section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) { background: transparent !important; padding: 72px 0 24px !important; }
:is(main main, .position-main-content) section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div:is([style*="max-width:896px"], [style*="max-width: 896px"]) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
:is(main main, .position-main-content) section.py-12 { padding: 56px 0 0 !important; }

/* заголовки */
main main h1, .industry-hero-title, .position-hero-title, main h1:is([style*="font-size:28px"], [style*="font-size: 28px"]) {
  font-size: clamp(28px, 2.4vw, 34px) !important; line-height: 1.15 !important;
}
main h1 span:is([style*="color:#eab308"], [style*="color: rgb(234, 179, 8)"]) { color: inherit !important; }
.position-hero-title span:is([style*="display:block"], [style*="display: block"]) { font-size: 16px !important; font-weight: 500 !important; color: var(--text-3) !important; letter-spacing: 0; margin-top: 8px !important; }
main main h2:is([style*="font-size:18px"], [style*="font-size: 18px"]), main main h2:is([style*="font-size:20px"], [style*="font-size: 20px"]), .position-section-title {
  font-size: 22px !important; line-height: 1.25 !important; letter-spacing: -0.02em !important;
}

/* --- белые блоки контента: тонкая рамка, больше воздуха --- */
main main > div:is([style*="background-color:white"], [style*="background-color: white"]):is([style*="border-radius:16px"], [style*="border-radius: 16px"]) {
  border: 1px solid var(--line); margin-bottom: 40px !important; box-shadow: none !important;
}
main main > div:is([style*="background-color:white"], [style*="background-color: white"]):is([style*="padding:20px"], [style*="padding: 20px"]) { padding: 32px !important; }
main main > .mb-6 > div:is([style*="background-color:white"], [style*="background-color: white"]) { padding: 32px !important; }
main main > .mb-6 { margin-bottom: 40px !important; }
/* жёлтая полоска-маркер у заголовка — убираем */
main :is([style*="width:4px;height:48px;background-color:#facc15"], [style*="width: 4px; height: 48px; background-color: rgb(250, 204, 21)"]) { display: none !important; }

/* --- сайдбар --- */
main aside { width: 280px !important; }
aside :is([style*="background-color:white;border-radius:16px;border:1px solid #f1f5f9"], [style*="background-color: white; border-radius: 16px; border: 1px solid rgb(241, 245, 249)"]),
aside .bg-white.rounded-2xl { background: transparent !important; border: 0 !important; padding: 0 !important; margin-bottom: 40px !important; }
aside h3 { font-size: 13px !important; font-weight: 600 !important; color: var(--text-3) !important; text-transform: none; letter-spacing: 0; margin-bottom: 12px !important; }
aside a:is([style*="padding:12px 14px;border-radius:10px"], [style*="padding: 12px 14px; border-radius: 10px"]), aside .space-y-1 > a {
  padding: 9px 12px !important; border-radius: 8px !important; transition: background-color .2s, color .2s !important;
}
aside a:is([style*="background-color:transparent"], [style*="background-color: transparent"]):hover, aside .space-y-1 > a:hover { background-color: var(--paper) !important; color: var(--text) !important; }
aside a:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) { background-color: var(--paper-2) !important; color: var(--text) !important; font-weight: 600 !important; }
aside a:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]):hover { transform: none !important; box-shadow: none !important; }
aside .space-y-1 > a.bg-slate-900, aside .space-y-1 > a[class*="bg-slate-900"] { background-color: var(--paper-2) !important; color: var(--text) !important; }
aside .space-y-1 > a.bg-slate-900 *, aside .space-y-1 > a[class*="bg-slate-900"] * { color: var(--text) !important; }
aside .space-y-1 { border-left-color: var(--line) !important; }

/* тёмные плашки «Статистика / Гарантии» → светлый список */
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) {
  background: transparent !important; color: var(--text) !important; padding: 24px 0 0 !important;
  border-top: 1px solid var(--line); border-radius: 0 !important; margin-bottom: 32px !important;
}
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) h3 { margin-bottom: 16px !important; }
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) :is([style*="color:#94a3b8"], [style*="color: rgb(148, 163, 184)"]) { color: var(--text-3) !important; }
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) :is([style*="background-color:rgba(250,204,21,0.2)"], [style*="background-color: rgba(250, 204, 21, 0.2)"]) { background-color: var(--ink) !important; width: 32px !important; height: 32px !important; }
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) :is([style*="height:1px;background-color:rgba(255,255,255,0.1)"], [style*="height: 1px; background-color: rgba(255, 255, 255, 0.1)"]) { background-color: var(--line) !important; }
aside > div:is([style*="background-color:#0f172a;border-radius:16px;padding:20px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 20px"]) :is([style*="font-size:20px;font-weight:700"], [style*="font-size: 20px; font-weight: 700"]) { font-size: 18px !important; }

/* карточка аккредитации и прочие белые карточки сайдбара */
aside :is([style*="border:1px solid #f1f5f9;padding:20px;margin-top:24px"], [style*="border: 1px solid rgb(241, 245, 249); padding: 20px; margin-top: 24px"]),
aside :is([style*="background-color:white;padding:16px 20px;border-radius:16px;border:1px solid #e2e8f0"], [style*="background-color: white; padding: 16px 20px; border-radius: 16px; border: 1px solid rgb(226, 232, 240)"]),
aside :is([style*="background-color:white;border-radius:16px;padding:24px"], [style*="background-color: white; border-radius: 16px; padding: 24px"]) {
  background: transparent !important; border: 0 !important; border-top: 1px solid var(--line) !important;
  border-radius: 0 !important; box-shadow: none !important; padding: 24px 0 0 !important; margin-top: 32px !important;
}
aside .space-y-6 > * + * { margin-top: 32px !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) { border-radius: var(--r-lg) !important; padding: 28px !important; }

/* --- карточки направлений / должностей (услуги, каталог) --- */
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a {
  border: 0 !important; border-radius: 0 !important; overflow: visible !important; background: transparent !important;
}
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a > div:first-child {
  border-radius: var(--r-md) !important; overflow: hidden !important; height: auto !important; aspect-ratio: 16 / 10;
}
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a img { transition: transform .7s var(--ease-out) !important; }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover img { transform: scale(1.04); }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a > div:is([style*="padding:20px"], [style*="padding: 20px"]) { padding: 18px 0 0 !important; }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a :is([style*="width:40px;height:40px;border-radius:12px;background-color:#f1f5f9"], [style*="width: 40px; height: 40px; border-radius: 12px; background-color: rgb(241, 245, 249)"]) { display: none !important; }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a h3 { font-size: 17px !important; font-weight: 700 !important; }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a :is([style*="display:flex;flex-wrap:wrap;gap:8px"], [style*="display: flex; flex-wrap: wrap; gap: 8px"]) { gap: 0 !important; }
main main span:is([style*="background-color:#f8fafc;padding:4px 8px;border-radius:4px"], [style*="background-color: rgb(248, 250, 252); padding: 4px 8px; border-radius: 4px"]),
main main span:is([style*="background-color:#f1f5f9;padding:4px 8px;border-radius:4px"], [style*="background-color: rgb(241, 245, 249); padding: 4px 8px; border-radius: 4px"]) {
  background: transparent !important; padding: 0 !important; color: var(--text-3) !important; font-size: 13px !important;
}
main main span:is([style*="padding:4px 8px;border-radius:4px"], [style*="padding: 4px 8px; border-radius: 4px"]) + span::before { content: "·"; margin: 0 8px; color: var(--line-strong); }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a :is([style*="border-top:1px solid #f1f5f9"], [style*="border-top: 1px solid rgb(241, 245, 249)"]) { border-top-color: var(--line) !important; }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover :is([style*="gap:4px;font-size:14px;color:#64748b"], [style*="gap: 4px; font-size: 14px; color: rgb(100, 116, 139)"]) { color: var(--text) !important; }
main main .grid-cols-1.md\:grid-cols-2, .staff-positions-grid { gap: 48px 32px !important; }

/* каталог: фильтры и заголовки категорий */
main main:has(.staff-positions-grid) > div:first-child > button { transition: border-color .2s, background-color .2s, color .2s !important; }
main main:has(.staff-positions-grid) > div:first-child > button:hover { border-color: var(--text) !important; color: var(--text) !important; }
main main div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px"]) { margin-bottom: 56px !important; }
main main div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) { margin-bottom: 80px !important; }
main main :is([style*="width:40px;height:40px;border-radius:12px;background-color:#facc15"], [style*="width: 40px; height: 40px; border-radius: 12px; background-color: rgb(250, 204, 21)"]) { display: none !important; }

/* --- страница отрасли --- */
.industry-hero-image { height: 320px !important; border-radius: var(--r-lg); overflow: hidden; }
main main > div:has(> .industry-hero-image) { border: 0 !important; background: transparent !important; border-radius: 0 !important; overflow: visible !important; }
.industry-hero-content { padding: 32px 0 0 !important; }
.industry-hero-content > p:is([style*="font-size:15px"], [style*="font-size: 15px"]) { font-size: 16px !important; max-width: 60ch; }
.industry-hero-image span:is([style*="background-color:#22c55e"], [style*="background-color: rgb(34, 197, 94)"]), .industry-hero-image span:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) {
  background-color: rgba(255,255,255,.95) !important; color: var(--text) !important; box-shadow: none !important; font-weight: 600 !important;
}
.industry-hero-image span:is([style*="background-color:#22c55e"], [style*="background-color: rgb(34, 197, 94)"]) > span { background-color: #22a55a !important; }
main :is([style*="background-color:#dbeafe"], [style*="background-color: rgb(219, 234, 254)"]), main :is([style*="background-color:#fef3c7"], [style*="background-color: rgb(254, 243, 199)"]), main :is([style*="background-color:#f3e8ff"], [style*="background-color: rgb(243, 232, 255)"]), main :is([style*="background-color:#dcfce7"], [style*="background-color: rgb(220, 252, 231)"]) { background-color: var(--paper-2) !important; }
main :is([style*="background-color:#dbeafe"], [style*="background-color: rgb(219, 234, 254)"]) svg *, main :is([style*="background-color:#dbeafe"], [style*="background-color: rgb(219, 234, 254)"]) svg { stroke: var(--text) !important; color: var(--text) !important; }
.industry-cta-buttons { gap: 12px !important; }
.industry-cta-buttons > a:is([style*="background-color:white"], [style*="background-color: white"]) { border: 1px solid var(--line-strong) !important; transition: border-color .2s !important; }
.industry-cta-buttons > a:is([style*="background-color:white"], [style*="background-color: white"]):hover { border-color: var(--text) !important; }

/* цифры отрасли — как на главной: без иконок, с линией сверху */
.industry-stats-grid { gap: 32px !important; margin: 16px 0 56px !important; }
.industry-stat-card { background: transparent !important; border-radius: 0 !important; padding: 20px 0 0 !important; text-align: left !important; border-top: 1px solid var(--line-strong); }
.industry-stat-card > div:first-child { display: none !important; }
.industry-stat-number { font-size: 26px !important; letter-spacing: -0.03em; margin-bottom: 4px !important; }

/* список должностей отрасли */
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) { transition: background-color .2s, border-color .2s !important; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):hover { background-color: var(--paper) !important; border-color: var(--line) !important; }
main main :is([style*="display:flex;flex-direction:column;gap:12px"], [style*="display: flex; flex-direction: column; gap: 12px"]) > a:is([style*="border:1px solid #f1f5f9"], [style*="border: 1px solid rgb(241, 245, 249)"]) { border-color: var(--line) !important; }

/* мини-карта с цифрами */
.geo-stats { gap: 24px !important; padding-top: 24px !important; border-top-color: var(--line) !important; }
.geo-stats > div { text-align: left !important; }
.geo-stats > div > div:first-child[style*="width"] { display: none !important; }

/* --- страница должности --- */
main .position-main-content { padding: 40px var(--gutter) 96px !important; max-width: calc(var(--container) + 2 * var(--gutter)) !important; }
main .position-breadcrumbs { padding: 18px var(--gutter) !important; max-width: calc(var(--container) + 2 * var(--gutter)) !important; }
.position-main-content > div:is([style*="flex-direction:column;gap:32px"], [style*="flex-direction: column; gap: 32px"]) { gap: 88px !important; }
.position-main-content section > div:is([style*="background-color:#f8fafc;border-radius:16px;overflow:hidden"], [style*="background-color: rgb(248, 250, 252); border-radius: 16px; overflow: hidden"]) { background: transparent !important; border-radius: 0 !important; overflow: visible !important; }
main .position-hero-image { height: 380px !important; border-radius: var(--r-lg); }
main .position-hero-content { padding: 36px 0 0 !important; max-width: 760px; }
main .position-hero-desc, .position-hero-content > p:is([style*="font-size:15px"], [style*="font-size: 15px"]) { font-size: 17px !important; }
main .position-price { font-size: 30px !important; letter-spacing: -0.03em; }
main .position-cta > * { padding: 14px 28px !important; font-size: 15px !important; }
.position-hero-content span:is([style*="display:inline-flex;align-items:center;gap:6px;background-color:white;padding:6px 12px;border-radius:8px"], [style*="display: inline-flex; align-items: center; gap: 6px; background-color: white; padding: 6px 12px; border-radius: 8px"]) {
  background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--text-2) !important; font-size: 14px !important;
}
.position-hero-content div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px"]) { gap: 10px 22px !important; margin-bottom: 28px !important; }
.position-hero-content a:is([style*="border:2px solid #e2e8f0"], [style*="border: 2px solid rgb(226, 232, 240)"]) { border-width: 1px !important; border-color: var(--line-strong) !important; transition: border-color .2s !important; }
.position-hero-content a:is([style*="border:2px solid #e2e8f0"], [style*="border: 2px solid rgb(226, 232, 240)"]):hover { border-color: var(--text) !important; }

main .position-requirements { gap: 48px !important; }
main .position-requirements > div, main .position-why-card {
  background: transparent !important; border-radius: 0 !important; padding: 28px 0 0 !important; border-top: 1px solid var(--line-strong);
}
main .position-why-grid { gap: 40px !important; }
.position-requirements :is([style*="width:48px;height:48px;border-radius:12px;background-color:#0f172a"], [style*="width: 48px; height: 48px; border-radius: 12px; background-color: rgb(15, 23, 42)"]),
.position-why-card :is([style*="width:48px;height:48px;border-radius:12px;background-color:#0f172a"], [style*="width: 48px; height: 48px; border-radius: 12px; background-color: rgb(15, 23, 42)"]) { width: 40px !important; height: 40px !important; border-radius: 10px !important; margin-bottom: 20px !important; }
.position-why-card h3 { font-size: 17px !important; }
main .position-seo { padding: 40px !important; border-radius: var(--r-lg) !important; border-color: var(--line) !important; }
main .position-seo-title { font-size: 22px !important; }
.position-related { gap: 16px !important; }
main .position-related-card:hover { border-color: var(--line-strong) !important; box-shadow: var(--shadow-lift); }
.position-main-content section.mb-12 > div { padding: 32px !important; border-color: var(--line) !important; }

/* --- контакты --- */
main :is([style*="padding:24px;background-color:#facc15;border-radius:16px"], [style*="padding: 24px; background-color: rgb(250, 204, 21); border-radius: 16px"]) {
  background-color: var(--paper) !important; padding: 32px !important; margin-bottom: 40px !important;
}
main :is([style*="padding:24px;background-color:#facc15;border-radius:16px"], [style*="padding: 24px; background-color: rgb(250, 204, 21); border-radius: 16px"]) a { font-size: 28px !important; letter-spacing: -0.02em; }
main :is([style*="padding:24px;background-color:#facc15;border-radius:16px"], [style*="padding: 24px; background-color: rgb(250, 204, 21); border-radius: 16px"]) a:hover { color: var(--signal-ink) !important; }
.contacts-departments { gap: 24px !important; margin-bottom: 24px; }
.contacts-departments > div, .contacts-address > div { padding: 28px !important; border-color: var(--line) !important; }
.contacts-departments a, .contacts-address a { transition: color .2s !important; }
.contacts-departments a:hover { color: var(--signal-ink) !important; }
main > div:is([style*="background-color:white;border-bottom:1px solid #f1f5f9"], [style*="background-color: white; border-bottom: 1px solid rgb(241, 245, 249)"]) > div { padding-top: 48px !important; padding-bottom: 40px !important; }
main > div:is([style*="max-width:1400px;margin:0 auto;padding:24px 16px"], [style*="max-width: 1400px; margin: 0px auto; padding: 24px 16px"]) { padding-top: 40px !important; padding-bottom: 96px !important; }

/* мобильные поправки внутренних страниц */
@media (max-width: 1023px) {
  :is(main main, .position-main-content) section:is([style*="padding:80px 0;background-color:#f8fafc"], [style*="padding: 80px 0px; background-color: rgb(248, 250, 252)"]) > div > div:is([style*="max-width:896px"], [style*="max-width: 896px"]) { display: block; }
}
@media (max-width: 767px) {
  .industry-hero-image { height: 200px !important; }
  main .position-hero-image { height: 220px !important; }
  .position-main-content > div:is([style*="flex-direction:column;gap:32px"], [style*="flex-direction: column; gap: 32px"]) { gap: 56px !important; }
  main main > div:is([style*="background-color:white"], [style*="background-color: white"]):is([style*="padding:20px"], [style*="padding: 20px"]), main main > .mb-6 > div:is([style*="background-color:white"], [style*="background-color: white"]) { padding: 20px !important; }
  main .position-seo { padding: 24px !important; }
  .industry-stats-grid { gap: 20px !important; }
}
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a :is([style*="display:flex;flex-wrap:wrap;gap:8px"], [style*="display: flex; flex-wrap: wrap; gap: 8px"]) {
  flex-wrap: nowrap !important; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg,#000 85%,transparent); mask-image: linear-gradient(90deg,#000 85%,transparent);
}
main main .grid-cols-1.md\:grid-cols-2 > *, .staff-positions-grid > * { min-width: 0; }
/* вложенные серые боксы внутри SEO-карточки → линия сверху */
main main > div:is([style*="background-color:white"], [style*="background-color: white"]) .grid.md\:grid-cols-2 > div {
  background: transparent !important; border-radius: 0 !important; padding: 20px 0 0 !important; border-top: 1px solid var(--line-strong);
}
main main > div:is([style*="background-color:white"], [style*="background-color: white"]) .grid.md\:grid-cols-2 { gap: 40px !important; }
@media (min-width: 768px) {
  .position-hero-content > div:is([style*="display:flex;flex-direction:column;gap:10px"], [style*="display: flex; flex-direction: column; gap: 10px"]) { flex-direction: row !important; gap: 12px !important; }
  .position-hero-content > div:is([style*="display:flex;flex-direction:column;gap:10px"], [style*="display: flex; flex-direction: column; gap: 10px"]) > * { width: auto !important; padding: 14px 28px !important; font-size: 15px !important; }
}

/* открытые карточки (без рамки и полей): без тени при наведении —
   наведение = зум фото + подчёркивание заголовка + сдвиг стрелки */
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover {
  box-shadow: none !important; border-color: transparent !important;
}
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a h3 {
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; transition: text-decoration-color .25s !important;
}
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover h3 { text-decoration-color: var(--signal); }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a :is([style*="gap:4px;font-size:14px;color:#64748b"], [style*="gap: 4px; font-size: 14px; color: rgb(100, 116, 139)"]) svg { transition: transform .3s var(--ease-out); }
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover :is([style*="gap:4px;font-size:14px;color:#64748b"], [style*="gap: 4px; font-size: 14px; color: rgb(100, 116, 139)"]) svg { transform: translateX(3px); }

/* шапка на узких десктопах (1024–1279): без переносов */
header a[href^="tel:"], header button, header nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  header nav > a, header nav > div > a { padding: 10px 10px !important; }
  header .desktop-only:is([style*="gap:20px"], [style*="gap: 20px"]) { gap: 14px !important; }
  header button:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) { padding: 11px 16px !important; }
  header a[href^="tel:"]:is([style*="font-weight:600"], [style*="font-weight: 600"]) { font-size: 14px !important; }
}

/* --- виджет «Оставьте обращение» в сайдбаре: минимально --- */
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) {
  background: transparent !important; color: var(--text) !important;
  padding: 24px 0 0 !important; border-radius: 0 !important; border-top: 1px solid var(--line);
}
/* аватары прячем, «8 менеджеров · онлайн» — одной строкой */
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > div:first-child { margin-bottom: 12px !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > div:first-child > div > div:first-child { display: none !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > div:first-child > div > div:last-child { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 8px; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) :is([style*="font-size:13px;font-weight:500;color:white"], [style*="font-size: 13px; font-weight: 500; color: white"]) { color: var(--text-3) !important; font-weight: 500 !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) span:is([style*="font-size:11px;color:#22c55e"], [style*="font-size: 11px; color: rgb(34, 197, 94)"]) { display: none; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) span:is([style*="background-color:#22c55e"], [style*="background-color: rgb(34, 197, 94)"]) { width: 6px !important; height: 6px !important; box-shadow: none !important; }
/* текст и кнопка */
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > p:is([style*="color:white"], [style*="color: white"]) {
  color: var(--text) !important; font-size: 16px !important; font-weight: 600; line-height: 1.45 !important; margin-bottom: 18px !important;
}
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > p span:is([style*="color:#facc15"], [style*="color: rgb(250, 204, 21)"]) { color: inherit !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) button { padding: 12px !important; margin-bottom: 0 !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) > p:is([style*="font-size:12px"], [style*="font-size: 12px"]) { display: none !important; }
aside :is([style*="background-color:#0f172a;border-radius:16px;padding:24px"], [style*="background-color: rgb(15, 23, 42); border-radius: 16px; padding: 24px"]) :is([style*="font-size:13px;font-weight:500;color:white"], [style*="font-size: 13px; font-weight: 500; color: white"])::after { content: " онлайн"; }

/* нижний блок с формой: та же тихая строка вместо стопки аватаров */
section.py-12 .grid > div:first-child > div:is([style*="display:flex;align-items:center;gap:12px"], [style*="display: flex; align-items: center; gap: 12px"]) > div:first-child { display: none !important; }
section.py-12 .grid > div:first-child > div:is([style*="display:flex;align-items:center;gap:12px"], [style*="display: flex; align-items: center; gap: 12px"]) > div:last-child { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 8px; }
section.py-12 :is([style*="font-size:14px;font-weight:500;color:white"], [style*="font-size: 14px; font-weight: 500; color: white"]) { color: var(--on-dark-2) !important; }
section.py-12 :is([style*="font-size:14px;font-weight:500;color:white"], [style*="font-size: 14px; font-weight: 500; color: white"])::after { content: " онлайн"; }
section.py-12 span:is([style*="font-size:12px;color:#22c55e"], [style*="font-size: 12px; color: rgb(34, 197, 94)"]) { display: none; }
section.py-12 span:is([style*="background-color:#22c55e"], [style*="background-color: rgb(34, 197, 94)"]) { box-shadow: none !important; }

/* --- список «Доступные должности» (отрасль): строки без рамок, тонкий разделитель --- */
main main :is([style*="display:flex;flex-direction:column;gap:12px"], [style*="display: flex; flex-direction: column; gap: 12px"]):has(> a:is([style*="border:1px solid #f1f5f9"], [style*="border: 1px solid rgb(241, 245, 249)"])) { gap: 0 !important; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) {
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  border-bottom: 1px solid var(--line) !important; padding: 16px 0 !important; gap: 16px !important;
}
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):hover { background: transparent !important; border-color: var(--line) !important; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) img { border-radius: 10px; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) > div:first-child { width: 52px !important; height: 52px !important; border-radius: 10px !important; flex-shrink: 0; }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) h3 {
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .25s;
}
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):hover h3 { text-decoration-color: var(--signal); }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) > svg:last-child,
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) > div:last-child svg { transition: transform .3s var(--ease-out); color: var(--text-3); }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):hover > svg:last-child,
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]):hover > div:last-child svg { transform: translateX(3px); color: var(--text); }
main main a:is([style*="padding:12px;border-radius:12px;border:1px solid #f1f5f9"], [style*="padding: 12px; border-radius: 12px; border: 1px solid rgb(241, 245, 249)"]) h3 { font-size: 15px !important; margin-bottom: 3px !important; }

/* =====================================================================
   Открытая форма Bitrix24 в тёмном блоке «Нужен персонал?»
   ===================================================================== */
section.py-12 .b24-form-wrapper {
  background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
}
section.py-12 .b24-form-header { display: none !important; }
section.py-12 .b24-form-padding-side { padding-left: 0 !important; padding-right: 0 !important; }
section.py-12 .b24-form-content { padding-top: 0 !important; padding-bottom: 0 !important; }
section.py-12 .b24-form .b24-form-field { margin: 0 !important; padding: 0 !important; }
section.py-12 .b24-form form > div:first-child > .b24-form-field:not([style*="none"]) { min-width: 0; }

/* поля */
section.py-12 .b24-form .b24-form-control:not([type="checkbox"]) {
  background-color: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px !important;
  color: #fff !important; caret-color: var(--signal);
  height: 56px !important; font-size: 15px !important; box-shadow: none !important;
}
section.py-12 .b24-form .b24-form-control:not([type="checkbox"]):hover { border-color: rgba(255,255,255,.24) !important; }
section.py-12 .b24-form .b24-form-control:not([type="checkbox"]):focus {
  background-color: rgba(255,255,255,.08) !important; border-color: var(--signal) !important;
  box-shadow: 0 0 0 3px rgba(255,198,0,.18) !important;
}
section.py-12 .b24-form .b24-form-control-label { color: var(--on-dark-3) !important; background: transparent !important; }
section.py-12 .b24-form .b24-form-control-required { color: var(--signal) !important; }
section.py-12 .b24-form .b24-form-control-alert .b24-form-control:not([type="checkbox"]) { border-color: #ff6b4a !important; }
section.py-12 .b24-form .b24-form-control-alert-message { border-radius: 8px !important; font-size: 12px !important; }
section.py-12 .b24-form input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important; -webkit-box-shadow: 0 0 0 1000px #26272b inset !important; transition: background-color 9999s;
}

/* согласия */
section.py-12 .b24-form .b24-form-control-agreement label { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; }
section.py-12 .b24-form .b24-form-control-agreement input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: 0 0 18px; width: 18px !important; height: 18px !important; margin: 1px 0 0 !important;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 5px; background: transparent no-repeat center / 12px;
  cursor: pointer; transition: background-color .15s, border-color .15s; position: static !important; opacity: 1 !important;
}
section.py-12 .b24-form .b24-form-control-agreement input[type="checkbox"]:hover { border-color: rgba(255,255,255,.55); }
section.py-12 .b24-form .b24-form-control-agreement input[type="checkbox"]:checked {
  background-color: var(--signal); border-color: var(--signal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2316171a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}
section.py-12 .b24-form .b24-form-control-agreement input[type="checkbox"]:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
section.py-12 .b24-form .b24-form-control-desc,
section.py-12 .b24-form .b24-form-field-agreement-link {
  color: var(--on-dark-3) !important; font-size: 13px !important; line-height: 1.5 !important;
  text-decoration: none !important; padding: 0 !important; border: 0 !important;
}
section.py-12 .b24-form .b24-form-field-agreement-link:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
section.py-12 .b24-form .b24-form-control-agreement .b24-form-control-required { font-size: 13px; line-height: 1.5; }

/* кнопка */
section.py-12 .b24-form .b24-form-btn-block { padding: 0 !important; }
section.py-12 .b24-form .b24-form-btn { height: 56px !important; font-size: 16px !important; border-radius: 12px !important; }

/* загрузка / успех */
section.py-12 .b24-form .b24-form-loader { background: var(--ink) !important; }
section.py-12 .b24-form .b24-form-state { background: var(--ink) !important; color: #fff !important; border-radius: 0 !important; }
section.py-12 .b24-form .b24-form-state-text, section.py-12 .b24-form .b24-form-state-text * { color: #fff !important; }

/* левая колонка блока прижата к верху формы, текст тише */
section.py-12 .grid { align-items: start !important; }
section.py-12 p:is([style*="font-size:17px"], [style*="font-size: 17px"]) span:is([style*="color:#facc15"], [style*="color: rgb(250, 204, 21)"]) { color: #fff !important; }

section.py-12 .b24-form .b24-form-control-agreement .b24-form-control-desc { flex: 0 1 auto !important; }
section.py-12 .b24-form .b24-form-control-agreement label > .b24-form-control-required { display: none !important; }
section.py-12 .b24-form .b24-form-control-agreement label:has(> .b24-form-control-required:not([style*="none"])) .b24-form-field-agreement-link::after {
  content: "\00a0*"; color: var(--signal); text-decoration: none; display: inline;
}

/* =====================================================================
   Форма v3: текст сверху, поля на всю ширину блока,
   сначала только Имя + Телефон + кнопка, остальное раскрывается при вводе
   ===================================================================== */

/* блок: одна колонка — шапка сверху, форма под ней */
section.py-12 .grid { grid-template-columns: 1fr !important; gap: 40px !important; }
section.py-12 .grid > div:first-child {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end;
}
section.py-12 .grid > div:first-child > h2 { grid-column: 1; margin-bottom: 12px !important; }
section.py-12 .grid > div:first-child > p { grid-column: 1; margin-bottom: 0 !important; }
section.py-12 .grid > div:first-child > div { grid-column: 2; grid-row: 1 / 3; align-self: end; padding-bottom: 4px; }

/* сетка формы: поля и кнопка — прямые ячейки одной сетки */
section.py-12 .b24-form form {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
  column-gap: 14px; row-gap: 0; align-items: start;
}
section.py-12 .b24-form form > div:first-child,
section.py-12 .b24-form form > div:first-child > .b24-form-field > div,
section.py-12 .b24-form form > div:first-child > .b24-form-field > div > div { display: contents; }
section.py-12 .b24-form form > div:first-child > .b24-form-field:not(.b24-form-field-name):not(.b24-form-field-phone) { display: block; }
section.py-12 .b24-form .b24-form-field-name { grid-column: 1; grid-row: 1; display: block !important; }
section.py-12 .b24-form .b24-form-field-phone { grid-column: 2; grid-row: 1; display: block !important; }
section.py-12 .b24-form .b24-form-btn-container { grid-column: 3; grid-row: 1; margin: 0 !important; padding: 0 !important; }
section.py-12 .b24-form form > div:nth-child(2) {
  grid-column: 1 / -1; grid-row: 3;
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 10px;
}
section.py-12 .b24-form form > span { display: none !important; }

/* крупные удобные поля */
section.py-12 .b24-form .b24-form-control:not([type="checkbox"]) { height: 60px !important; font-size: 16px !important; padding-left: 18px !important; }
section.py-12 .b24-form .b24-form-control-label { left: 18px !important; font-size: 16px; top: 50% !important; transform: translateY(-50%); transition: top .2s var(--ease-out), font-size .2s var(--ease-out), transform .2s var(--ease-out) !important; }
section.py-12 .b24-form .b24-form-control:focus + .b24-form-control-label,
section.py-12 .b24-form .b24-form-control-not-empty + .b24-form-control-label { top: 10px !important; transform: none; font-size: 12px !important; }
section.py-12 .b24-form .b24-form-control:not([type="checkbox"]) { padding-top: 22px !important; padding-bottom: 6px !important; }
section.py-12 .b24-form .b24-form-btn { height: 60px !important; }

/* раскрывающаяся часть: компания, «кого набираете», согласия */
section.py-12 .b24-form form > div:first-child > .b24-form-field:not(.b24-form-field-name):not(.b24-form-field-phone),
section.py-12 .b24-form form > div:nth-child(2) {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0 !important;
  transform: translateY(-8px); pointer-events: none;
  transition: max-height .5s var(--ease-out), opacity .35s ease, transform .5s var(--ease-out), margin-top .5s var(--ease-out);
}
section[data-sb-open] .b24-form form > div:first-child > .b24-form-field:not(.b24-form-field-name):not(.b24-form-field-phone) {
  max-height: 80px; opacity: 1; transform: none; pointer-events: auto; margin-top: 14px !important;
}
section[data-sb-open] .b24-form form > div:nth-child(2) {
  max-height: 260px; opacity: 1; transform: none; pointer-events: auto; margin-top: 22px !important;
  transition-delay: 0s, .08s, .08s, 0s;
}
/* у скрытых битриксом полей раскрытие не включаем */
section.py-12 .b24-form .b24-form-field[style*="none"], section.py-12 .b24-form .b24-form-field-last-name, section.py-12 .b24-form .b24-form-field-second-name { display: none !important; }

/* планшет и телефон: одна колонка, кнопка в самом низу */
@media (max-width: 900px) {
  section.py-12 .grid > div:first-child { grid-template-columns: 1fr; }
  section.py-12 .grid > div:first-child > div { grid-column: 1; grid-row: auto; margin-top: 20px; }
  section.py-12 .b24-form form { grid-template-columns: 1fr; }
  section.py-12 .b24-form .b24-form-field-name { grid-column: 1; grid-row: auto; }
  section.py-12 .b24-form .b24-form-field-phone { grid-column: 1; grid-row: auto; margin-top: 12px !important; }
  section.py-12 .b24-form form > div:nth-child(2) { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; }
  section.py-12 .b24-form .b24-form-btn-container { grid-column: 1; grid-row: auto; order: 10; margin-top: 18px !important; }
  section.py-12 .b24-form form > div:first-child > .b24-form-field { order: 1; }
  section.py-12 .b24-form form > div:nth-child(2) { order: 5; }
}
@media (prefers-reduced-motion: reduce) {
  section.py-12 .b24-form form > div:first-child > .b24-form-field, section.py-12 .b24-form form > div:nth-child(2) { transition: none !important; }
}
section.py-12 .b24-form-wrapper { max-width: none !important; min-height: 0 !important; margin: 0 !important; }

/* =====================================================================
   «Все должности» (/staff) — компактный каталог
   ===================================================================== */
/* фильтры: липкая полоса под шапкой */
main main:has(.staff-positions-grid) > div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px"]) {
  position: sticky; top: 76px; z-index: 6;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 24px !important; padding: 14px 0 !important; gap: 8px !important;
  border-bottom: 1px solid var(--line);
}
main main:has(.staff-positions-grid) > div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px"])::-webkit-scrollbar { display: none; }
main main:has(.staff-positions-grid) > div:first-child > button {
  padding: 8px 14px !important; font-size: 13.5px !important; color: var(--text-2) !important;
  border-color: var(--line) !important; background: #fff !important; flex: 0 0 auto;
}
main main:has(.staff-positions-grid) > div:first-child > button:hover { border-color: var(--text) !important; color: var(--text) !important; }
main main:has(.staff-positions-grid) > div:first-child > button:active { transform: scale(.97); }
main main:has(.staff-positions-grid) > div > button:is([style*="background-color:#0f172a"], [style*="background-color: rgb(15, 23, 42)"]),
main main:has(.staff-positions-grid) > div > button:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }

/* категории: тонкая линия между ними, заголовок + тихий счётчик в строку */
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) {
  margin-bottom: 0 !important; padding: 40px 0 72px; scroll-margin-top: 150px;
}
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) + div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) { border-top: 1px solid var(--line); }
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) > div:first-child { margin-bottom: 28px !important; }
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) > div:first-child > div:last-child { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) > div:first-child h2 { font-size: 24px !important; }
main main:has(.staff-positions-grid) > div:is([style*="margin-bottom:48px"], [style*="margin-bottom: 48px"]) > div:first-child p { font-size: 14px !important; color: var(--text-3) !important; }

/* сетка карточек: 3 колонки, компактно */
.staff-positions-grid { gap: 40px 24px !important; }
@media (min-width: 1100px) { .staff-positions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 560px) and (max-width: 768px) { .staff-positions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.staff-positions-grid h3 { font-size: 16px !important; font-weight: 700 !important; margin-bottom: 6px !important; }
.staff-positions-grid p:is([style*="font-size:14px"], [style*="font-size: 14px"]) { font-size: 14px !important; line-height: 1.5 !important; color: var(--text-2) !important; }
.staff-positions-grid :is([style*="display:flex;flex-wrap:wrap;gap:6px"], [style*="display: flex; flex-wrap: wrap; gap: 6px"]) {
  gap: 0 !important; flex-wrap: nowrap !important; overflow: hidden; white-space: nowrap; margin-bottom: 14px !important;
  -webkit-mask-image: linear-gradient(90deg,#000 85%,transparent); mask-image: linear-gradient(90deg,#000 85%,transparent);
}
.staff-positions-grid :is([style*="padding-top:16px;border-top:1px solid #f1f5f9"], [style*="padding-top: 16px; border-top: 1px solid rgb(241, 245, 249)"]) { padding-top: 12px !important; }
.staff-positions-grid :is([style*="font-size:16px;font-weight:600;color:#0f172a"], [style*="font-size: 16px; font-weight: 600; color: rgb(15, 23, 42)"]) { font-size: 15px !important; font-weight: 700 !important; }

/* =====================================================================
   «Контакты» — визитка: телефон и адрес сверху, отделы колонками
   ===================================================================== */
main:has(.contacts-departments) > div:is([style*="border-bottom:1px solid #f1f5f9"], [style*="border-bottom: 1px solid rgb(241, 245, 249)"]) { border-bottom: 0 !important; }
main:has(.contacts-departments) > div:is([style*="border-bottom:1px solid #f1f5f9"], [style*="border-bottom: 1px solid rgb(241, 245, 249)"]) > div { padding-top: 56px !important; padding-bottom: 8px !important; }
main:has(.contacts-departments) h1 { font-size: clamp(30px, 2.8vw, 40px) !important; margin-bottom: 10px !important; }
main:has(.contacts-departments) h1 + p { font-size: 16px !important; color: var(--text-3) !important; }

main > div:has(> .contacts-departments) {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end;
  padding-top: 48px !important; padding-bottom: 112px !important;
}
/* телефон */
main > div:has(> .contacts-departments) > div:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) {
  grid-column: 1; grid-row: 1; background: transparent !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
}
main > div:has(> .contacts-departments) > div:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) p { font-size: 14px !important; color: var(--text-3) !important; opacity: 1 !important; margin-bottom: 8px !important; }
main > div:has(> .contacts-departments) > div:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) a {
  font-size: clamp(34px, 3.6vw, 52px) !important; font-weight: 700 !important; letter-spacing: -0.035em; line-height: 1.05;
  font-variant-numeric: tabular-nums; transition: color .2s !important;
}
main > div:has(> .contacts-departments) > div:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) a:hover { color: var(--signal-ink) !important; }
/* адрес */
main > div:has(> .contacts-departments) > .contacts-address { grid-column: 2; grid-row: 1; }
.contacts-address > div { background: transparent !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.contacts-address :is([style*="width:40px;height:40px"], [style*="width: 40px; height: 40px"]) { display: none !important; }
.contacts-address :is([style*="display:flex;align-items:center;gap:12px;margin-bottom:16px"], [style*="display: flex; align-items: center; gap: 12px; margin-bottom: 16px"]) { margin-bottom: 8px !important; }
.contacts-address h3 { font-size: 14px !important; font-weight: 500 !important; color: var(--text-3) !important; }
.contacts-address p { font-size: 17px !important; color: var(--text) !important; line-height: 1.5 !important; margin-bottom: 10px !important; max-width: 32ch; }
/* отделы */
main > div:has(> .contacts-departments) > .contacts-departments {
  grid-column: 1 / -1; grid-row: 2; margin: 72px 0 0 !important; gap: 48px !important;
}
.contacts-departments > div {
  background: transparent !important; border: 0 !important; border-top: 1px solid var(--line-strong) !important;
  border-radius: 0 !important; padding: 24px 0 0 !important;
}
.contacts-departments :is([style*="width:40px;height:40px"], [style*="width: 40px; height: 40px"]) { display: none !important; }
.contacts-departments h3 { font-size: 17px !important; font-weight: 700 !important; margin-bottom: 4px !important; }
.contacts-departments p { font-size: 14px !important; color: var(--text-3) !important; margin-bottom: 18px !important; }
.contacts-departments a:is([style*="color:#0f172a"], [style*="color: rgb(15, 23, 42)"]) { font-size: 17px !important; font-weight: 600; margin-bottom: 6px !important; font-variant-numeric: tabular-nums; }
.contacts-departments a:is([style*="color:#64748b"], [style*="color: rgb(100, 116, 139)"]) { font-size: 15px !important; }
.contacts-departments a:hover { color: var(--signal-ink) !important; }

@media (max-width: 767px) {
  main > div:has(> .contacts-departments) { grid-template-columns: 1fr; padding-top: 32px !important; padding-bottom: 72px !important; }
  main > div:has(> .contacts-departments) > .contacts-address { grid-column: 1; grid-row: 2; margin-top: 36px; }
  main > div:has(> .contacts-departments) > .contacts-departments { grid-column: 1; grid-row: 3; margin-top: 48px !important; gap: 32px !important; }
}
main main:has(.staff-positions-grid) > div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px"]) {
  -webkit-mask-image: linear-gradient(90deg,#000 92%,transparent); mask-image: linear-gradient(90deg,#000 92%,transparent); padding-right: 40px !important;
}
main .contacts-departments > div[style], main .contacts-address > div[style] { border-radius: 0 !important; }

/* карточки каталога/услуг: сайт при наведении меняет инлайн-рамку и тень —
   гасим по неизменной части стиля, чтобы рамка не появлялась */
.staff-positions-grid > a,
.staff-positions-grid > a:hover,
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a,
:is(.staff-positions-grid, main main .grid-cols-1.md\:grid-cols-2) > a:hover {
  border: 0 !important; box-shadow: none !important; background: transparent !important;
  border-radius: 0 !important; overflow: visible !important; transform: none !important;
}
.staff-positions-grid > a h3 {
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; transition: text-decoration-color .25s !important;
}
.staff-positions-grid > a:hover h3 { text-decoration-color: var(--signal); }
.staff-positions-grid > a img { transition: transform .7s var(--ease-out) !important; }
.staff-positions-grid > a:hover img { transform: scale(1.04) !important; }
.staff-positions-grid > a :is([style*="gap:4px;font-size:14px"], [style*="gap: 4px; font-size: 14px"]) svg { transition: transform .3s var(--ease-out); }
.staff-positions-grid > a:hover :is([style*="gap:4px;font-size:14px"], [style*="gap: 4px; font-size: 14px"]) { color: var(--text) !important; }
.staff-positions-grid > a:hover :is([style*="gap:4px;font-size:14px"], [style*="gap: 4px; font-size: 14px"]) svg { transform: translateX(3px); }

/* фильтры каталога: в несколько строк, без прокрутки вбок и без «липкости» */
main main:has(.staff-positions-grid) > div:is([style*="display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px"], [style*="display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px"]) {
  position: static !important; flex-wrap: wrap !important; overflow: visible !important;
  -webkit-mask-image: none !important; mask-image: none !important;
  background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  padding: 0 0 28px !important; margin: 0 0 8px !important; gap: 10px !important;
}
main h1 { line-height: 1.15 !important; }

/* =====================================================================
   Аудит impeccable: исправления
   ===================================================================== */
/* контраст: подписи тёмной формы, подвал, зелёный, счётчики, плейсхолдеры */
section.py-12 .b24-form .b24-form-control-label,
section.py-12 .b24-form .b24-form-control-container * { color: #a7aab0 !important; }
section.py-12 .b24-form .b24-form-control-required { color: var(--signal) !important; }
section.py-12 .b24-form input.b24-form-control { color: #fff !important; }
footer .text-slate-500, footer .text-slate-400, footer [class*="text-slate-5"], footer [class*="text-slate-6"] { color: var(--on-dark-2) !important; }
:is(:is([style*="color:#16a34a"], [style*="color: rgb(22, 163, 74)"]), [style*="color: rgb(22, 163, 74)"], .text-green-600) { color: #157a3c !important; }
aside .text-slate-400, aside span:is([style*="opacity:0.6"], [style*="opacity: 0.6"]) { color: var(--text-3) !important; opacity: 1 !important; }
input::placeholder { color: var(--text-3) !important; opacity: 1; }

/* без «свечения» у точки «онлайн» */
:is([style*="box-shadow:0 0 8px rgba(34,197,94"], [style*="box-shadow: rgba(34, 197, 94"]) { box-shadow: none !important; }

/* иконка-плитка над заголовком — убираем, карточки держатся на тексте */
.sec-benefits-grid > div > div:is([style*="width:64px"], [style*="width: 64px"]) { display: none !important; }
.sec-benefits-grid > div { padding-top: 24px !important; }
.position-requirements :is([style*="width:48px;height:48px;border-radius:12px;background-color:#0f172a"], [style*="width: 48px; height: 48px; border-radius: 12px; background-color: rgb(15, 23, 42)"]),
.position-why-card :is([style*="width:48px;height:48px;border-radius:12px;background-color:#0f172a"], [style*="width: 48px; height: 48px; border-radius: 12px; background-color: rgb(15, 23, 42)"]) { display: none !important; }

/* длина строки в SEO-текстах */
main main > div:is([style*="background-color:white"], [style*="background-color: white"]) p, .position-seo p,
div:is([style*="background-color:#0f172a;border-bottom"], [style*="background-color: rgb(15, 23, 42); border-bottom"]) p, div:is([style*="background-color:#0f172a;border-bottom"], [style*="background-color: rgb(15, 23, 42); border-bottom"]) :is([style*="line-height:1.7"], [style*="line-height: 1.7"]) { max-width: 75ch; }
section.py-12 .b24-form .b24-form-control-container .b24-form-control-alert-message,
section.py-12 .b24-form .b24-form-control-container .b24-form-control-alert-message * { color: #fff !important; }
section.py-12 .b24-form .b24-form-control-label { opacity: 1 !important; }
aside a:is([style*="background-color:#facc15"], [style*="background-color: rgb(250, 204, 21)"]) span, aside .space-y-1 > a.bg-slate-900 span { color: var(--text-2) !important; opacity: 1 !important; }
main input::placeholder, aside input::placeholder { color: var(--text-2) !important; }
div:is([style*="background-color:#0f172a;border-bottom"], [style*="background-color: rgb(15, 23, 42); border-bottom"]) p, div:is([style*="background-color:#0f172a;border-bottom"], [style*="background-color: rgb(15, 23, 42); border-bottom"]) :is([style*="line-height:1.7"], [style*="line-height: 1.7"]) { max-width: 68ch; }
