/* ==========================================================================
   УЗДТ — Строгий промышленный стиль секций:
   Калькулятор массы (#calculator-root), Услуги (#services-root), КП (#quote-root)
   Палитра строго по uzdt.su:
     --ink: #121b2b | --yellow: #ffc944 (#f4bb32) | --muted: #5a6372
     --line: #e7ebf0 | --paper: #f5f7fa | --surface: #ffffff
   ========================================================================== */

:root {
  --ink: #121b2b;
  --yellow: #ffc944;
  --yellow-hover: #f4bb32;
  --muted: #5a6372;
  --line: #e7ebf0;
  --paper: #f5f7fa;
  --surface: #ffffff;
}

/* Выравнивание кнопок с новой шторкой из animations.css без неонового свечения */
.uzdt-sec .btn-uzdt {
  border-radius: 3px;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.uzdt-sec .btn-uzdt:hover,
.uzdt-sec .btn-uzdt:focus-visible {
  box-shadow: none;
}

.uzdt-sec .btn-uzdt .btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.uzdt-sec .btn-uzdt:hover .btn-arrow {
  transform: translate(3px, -2px);
}

.uzdt-sec .btn-uzdt:hover .btn-arrow--right {
  transform: translateX(4px);
}

/* Общая сетка и типографика секций */
.uzdt-sec {
  padding: 72px 0;
  color: var(--ink);
  background: var(--surface);
}

.uzdt-sec--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.uzdt-sec__wrap {
  max-width: 1280px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

.uzdt-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

/* Строгий индексный подзаголовок вместо пилюль-бейджей */
.uzdt-sec__index {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.uzdt-sec__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.uzdt-sec__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
}

.uzdt-sec__units {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ==========================================================================
   1. КАЛЬКУЛЯТОР ТЕОРЕТИЧЕСКОЙ МАССЫ (#calculator-root)
   ========================================================================== */

.uzdt-calc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.uzdt-calc__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.uzdt-calc__group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Выбор типа изделия */
.uzdt-calc__types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.uzdt-calc__pill {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.uzdt-calc__pill:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.uzdt-calc__pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* Выбор марки стали */
.uzdt-calc__steels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.uzdt-calc__steel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.uzdt-calc__steel strong {
  font-size: 14px;
  font-weight: 700;
}

.uzdt-calc__steel span {
  font-size: 11.5px;
  color: var(--muted);
}

.uzdt-calc__steel:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.uzdt-calc__steel.is-active {
  border-color: var(--ink);
  border-top: 2px solid var(--yellow);
  background: var(--surface);
}

.uzdt-calc__steel.is-active span {
  color: var(--ink);
}

/* Пресеты типовых диаметров ГОСТ */
.uzdt-calc__presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -8px;
}

.uzdt-calc__presets-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.uzdt-calc__chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 3px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.uzdt-calc__chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.uzdt-calc__chip.is-active {
  border-color: var(--yellow-hover);
  background: var(--yellow);
  color: var(--ink);
}

/* Поля параметров и ползунки */
.uzdt-calc__sliders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.uzdt-calc__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.uzdt-calc__field:focus-within {
  border-color: var(--ink);
  background: var(--surface);
}

.uzdt-calc__field.is-hidden {
  display: none;
}

.uzdt-calc__field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.uzdt-calc__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.uzdt-calc__num-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid #d5dce6;
  border-radius: 3px;
  padding: 3px 8px;
}

.uzdt-calc__num {
  width: 72px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  outline: none;
  -moz-appearance: textfield;
}

.uzdt-calc__num::-webkit-inner-spin-button,
.uzdt-calc__num::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.uzdt-calc__unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Строгий инженерный ползунок */
.uzdt-calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--ink) 0%,
    var(--ink) var(--fill, 30%),
    #d5dce6 var(--fill, 30%),
    #d5dce6 100%
  );
  outline: none;
  cursor: pointer;
}

.uzdt-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  transition: transform 0.14s ease;
}

.uzdt-calc__range::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.uzdt-calc__range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  transition: transform 0.14s ease;
}

.uzdt-calc__hint {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.uzdt-calc__hint strong {
  color: var(--ink);
}

.uzdt-calc__warn {
  display: none;
  font-size: 12.5px;
  color: #9e2d15;
  background: #fdf2f0;
  border: 1px solid #ecc0b6;
  border-left: 3px solid #c93b1d;
  border-radius: 3px;
  padding: 8px 12px;
}

.uzdt-calc__warn.is-visible {
  display: block;
}

/* Правая тёмная карточка результата — строгие линии, без свечения */
.uzdt-calc__result {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  border-top: 3px solid var(--yellow);
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.uzdt-calc__res-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.uzdt-calc__res-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.uzdt-calc__res-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.uzdt-calc__diagram {
  width: 84px;
  height: 64px;
  flex: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.uzdt-calc__diagram svg {
  width: 100%;
  height: 100%;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uzdt-calc__main-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.uzdt-calc__big {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.uzdt-calc__big-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
}

.uzdt-calc__tons {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

.uzdt-calc__tons strong {
  color: #ffffff;
}

.uzdt-calc__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.uzdt-calc__metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 12px 14px;
}

.uzdt-calc__metric-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 5px;
}

.uzdt-calc__metric-val {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.uzdt-calc__metric-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.uzdt-calc__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uzdt-calc__cta {
  width: 100%;
  min-height: 50px;
  font-size: 14.5px;
}

.uzdt-calc__cta.is-added {
  background: #1f8a57;
  border-color: #1f8a57;
  color: #ffffff;
}

.uzdt-calc__footnote {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.56);
  margin: 0;
}

/* ==========================================================================
   2. УСЛУГИ ЗАВОДА (#services-root)
   ========================================================================== */

.uzdt-srv__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.uzdt-srv__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: 3px;
  padding: 24px;
  transition: border-color 0.2s ease, border-top-color 0.2s ease, background-color 0.2s ease;
}

.uzdt-srv__card:hover {
  border-color: #cfd6e0;
  border-top-color: var(--yellow);
  background: #fbfcfd;
}

.uzdt-srv__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.uzdt-srv__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.uzdt-srv__icon {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.uzdt-srv__card:hover .uzdt-srv__icon {
  background: var(--yellow);
  border-color: var(--yellow);
}

.uzdt-srv__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uzdt-srv__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.uzdt-srv__title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.uzdt-srv__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.uzdt-srv__specs {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
}

.uzdt-srv__specs li {
  position: relative;
  padding-left: 14px;
}

.uzdt-srv__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 2px;
  background: var(--yellow-hover);
}

.uzdt-srv__btn {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13.5px;
}

/* ==========================================================================
   3. ФОРМА КОММЕРЧЕСКОГО ПРЕДЛОЖЕНИЯ (#quote-root)
   ========================================================================== */

.uzdt-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 24px;
  align-items: start;
}

.uzdt-quote__info {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  border-top: 3px solid var(--yellow);
  border-radius: 3px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.uzdt-quote__info .uzdt-sec__index {
  color: var(--yellow);
  margin-bottom: 0;
}

.uzdt-quote__info-title {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.uzdt-quote__info-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.uzdt-quote__note {
  border-left: 2px solid var(--yellow);
  padding: 2px 0 2px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.uzdt-quote__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.uzdt-quote__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.16s ease;
}

.uzdt-quote__contact-link:hover {
  color: var(--yellow);
}

.uzdt-quote__contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  border: 1px solid rgba(255, 201, 68, 0.35);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.uzdt-quote__contact-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uzdt-quote__meta {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.64);
}

/* Карточка формы */
.uzdt-quote__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 32px;
}

.uzdt-quote__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.uzdt-quote__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.uzdt-quote__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.uzdt-quote__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.uzdt-quote__field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.uzdt-quote__clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
}

.uzdt-quote__clear:hover {
  color: var(--ink);
  background: var(--paper);
}

.uzdt-quote__input,
.uzdt-quote__textarea {
  width: 100%;
  border: 1px solid #cfd7e3;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  padding: 11px 13px;
  font-size: 14.5px;
  line-height: 1.45;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.uzdt-quote__textarea {
  min-height: 128px;
  resize: vertical;
}

.uzdt-quote__input:focus,
.uzdt-quote__textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--ink);
}

.uzdt-quote__input.is-error,
.uzdt-quote__textarea.is-error {
  border-color: #c93b1d;
  background: #fdf2f0;
}

@keyframes uzdtFieldFlash {
  0%   { border-color: var(--yellow-hover); background: #fff9e3; }
  100% { border-color: #cfd7e3; background: var(--paper); }
}

.uzdt-quote__textarea.is-flash {
  animation: uzdtFieldFlash 1s ease;
}

/* Drag-and-drop зона загрузки файлов */
.uzdt-quote__dropzone {
  position: relative;
  border: 1px dashed #b9c4d4;
  border-radius: 3px;
  background: var(--paper);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.uzdt-quote__dropzone:hover,
.uzdt-quote__dropzone.is-dragover {
  border-color: var(--ink);
  background: #fffbeb;
}

.uzdt-quote__file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.uzdt-quote__drop-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  color: var(--ink);
}

.uzdt-quote__drop-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.uzdt-quote__drop-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.uzdt-quote__files {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uzdt-quote__file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 13px;
}

.uzdt-quote__file-name {
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uzdt-quote__file-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--muted);
  font-size: 12px;
}

.uzdt-quote__file-rm {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 24px;
  height: 24px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.uzdt-quote__file-rm:hover {
  background: #fdf2f0;
  border-color: #c93b1d;
  color: #b92c16;
}

.uzdt-quote__file-err {
  margin-top: 6px;
  font-size: 12.5px;
  color: #b92c16;
  min-height: 16px;
}

/* Чекбокс ПДн */
.uzdt-quote__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.uzdt-quote__consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--ink);
  cursor: pointer;
  flex: none;
}

.uzdt-quote__submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.uzdt-quote__submit {
  min-width: 220px;
  min-height: 50px;
  font-size: 14.5px;
}

.uzdt-quote__form-err {
  font-size: 13px;
  font-weight: 600;
  color: #b92c16;
}

/* Экран подтверждения */
.uzdt-quote__success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}

.uzdt-quote__success.is-visible {
  display: flex;
}

.uzdt-quote__success-status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16794a;
}

.uzdt-quote__success h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.uzdt-quote__success-summary {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 3px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
}

.uzdt-quote__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Строгий тост-бар */
.uzdt-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--yellow);
  border-radius: 3px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.uzdt-toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

@media (max-width: 1120px) {
  .uzdt-srv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .uzdt-sec {
    padding: 56px 0;
  }
  .uzdt-sec__wrap {
    width: calc(100% - 40px);
  }
  .uzdt-calc__grid,
  .uzdt-quote__grid {
    grid-template-columns: 1fr;
  }
  .uzdt-calc__steels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uzdt-sec {
    padding: 44px 0;
  }
  .uzdt-sec__wrap {
    width: calc(100% - 28px);
  }
  .uzdt-calc__panel,
  .uzdt-calc__result,
  .uzdt-quote__info,
  .uzdt-quote__card {
    padding: 20px;
  }
  .uzdt-calc__sliders,
  .uzdt-quote__row,
  .uzdt-srv__grid,
  .uzdt-calc__metrics {
    grid-template-columns: 1fr;
  }
  .uzdt-quote__submit {
    width: 100%;
  }
}
