/* Честная передача заявки: предпросмотр без ложного success-state. */
.lead-review-dialog {
  width: min(510px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid rgba(97,27,34,.16);
  border-radius: 12px;
  background: #fcfaf7;
  color: #241f1c;
  box-shadow: 0 24px 70px rgba(20,15,14,.24);
  overflow: auto;
}
.lead-review-dialog::backdrop { background: rgba(18,16,14,.66); backdrop-filter: blur(5px); }
.lead-review-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:28px 28px 19px; border-bottom:1px solid #e6ddd5; }
.lead-review-head span { color:#611b22; font:700 10px Inter,sans-serif; letter-spacing:.15em; text-transform:uppercase; }
.lead-review-head h2 { margin:7px 0 0; font:400 clamp(27px,5vw,36px)/1.15 'Playfair Display',serif; }
.lead-review-close { width:34px; height:34px; flex:none; border:1px solid #c9b7b4; border-radius:50%; background:none; color:#611b22; cursor:pointer; font-size:23px; }
.lead-review-explain { margin:0; padding:20px 28px 16px; color:#625b55; font:14px/1.65 Inter,sans-serif; }
.lead-review-text { display:block; width:calc(100% - 56px); min-height:145px; margin:0 28px; padding:14px; resize:vertical; border:1px solid #d8cbc4; border-radius:5px; background:#fff; color:#352f2c; font:13px/1.55 Inter,sans-serif; }
.lead-review-actions { display:flex; flex-wrap:wrap; gap:10px; padding:20px 28px 13px; }
.lead-review-actions a,.lead-review-actions button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border-radius:4px; font:600 12px Inter,sans-serif; text-decoration:none; cursor:pointer; }
.lead-review-primary { background:#611b22; border:1px solid #611b22; color:#fff; }
.lead-review-primary:hover { background:#491217; }
.lead-review-copy { background:transparent; border:1px solid #611b22; color:#611b22; }
.lead-review-foot { margin:0; padding:0 28px 28px; color:#716862; font:12px/1.5 Inter,sans-serif; }
.lead-review-foot a { color:#611b22; }
.lead-review-dialog :focus-visible { outline:2px solid #611b22; outline-offset:2px; }
@media(max-width:480px) { .lead-review-head {padding:23px 20px 16px;} .lead-review-explain {padding:18px 20px 15px;} .lead-review-text {width:calc(100% - 40px);margin-inline:20px;} .lead-review-actions {padding-inline:20px;} .lead-review-actions a,.lead-review-actions button {width:100%;} .lead-review-foot {padding-inline:20px;} }

.lead-form-note { margin:11px 0 0; color:#766c66; font:12px/1.5 Inter,sans-serif; }
