@charset "UTF-8";
/* Палитра и компоновка продолжают раздел «Решения на базе платформы». */
.mp {
  --mp-white: #ffffff;
  --mp-gray-50: #F5F5F5;
  --mp-gray-300: #C1C1C1;
  --mp-gray-600: #4D4D4D;
  --mp-gray-900: #1E1E1E;
  --mp-brand: #37B4D2;
  --mp-brand-hover: #23A0BE;
  --mp-brand-soft: rgba(55, 180, 210, 0.1);
  --mp-space-1: 4px;
  --mp-space-2: 8px;
  --mp-space-4: 16px;
  --mp-space-6: 24px;
  --mp-space-8: 32px;
  --mp-space-12: 48px;
  --mp-space-16: 64px;
  --mp-surface: var(--mp-white);
  --mp-panel: var(--mp-gray-50);
  --mp-ink: var(--mp-gray-900);
  --mp-muted: var(--mp-gray-600);
  --mp-border: var(--mp-gray-300);
  --mp-accent: var(--mp-brand);
  --mp-accent-hover: var(--mp-brand-hover);
  --mp-link-ink: var(--mp-gray-600);
  --mp-focus: var(--mp-gray-600);
  --mp-error: #c10a12;
  --mp-radius-input: 6px;
  --mp-radius-card: 15px;
  --mp-radius-dialog: 16px;
  --mp-shadow-card: 0 1px 3px rgba(30, 30, 30, 0.04), 0 8px 20px rgba(30, 30, 30, 0.03);
  --mp-motion-fast: 150ms ease;
  --mp-sticky-top: 164px;
  --mp-button-bg: var(--mp-accent);
  --mp-button-hover: var(--mp-accent-hover);
  --mp-button-ink: var(--mp-ink);
  --mp-input-bg: var(--mp-surface);
  --mp-input-border: var(--mp-border);
  color: var(--mp-ink);
  padding-top: var(--mp-space-12);
  padding-bottom: var(--mp-space-16);
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}

.mp *,
.mp *::before,
.mp *::after {
  box-sizing: border-box;
}

.mp [hidden] {
  display: none !important;
}

.mp h1,
.mp h2,
.mp h3,
.mp p,
.mp dl,
.mp dd {
  margin: 0;
}

.mp h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mp h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.mp a {
  color: inherit;
}

.mp :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--mp-focus);
  outline-offset: 3px;
}

.mp :is(input:not([type=checkbox]), select, textarea):focus-visible {
  outline: none;
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 2px var(--mp-brand-soft);
}

.mp-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.mp-skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 16px;
  background: var(--mp-surface);
  z-index: 100;
}

.mp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mp-space-2);
  font-size: 14px;
  color: var(--mp-muted);
  margin-bottom: var(--mp-space-8);
}

.mp-breadcrumbs a:hover {
  color: var(--mp-ink);
  text-decoration: underline;
}

.mp-heading {
  margin-bottom: var(--mp-space-12);
}

.mp-heading p {
  margin-top: var(--mp-space-6);
  max-width: 790px;
  font-size: 18px;
  color: var(--mp-muted);
}

.mp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: var(--mp-space-8);
  align-items: start;
}

.mp-catalog-main {
  min-width: 0;
}

.mp-toolbar {
  display: flex;
  gap: var(--mp-space-6);
  align-items: end;
  margin-bottom: var(--mp-space-6);
}

.mp-search {
  flex: 1;
  min-width: 0;
}

.mp :is(.mp-search, .mp-sort) > label {
  display: block;
  margin-bottom: var(--mp-space-2);
  font-size: 14px;
  font-weight: 600;
}

.mp-search-control {
  display: flex;
  border: 1px solid var(--mp-input-border);
  border-radius: var(--mp-radius-input);
  background: var(--mp-input-bg);
}

.mp-search-control:focus-within {
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 2px var(--mp-brand-soft);
}

.mp .mp-search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  height: 48px;
  padding: 12px 16px;
  font: inherit;
  color: inherit;
}

.mp .mp-search-control :is(input, button):focus-visible {
  outline: none;
  box-shadow: none;
}

.mp-search-button:focus-visible {
  background: var(--mp-brand-soft);
}

.mp input::placeholder {
  color: var(--mp-muted);
  opacity: 1;
}

.mp-search-button {
  flex-shrink: 0;
  width: 48px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--mp-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mp-sort select {
  min-height: 50px;
  width: 224px;
  max-width: 100%;
  border: 1px solid var(--mp-input-border);
  border-radius: var(--mp-radius-input);
  padding: 10px 32px 10px 12px;
  background: var(--mp-input-bg);
  color: var(--mp-ink);
  font: inherit;
}

.mp-count {
  margin-bottom: var(--mp-space-6) !important;
  color: var(--mp-muted);
  font-size: 14px;
}

.mp-count strong {
  color: var(--mp-ink);
  font-variant-numeric: tabular-nums;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--mp-space-6);
}

.mp-card {
  display: flex;
  flex-direction: column;
  gap: var(--mp-space-4);
  padding: var(--mp-space-8);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-card);
  background: var(--mp-surface);
  min-width: 0;
  box-shadow: var(--mp-shadow-card);
  transition: border-color var(--mp-motion-fast), box-shadow var(--mp-motion-fast);
  overflow-wrap: anywhere;
}

.mp-card:focus-within {
  border-color: var(--mp-accent);
}

.mp-card-top {
  display: flex;
  gap: var(--mp-space-2);
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
}

.mp-category {
  color: var(--mp-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mp-recommended {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--mp-brand-soft);
  color: var(--mp-ink);
  font-weight: 600;
}

.mp-card-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--mp-space-4);
  align-items: start;
}

.mp-card h2 a {
  text-decoration: none;
}

.mp-card h2 a:hover {
  color: var(--mp-ink);
  text-decoration: underline;
  text-decoration-color: var(--mp-accent-hover);
  text-underline-offset: 4px;
}

.mp-product-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.mp-summary {
  color: var(--mp-muted);
}

.mp-card-meta {
  display: grid;
  gap: var(--mp-space-2);
  font-size: 13px;
}

.mp-card-meta div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: var(--mp-space-2);
}

.mp-card-meta dt {
  color: var(--mp-muted);
}

.mp-partner {
  display: flex;
  gap: var(--mp-space-4);
  align-items: center;
  margin-top: auto;
  padding-top: var(--mp-space-4);
}

.mp-partner img {
  width: 70px;
  height: 40px;
  object-fit: contain;
}

.mp-partner span {
  color: var(--mp-muted);
  font-size: 12px;
}

.mp-partner p {
  font-size: 14px;
  font-weight: 600;
}

.mp .mp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--mp-space-2);
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--mp-radius-input);
  border: 1px solid var(--mp-button-bg);
  color: var(--mp-button-ink);
  background: var(--mp-button-bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--mp-motion-fast), border-color var(--mp-motion-fast);
}

.mp .mp-button:hover {
  background: var(--mp-button-hover);
  border-color: var(--mp-button-hover);
}

.mp .mp-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.mp .mp-card-link {
  align-self: start;
  background: transparent;
  color: var(--mp-ink);
  margin-top: var(--mp-space-2);
}

.mp .mp-card-link:hover {
  background: var(--mp-brand-soft);
  color: var(--mp-ink);
}

.mp-more {
  margin: var(--mp-space-8) auto 0;
  display: flex !important;
  width: fit-content;
}

.mp .mp-link {
  color: var(--mp-link-ink);
  text-decoration: underline;
  text-decoration-color: var(--mp-accent-hover);
  text-underline-offset: 3px;
}

.mp .mp-link:hover {
  color: var(--mp-ink);
  text-decoration-thickness: 2px;
}

.mp-sidebar {
  position: sticky;
  top: var(--mp-sticky-top);
  max-height: calc(100dvh - var(--mp-sticky-top) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border-radius: var(--mp-radius-card);
  background: var(--mp-panel);
  padding: var(--mp-space-6);
  min-width: 0;
}

.mp-filters > summary {
  font-size: 24px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.mp-filters > summary::-webkit-details-marker {
  display: none;
}

.mp-filter-content {
  margin-top: var(--mp-space-4);
}

.mp-reset {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

.mp-filter-hint {
  margin-bottom: var(--mp-space-4) !important;
  color: var(--mp-muted);
  font-size: 13px;
}

.mp-filter-group {
  border: 0;
  border-top: 1px solid var(--mp-border);
  padding: 0;
  margin: 0;
  min-width: 0;
}

.mp-filter-group > summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 28px 16px 0;
  min-height: 68px;
  list-style: none;
  cursor: pointer;
}

.mp-filter-group > summary::-webkit-details-marker {
  display: none;
}

.mp-group-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.mp-group-badge {
  min-width: 20px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--mp-brand-soft);
  color: var(--mp-ink);
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.mp-group-preview {
  color: var(--mp-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-group-chevron {
  position: absolute;
  right: 0;
  top: 27px;
  color: var(--mp-muted);
}

.mp-filter-group[open] .mp-group-chevron {
  transform: rotate(180deg);
}

.mp-group-body {
  padding-bottom: var(--mp-space-4);
}

.mp-filter-options {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.mp-check {
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 14px;
  padding: 10px 4px;
  min-height: 44px;
  cursor: pointer;
  overflow-wrap: anywhere;
  border-radius: 4px;
}

.mp-check:hover {
  background: var(--mp-brand-soft);
}

.mp-check:has(input:checked) {
  background: var(--mp-brand-soft);
}

.mp :is(.mp-check, .mp-consent) input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--mp-accent);
}

.mp-check [data-mp-option-name] {
  min-width: 0;
  flex: 1;
}

.mp-option-count {
  color: var(--mp-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.mp-option-search {
  display: block;
  margin-bottom: 8px;
}

.mp-option-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--mp-input-border);
  border-radius: var(--mp-radius-input);
  background: var(--mp-surface);
  color: var(--mp-ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}

.mp-option-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--mp-link-ink);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--mp-accent-hover);
  text-underline-offset: 3px;
  cursor: pointer;
}

.mp-option-empty {
  color: var(--mp-muted);
  font-size: 13px;
  padding: 12px 0;
}

.mp-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--mp-space-6);
}

.mp .mp-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-input);
  background: var(--mp-panel);
  text-decoration: none;
  font-size: 13px;
}

.mp-filter-chip > span:first-child {
  overflow-wrap: anywhere;
}

.mp-filter-chip > span:last-child {
  color: var(--mp-muted);
  font-size: 22px;
  flex-shrink: 0;
}

.mp .mp-filter-chip:hover {
  border-color: var(--mp-accent);
  color: var(--mp-ink);
}

.mp-demo-notice {
  margin: 0 0 var(--mp-space-6);
  padding: 16px 20px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-input);
  font-size: 14px;
  color: var(--mp-muted);
}

.mp-demo-notice strong {
  color: var(--mp-ink);
}

.mp-apply {
  --mp-button-ink: var(--mp-white);
  margin-top: var(--mp-space-6);
  width: 100%;
}

.mp-status {
  margin-bottom: var(--mp-space-4) !important;
  color: var(--mp-error);
}

.mp-empty {
  padding: var(--mp-space-12) var(--mp-space-8);
  background: var(--mp-panel);
  border-radius: var(--mp-radius-card);
}

.mp-empty p {
  margin: var(--mp-space-4) 0;
}

.mp-single-layout {
  margin-top: var(--mp-space-12);
}

.mp-detail {
  min-width: 0;
}

.mp-detail-logos {
  display: flex;
  gap: var(--mp-space-8);
  align-items: center;
  margin-bottom: var(--mp-space-6);
  flex-wrap: wrap;
}

.mp-detail-logos:empty {
  display: none;
}

.mp-detail-logos img {
  width: auto;
  max-width: 180px;
  height: 80px;
  object-fit: contain;
}

.mp-detail > h1 {
  margin-top: var(--mp-space-4);
  margin-bottom: var(--mp-space-8);
}

.mp-description {
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0;
}

.mp-description > :is(p, ul, ol, blockquote, table) {
  margin-bottom: var(--mp-space-6);
}

.mp-description :is(h2, h3, h4) {
  margin-top: var(--mp-space-8);
  margin-bottom: var(--mp-space-4);
}

.mp-description img {
  max-width: 100%;
  height: auto;
}

.mp-screenshots {
  display: grid;
  gap: var(--mp-space-6);
  margin-top: var(--mp-space-8);
}

.mp-screenshots img {
  width: 100%;
  height: auto;
  border-radius: var(--mp-radius-input);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.mp-documents {
  margin-top: var(--mp-space-8);
}

.mp-documents ul {
  margin: var(--mp-space-4) 0 0;
  padding-left: 24px;
}

.mp-documents li {
  padding: 8px 0;
}

.mp-back {
  display: inline-block;
  margin-top: var(--mp-space-12);
}

.mp-about h2 {
  margin-bottom: var(--mp-space-6);
}

.mp-about dl {
  display: grid;
  gap: var(--mp-space-6);
}

.mp-about dt {
  font-size: 13px;
  color: var(--mp-muted);
  margin-bottom: 4px;
}

.mp-about dd {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.mp-price {
  font-weight: 600;
}

.mp-cta {
  width: 100%;
  margin-top: var(--mp-space-8);
}

.mp-dialog,
.mp-image-dialog {
  border: 0;
  border-radius: var(--mp-radius-dialog);
  background: var(--mp-surface);
  color: var(--mp-ink);
  padding: var(--mp-space-8);
  width: min(640px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 32px 80px rgba(0, 0, 0, 0.15);
}

.mp :is(.mp-dialog, .mp-image-dialog)::backdrop {
  background: rgba(5, 12, 30, 0.55);
}

.mp-dialog h2 {
  margin-right: 40px;
  margin-bottom: var(--mp-space-6);
}

.mp-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--mp-muted);
  font-size: 32px;
  cursor: pointer;
}

.mp-close:hover {
  color: var(--mp-ink);
}

.mp-form-grid {
  margin-bottom: var(--mp-space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mp-space-4);
}

.mp-field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--mp-space-4);
}

.mp-field :is(input, textarea) {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--mp-input-border);
  border-radius: var(--mp-radius-input);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  background: var(--mp-input-bg);
  color: var(--mp-ink);
}

.mp-field textarea {
  resize: vertical;
}

.mp-topic :is(input, textarea) {
  background: var(--mp-panel);
}

.mp-form-hint {
  font-size: 13px;
  color: var(--mp-muted);
  margin-bottom: var(--mp-space-4) !important;
}

.mp-consent {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 13px;
  cursor: pointer;
}

.mp-field-error {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--mp-error);
}

.mp [aria-invalid=true] {
  border-color: var(--mp-error);
}

.mp-form-status {
  font-size: 14px;
  margin: var(--mp-space-4) 0 !important;
}

.mp-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mp-image-dialog {
  width: min(1200px, 100% - 32px);
  padding-top: 48px;
}

.mp-image-dialog img {
  max-height: calc(100dvh - 112px);
  max-width: 100%;
  width: auto;
  display: block;
  margin: auto;
}

body.mp-dialog-open {
  overflow: hidden;
}

body.admin-bar .mp {
  --mp-sticky-top: 196px;
}

@media (hover: hover) and (pointer: fine) {
  .mp-card:hover {
    border-color: var(--mp-accent);
    box-shadow: 0 2px 6px rgba(30, 30, 30, 0.06), 0 12px 24px rgba(30, 30, 30, 0.05);
  }
}
@media (max-width: 1279px) {
  .mp-layout {
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: 24px;
  }
  .mp-card {
    padding: 24px;
  }
  .mp-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .mp-sort select {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .mp {
    padding-top: 32px;
  }
  .mp-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-catalog-main {
    order: 2;
  }
  .mp-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .mp-filters > summary {
    display: flex;
    justify-content: space-between;
    min-height: 44px;
    align-items: center;
    font-size: 20px;
  }
  .mp-filters > summary::after {
    content: "+";
  }
  .mp-filters[open] > summary::after {
    content: "−";
  }
  .mp-filter-content {
    display: block;
  }
  .mp-filter-group {
    margin: 0;
  }
  .mp-reset,
.mp-apply {
    grid-column: 1/-1;
  }
  .mp-apply {
    margin: 0;
  }
  .mp-single-layout {
    margin-top: 32px;
  }
  .mp-single-layout .mp-sidebar {
    order: 2;
  }
}
@media (max-width: 767px) {
  .mp-heading {
    margin-bottom: 32px;
  }
  .mp-heading p {
    font-size: 16px;
  }
  .mp-heading br {
    display: none;
  }
  .mp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-filter-content,
.mp-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .mp-card {
    padding: 24px;
  }
  .mp-card h2 {
    font-size: 22px;
  }
  .mp-dialog {
    padding: 24px;
  }
  .mp-breadcrumbs {
    margin-bottom: 24px;
  }
  .mp-detail-logos img {
    max-width: 140px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mp *,
.mp *::before,
.mp *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.mp-form-grid .mp-field {
  margin-bottom: 0;
}

.mp-field-error:empty {
  display: none;
}
