.svc-wrap--wide { width: min(1280px, calc(100% - 32px)); }

.blast-stage {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr) minmax(160px, 200px);
  gap: 18px;
  align-items: stretch;
}
.blast-stage__frame {
  min-width: 0;
  position: relative;
}
.blast-callouts {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 12px;
  padding: 8px 0;
}
.blast-callout {
  appearance: none;
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(29,29,31,.14);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(29,45,80,.06);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.blast-callout:hover,
.blast-callout.is-active {
  border-color: rgba(0,113,227,.45);
  box-shadow: 0 8px 20px rgba(0,113,227,.12);
  transform: translateY(-1px);
}
.blast-callout__title {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #1d1d1f;
  line-height: 1.25;
}
.blast-callout__text {
  font-size: 12px;
  color: #6e6e73;
  line-height: 1.3;
}
.blast-callouts--left .blast-callout { padding-right: 18px; }
.blast-callouts--right .blast-callout { padding-left: 18px; }
.blast-callouts--left .blast-callout::after,
.blast-callouts--right .blast-callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #0071e3;
  transform: translateY(-50%);
}
.blast-callouts--left .blast-callout::after {
  right: -18px;
}
.blast-callouts--right .blast-callout::after {
  left: -18px;
}
.blast-callouts--left .blast-callout::before,
.blast-callouts--right .blast-callout::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #0071e3;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-sizing: border-box;
}
.blast-callouts--left .blast-callout::before { right: -22px; }
.blast-callouts--right .blast-callout::before { left: -22px; }
.blast-callout.is-active::before {
  background: #0071e3;
}

[data-spot-target].is-spot-on {
  outline: 2px solid rgba(0,113,227,.55);
  outline-offset: 4px;
  border-radius: 10px;
  box-shadow: 0 0 0 6px rgba(0,113,227,.1);
  transition: outline-color .15s ease, box-shadow .15s ease;
}

.blast-features { display: none; }

/* Feature card illustrations + interactive blast demo */

.svc-illu {
  display: grid;
  place-items: center;
  margin: -8px -8px 16px;
  padding: 18px;
  background: linear-gradient(180deg, #eef4ff, #e7eef9);
}
.svc-illu__frame {
  width: min(100%, 220px);
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(29,45,80,.12);
  box-shadow: 0 6px 16px rgba(29,45,80,.08);
  display: grid;
  gap: 8px;
  align-content: center;
}
.svc-illu--queue .svc-illu__top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
  align-items: center;
  margin-bottom: 2px;
}
.svc-illu--queue .svc-illu__top i {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: rgba(29,29,31,.1);
}
.svc-illu--queue .svc-illu__top span {
  width: 28px;
  height: 16px;
  border-radius: 4px;
  background: #0071e3;
}
.svc-illu__line {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  align-items: center;
}
.svc-illu__line b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5c9d2;
}
.svc-illu__line b.is-green { background: #34c759; }
.svc-illu__line b.is-blue { background: #0071e3; }
.svc-illu__line em {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: rgba(29,29,31,.1);
  font-style: normal;
}
.svc-illu--chat .svc-illu__frame {
  gap: 7px;
  align-content: start;
  padding-top: 14px;
}
.svc-illu__bubble {
  height: 18px;
  border-radius: 6px;
  max-width: 78%;
}
.svc-illu__bubble.is-left {
  justify-self: start;
  background: #dfe7f3;
  width: 70%;
}
.svc-illu__bubble.is-right {
  justify-self: end;
  background: #0071e3;
  width: 62%;
}
.svc-illu__bubble.is-short { width: 46%; height: 14px; }
.svc-illu--bars .svc-illu__cap {
  height: 8px;
  width: 42%;
  border-radius: 2px;
  background: rgba(29,29,31,.12);
  margin-bottom: 4px;
}
.svc-illu__chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 70%;
}
.svc-illu__chart span {
  display: block;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: #0071e3;
}

.blast-demo {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(29,29,31,.14);
  box-shadow: 0 8px 20px rgba(29,45,80,.08);
  display: grid;
  gap: 16px;
}
.blast-demo__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(29,29,31,.12);
}
.blast-demo__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blast-demo__brand b {
  font-size: 15px;
  letter-spacing: -.02em;
}
.blast-demo__brand span {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  background: #e8f1fc;
  color: #0071e3;
  border: 1px solid rgba(0,113,227,.25);
  font-size: 11px;
  font-weight: 750;
}
.blast-demo__tabs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(29,29,31,.14);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.blast-demo__tabs button {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(29,29,31,.12);
  background: #fff;
  color: #6e6e73;
  border-radius: 0;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.blast-demo__tabs button:last-child { border-right: 0; }
.blast-demo__tabs button:hover { background: #f4f6fa; color: #1d1d1f; }
.blast-demo__tabs button.is-active {
  background: #0071e3;
  color: #fff;
}
.blast-demo__pane { display: none; }
.blast-demo__pane.is-active { display: grid; gap: 16px; }
.blast-demo__pane[hidden] { display: none !important; }
.blast-demo label {
  display: grid;
  gap: 6px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 650;
}
.blast-demo input,
.blast-demo select,
.blast-demo textarea {
  width: 100%;
  border: 1px solid rgba(29,29,31,.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
}
.blast-demo input:focus,
.blast-demo select:focus,
.blast-demo textarea:focus {
  outline: 2px solid rgba(0,113,227,.28);
  border-color: rgba(0,113,227,.5);
}
.blast-demo textarea { resize: vertical; min-height: 120px; }
.blast-demo__row3,
.blast-demo__filters,
.blast-demo__pool-form {
  display: grid;
  gap: 12px;
  align-items: end;
}
.blast-demo__row3 { grid-template-columns: 1fr 1fr minmax(220px, .9fr); }
.blast-demo__filters { grid-template-columns: 1.2fr 1fr 1fr; }
.blast-demo__pool-form { grid-template-columns: 1fr 1fr auto; }
.blast-demo__pool-form .blast-demo__span { grid-column: 1 / -1; }
.blast-demo__label {
  display: block;
  margin-bottom: 6px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 650;
}
.blast-demo__when { display: grid; gap: 6px; }
.blast-demo__radios {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 40px;
}
.blast-demo__radios label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.blast-demo__radios input { width: auto; margin: 0; }
.blast-demo__editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(260px, 1fr) auto;
  gap: 10px 14px;
  align-items: stretch;
  min-height: 340px;
}
.blast-demo__side-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.blast-demo__side-bar--text { grid-column: 1; grid-row: 1; }
.blast-demo__side-bar--preview { grid-column: 2; grid-row: 1; }
.blast-demo__side-bar strong { font-size: 13px; color: #1d1d1f; }
.blast-demo__meta {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #8a8a93;
  font-size: 12px;
  line-height: 1.4;
  min-height: 20px;
}
.blast-demo__meta--spacer {
  grid-column: 2;
  grid-row: 3;
  min-height: 20px;
  pointer-events: none;
}
.blast-demo__meta span { min-width: 0; }
#bd-body {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  min-height: 260px;
  margin: 0;
  box-sizing: border-box;
  resize: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
}
.blast-demo__preview {
  grid-column: 2;
  grid-row: 2;
  height: 100%;
  min-height: 260px;
  overflow: auto;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(29,29,31,.16);
  background: #f7f9fc;
  font-size: 14px;
  line-height: 1.6;
  color: #1d1d1f;
}
.blast-demo__preview:empty::before {
  content: "Превью появится здесь";
  color: #8a8a93;
}
.blast-demo__preview p {
  margin: 0 0 12px;
  line-height: 1.6;
  display: block;
}
.blast-demo__preview p:last-child { margin-bottom: 0; }
.blast-demo__preview a { color: #0071e3; }
.blast-demo__preview em { font-style: italic; }
.blast-demo__preview strong { font-weight: 750; }
.blast-demo__launch {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  padding-top: 4px;
  border-top: 1px solid rgba(29,29,31,.1);
}
.blast-demo__launch-id {
  flex: 1 1 240px;
  min-width: 0;
}
.blast-demo__launch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
}
.blast-demo__status {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.2;
  padding: 0 2px;
}
.blast-demo__btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: #0071e3;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.blast-demo__btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.blast-demo__btn--ghost {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid rgba(29,29,31,.2);
}
.blast-demo__btn--sm {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 6px;
}
.blast-demo__end { display: flex; align-items: end; }
.blast-demo__table-wrap {
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(29,29,31,.14);
}
.blast-demo table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.blast-demo th,
.blast-demo td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(29,29,31,.1);
  vertical-align: top;
}
.blast-demo th {
  background: #f4f6fa;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 750;
}
.blast-demo tr:last-child td { border-bottom: 0; }
.blast-demo .muted { color: #8a8a93; font-size: 12px; }
.blast-demo__clip {
  max-width: 260px;
  color: #6e6e73;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  white-space: pre-wrap;
  word-break: break-word;
}
.blast-demo__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.blast-demo__progress { display: grid; gap: 5px; min-width: 120px; }
.blast-demo__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8a8a93;
}
.blast-demo__progress-bar {
  height: 6px;
  border-radius: 2px;
  background: rgba(29,29,31,.1);
  overflow: hidden;
}
.blast-demo__progress-bar > i {
  display: block;
  height: 100%;
  background: #0071e3;
}
.blast-demo__qtabs {
  display: flex;
  gap: 8px;
}
.blast-demo__qtabs button {
  appearance: none;
  border: 1px solid rgba(29,29,31,.18);
  background: #fff;
  color: #1d1d1f;
  border-radius: 8px;
  min-height: 34px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.blast-demo__qtabs button.is-active {
  background: #0071e3;
  border-color: #0071e3;
  color: #fff;
}
.blast-demo__note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,113,227,.22);
  background: #eef5fd;
  color: #0071e3;
  font-size: 13px;
  font-weight: 650;
}
@media (max-width: 1100px) {
  .blast-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .blast-callouts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 8px;
    padding: 0;
  }
  .blast-callout {
    flex: 1 1 160px;
    padding: 10px 12px;
  }
  .blast-callouts--left .blast-callout::before,
  .blast-callouts--right .blast-callout::before,
  .blast-callouts--left .blast-callout::after,
  .blast-callouts--right .blast-callout::after {
    display: none;
  }
  .blast-callouts--left { order: 2; }
  .blast-stage__frame { order: 1; }
  .blast-callouts--right { order: 3; }
}
@media (max-width: 980px) {
  .blast-demo__editor {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(200px, auto) minmax(200px, auto) auto;
  }
  .blast-demo__side-bar--text { grid-column: 1; grid-row: 1; }
  .blast-demo__side-bar--preview { grid-column: 1; grid-row: 3; }
  #bd-body { grid-column: 1; grid-row: 2; min-height: 200px; }
  .blast-demo__preview { grid-column: 1; grid-row: 4; min-height: 200px; }
  .blast-demo__meta { grid-column: 1; grid-row: 5; }
  .blast-demo__meta--spacer { display: none; }
  .blast-demo__row3,
  .blast-demo__filters,
  .blast-demo__pool-form {
    grid-template-columns: 1fr;
  }
  .blast-demo__tabs { width: 100%; overflow: auto; }
  .blast-demo__launch-actions { width: 100%; }
}
