.ae-stop-widget {
  margin: 2.2rem 0;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 179, 90, 0.10), rgba(80, 96, 112, 0.10)),
    rgba(12, 16, 20, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  color: #eef3f7;
}

.ae-stop-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.ae-stop-widget__header strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.ae-stop-widget__header p {
  margin: 0.35rem 0 0;
  color: rgba(238, 243, 247, 0.78);
  line-height: 1.55;
}

.ae-stop-widget__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.1rem;
}

.ae-stop-widget label {
  display: block;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(238, 243, 247, 0.90);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ae-stop-widget label span {
  display: block;
  margin-top: 0.25rem;
  color: #f0b35a;
  font-weight: 700;
}

.ae-stop-widget input[type="range"] {
  width: 100%;
  margin-top: 0.75rem;
  accent-color: #f0b35a;
}

.ae-stop-widget__result {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.ae-stop-widget__result div {
  padding: 0.8rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.ae-stop-widget__result span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(238, 243, 247, 0.66);
  font-size: 0.82rem;
}

.ae-stop-widget__result strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.ae-stop-widget__canvas {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101418;
}

.ae-stop-widget__note {
  margin: 1rem 0 0;
  color: rgba(238, 243, 247, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .ae-stop-widget {
    padding: 1rem;
    border-radius: 14px;
  }

  .ae-stop-widget__grid {
    grid-template-columns: 1fr;
  }

  .ae-stop-widget__result {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .ae-stop-widget__result {
    grid-template-columns: 1fr;
  }
}
