.send-step-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-variant-numeric: tabular-nums;
}

.send-totals-card {
  margin-bottom: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.send-presets-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.send-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.send-preset-btn {
  min-height: 48px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.send-preset-btn:active {
  transform: scale(0.98);
}
.send-preset-btn.active {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-on);
  font-weight: 700;
}

.send-preset-config-btn {
  min-height: 48px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.send-preset-config-btn:active {
  background: var(--surface-active);
  color: var(--text);
}

.send-tot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.send-tot-row-no-border {
  border-bottom: none;
  padding-bottom: 2px;
}

.send-tot-markup-note {
  font-size: 17px;
  color: var(--text-muted);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.35;
}

.send-tot-btn-row {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.send-tot-btn-row:active {
  background: var(--surface-active);
}

.send-tot-label {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 500;
}

.send-tot-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.send-tot-action-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--sec-color);
  white-space: nowrap;
}

.send-tot-final {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 14px;
  margin-top: 2px;
}

.send-tot-final-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.send-tot-final-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.send-warn-banner {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: var(--radius-card);
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.send-warn-banner:active {
  opacity: 0.85;
}

.send-warn-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--warning);
  line-height: 1.3;
}

.send-warn-action {
  font-size: 17px;
  font-weight: 700;
  color: var(--warning);
  text-decoration: underline;
  white-space: nowrap;
  flex-shrink: 0;
}

.mode-selector-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.mode-selector-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.mode-selector-item {
  min-height: 54px;
  padding: 12px 14px;
  cursor: pointer;
}
.mode-selector-text {
  flex: 1;
  min-width: 0;
}
.mode-selector-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.mode-selector-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.send-terms-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.send-terms-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.send-terms-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.send-terms-edit-btn {
  min-height: 48px;
  height: 48px;
  padding: 0 14px;
  width: auto;
  font-size: 17px;
  flex-shrink: 0;
}
.send-terms-summary {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.4;
}

.send-channels-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.send-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.send-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.send-channel-btn {
  min-height: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.send-channel-btn:active {
  background: var(--surface-active);
  transform: scale(0.98);
}
.send-channel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.send-status-hint {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
}

.send-preview-btn {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: none;
  color: var(--sec-color);
  font-size: 17px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-family: inherit;
}
.send-preview-btn:active {
  background: var(--sec-bg-tint);
}

.send-sticky-save-btn {
  width: 100%;
  min-height: 54px;
  height: 54px;
  font-size: 17px;
  font-weight: 700;
}

.send-sheet-scroll {
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.send-sheet-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.send-sheet-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--radius-input);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.send-sheet-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--sec-color);
  flex-shrink: 0;
}
.send-sheet-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.send-sheet-input-big {
  min-height: 52px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.preset-edit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-edit-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  background: var(--surface);
  border: 1px solid var(--border);
}

.preset-edit-col-name {
  flex: 1;
  min-width: 0;
}

.preset-edit-col-pct {
  width: 96px;
  flex-shrink: 0;
}

.preset-del-btn {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--danger);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.preset-del-btn:active {
  background: var(--danger-bg);
}

/* Этап 3B: строка «Схема крыши» с переключателем показа клиенту */
.send-scheme-row {
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.send-scheme-row:active {
  background: var(--surface-2);
}
.send-scheme-thumb {
  width: 72px;
  flex: none;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
  display: block;
}
.send-scheme-thumb svg {
  display: block;
  width: 100%;
  height: auto;
}
.send-scheme-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.send-scheme-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.send-scheme-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.3;
}
.send-scheme-check {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.send-scheme-check.is-on {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-on);
}
.send-studio-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-ink);
}
/* Кнопки отправки в цвет мессенджера */
.send-channel-btn[data-send-ch="whatsapp"],
.send-channel-btn[data-send-ch="viber"],
.send-channel-btn[data-send-ch="telegram"] {
  color: var(--brand-on);
  border-color: transparent;
}
.send-channel-btn[data-send-ch="whatsapp"] { background: var(--brand-whatsapp); }
.send-channel-btn[data-send-ch="viber"] { background: var(--brand-viber); }
.send-channel-btn[data-send-ch="telegram"] { background: var(--brand-telegram); }
.send-channel-btn[data-send-ch="whatsapp"]:active,
.send-channel-btn[data-send-ch="viber"]:active,
.send-channel-btn[data-send-ch="telegram"]:active { filter: brightness(0.9); }

/* «Отправить в Gata» — клиент уже в приложении */
.send-gata { margin-bottom: 16px; }
.send-gata-btn {
  width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; box-sizing: border-box;
  border: 0; border-radius: 16px; background: var(--copper); color: #FFFFFF; text-align: left; cursor: pointer; font: inherit;
  box-shadow: 0 6px 16px var(--copper-tint);
}
.send-gata-btn img { border-radius: 8px; flex: 0 0 auto; background: #FFFFFF; }
.send-gata-btn span { display: flex; flex-direction: column; }
.send-gata-btn b { font-size: 19px; font-weight: 800; }
.send-gata-btn small { font-size: 15px; opacity: .9; }
.send-gata-btn:disabled { opacity: .6; }
.send-gata-note { font-size: 15px; color: var(--text-muted); margin: 6px 2px 0; }
