/* АвтоЛайм · Интерактивный матричный симулятор */
.partners-block__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.autolime-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.autolime-section__head {
  margin-bottom: 20px;
}

.autolime-section__head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.autolime-section__head p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
  max-width: 720px;
}

.autolime-sim {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.autolime-sim__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.autolime-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.autolime-preset {
  border: 1px solid #d8dce8;
  background: #fff;
  color: var(--text-main);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.autolime-preset:hover {
  border-color: var(--primary);
}

.autolime-preset--share {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.autolime-preset--ghost {
  background: #f8f9fc;
}

.autolime-sim__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.autolime-matrix,
.autolime-panel {
  background: #fafbfc;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 8px 32px rgba(13, 18, 48, 0.04);
}

.autolime-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.autolime-tabs__btn {
  border: 1px solid #e2e6ef;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.autolime-tabs__btn--active {
  border-color: #0d6e5b;
  color: #0d6e5b;
  background: #ecfdf8;
}

.autolime-matrix__svg {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
}

.autolime-matrix__line {
  stroke: #c5cad6;
  stroke-width: 1.2;
}

.autolime-matrix__node circle {
  fill: #fff;
  stroke: #b8bfd0;
  stroke-width: 1.5;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.autolime-matrix__node text {
  fill: #8b93a7;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.autolime-matrix__node--filled circle {
  fill: #0d6e5b;
  stroke: #0a5c4c;
}

.autolime-matrix__node--filled text {
  fill: #fff;
}

.autolime-matrix__node[data-slot] {
  cursor: pointer;
}

.autolime-matrix__node[data-slot]:focus circle {
  stroke: var(--primary);
  stroke-width: 2.5;
}

.autolime-matrix__hint {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

.autolime-panel__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.autolime-panel__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.autolime-panel__meta {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.autolime-panel__block {
  margin-bottom: 18px;
}

.autolime-panel__block h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.autolime-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.autolime-sum {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0d6e5b;
}

.autolime-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.autolime-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.autolime-badge--clone {
  background: #f5ebe3;
  color: #9a5b38;
}

.autolime-panel__hint {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.autolime-upgrade {
  margin-top: 8px;
}

.autolime-upgrade__track {
  height: 8px;
  background: #e8eaf2;
  border-radius: 99px;
  overflow: hidden;
}

.autolime-upgrade__fill {
  height: 100%;
  width: var(--autolime-pct, 0%);
  background: linear-gradient(90deg, #1a2680, #3d4db7);
  border-radius: 99px;
  transition: width 0.45s ease;
}

.autolime-upgrade__label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.autolime-upgrade--done {
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef2ff;
  color: #1a2680;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .autolime-sim__grid {
    grid-template-columns: 1fr;
  }
}
