.elemate-sqm {
  --sqm-primary: #4263eb;
  --sqm-text: #172033;
  --sqm-muted: #64748b;
  --sqm-border: #dbe2ea;
  --sqm-surface: #f7f9fc;
  max-width: 100%;
  padding: 28px;
  color: var(--sqm-text);
  background: #fff;
  border: 1px solid var(--sqm-border);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(22, 32, 51, .08);
}
.elemate-sqm *, .elemate-sqm *::before, .elemate-sqm *::after { box-sizing: border-box; }
.elemate-sqm__title { margin: 0 0 8px; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.elemate-sqm__description { max-width: 780px; margin: 0 0 26px; color: var(--sqm-muted); line-height: 1.65; }
.elemate-sqm__grid { display: flex; flex-wrap: wrap; margin: -10px; }
.elemate-sqm__field { flex: 0 0 var(--sqm-width, 100%); min-width: 0; padding: 10px; }
.elemate-sqm__label, .elemate-sqm .efeed-label { display: block; margin: 0 0 8px; color: var(--sqm-text); font-size: 14px; font-weight: 650; }
.elemate-sqm__required { margin-left: 3px; color: #dc2626; }
.elemate-sqm__control {
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--sqm-border); border-radius: 9px; outline: none;
  color: var(--sqm-text); background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
textarea.elemate-sqm__control { min-height: 120px; resize: vertical; }
.elemate-sqm__control:focus, .elemate-sqm .elemate-phone-input-wrapper:focus-within { border-color: var(--sqm-primary); box-shadow: 0 0 0 3px rgba(66, 99, 235, .12); }
.elemate-sqm .efeed-field-phone { margin: 0; }
.elemate-sqm .elemate-phone-input-wrapper { min-height: 46px; border: 1px solid var(--sqm-border); border-radius: 9px; }
.elemate-sqm .elemate-phone-input { min-height: 44px; border: 0; box-shadow: none; }
.elemate-sqm__choices { display: grid; gap: 9px; }
.elemate-sqm__choice { display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 10px 13px; border: 1px solid var(--sqm-border); border-radius: 9px; cursor: pointer; }
.elemate-sqm__choice:hover, .elemate-sqm__choice:has(input:checked) { border-color: var(--sqm-primary); background: rgba(66, 99, 235, .04); }
.elemate-sqm__choice input { flex: 0 0 auto; }
.elemate-sqm__choice span { display: grid; min-width: 0; }
.elemate-sqm__choice small { margin-top: 2px; color: var(--sqm-muted); font-size: 12px; }
.elemate-sqm__choice-price { margin-left: auto; color: var(--sqm-primary); font-style: normal; font-weight: 700; }
.elemate-sqm__acceptance { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.elemate-sqm__acceptance input { margin-top: 4px; }
.elemate-sqm__field--heading h3 { margin: 12px 0 0; font-size: 19px; }
.elemate-sqm__field--divider hr { margin: 4px 0; border: 0; border-top: 1px solid var(--sqm-border); }
.elemate-sqm__field-error { min-height: 18px; margin-top: 5px; color: #dc2626; font-size: 12px; }
.elemate-sqm__field.is-invalid .elemate-sqm__control, .elemate-sqm__field.is-invalid .elemate-phone-input-wrapper { border-color: #dc2626; }
.elemate-sqm__range-value { display: inline-block; margin-top: 6px; color: var(--sqm-primary); font-weight: 700; }
.elemate-sqm__summary { margin-top: 24px; padding: 22px; border: 1px solid #dce4ff; border-radius: 13px; background: var(--sqm-surface); }
.elemate-sqm__summary-title { margin: 0 0 14px; color: var(--sqm-primary); font-size: 18px; }
.elemate-sqm__item, .elemate-sqm__summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid rgba(100, 116, 139, .14); }
.elemate-sqm__item span { display: grid; }
.elemate-sqm__item small { color: var(--sqm-muted); }
.elemate-sqm__discount strong { color: #16803c; }
.elemate-sqm__tax strong { color: var(--sqm-primary); }
.elemate-sqm__total { margin-top: 5px; padding-top: 14px; border-bottom: 0; font-size: 18px; }
.elemate-sqm__total strong { color: var(--sqm-primary); font-size: 22px; }
.elemate-sqm__disclaimer { margin: 13px 0 0; color: var(--sqm-muted); font-size: 12px; line-height: 1.55; }
.elemate-sqm__verification { margin-top: 20px; }
.elemate-sqm__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 20px; padding: 11px 20px; border: 0; border-radius: 9px; color: #fff; background: var(--sqm-primary); font-weight: 700; cursor: pointer; }
.elemate-sqm__submit:disabled { cursor: wait; opacity: .72; }
.elemate-sqm__spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: elemate-sqm-spin .7s linear infinite; }
.elemate-sqm__submit.is-loading .elemate-sqm__spinner { display: block; }
.elemate-sqm__message { margin-top: 16px; padding: 12px 14px; border-radius: 8px; }
.elemate-sqm__message.is-success { color: #166534; background: #dcfce7; }
.elemate-sqm__message.is-error { color: #991b1b; background: #fee2e2; }
@keyframes elemate-sqm-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .elemate-sqm { padding: 20px; } .elemate-sqm__field { flex-basis: 100%; } }
