/* Demo space /demo/{slug} — #23209; токены лендингов Mailganer */
.mg-ds {
  --mg-ds-blue: #0062ad;
  --mg-ds-blue-hover: #2b8ed9;
  --mg-ds-cream: #f2eeeb;
  --mg-ds-cream-dark: #e8d7ca;
  --mg-ds-text: #000;
  --mg-ds-muted: #333d53;
  --mg-ds-border: #e3e5ea;
  --mg-ds-field: #f6f7f8;
  --mg-ds-wrap: min(1000px, calc(100% - 40px));
  font-family: "RF Dewi", Arial, sans-serif;
  color: var(--mg-ds-text);
  line-height: 1.45;
}
.mg-ds__wrap {
  width: var(--mg-ds-wrap);
  margin: 0 auto;
}
.mg-ds__pw {
  padding: 64px 0 80px;
}
.mg-ds__pw h1 {
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
}
.mg-ds__pw p {
  margin: 0 0 24px;
  max-width: 36em;
  font-weight: 600;
}
.mg-ds__pw-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.mg-ds__pw-form input[type="password"] {
  width: min(360px, 100%);
  padding: 12px 14px;
  border: 1px solid var(--mg-ds-border);
  background: var(--mg-ds-field);
  font: inherit;
  margin-bottom: 16px;
}
.mg-ds__btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--mg-ds-blue);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-radius: 3px;
}
body.mg-site--v2b .mg-ds a.mg-ds__btn,
body.mg-site--v2b .mg-ds button.mg-ds__btn {
  color: #fff;
}
.mg-ds__btn:hover {
  background: var(--mg-ds-blue-hover);
}
.mg-ds__btn--light {
  background: #fff;
  color: #000;
}
body.mg-site--v2b .mg-ds a.mg-ds__btn--light {
  color: #000;
}
.mg-ds__btn--light:hover {
  background: var(--mg-ds-cream);
}
.mg-ds__hero {
  padding: 36px 0 20px;
  background: var(--mg-ds-cream);
}
.mg-ds__eyebrow {
  font-size: 13px;
  color: var(--mg-ds-muted);
  margin: 0 0 8px;
  font-weight: 600;
}
.mg-ds__hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin: 0 0 8px;
}
.mg-ds__sub {
  margin: 0;
  color: var(--mg-ds-muted);
  font-weight: 600;
}
.mg-ds__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 28px 0;
}
@media (max-width: 639px) {
  .mg-ds__grid {
    grid-template-columns: 1fr;
  }
}
.mg-ds__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  color: #fff;
  display: block;
}
.mg-ds__player--stub {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-weight: 600;
}
.mg-ds__ai {
  border: 1px solid var(--mg-ds-border);
  background: #fff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.mg-ds__tabs {
  display: flex;
  border-bottom: 1px solid var(--mg-ds-border);
}
.mg-ds__tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  background: var(--mg-ds-field);
  border: 0;
  border-right: 1px solid var(--mg-ds-border);
  cursor: pointer;
  font-family: inherit;
}
.mg-ds__tab:last-child {
  border-right: 0;
}
.mg-ds__tab.is-on {
  background: #fff;
  color: var(--mg-ds-blue);
}
.mg-ds__panel {
  padding: 16px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  overflow: auto;
  max-height: 360px;
}
.mg-ds__muted {
  color: var(--mg-ds-muted);
  font-size: 13px;
  margin: 0;
}
.mg-ds__text {
  white-space: pre-wrap;
  font-weight: 600;
  font-size: 14px;
}
.mg-ds__chat-log {
  max-height: 200px;
  overflow: auto;
  margin-bottom: 12px;
}
.mg-ds__bubble {
  background: var(--mg-ds-cream);
  padding: 10px 12px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}
.mg-ds__bubble--bot {
  background: var(--mg-ds-field);
}
.mg-ds__chat-form {
  display: flex;
  gap: 8px;
}
.mg-ds__chat-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--mg-ds-border);
  background: var(--mg-ds-field);
  font: inherit;
}
.mg-ds__section {
  padding: 8px 0 32px;
}
.mg-ds__section h2 {
  font-size: clamp(22px, 3vw, 24px);
  font-weight: 700;
  margin: 0 0 16px;
}
.mg-ds__cp {
  border: 1px solid var(--mg-ds-border);
  min-height: 220px;
  background: var(--mg-ds-field);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mg-ds-muted);
  font-weight: 600;
}
.mg-ds__cp--ready {
  background: #fff;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  align-items: stretch;
}
.mg-ds__cp--ready iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}
.mg-ds__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 639px) {
  .mg-ds__contacts {
    grid-template-columns: 1fr;
  }
}
.mg-ds__card {
  background: var(--mg-ds-cream);
  padding: 20px;
}
.mg-ds__card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.mg-ds__card span {
  color: var(--mg-ds-muted);
  font-size: 14px;
  font-weight: 600;
}
.mg-ds__card .mg-ds__link {
  display: inline-block;
  margin-top: 8px;
}
.mg-ds__tg {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #111;
  color: #fff;
  padding: 20px 24px;
}
.mg-ds__tg h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.mg-ds__tg p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.85;
  font-weight: 600;
}
.mg-ds__link {
  color: var(--mg-ds-blue);
  text-decoration: none;
  font-weight: 600;
}
body.mg-site--v2b .mg-ds a.mg-ds__link {
  color: var(--mg-ds-blue);
}
.mg-ds__link:hover {
  color: var(--mg-ds-blue-hover);
}
