/* Confirmed shared accessibility defects; no content or application changes. */
.home-main .home-section-actions .text-link,
.blog-page .text-link { white-space: normal; }
.blog-intro > * { min-width: 0; }
.blog-intro .home-kicker { max-width: 100%; }
.buy-billing-switch { flex-wrap: wrap; max-width: 100%; min-width: 0; }
.buy-billing-switch button { min-width: 0; max-width: 100%; white-space: normal; }
/* WebKit leaks native option layout into document scrollWidth at text200.
   Isolate only the widget layout; keep native appearance, options and focus paint. */
.b24-native-select { contain: layout; }
.implementation-page .bitrix-main { min-width: 0; }
.implementation-page .bitrix-content { min-width: 0; }
.implementation-page .bitrix-title-row { min-width: 0; flex-wrap: wrap; }
.implementation-page .bitrix-title-row > * {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Text links retain the owner's line-free treatment. Weight marks links in prose. */
:is(main p, .breadcrumbs, .article-content li, .article-eyebrow) a[href]:not(:where(.btn, .card, [data-open-form])) {
  color: #001226 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.article-eyebrow a[href] { border-bottom: 0; }
main .breadcrumbs a[href] {
  --visited-link-color: var(--primary);
  font-weight: 800;
}

:is(main p a, .breadcrumbs a, .article-content li a, .article-eyebrow a, .home-main a.text-link)[href]:not(:where(.btn, .card, .card a.text-link, [data-open-form], .cta a, .landing-note a, .pricing-license-note a)):visited {
  color: var(--visited-link-color, var(--muted)) !important;
}
:is(main p a, .breadcrumbs a, .article-content li a, .article-eyebrow a, .home-main a.text-link)[href]:not(:where(.btn, .card, .card a.text-link, [data-open-form], .cta a, .landing-note a, .pricing-license-note a)):is(:hover, :active) {
  color: var(--navy) !important;
  text-decoration: none;
}
:is(main p a, .breadcrumbs a, .article-content li a, .article-eyebrow a, .home-main a.text-link)[href]:not(:where(.btn, .card, .card a.text-link, [data-open-form])):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
main .cta p a:not(.btn):not(.card),
main .landing-note p a:not(.btn):not(.card),
main .pricing-license-note p a:not(.btn):not(.card) {
  color: #d7efff !important;
  text-decoration: underline !important;
}
@media (hover: hover) and (pointer: fine) {
  main p a:not(.btn):not(.card):hover,
  .breadcrumbs a:hover { outline: 2px solid currentColor; outline-offset: 3px; }
}

.footer :is(.footer-links, .footer-contacts) a[href] { font-weight: 650; }
/* Match the normal link's alpha. Browsers use the unvisited alpha for :visited. */
.footer :is(.footer-links, .footer-contacts) a[href]:visited { color: rgba(167,231,255,.76); }
.footer :is(.footer-links, .footer-contacts) a[href]:is(:hover, :active) { color: var(--white); }
.footer :is(.footer-links, .footer-contacts) a[href]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.solution-pipeline-stage > i { background: var(--primary); }
.solution-pipeline-stage > small,
.cmb-metrics span,
.aiv-factory-flow > div > i { color: var(--muted); }
.aiv-factory-flow > div > span,
.aiv-confirm > b { color: var(--primary); }
.cmb-rows b { color: #075e47; }
.flow-table:focus-visible,
.article-table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
