:root{
  --ya-burgundy:#7a1822;
  --ya-burgundy-dark:#64121b;
  --ya-text:#242326;
  --ya-muted:#777579;
  --ya-line:#dedbd8;
  --ya-field:#f5f2f0;
  --ya-error:#a52530;
  --ya-white:#ffffff;
  --ya-serif:Georgia,"Times New Roman",serif;
}

#yasno-auto-calculator{
  width:100%;
}

.ya-calc{
  width:100%;
  max-width:680px;
  margin:0 auto;
  color:var(--ya-text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.45;
  box-sizing:border-box;
}

.ya-calc *,
.ya-calc *:before,
.ya-calc *:after{
  box-sizing:border-box;
}

.ya-card{
  background:var(--ya-white);
  padding:48px 48px 44px;
  border-radius:4px;
}

.ya-eyebrow{
  margin:0 0 14px;
  color:var(--ya-burgundy);
  font-size:12px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
}

.ya-title{
  margin:0;
  font-family:var(--ya-serif);
  font-size:42px;
  line-height:1.06;
  font-weight:400;
  letter-spacing:-.02em;
}

.ya-subtitle{
  margin:18px 0 0;
  max-width:560px;
  color:var(--ya-muted);
  font-size:15px;
  line-height:1.55;
}

.ya-section{
  margin-top:34px;
}

.ya-section + .ya-section{
  padding-top:28px;
  border-top:1px solid var(--ya-line);
}

.ya-section-head{
  margin-bottom:16px;
}

.ya-section-title{
  margin:0;
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
  color:#4c4a4d;
}

.ya-section-note{
  margin:6px 0 0;
  color:#918f91;
  font-size:13px;
  line-height:1.45;
}

.ya-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 20px;
}

.ya-label{
  display:block;
  min-width:0;
}

.ya-label-text{
  display:block;
  margin-bottom:8px;
  color:#4a484b;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.ya-required{
  color:var(--ya-burgundy);
}

.ya-input,
.ya-select{
  display:block;
  width:100%;
  height:58px;
  padding:0 16px;
  border:1px solid #dedad7;
  border-radius:3px;
  outline:none;
  background:var(--ya-field);
  color:#323033;
  font:inherit;
  font-size:16px;
  transition:border-color .15s ease,background .15s ease;
}

.ya-input::placeholder{
  color:#aaa6a5;
}

.ya-input:focus,
.ya-select:focus{
  background:#fff;
  border-color:var(--ya-burgundy);
}

.ya-select:disabled{
  color:#aaa6a5;
  cursor:not-allowed;
}

.ya-field-error{
  display:none;
  margin-top:6px;
  color:var(--ya-error);
  font-size:12px;
}

.ya-label.ya-invalid .ya-input,
.ya-label.ya-invalid .ya-select{
  border-color:var(--ya-error);
  background:#fffafa;
}

.ya-label.ya-invalid .ya-field-error{
  display:block;
}

.ya-features-toggle{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:15px 0;
  border:0;
  border-top:1px solid var(--ya-line);
  border-bottom:1px solid var(--ya-line);
  background:transparent;
  color:var(--ya-text);
  cursor:pointer;
  font:inherit;
  text-align:left;
}

.ya-features-toggle strong{
  font-size:15px;
  font-weight:600;
}

.ya-features-toggle span{
  color:var(--ya-burgundy);
  font-size:13px;
  white-space:nowrap;
}

.ya-features{
  display:none;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding-top:14px;
}

.ya-features.is-open{
  display:grid;
}

.ya-feature{
  position:relative;
  display:flex;
  align-items:flex-start;
  min-height:54px;
  padding:13px 13px 13px 40px;
  border:1px solid var(--ya-line);
  border-radius:3px;
  cursor:pointer;
  color:#514f51;
  font-size:13px;
  line-height:1.35;
  transition:border-color .15s ease,background .15s ease;
}

.ya-feature input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.ya-feature:before{
  content:"";
  position:absolute;
  left:13px;
  top:15px;
  width:16px;
  height:16px;
  border:1px solid #aaa6a5;
  background:#fff;
}

.ya-feature.is-selected{
  border-color:var(--ya-burgundy);
  background:#fcf7f7;
}

.ya-feature.is-selected:before{
  border-color:var(--ya-burgundy);
  background:var(--ya-burgundy);
  box-shadow:inset 0 0 0 4px #fff;
}

.ya-actions{
  margin-top:30px;
}

.ya-btn{
  display:inline-flex;
  width:100%;
  min-height:58px;
  align-items:center;
  justify-content:center;
  padding:15px 22px;
  border:1px solid var(--ya-burgundy);
  border-radius:3px;
  background:var(--ya-burgundy);
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-size:15px;
  font-weight:700;
  transition:background .15s ease,border-color .15s ease;
}

.ya-btn:hover{
  background:var(--ya-burgundy-dark);
  border-color:var(--ya-burgundy-dark);
}

.ya-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.ya-btn-secondary{
  width:auto;
  min-height:auto;
  padding:0;
  border:0;
  border-bottom:1px solid #b9b6b7;
  border-radius:0;
  background:transparent;
  color:#6f6c6f;
  font-size:13px;
  font-weight:400;
}

.ya-btn-secondary:hover{
  background:transparent;
  border-color:var(--ya-burgundy);
  color:var(--ya-burgundy);
}

.ya-form-error{
  min-height:20px;
  margin:10px 0 0;
  color:var(--ya-error);
  font-size:13px;
}

/* calculation */

.ya-loading-card{
  min-height:620px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.ya-vehicle-summary{
  margin-top:16px;
  color:#777477;
  font-size:14px;
}

.ya-progress-wrap{
  margin-top:54px;
}

.ya-progress-number{
  margin-bottom:12px;
  font-family:var(--ya-serif);
  color:#d8b7bb;
  font-size:74px;
  line-height:.9;
  font-weight:400;
}

.ya-progress-track{
  width:100%;
  height:2px;
  background:#e0dcda;
  overflow:hidden;
}

.ya-progress-bar{
  display:block;
  width:3%;
  height:100%;
  background:var(--ya-burgundy);
  transition:width .35s linear;
}

.ya-loading-stage{
  margin:22px 0 0;
  font-family:var(--ya-serif);
  font-size:28px;
  line-height:1.2;
  font-weight:400;
}

.ya-loading-note{
  margin:10px 0 0;
  color:#8b888a;
  font-size:14px;
}

.ya-loading-percent{
  margin-top:28px;
  color:#989597;
  font-size:12px;
  letter-spacing:.08em;
}

/* result */

.ya-result-card{
  padding-bottom:48px;
}

.ya-price{
  margin:22px 0 8px;
  font-family:var(--ya-serif);
  font-size:48px;
  line-height:1.04;
  font-weight:400;
  letter-spacing:-.025em;
}

.ya-result-comment{
  margin:16px 0 0;
  color:#666367;
  font-size:15px;
  line-height:1.55;
}

.ya-info{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--ya-line);
}

.ya-info strong{
  display:block;
  margin-bottom:7px;
  font-size:14px;
}

.ya-info p{
  margin:0;
  color:#858285;
  font-size:13px;
  line-height:1.55;
}

.ya-lead{
  margin-top:34px;
  padding-top:30px;
  border-top:1px solid var(--ya-line);
}

.ya-lead-title{
  margin:0;
  font-family:var(--ya-serif);
  font-size:29px;
  line-height:1.15;
  font-weight:400;
}

.ya-lead-copy{
  margin:12px 0 20px;
  color:#777477;
  font-size:14px;
  line-height:1.55;
}

.ya-contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.ya-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:16px;
  color:#777477;
  font-size:12px;
  line-height:1.45;
}

.ya-consent input{
  margin-top:2px;
  accent-color:var(--ya-burgundy);
}

.ya-contact-message{
  min-height:20px;
  margin-top:10px;
  font-size:13px;
}

.ya-contact-message.is-error{
  color:var(--ya-error);
}

.ya-contact-message.is-success{
  color:#35613f;
}

.ya-result-footer{
  margin-top:24px;
}

/* preview page only */

.ya-preview-page{
  margin:0;
  background:var(--ya-burgundy);
}

.ya-preview-shell{
  width:min(1280px,calc(100% - 64px));
  margin:0 auto;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(500px,680px);
  gap:72px;
  align-items:start;
  padding:90px 0;
}

.ya-preview-copy{
  padding-top:14px;
  color:#fff;
}

.ya-preview-copy .ya-preview-eyebrow{
  color:#d7b3b6;
  font:700 12px Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ya-preview-copy h1{
  margin:18px 0 0;
  max-width:560px;
  color:#fff;
  font-family:var(--ya-serif);
  font-size:54px;
  line-height:1.06;
  font-weight:400;
}

.ya-preview-copy p{
  max-width:520px;
  margin:26px 0 0;
  color:#d4b8bb;
  font:16px/1.6 Arial,sans-serif;
}

.ya-preview-points{
  margin-top:42px;
  max-width:520px;
  border-top:1px solid rgba(255,255,255,.18);
}

.ya-preview-points div{
  padding:15px 0;
  border-bottom:1px solid rgba(255,255,255,.18);
  color:#d7bfc1;
  font:14px Arial,sans-serif;
}

@media(max-width:900px){
  .ya-preview-shell{
    width:min(100% - 32px,680px);
    grid-template-columns:1fr;
    gap:36px;
    padding:48px 0;
  }

  .ya-preview-copy h1{
    font-size:44px;
  }

  .ya-card{
    padding:36px 30px 34px;
  }
}

@media(max-width:640px){
  .ya-calc{
    font-size:15px;
  }

  .ya-card{
    padding:30px 20px 28px;
    border-radius:3px;
  }

  .ya-title{
    font-size:34px;
  }

  .ya-grid,
  .ya-contact-grid,
  .ya-features{
    grid-template-columns:1fr;
  }

  .ya-price{
    font-size:38px;
  }

  .ya-progress-number{
    font-size:62px;
  }

  .ya-loading-stage{
    font-size:25px;
  }

  .ya-loading-card{
    min-height:520px;
  }

  .ya-preview-copy h1{
    font-size:39px;
  }
}

/* ===== V2 visual refinement 2026-08-09 ===== */

/* Форме отдаём чуть больше визуального приоритета */
.ya-preview-shell{
  grid-template-columns:minmax(0,.92fr) minmax(520px,680px);
  gap:76px;
}

.ya-preview-copy h1{
  max-width:510px;
  font-size:49px;
  line-height:1.065;
}

/* Чуть компактнее основной экран */
.ya-card{
  padding:44px 46px 40px;
}

.ya-section{
  margin-top:30px;
}

.ya-section + .ya-section{
  padding-top:25px;
}

.ya-actions{
  margin-top:27px;
}

/* Не показываем стандартную синюю browser focus-рамку */
.ya-features-toggle:focus{
  outline:none;
}

.ya-features-toggle:focus-visible{
  outline:1px solid var(--ya-burgundy);
  outline-offset:3px;
}

/* Особенности — спокойнее и компактнее */
.ya-features{
  gap:9px 10px;
  padding-top:12px;
}

.ya-feature{
  min-height:50px;
  padding:11px 12px 11px 38px;
  font-size:12.5px;
}

.ya-feature:before{
  left:12px;
  top:13px;
}

/* На результате телефон должен визуально быть главным действием */
.ya-lead{
  margin-top:30px;
  padding-top:27px;
}

@media(max-width:900px){
  .ya-preview-copy h1{
    max-width:580px;
    font-size:43px;
  }

  .ya-preview-shell{
    grid-template-columns:1fr;
    gap:34px;
  }
}

@media(max-width:640px){
  .ya-card{
    padding:28px 20px 27px;
  }

  .ya-section{
    margin-top:26px;
  }

  .ya-preview-copy h1{
    font-size:37px;
  }
}


/* ===== Automatically determined vehicle parameter ===== */

.ya-auto-parameter{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 16px;
  border:1px solid #dedad7;
  border-radius:3px;
  background:#faf8f7;
}

.ya-auto-parameter strong{
  color:#323033;
  font-size:16px;
  font-weight:400;
}

.ya-auto-parameter span{
  max-width:105px;
  color:var(--ya-burgundy);
  font-size:10px;
  line-height:1.25;
  text-align:right;
}

@media(max-width:640px){
  .ya-auto-parameter{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;
  }

  .ya-auto-parameter span{
    max-width:none;
    text-align:left;
  }
}


/* ===== Mileage slider V2 ===== */

.ya-mileage-slider{
  margin-top:13px;
}

.ya-mileage-range{
  display:block;
  width:100%;
  height:20px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  accent-color:var(--ya-burgundy);
}

.ya-mileage-range:focus{
  outline:none;
}

.ya-mileage-range:focus-visible{
  outline:1px solid var(--ya-burgundy);
  outline-offset:3px;
}

.ya-mileage-scale{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:1px;
  color:#9a9798;
  font-size:10px;
  line-height:1.3;
}

.ya-mileage-help{
  margin:6px 0 0;
  color:#999597;
  font-size:10px;
  line-height:1.4;
}

.ya-input[type="number"]{
  -moz-appearance:textfield;
}

.ya-input[type="number"]::-webkit-inner-spin-button,
.ya-input[type="number"]::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}


/* ===== Wide calculator + vehicle options V2.1 ===== */

/*
  На desktop калькулятор занимает почти всю полезную ширину страницы.
  Две колонки сохраняем только внутри самой формы.
*/

.ya-calc{
  max-width:1160px;
}

.ya-card{
  padding:54px 62px 50px;
}

.ya-title{
  font-size:46px;
}

.ya-subtitle{
  max-width:780px;
  font-size:16px;
}

.ya-section{
  margin-top:36px;
}

.ya-section + .ya-section{
  padding-top:30px;
}

.ya-grid{
  gap:22px 28px;
}

.ya-label-text{
  margin-bottom:9px;
  font-size:13px;
}

.ya-input,
.ya-select{
  height:64px;
  padding:0 18px;
  font-size:18px;
}

.ya-auto-parameter{
  min-height:64px;
  padding:0 18px;
}

.ya-auto-parameter strong{
  font-size:18px;
}

.ya-btn{
  min-height:64px;
  font-size:16px;
}

/* Дополнительные характеристики */

.ya-primary-params{
  margin-top:2px;
}

.ya-more-params-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:20px;
  padding:16px 0;
  border:0;
  border-top:1px solid var(--ya-line);
  border-bottom:1px solid var(--ya-line);
  background:transparent;
  color:var(--ya-text);
  cursor:pointer;
  font:inherit;
  text-align:left;
}

.ya-more-params-toggle strong{
  font-size:15px;
  font-weight:600;
}

.ya-more-params-toggle span{
  color:var(--ya-burgundy);
  font-size:13px;
  white-space:nowrap;
}

.ya-more-params-toggle:focus{
  outline:none;
}

.ya-more-params-toggle:focus-visible{
  outline:1px solid var(--ya-burgundy);
  outline-offset:3px;
}

.ya-more-params{
  display:none;
  margin-top:20px;
}

.ya-more-params.is-open{
  display:grid;
}

.ya-reset-params{
  display:block;
  margin:16px 0 0 auto;
  padding:0;
  border:0;
  border-bottom:1px solid #c8c4c5;
  background:transparent;
  color:#858184;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  line-height:1.6;
}

.ya-reset-params:hover{
  color:var(--ya-burgundy);
  border-color:var(--ya-burgundy);
}

/* Preview теперь не делится пополам */

.ya-preview-shell{
  display:block;
  width:min(1180px,calc(100% - 56px));
  min-height:100vh;
  padding:68px 0 78px;
}

.ya-preview-copy{
  max-width:960px;
  padding:0 6px 38px;
}

.ya-preview-copy h1{
  max-width:900px;
  margin-top:18px;
  font-size:58px;
  line-height:1.04;
}

.ya-preview-copy p{
  max-width:760px;
  margin-top:22px;
  font-size:17px;
  line-height:1.6;
}

.ya-preview-calculator{
  width:100%;
}

.ya-preview-points{
  max-width:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:28px 6px 0;
  border-top:1px solid rgba(255,255,255,.18);
}

.ya-preview-points div{
  padding:16px 18px 16px 0;
  border-bottom:1px solid rgba(255,255,255,.18);
  color:#d7bfc1;
  font:14px/1.4 Arial,sans-serif;
}

.ya-preview-points div + div{
  padding-left:22px;
  border-left:1px solid rgba(255,255,255,.12);
}

/* Планшет */

@media(max-width:900px){
  .ya-preview-shell{
    width:min(100% - 32px,820px);
    padding:46px 0 58px;
  }

  .ya-preview-copy{
    padding-bottom:30px;
  }

  .ya-preview-copy h1{
    max-width:760px;
    font-size:46px;
  }

  .ya-card{
    padding:40px 34px 38px;
  }

  .ya-title{
    font-size:40px;
  }
}

/* Телефон */

@media(max-width:640px){
  .ya-preview-shell{
    width:calc(100% - 24px);
    padding:32px 0 42px;
  }

  .ya-preview-copy{
    padding:0 4px 24px;
  }

  .ya-preview-copy h1{
    font-size:37px;
    line-height:1.06;
  }

  .ya-preview-copy p{
    margin-top:17px;
    font-size:15px;
  }

  .ya-card{
    padding:30px 20px 28px;
  }

  .ya-title{
    font-size:34px;
  }

  .ya-input,
  .ya-select{
    height:60px;
    font-size:17px;
  }

  .ya-auto-parameter{
    min-height:60px;
  }

  .ya-more-params{
    margin-top:16px;
  }

  .ya-preview-points{
    grid-template-columns:1fr;
    margin-top:22px;
  }

  .ya-preview-points div{
    padding:13px 0;
  }

  .ya-preview-points div + div{
    padding-left:0;
    border-left:0;
  }
}


/* ===== Year slider + popular selects V2.2 ===== */

.ya-year-slider{
  margin-top:13px;
}

.ya-mileage-range:disabled{
  opacity:.38;
  cursor:not-allowed;
}

.ya-select optgroup{
  font-weight:700;
}


/* ===== Custom make/model pickers V2.3 ===== */

.ya-vehicle-picker{
  position:relative;
}

.ya-native-picker-select{
  display:none !important;
}

.ya-picker-button{
  width:100%;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 18px;
  border:1px solid #dedad7;
  border-radius:3px;
  background:var(--ya-field);
  color:#323033;
  cursor:pointer;
  font:inherit;
  font-size:18px;
  text-align:left;
}

.ya-picker-button:focus{
  outline:none;
  border-color:var(--ya-burgundy);
  background:#fff;
}

.ya-picker-button:disabled{
  color:#aaa6a5;
  cursor:not-allowed;
}

.ya-picker-value{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ya-picker-arrow{
  flex:0 0 auto;
  font-size:24px;
  line-height:1;
}

.ya-vehicle-picker.is-open .ya-picker-arrow{
  transform:rotate(180deg);
}

.ya-picker-panel{
  position:absolute;
  z-index:1000;
  top:calc(100% + 7px);
  left:0;
  width:100%;
  max-height:430px;
  display:none;
  overflow:hidden;
  border:1px solid #d8d3d0;
  border-radius:4px;
  background:#fff;
  box-shadow:0 14px 34px rgba(45,35,37,.16);
}

.ya-vehicle-picker.is-open .ya-picker-panel{
  display:block;
}

.ya-picker-search-wrap{
  padding:12px;
  border-bottom:1px solid var(--ya-line);
}

.ya-picker-search{
  width:100%;
  height:46px;
  padding:0 14px;
  border:1px solid #ddd8d5;
  border-radius:3px;
  outline:none;
  background:#f7f4f2;
  color:#302e30;
  font:inherit;
  font-size:15px;
}

.ya-picker-search:focus{
  border-color:var(--ya-burgundy);
  background:#fff;
}

.ya-picker-options{
  max-height:360px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:5px 0 10px;
}

.ya-picker-group-title{
  padding:14px 16px 7px;
  color:#999395;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.ya-picker-option{
  width:100%;
  min-height:44px;
  display:block;
  padding:10px 16px;
  border:0;
  background:transparent;
  color:#363335;
  cursor:pointer;
  font:inherit;
  font-size:15px;
  line-height:1.3;
  text-align:left;
}

.ya-picker-option:hover,
.ya-picker-option:focus{
  outline:none;
  background:#f5f1ef;
}

.ya-picker-option.is-selected{
  color:var(--ya-burgundy);
  font-weight:700;
  background:#fbf5f5;
}

.ya-picker-group[hidden],
.ya-picker-option[hidden]{
  display:none !important;
}

@media(max-width:640px){
  .ya-picker-button{
    height:60px;
    font-size:17px;
  }

  .ya-picker-panel{
    max-height:390px;
  }

  .ya-picker-options{
    max-height:320px;
  }
}


/* ===== Final mobile polish V2.4 ===== */

@media(max-width:640px){

  .ya-preview-page{
    overflow-x:hidden;
  }

  .ya-preview-shell{
    width:calc(100% - 20px);
    padding:24px 0 34px;
  }

  .ya-preview-copy{
    padding:0 2px 20px;
  }

  .ya-preview-copy h1{
    max-width:none;
    font-size:32px;
    line-height:1.07;
    letter-spacing:-.025em;
  }

  .ya-preview-copy p{
    margin-top:14px;
    font-size:14px;
    line-height:1.5;
  }

  .ya-card{
    padding:24px 16px 24px;
  }

  .ya-eyebrow{
    margin-bottom:10px;
    font-size:11px;
  }

  .ya-title{
    font-size:30px;
    line-height:1.08;
  }

  .ya-subtitle{
    margin-top:14px;
    font-size:14px;
    line-height:1.5;
  }

  .ya-section{
    margin-top:24px;
  }

  .ya-section + .ya-section{
    padding-top:22px;
  }

  .ya-section-head{
    margin-bottom:13px;
  }

  .ya-grid,
  .ya-contact-grid{
    gap:14px;
  }

  .ya-label-text{
    font-size:12px;
  }

  .ya-input,
  .ya-select,
  .ya-picker-button{
    height:58px;
    font-size:16px;
  }

  .ya-auto-parameter{
    min-height:58px;
    font-size:15px;
  }

  .ya-picker-panel{
    max-height:62vh;
  }

  .ya-picker-search-wrap{
    padding:10px;
  }

  .ya-picker-search{
    height:44px;
    font-size:16px;
  }

  .ya-picker-options{
    max-height:calc(62vh - 66px);
    -webkit-overflow-scrolling:touch;
  }

  .ya-picker-group-title{
    padding:12px 14px 6px;
  }

  .ya-picker-option{
    min-height:46px;
    padding:12px 14px;
    font-size:16px;
  }

  .ya-mileage-range{
    height:24px;
  }

  .ya-mileage-help{
    font-size:12px;
    line-height:1.4;
  }

  .ya-more-params{
    margin-top:14px;
  }

  .ya-features-toggle{
    gap:12px;
    padding:14px 0;
  }

  .ya-features-toggle strong{
    font-size:14px;
  }

  .ya-features-toggle span{
    font-size:12px;
  }

  .ya-features{
    gap:8px;
  }

  .ya-feature{
    min-height:52px;
    padding:12px 12px 12px 38px;
    font-size:13px;
  }

  .ya-actions{
    margin-top:24px;
  }

  .ya-btn{
    min-height:56px;
    padding:14px 16px;
    font-size:16px;
  }

  .ya-loading-card{
    min-height:460px;
  }

  .ya-progress-number{
    font-size:52px;
  }

  .ya-loading-stage{
    font-size:22px;
  }

  .ya-price{
    font-size:34px;
    line-height:1.08;
  }

  .ya-result-card{
    padding-bottom:28px;
  }

  .ya-result-comment{
    font-size:14px;
  }

  .ya-lead{
    margin-top:24px;
    padding-top:22px;
  }

  .ya-result-footer{
    margin-top:20px;
  }
}

@media(max-width:380px){

  .ya-preview-copy h1{
    font-size:29px;
  }

  .ya-card{
    padding-left:14px;
    padding-right:14px;
  }

  .ya-title{
    font-size:28px;
  }
}

/* ===== Mobile text containment V2.5 ===== */

@media(max-width:640px){

  #yasno-auto-calculator,
  #yasno-auto-calculator .ya-calc,
  #yasno-auto-calculator .ya-card,
  #yasno-auto-calculator .ya-loading-card,
  #yasno-auto-calculator .ya-result-card{
    min-width:0;
    max-width:100%;
  }

  #yasno-auto-calculator .ya-title,
  #yasno-auto-calculator .ya-loading-stage,
  #yasno-auto-calculator .ya-loading-note,
  #yasno-auto-calculator .ya-result-comment,
  #yasno-auto-calculator .ya-info,
  #yasno-auto-calculator .ya-info strong,
  #yasno-auto-calculator .ya-info p,
  #yasno-auto-calculator .ya-lead,
  #yasno-auto-calculator .ya-lead-copy{
    min-width:0;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  #yasno-auto-calculator .ya-price{
    min-width:0;
    max-width:100%;
    font-size:clamp(27px,7.5vw,32px);
    line-height:1.12;
    letter-spacing:-.03em;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
  }
}

/* ===== Mobile price layout V2.6 ===== */

@media(max-width:640px){

  #yasno-auto-calculator .ya-price{
    display:block;
    max-width:100%;
    font-size:clamp(27px,7.2vw,31px);
    line-height:1.16;
    overflow:visible;
    white-space:normal;
  }

  #yasno-auto-calculator .ya-price-line{
    display:block;
    max-width:100%;
    white-space:nowrap;
  }

  #yasno-auto-calculator .ya-price-to{
    margin-top:3px;
  }
}


/* ===== Optional post-lead photos V2.7 ===== */

.ya-photo-before-note{
  margin:12px 0 0;
  font-size:12px;
  line-height:1.45;
  color:var(--ya-muted,#6b7280);
  text-align:center;
}

.ya-lead-success{
  width:100%;
}

.ya-lead-success-head{
  display:flex;
  align-items:flex-start;
  gap:13px;
}

.ya-lead-success-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#edf7f0;
  color:#25733d;
  font-size:19px;
  font-weight:800;
  line-height:1;
}

.ya-lead-success-title{
  margin:0;
  font-size:20px;
  line-height:1.2;
}

.ya-lead-success-copy{
  margin:6px 0 0;
  font-size:14px;
  line-height:1.5;
  color:var(--ya-muted,#6b7280);
}

.ya-photo-offer{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid var(--ya-border,#e6e1df);
}

.ya-photo-offer-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
}

.ya-photo-offer-copy{
  margin:8px 0 0;
  max-width:620px;
  font-size:14px;
  line-height:1.55;
  color:var(--ya-muted,#6b7280);
}

.ya-photo-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:48px;
  margin-top:16px;
  padding:11px 17px;
  border:1px solid var(--ya-border,#d9d4d1);
  border-radius:12px;
  background:#fff;
  color:var(--ya-text,#262222);
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.ya-photo-open:hover{
  border-color:var(--ya-burgundy,#7f2633);
  background:#fcf8f8;
}

.ya-photo-open:active{
  transform:translateY(1px);
}

.ya-photo-optional{
  margin-top:8px;
  font-size:12px;
  line-height:1.4;
  color:var(--ya-muted,#777);
}

.ya-photo-panel{
  margin-top:18px;
  padding:17px;
  border:1px solid var(--ya-border,#e5dfdc);
  border-radius:14px;
  background:#faf9f8;
}

.ya-photo-panel[hidden],
.ya-photo-send[hidden],
.ya-photo-open[hidden]{
  display:none !important;
}

.ya-photo-panel-head{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.ya-photo-panel-head strong{
  font-size:15px;
  line-height:1.35;
}

.ya-photo-panel-head span{
  font-size:12px;
  line-height:1.45;
  color:var(--ya-muted,#6b7280);
}

.ya-photo-picker{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  margin-top:14px;
  padding:12px 16px;
  border:1px dashed #bcb3af;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}

.ya-photo-picker:hover{
  border-color:var(--ya-burgundy,#7f2633);
  background:#fcf8f8;
}

.ya-photo-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.ya-photo-picker-text{
  font-size:14px;
  line-height:1.3;
  font-weight:700;
  color:var(--ya-burgundy,#7f2633);
}

.ya-photo-previews{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}

.ya-photo-previews:empty{
  display:none;
}

.ya-photo-thumb{
  position:relative;
  min-width:0;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:10px;
  background:#eee;
}

.ya-photo-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ya-photo-remove{
  position:absolute;
  top:5px;
  right:5px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(20,20,20,.72);
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.ya-photo-counter{
  margin-top:9px;
  font-size:12px;
  color:var(--ya-muted,#6b7280);
}

.ya-photo-message{
  min-height:0;
  margin-top:8px;
  font-size:12px;
  line-height:1.45;
}

.ya-photo-message:empty{
  display:none;
}

.ya-photo-message.is-error{
  color:#a52b38;
}

.ya-photo-message.is-success{
  color:#25733d;
}

.ya-photo-send{
  width:100%;
  margin-top:14px;
}

.ya-photo-reassurance{
  margin:11px 0 0;
  font-size:12px;
  line-height:1.45;
  color:var(--ya-muted,#6b7280);
  text-align:center;
}

.ya-photo-success{
  display:flex;
  align-items:flex-start;
  gap:11px;
}

.ya-photo-success-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#edf7f0;
  color:#25733d;
  font-size:17px;
  font-weight:800;
}

.ya-photo-success strong{
  display:block;
  font-size:15px;
  line-height:1.35;
}

.ya-photo-success p{
  margin:4px 0 0;
  font-size:13px;
  line-height:1.45;
  color:var(--ya-muted,#6b7280);
}

@media(max-width:640px){
  .ya-photo-before-note{
    margin-top:10px;
    padding:0 4px;
  }

  .ya-lead-success-head{
    gap:11px;
  }

  .ya-photo-offer{
    margin-top:20px;
    padding-top:20px;
  }

  .ya-photo-open{
    width:100%;
    min-height:52px;
  }

  .ya-photo-optional{
    text-align:center;
  }

  .ya-photo-panel{
    margin-left:-2px;
    margin-right:-2px;
    padding:14px;
  }

  .ya-photo-picker{
    min-height:56px;
  }

  .ya-photo-previews{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }

  .ya-photo-remove{
    width:28px;
    height:28px;
  }
}


/* ===== Photo offer emphasis V2.8 ===== */

.ya-photo-offer{
  margin-top:24px;
  padding:22px;
  border:1px solid #eadcdd;
  border-radius:16px;
  background:#fcf8f8;
}

.ya-photo-offer-title{
  font-size:20px;
  line-height:1.25;
}

.ya-photo-offer-copy{
  margin-top:9px;
  max-width:680px;
  color:#625d5d;
}

.ya-photo-open{
  min-height:52px;
  margin-top:18px;
  padding:13px 20px;
  border:1px solid var(--ya-burgundy,#7f2633);
  background:var(--ya-burgundy,#7f2633);
  color:#fff;
  box-shadow:0 5px 14px rgba(95,30,40,.12);
}

.ya-photo-open:hover{
  border-color:var(--ya-burgundy,#7f2633);
  background:var(--ya-burgundy,#7f2633);
  color:#fff;
  filter:brightness(.96);
}

.ya-photo-optional{
  margin-top:9px;
  color:#777;
}

.ya-photo-panel{
  border-color:#e2d6d6;
  background:#fff;
}

@media(max-width:640px){
  .ya-photo-offer{
    margin-top:20px;
    padding:18px 16px;
  }

  .ya-photo-offer-title{
    font-size:19px;
  }

  .ya-photo-open{
    width:100%;
    min-height:54px;
    font-size:15px;
  }
}

/* UX PREVIEW V1 */
.ya-preview-shell{width:min(900px,calc(100% - 32px));margin:auto;padding:32px 0 56px}
.ya-preview-copy,.ya-preview-calculator{max-width:820px;margin-left:auto;margin-right:auto}
.ya-preview-copy h1{font-size:clamp(40px,5vw,56px);line-height:1.06}
.ya-preview-copy p{font-size:20px;line-height:1.55}
#yasno-auto-calculator .ya-calc{max-width:900px}
.ya-card{padding:52px 56px}
.ya-title{font-size:44px;line-height:1.08}
.ya-subtitle{font-size:19px;line-height:1.55}
.ya-grid,.ya-contact-grid{grid-template-columns:1fr!important;gap:24px!important}
.ux-field-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.ux-step{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:30px;padding:0 10px;border-radius:999px;background:#f0e3e5;color:var(--ya-burgundy);font-size:14px;font-weight:700}
.ux-field-head .ya-label-text{margin:0!important;font-size:18px!important;font-weight:650}
.ya-label-text{font-size:18px;font-weight:650}
.ya-picker-button,.ya-input,.ya-select{height:72px;min-height:72px;border-radius:12px;font-size:21px}
.ya-picker-value{font-size:21px}
.ux-hint{margin:9px 2px 0;color:#6f6a6d;font-size:16px;line-height:1.4}
.ux-hint strong{color:var(--ya-burgundy)}
.ya-picker-search{height:56px;font-size:19px}
.ya-picker-option{min-height:54px;font-size:18px}
.ya-mileage-range{height:32px}
.ya-mileage-help,.ya-mileage-scale{font-size:15px}
.ya-btn{min-height:72px;border-radius:12px;font-size:20px;font-weight:700}
.ya-loading-card{min-height:540px}
.ya-vehicle-summary{font-size:18px}
.ya-progress-number{font-family:inherit;color:var(--ya-burgundy);font-size:20px;font-weight:700}
.ya-progress-number::before{content:"Шаг "}
.ya-progress-number::after{content:" из 4"}
.ya-progress-track{height:14px;border-radius:999px}
.ya-progress-bar{border-radius:999px;transition:width .55s ease}
.ya-loading-stage{font-size:34px}
.ya-loading-note{font-size:18px;line-height:1.5}
.ya-loading-percent{font-size:30px;font-weight:750;color:var(--ya-burgundy)}
.ya-result-card .ya-title{font-size:42px}
.ya-price{font-size:58px}
.ya-result-comment{font-size:18px;line-height:1.6}
.ux-price-reveal{animation:uxPrice 1.1s ease both}
@keyframes uxPrice{35%{transform:scale(1.015);background:#f5e9ea}100%{transform:scale(1);background:transparent}}
@media(max-width:640px){
 .ya-preview-shell{width:calc(100% - 16px);padding:16px 0 32px}
 .ya-preview-copy p{font-size:18px}
 .ya-card{padding:26px 16px}
 .ya-title{font-size:32px}.ya-subtitle{font-size:17px}
 .ux-field-head .ya-label-text,.ya-label-text{font-size:17px!important}
 .ya-picker-button,.ya-input,.ya-select{height:64px;min-height:64px;font-size:19px}
 .ya-picker-value{font-size:19px}.ux-hint{font-size:15px}
 .ya-btn{min-height:64px;font-size:18px}
 .ya-loading-stage{font-size:28px}.ya-loading-note{font-size:16px}
 #yasno-auto-calculator .ya-price{font-size:clamp(36px,10vw,44px);line-height:1.12}
}

/* ===== UX PREVIEW V2 — technical params visible + search hint before picker ===== */
#yasno-auto-calculator .ya-more-params-toggle{
  display:none!important;
}
#yasno-auto-calculator .ya-more-params{
  display:grid!important;
  margin-top:20px!important;
}
.ux-search-hint{
  margin:0 0 10px 2px;
  color:#676265;
  font-size:16px;
  line-height:1.45;
}
.ux-search-hint strong{
  color:var(--ya-burgundy);
  font-weight:700;
}
@media(max-width:640px){
  .ux-search-hint{
    margin-bottom:9px;
    font-size:15px;
    line-height:1.4;
  }
}


/* ===== UX PREVIEW V3 — readability and result polish ===== */

#yasno-auto-calculator .ya-section-note,
#yasno-auto-calculator .ya-mileage-help,
#yasno-auto-calculator .ya-mileage-scale,
#yasno-auto-calculator .ya-result-comment,
#yasno-auto-calculator .ya-info p,
#yasno-auto-calculator .ya-lead-copy,
#yasno-auto-calculator .ya-photo-before-note,
#yasno-auto-calculator .ya-reset-params,
#yasno-auto-calculator .ya-form-error{
  font-size:16px !important;
  line-height:1.5 !important;
}

#yasno-auto-calculator .ya-section-note{
  margin-top:5px;
}

#yasno-auto-calculator .ya-mileage-scale{
  line-height:1.35 !important;
}

#yasno-auto-calculator .ya-consent{
  gap:11px;
  font-size:15px !important;
  line-height:1.45 !important;
  cursor:pointer;
}

#yasno-auto-calculator .ya-consent input{
  width:21px !important;
  height:21px !important;
  min-width:21px;
  margin-top:1px;
  cursor:pointer;
}

#yasno-auto-calculator .ux-auto-note{
  font-size:14px !important;
  line-height:1.25 !important;
  color:#777174 !important;
  font-weight:600 !important;
}

#yasno-auto-calculator .ya-progress-track{
  height:14px !important;
}

#yasno-auto-calculator .ya-progress-bar{
  transition:width .12s linear !important;
}

#yasno-auto-calculator .ya-loading-percent{
  margin-top:24px;
  font-size:32px !important;
  line-height:1;
  font-weight:750;
  letter-spacing:0;
  color:var(--ya-burgundy);
}

#yasno-auto-calculator .ya-loading-note{
  font-size:18px !important;
  line-height:1.5 !important;
}

#yasno-auto-calculator .ux-edit-vehicle{
  display:inline-flex !important;
  align-items:center;
  min-height:48px;
  padding:0 16px !important;
  border:1px solid #c9c2c4 !important;
  border-radius:10px;
  background:#fff !important;
  color:#575255 !important;
  font-size:16px !important;
  font-weight:650 !important;
  text-decoration:none !important;
  cursor:pointer;
}

#yasno-auto-calculator .ux-edit-vehicle:hover{
  border-color:var(--ya-burgundy) !important;
  color:var(--ya-burgundy) !important;
}

#yasno-auto-calculator .ya-price{
  scroll-margin-top:24px;
}

@media(max-width:640px){
  #yasno-auto-calculator .ya-section-note,
  #yasno-auto-calculator .ya-mileage-help,
  #yasno-auto-calculator .ya-mileage-scale,
  #yasno-auto-calculator .ya-result-comment,
  #yasno-auto-calculator .ya-info p,
  #yasno-auto-calculator .ya-lead-copy,
  #yasno-auto-calculator .ya-photo-before-note,
  #yasno-auto-calculator .ya-reset-params,
  #yasno-auto-calculator .ya-consent,
  #yasno-auto-calculator .ya-form-error{
    font-size:15px !important;
    line-height:1.48 !important;
  }

  #yasno-auto-calculator .ux-auto-note{
    font-size:13px !important;
  }

  #yasno-auto-calculator .ya-loading-percent{
    font-size:30px !important;
  }

  #yasno-auto-calculator .ya-loading-note{
    font-size:16px !important;
  }

  #yasno-auto-calculator .ux-edit-vehicle{
    width:100%;
    justify-content:center;
    min-height:54px;
    font-size:16px !important;
  }
}

/* ===== UX PREVIEW V4 — final readability + marketing polish ===== */

.ux-marketing-hook{
  max-width:780px;
  font-size:20px!important;
  line-height:1.55!important;
}
.ux-marketing-hook strong{
  color:inherit;
  font-weight:750;
}
.ux-hook-time{
  display:block;
  margin-top:6px;
  font-size:17px;
  font-weight:650;
}

.ya-section-note,
.ya-mileage-help,
.ya-mileage-scale,
.ya-result-comment,
.ya-info p,
.ya-lead-copy,
.ya-lead-copy p,
.ya-consent,
.ya-photo-before-note{
  font-size:15px!important;
  line-height:1.55!important;
}

.ya-reset-params{
  font-size:14px!important;
  line-height:1.5!important;
  padding:5px 0!important;
}

.ya-consent{
  gap:10px!important;
  align-items:flex-start!important;
}
.ya-consent input{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  margin-top:1px!important;
}

.ux-auto-detected{
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  min-width:108px;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:650!important;
  color:#746f71!important;
}

.ya-price,
.ya-result-card{
  scroll-margin-top:110px;
}

#uxEditVehicleV4{
  min-height:46px;
  padding:10px 14px;
  font-size:15px;
  font-weight:650;
  cursor:pointer;
}

@media(max-width:640px){
  .ux-marketing-hook{
    font-size:18px!important;
    line-height:1.5!important;
  }
  .ux-hook-time{
    margin-top:7px;
    font-size:16px;
  }
  .ya-section-note,
  .ya-mileage-help,
  .ya-mileage-scale,
  .ya-result-comment,
  .ya-info p,
  .ya-lead-copy,
  .ya-lead-copy p,
  .ya-consent,
  .ya-photo-before-note{
    font-size:14px!important;
    line-height:1.5!important;
  }
  .ya-reset-params{
    font-size:13px!important;
  }
  .ux-auto-detected{
    min-width:100px;
    font-size:12px!important;
  }
  .ya-price,
  .ya-result-card{
    scroll-margin-top:92px;
  }
}


/* ===== UX PREVIEW V5 ===== */

.ux-v5-hero-copy{
  margin-top:24px;
  max-width:900px;
}

.ux-v5-hero-main{
  max-width:820px;
  margin-bottom:18px;
  color:rgba(255,255,255,.92);
  font-size:28px;
  line-height:1.42;
  font-weight:500;
}

.ux-v5-hero-main strong{
  color:#fff;
  font-weight:800;
}

.ux-v5-hero-highlight{
  display:inline-block;
  margin-bottom:14px;
  padding:13px 18px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:27px;
  line-height:1.3;
  font-weight:800;
}

.ux-v5-hero-time{
  display:block;
  width:max-content;
  max-width:100%;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.94);
  font-size:19px;
  line-height:1.35;
  font-weight:700;
}

.ya-subtitle,
.ya-section-note,
.ya-mileage-help,
.ya-mileage-scale,
.ya-result-comment,
.ya-info p,
.ya-lead-copy,
.ya-photo-before-note,
.ya-consent,
.ux-search-hint{
  font-size:16px !important;
  line-height:1.55 !important;
}

.ya-reset-params{
  font-size:14px !important;
}

.ux-auto-detected,
.ya-auto-badge{
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:650 !important;
}

.ya-consent input{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
}

@media(max-width:640px){

  .ux-v5-hero-copy{
    margin-top:20px;
  }

  .ux-v5-hero-main{
    margin-bottom:15px;
    font-size:22px;
    line-height:1.42;
  }

  .ux-v5-hero-highlight{
    display:block;
    margin-bottom:13px;
    padding:12px 14px;
    font-size:21px;
    line-height:1.32;
  }

  .ux-v5-hero-time{
    font-size:17px;
  }

  .ya-subtitle,
  .ya-section-note,
  .ya-mileage-help,
  .ya-mileage-scale,
  .ya-result-comment,
  .ya-info p,
  .ya-lead-copy,
  .ya-photo-before-note,
  .ya-consent,
  .ux-search-hint{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  .ya-reset-params{
    font-size:13px !important;
  }

  .ux-auto-detected,
  .ya-auto-badge{
    font-size:12px !important;
  }
}


/* ===== UX PREVIEW V7 — CALCULATOR ONLY ===== */

.ya-preview-shell{
  padding-top:28px !important;
}

.ya-preview-calculator{
  margin-top:0 !important;
}

@media(max-width:640px){
  .ya-preview-shell{
    padding-top:12px !important;
  }
}


/* ============================================================
   SERGEY FUNNEL PREVIEW V1
   ============================================================ */

.ya-sergey-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(126, 23, 36, .13);
  border-radius: 18px;
  background: #f8f6f3;
}

.ya-sergey-photo {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 16px;
  background: #ece8e4;
}

.ya-sergey-content {
  min-width: 0;
}

.ya-sergey-kicker {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #7e1724;
}

.ya-sergey-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #45413e;
}

.ya-sergey-copy strong {
  font-weight: 700;
  color: #242424;
}

.ya-result-disclaimer {
  margin: 14px 0 0;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f7f5f2;
  font-size: 14px;
  line-height: 1.5;
  color: #625e5a;
}

.ya-sergey-lead {
  margin-top: 24px;
}

.ya-sergey-lead-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ya-sergey-photo-result {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border-radius: 15px;
}

.ya-sergey-name {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #242424;
}

.ya-sergey-role {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: #77716c;
}

.ya-sergey-reassurance {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #77716c;
}


@media (max-width: 640px) {

  .ya-sergey-card {
    align-items: flex-start;
    gap: 13px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 15px;
  }

  .ya-sergey-photo {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    border-radius: 13px;
  }

  .ya-sergey-kicker {
    font-size: 13px;
  }

  .ya-sergey-copy {
    font-size: 13px;
    line-height: 1.48;
  }

  .ya-result-disclaimer {
    font-size: 13px;
  }

  .ya-sergey-photo-result {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .ya-sergey-name {
    font-size: 17px;
  }

}


/* ============================================================
   SERGEY FUNNEL PREVIEW V2 — LARGE PERSONAL BRAND BLOCK
   ============================================================ */

.ya-sergey-loading {
  display: grid;
  grid-template-columns:
    minmax(280px, .9fr)
    minmax(0, 1.25fr);

  align-items: stretch;
  gap: 0;

  margin-top: 30px;
  padding: 0;

  overflow: hidden;

  border-radius: 22px;

  background: #f8f6f3;
}

.ya-sergey-loading .ya-sergey-photo-wrap {
  position: relative;

  min-height: 310px;

  overflow: hidden;

  background: #e9e5e1;
}

.ya-sergey-loading .ya-sergey-photo {
  width: 100%;
  height: 100%;
  min-height: 310px;

  border-radius: 0;

  object-fit: cover;
  object-position: 42% 24%;

  transform: scale(1.28);
  transform-origin: 42% 28%;
}

.ya-sergey-loading .ya-sergey-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 34px 38px;
}

.ya-sergey-loading .ya-sergey-kicker {
  margin: 0 0 11px;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 700;

  color: #861b27;
}

.ya-sergey-heading {
  margin: 0 0 16px;

  max-width: 620px;

  font-size: 28px;
  line-height: 1.15;

  font-weight: 650;

  color: #242424;
}

.ya-sergey-loading .ya-sergey-copy {
  margin: 0;

  max-width: 650px;

  font-size: 17px;
  line-height: 1.55;

  color: #45413e;
}

.ya-sergey-note {
  margin: 17px 0 0;

  max-width: 620px;

  font-size: 14px;
  line-height: 1.45;

  color: #77716c;
}


/* Desktop: сам loading-блок должен быть заметным,
   но прогресс остаётся первым элементом. */

@media (min-width: 900px) {

  .ya-sergey-loading {
    min-height: 310px;
  }

}


/* Tablet */

@media (
  min-width: 641px
) and (
  max-width: 899px
) {

  .ya-sergey-loading {
    grid-template-columns:
      minmax(230px, .8fr)
      minmax(0, 1.2fr);
  }

  .ya-sergey-loading .ya-sergey-photo-wrap,
  .ya-sergey-loading .ya-sergey-photo {
    min-height: 280px;
  }

  .ya-sergey-loading .ya-sergey-content {
    padding: 26px 28px;
  }

  .ya-sergey-heading {
    font-size: 24px;
  }

  .ya-sergey-loading .ya-sergey-copy {
    font-size: 15px;
  }

}


/* Mobile */

@media (max-width: 640px) {

  .ya-sergey-loading {
    display: block;

    margin-top: 22px;

    border-radius: 17px;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    height: 210px;
    min-height: 0;
  }

  .ya-sergey-loading .ya-sergey-photo {
    height: 210px;
    min-height: 0;

    object-position: 42% 25%;

    transform: scale(1.22);
  }

  .ya-sergey-loading .ya-sergey-content {
    padding: 20px 20px 22px;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    font-size: 13px;
  }

  .ya-sergey-heading {
    margin-bottom: 11px;

    font-size: 21px;
  }

  .ya-sergey-loading .ya-sergey-copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .ya-sergey-note {
    margin-top: 13px;

    font-size: 12px;
  }

}


/* ============================================================
   SERGEY FUNNEL PREVIEW V3
   compact 100% desktop composition
   ============================================================ */


/* ------------------------------------------------------------
   CALCULATION AREA — SMALLER AT REAL 100% ZOOM
   ------------------------------------------------------------ */

.ya-loading-card{
  padding:
    36px
    48px
    34px
    !important;
}

.ya-loading-card .ya-title{
  margin-bottom:
    12px
    !important;

  font-size:
    52px
    !important;

  line-height:
    1.06
    !important;
}

.ya-loading-card .ya-vehicle-summary{
  font-size:
    18px
    !important;

  line-height:
    1.4
    !important;
}

.ya-loading-card .ya-progress-wrap{
  margin-top:
    28px
    !important;
}

.ya-loading-card .ya-progress-number{
  margin-bottom:
    10px
    !important;

  font-size:
    20px
    !important;

  line-height:
    1.25
    !important;
}

.ya-loading-card .ya-loading-stage{
  margin:
    18px
    0
    6px
    !important;

  font-size:
    27px
    !important;

  line-height:
    1.18
    !important;
}

.ya-loading-card .ya-loading-note{
  margin:
    0
    !important;

  font-size:
    15px
    !important;

  line-height:
    1.4
    !important;
}

.ya-loading-card .ya-loading-percent{
  margin-top:
    12px
    !important;

  font-size:
    34px
    !important;

  line-height:
    1
    !important;
}


/* ------------------------------------------------------------
   SERGEY CARD — PHOTO ABOVE, NOT A GIANT BANNER
   ------------------------------------------------------------ */

.ya-sergey-loading{
  display:
    block
    !important;

  max-width:
    760px;

  min-height:
    0
    !important;

  margin:
    18px
    auto
    0
    !important;

  padding:
    16px
    20px
    18px
    !important;

  overflow:
    visible
    !important;

  border-radius:
    18px
    !important;

  background:
    #f8f6f3
    !important;
}


/* Photo is deliberately above the text.
   1400×540 source is displayed without additional crop. */

.ya-sergey-loading .ya-sergey-photo-wrap{
  width:
    min(100%, 420px)
    !important;

  min-height:
    0
    !important;

  aspect-ratio:
    1400 / 540;

  margin:
    0 auto 13px
    !important;

  overflow:
    hidden;

  border-radius:
    15px;

  background:
    #ece8e4;
}

.ya-sergey-loading .ya-sergey-photo{
  width:
    100%
    !important;

  height:
    100%
    !important;

  min-height:
    0
    !important;

  display:
    block;

  object-fit:
    cover
    !important;

  object-position:
    center center
    !important;

  border-radius:
    0
    !important;

  transform:
    none
    !important;
}


/* ------------------------------------------------------------
   SERGEY TEXT
   ------------------------------------------------------------ */

.ya-sergey-loading .ya-sergey-content{
  display:
    block
    !important;

  max-width:
    650px;

  margin:
    0 auto;

  padding:
    0
    !important;
}

.ya-sergey-loading .ya-sergey-kicker{
  margin:
    0 0 6px
    !important;

  text-align:
    center;

  font-size:
    13px
    !important;

  line-height:
    1.3
    !important;
}

.ya-sergey-loading .ya-sergey-heading{
  margin:
    0 0 8px
    !important;

  text-align:
    center;

  font-size:
    20px
    !important;

  line-height:
    1.2
    !important;
}

.ya-sergey-loading .ya-sergey-copy{
  margin:
    0
    !important;

  font-size:
    14px
    !important;

  line-height:
    1.48
    !important;

  color:
    #45413e;
}

.ya-sergey-loading .ya-sergey-note{
  margin:
    8px 0 0
    !important;

  font-size:
    12px
    !important;

  line-height:
    1.4
    !important;

  color:
    #77716c;
}


/* ------------------------------------------------------------
   RESULT PERSON — FULL NAME
   ------------------------------------------------------------ */

.ya-sergey-name{
  font-size:
    17px
    !important;
}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (
  min-width: 641px
) and (
  max-width: 900px
){

  .ya-loading-card{
    padding:
      30px
      32px
      30px
      !important;
  }

  .ya-loading-card .ya-title{
    font-size:
      45px
      !important;
  }

  .ya-loading-card .ya-loading-stage{
    font-size:
      24px
      !important;
  }

  .ya-sergey-loading{
    max-width:
      680px;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap{
    width:
      min(100%, 380px)
      !important;
  }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 640px){

  .ya-loading-card{
    padding:
      24px
      18px
      24px
      !important;
  }

  .ya-loading-card .ya-title{
    font-size:
      34px
      !important;
  }

  .ya-loading-card .ya-vehicle-summary{
    font-size:
      15px
      !important;
  }

  .ya-loading-card .ya-progress-wrap{
    margin-top:
      22px
      !important;
  }

  .ya-loading-card .ya-progress-number{
    font-size:
      17px
      !important;
  }

  .ya-loading-card .ya-loading-stage{
    margin-top:
      14px
      !important;

    font-size:
      21px
      !important;
  }

  .ya-loading-card .ya-loading-note{
    font-size:
      13px
      !important;
  }

  .ya-loading-card .ya-loading-percent{
    font-size:
      29px
      !important;
  }

  .ya-sergey-loading{
    margin-top:
      15px
      !important;

    padding:
      13px
      13px
      15px
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap{
    width:
      100%
      !important;

    max-width:
      360px;
  }

  .ya-sergey-loading .ya-sergey-heading{
    font-size:
      18px
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy{
    font-size:
      13px
      !important;
  }

}


/* ============================================================
   SERGEY FUNNEL PREVIEW V5
   Sergey first / progress second / editorial styling
   ============================================================ */


/* ------------------------------------------------------------
   DESKTOP — NORMAL SIZE AT 100% ZOOM
   ------------------------------------------------------------ */

@media (min-width: 901px) {

  .ya-loading-card {
    padding:
      30px
      42px
      32px
      !important;
  }

  .ya-loading-card .ya-eyebrow {
    margin:
      0 0 12px
      !important;

    font-size:
      12px
      !important;

    letter-spacing:
      .11em
      !important;
  }

  .ya-loading-card .ya-title {
    margin:
      0 0 12px
      !important;

    font-size:
      43px
      !important;

    line-height:
      1.04
      !important;
  }

  .ya-loading-card .ya-vehicle-summary {
    margin:
      0
      !important;

    font-size:
      16px
      !important;

    line-height:
      1.35
      !important;
  }


  /* ----------------------------------------------------------
     SERGEY — NO ROUNDED UI CARD
     ---------------------------------------------------------- */

  .ya-sergey-loading {
    display:
      block
      !important;

    max-width:
      690px
      !important;

    min-height:
      0
      !important;

    margin:
      22px 0 0
      !important;

    padding:
      0 0 20px
      !important;

    overflow:
      visible
      !important;

    border:
      0
      !important;

    border-bottom:
      1px solid #e3dfdb
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    box-shadow:
      none
      !important;
  }


  /* PHOTO — STRAIGHT EDGES */

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      560px
      !important;

    height:
      205px
      !important;

    min-height:
      0
      !important;

    margin:
      0 0 13px
      !important;

    overflow:
      hidden
      !important;

    border:
      0
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo {
    display:
      block
      !important;

    width:
      100%
      !important;

    height:
      100%
      !important;

    min-height:
      0
      !important;

    object-fit:
      cover
      !important;

    object-position:
      center center
      !important;

    border:
      0
      !important;

    border-radius:
      0
      !important;

    transform:
      none
      !important;
  }


  /* COPY — LEFT ALIGNED, EDITORIAL */

  .ya-sergey-loading .ya-sergey-content {
    display:
      block
      !important;

    max-width:
      650px
      !important;

    margin:
      0
      !important;

    padding:
      0
      !important;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    margin:
      0 0 5px
      !important;

    text-align:
      left
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.3
      !important;

    font-weight:
      700
      !important;

    color:
      #8b1c27
      !important;
  }

  .ya-sergey-loading .ya-sergey-heading {
    margin:
      0 0 7px
      !important;

    max-width:
      650px
      !important;

    text-align:
      left
      !important;

    font-size:
      20px
      !important;

    line-height:
      1.2
      !important;

    font-weight:
      600
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy {
    margin:
      0
      !important;

    max-width:
      650px
      !important;

    font-size:
      14px
      !important;

    line-height:
      1.47
      !important;

    color:
      #4d4946
      !important;
  }

  .ya-sergey-loading .ya-sergey-note {
    display:
      none
      !important;
  }


  /* ----------------------------------------------------------
     PROGRESS — NOW SECONDARY
     ---------------------------------------------------------- */

  .ya-loading-card .ya-progress-wrap {
    margin:
      19px 0 0
      !important;

    padding:
      0
      !important;
  }

  .ya-loading-card .ya-progress-number {
    margin:
      0 0 7px
      !important;

    font-size:
      16px
      !important;

    line-height:
      1.25
      !important;
  }

  .ya-loading-card .ya-progress-track {
    height:
      8px
      !important;

    margin:
      0
      !important;
  }

  .ya-loading-card .ya-loading-stage {
    margin:
      12px 0 3px
      !important;

    font-size:
      21px
      !important;

    line-height:
      1.18
      !important;
  }

  .ya-loading-card .ya-loading-note {
    margin:
      0
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.35
      !important;
  }

  .ya-loading-card .ya-loading-percent {
    margin:
      7px 0 0
      !important;

    font-size:
      27px
      !important;

    line-height:
      1
      !important;
  }

}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (
  min-width: 641px
) and (
  max-width: 900px
) {

  .ya-loading-card {
    padding:
      28px
      30px
      !important;
  }

  .ya-loading-card .ya-title {
    font-size:
      40px
      !important;
  }

  .ya-sergey-loading {
    margin-top:
      19px
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      500px
      !important;

    max-width:
      100%
      !important;

    height:
      auto
      !important;

    aspect-ratio:
      2.2 / 1;

    margin:
      0 0 12px
      !important;

    border-radius:
      0
      !important;
  }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 640px) {

  .ya-loading-card {
    padding:
      22px
      18px
      24px
      !important;
  }

  .ya-loading-card .ya-title {
    margin-bottom:
      9px
      !important;

    font-size:
      32px
      !important;
  }

  .ya-loading-card .ya-vehicle-summary {
    font-size:
      14px
      !important;
  }

  .ya-sergey-loading {
    display:
      block
      !important;

    margin:
      17px 0 0
      !important;

    padding:
      0 0 16px
      !important;

    border:
      0
      !important;

    border-bottom:
      1px solid #e3dfdb
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    box-shadow:
      none
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      100%
      !important;

    height:
      auto
      !important;

    min-height:
      0
      !important;

    aspect-ratio:
      2.2 / 1;

    margin:
      0 0 11px
      !important;

    border-radius:
      0
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo {
    min-height:
      0
      !important;

    border-radius:
      0
      !important;

    transform:
      none
      !important;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    margin-bottom:
      4px
      !important;

    text-align:
      left
      !important;

    font-size:
      12px
      !important;
  }

  .ya-sergey-loading .ya-sergey-heading {
    margin-bottom:
      6px
      !important;

    text-align:
      left
      !important;

    font-size:
      18px
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy {
    font-size:
      13px
      !important;

    line-height:
      1.45
      !important;
  }

  .ya-loading-card .ya-progress-wrap {
    margin-top:
      16px
      !important;
  }

  .ya-loading-card .ya-progress-number {
    font-size:
      15px
      !important;
  }

  .ya-loading-card .ya-loading-stage {
    margin-top:
      10px
      !important;

    font-size:
      19px
      !important;
  }

  .ya-loading-card .ya-loading-percent {
    margin-top:
      6px
      !important;

    font-size:
      25px
      !important;
  }

}


/* ============================================================
   SERGEY FUNNEL PREVIEW V6
   everything important visible in one viewport
   ============================================================ */


@media (min-width: 901px) {


  /* ----------------------------------------------------------
     WHOLE CALCULATOR — NORMAL 100% SCALE
     ---------------------------------------------------------- */

  .ya-loading-card {
    padding:
      24px
      38px
      26px
      !important;
  }

  .ya-loading-card .ya-eyebrow {
    margin:
      0 0 8px
      !important;

    font-size:
      11px
      !important;
  }

  .ya-loading-card .ya-title {
    margin:
      0 0 8px
      !important;

    font-size:
      38px
      !important;

    line-height:
      1.05
      !important;
  }

  .ya-loading-card .ya-vehicle-summary {
    margin:
      0
      !important;

    font-size:
      15px
      !important;
  }


  /* ----------------------------------------------------------
     SERGEY — COMPACT EDITORIAL ROW
     ---------------------------------------------------------- */

  .ya-sergey-loading {
    display:
      grid
      !important;

    grid-template-columns:
      255px
      minmax(0, 1fr)
      !important;

    align-items:
      center
      !important;

    gap:
      22px
      !important;

    width:
      100%
      !important;

    max-width:
      820px
      !important;

    min-height:
      0
      !important;

    margin:
      18px 0 0
      !important;

    padding:
      0 0 17px
      !important;

    border:
      0
      !important;

    border-bottom:
      1px solid #dedad6
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    box-shadow:
      none
      !important;
  }


  /* PHOTO */

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      255px
      !important;

    height:
      176px
      !important;

    min-height:
      0
      !important;

    margin:
      0
      !important;

    overflow:
      hidden
      !important;

    border:
      0
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    aspect-ratio:
      auto
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo {
    display:
      block
      !important;

    width:
      100%
      !important;

    height:
      100%
      !important;

    min-height:
      0
      !important;

    object-fit:
      cover
      !important;

    object-position:
      center 42%
      !important;

    border:
      0
      !important;

    border-radius:
      0
      !important;

    transform:
      none
      !important;
  }


  /* TEXT */

  .ya-sergey-loading .ya-sergey-content {
    display:
      block
      !important;

    max-width:
      500px
      !important;

    margin:
      0
      !important;

    padding:
      0
      !important;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    margin:
      0 0 5px
      !important;

    text-align:
      left
      !important;

    font-size:
      12px
      !important;

    line-height:
      1.25
      !important;
  }

  .ya-sergey-loading .ya-sergey-heading {
    margin:
      0 0 7px
      !important;

    text-align:
      left
      !important;

    font-size:
      19px
      !important;

    line-height:
      1.17
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy {
    margin:
      0
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.43
      !important;
  }


  /* ----------------------------------------------------------
     PROGRESS — ALWAYS VISIBLE IMMEDIATELY BELOW SERGEY
     ---------------------------------------------------------- */

  .ya-loading-card .ya-progress-wrap {
    display:
      grid
      !important;

    grid-template-columns:
      1fr
      auto
      !important;

    column-gap:
      20px
      !important;

    align-items:
      end
      !important;

    margin:
      14px 0 0
      !important;

    padding:
      0
      !important;
  }

  .ya-loading-card .ya-progress-number {
    grid-column:
      1
      !important;

    grid-row:
      1
      !important;

    margin:
      0 0 6px
      !important;

    font-size:
      15px
      !important;

    line-height:
      1.2
      !important;
  }

  .ya-loading-card .ya-loading-percent {
    grid-column:
      2
      !important;

    grid-row:
      1
      !important;

    margin:
      0 0 6px
      !important;

    font-size:
      22px
      !important;

    line-height:
      1
      !important;
  }

  .ya-loading-card .ya-progress-track {
    grid-column:
      1 / -1
      !important;

    grid-row:
      2
      !important;

    height:
      7px
      !important;

    margin:
      0
      !important;
  }

  .ya-loading-card .ya-loading-stage {
    grid-column:
      1 / -1
      !important;

    grid-row:
      3
      !important;

    margin:
      9px 0 2px
      !important;

    font-size:
      18px
      !important;

    line-height:
      1.18
      !important;
  }

  .ya-loading-card .ya-loading-note {
    grid-column:
      1 / -1
      !important;

    grid-row:
      4
      !important;

    margin:
      0
      !important;

    font-size:
      12px
      !important;

    line-height:
      1.3
      !important;
  }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (
  min-width: 641px
) and (
  max-width: 900px
) {

  .ya-sergey-loading {
    display:
      grid
      !important;

    grid-template-columns:
      210px
      1fr
      !important;

    gap:
      18px
      !important;

    padding:
      0 0 15px
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      210px
      !important;

    height:
      155px
      !important;

    margin:
      0
      !important;

    aspect-ratio:
      auto
      !important;

    border-radius:
      0
      !important;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

  .ya-loading-card {
    padding:
      20px
      16px
      22px
      !important;
  }

  .ya-loading-card .ya-title {
    font-size:
      30px
      !important;
  }

  .ya-sergey-loading {
    display:
      grid
      !important;

    grid-template-columns:
      105px
      minmax(0, 1fr)
      !important;

    align-items:
      start
      !important;

    gap:
      13px
      !important;

    margin:
      15px 0 0
      !important;

    padding:
      0 0 14px
      !important;

    border:
      0
      !important;

    border-bottom:
      1px solid #dedad6
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    box-shadow:
      none
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      105px
      !important;

    height:
      125px
      !important;

    margin:
      0
      !important;

    aspect-ratio:
      auto
      !important;

    border-radius:
      0
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo {
    object-position:
      center 40%
      !important;

    border-radius:
      0
      !important;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    font-size:
      11px
      !important;
  }

  .ya-sergey-loading .ya-sergey-heading {
    margin-bottom:
      5px
      !important;

    font-size:
      16px
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy {
    font-size:
      12px
      !important;

    line-height:
      1.37
      !important;
  }

  .ya-loading-card .ya-progress-wrap {
    margin-top:
      13px
      !important;
  }

}


/* ============================================================
   SERGEY FUNNEL PREVIEW V7
   final cosmetic pass
   ============================================================ */

@media (min-width: 901px) {

  /* Slightly smaller at real 100% browser zoom */

  .ya-loading-card {
    padding:
      22px
      36px
      24px
      !important;
  }

  .ya-loading-card .ya-title {
    margin-bottom:
      7px
      !important;

    font-size:
      35px
      !important;

    line-height:
      1.05
      !important;
  }

  .ya-loading-card .ya-vehicle-summary {
    font-size:
      14px
      !important;
  }


  /* Sergey stays the first visual focus */

  .ya-sergey-loading {
    margin-top:
      16px
      !important;

    padding-bottom:
      15px
      !important;

    gap:
      20px
      !important;
  }

  .ya-sergey-loading .ya-sergey-photo-wrap {
    width:
      245px
      !important;

    height:
      168px
      !important;
  }

  .ya-sergey-loading .ya-sergey-kicker {
    font-size:
      12px
      !important;
  }

  .ya-sergey-loading .ya-sergey-heading {
    font-size:
      18px
      !important;
  }

  .ya-sergey-loading .ya-sergey-copy {
    font-size:
      13px
      !important;

    line-height:
      1.40
      !important;
  }


  /* Progress remains obvious but does not dominate Sergey */

  .ya-loading-card .ya-progress-wrap {
    margin-top:
      12px
      !important;
  }

  .ya-loading-card .ya-progress-number {
    margin-bottom:
      5px
      !important;

    font-size:
      14px
      !important;
  }

  .ya-loading-card .ya-loading-percent {
    margin-bottom:
      5px
      !important;

    font-size:
      18px
      !important;

    font-weight:
      700
      !important;
  }

  .ya-loading-card .ya-progress-track {
    height:
      6px
      !important;
  }

  .ya-loading-card .ya-loading-stage {
    margin:
      8px 0 2px
      !important;

    font-size:
      17px
      !important;
  }

  .ya-loading-card .ya-loading-note {
    font-size:
      12px
      !important;
  }

}


/* ============================================================
   PRE-CALC COMPACT V8
   Only the form BEFORE calculation.
   Loading / result screens are intentionally untouched.
   ============================================================ */

@media (min-width: 901px) {

  /* Card itself: less empty space */
  .ya-form-card {
    padding:
      36px
      44px
      38px
      !important;
  }


  /* Intro */
  .ya-form-card > .ya-eyebrow {
    margin:
      0 0 8px
      !important;

    font-size:
      11px
      !important;
  }

  .ya-form-card > .ya-title {
    margin:
      0
      !important;

    font-size:
      36px
      !important;

    line-height:
      1.07
      !important;
  }

  .ya-form-card > .ya-subtitle {
    max-width:
      760px;

    margin:
      10px 0 0
      !important;

    font-size:
      16px
      !important;

    line-height:
      1.45
      !important;
  }


  /* Main sections */
  .ya-form-card > .ya-section {
    margin-top:
      25px
      !important;
  }

  .ya-form-card .ya-section + .ya-section {
    margin-top:
      23px
      !important;
  }

  .ya-form-card .ya-section-head {
    margin-bottom:
      12px
      !important;
  }

  .ya-form-card .ya-section-title {
    font-size:
      12px
      !important;

    line-height:
      1.3
      !important;
  }

  .ya-form-card .ya-section-note {
    margin-top:
      4px
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.4
      !important;
  }


  /* Less vertical distance between car fields */
  .ya-form-card .ya-grid {
    gap:
      17px
      !important;
  }

  .ya-form-card .ya-label {
    margin:
      0
      !important;
  }


  /* Labels */
  .ya-form-card .ya-label-text,
  .ya-form-card .ux-field-head .ya-label-text {
    font-size:
      16px
      !important;

    line-height:
      1.25
      !important;

    font-weight:
      650
      !important;
  }

  .ya-form-card .ux-field-head {
    margin-bottom:
      7px
      !important;
  }


  /* Inputs: still comfortably clickable, but not 72px tall */
  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      60px
      !important;

    min-height:
      60px
      !important;

    border-radius:
      8px
      !important;

    font-size:
      18px
      !important;
  }


  /* Sliders and helper copy */
  .ya-form-card .ya-year-slider,
  .ya-form-card .ya-mileage-slider {
    margin-top:
      7px
      !important;
  }

  .ya-form-card .ya-mileage-range {
    height:
      26px
      !important;
  }

  .ya-form-card .ya-mileage-scale {
    margin-top:
      0
      !important;

    font-size:
      13px
      !important;
  }

  .ya-form-card .ya-mileage-help {
    margin-top:
      3px
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.35
      !important;
  }


  /* Optional features */
  .ya-form-card .ya-features-toggle {
    min-height:
      54px
      !important;

    padding:
      12px 15px
      !important;

    border-radius:
      8px
      !important;

    font-size:
      15px
      !important;
  }


  /* Calculate button area */
  .ya-form-card .ya-actions {
    margin-top:
      24px
      !important;
  }

  .ya-form-card #calculate {
    min-height:
      56px
      !important;

    font-size:
      17px
      !important;
  }

}


/* Tablet: mild compaction only */
@media (
  min-width: 641px
) and (
  max-width: 900px
) {

  .ya-form-card {
    padding:
      28px
      26px
      30px
      !important;
  }

  .ya-form-card > .ya-title {
    font-size:
      32px
      !important;
  }

  .ya-form-card > .ya-subtitle {
    margin-top:
      9px
      !important;

    font-size:
      15px
      !important;
  }

  .ya-form-card > .ya-section {
    margin-top:
      23px
      !important;
  }

  .ya-form-card .ya-grid {
    gap:
      16px
      !important;
  }

  .ya-form-card .ya-label-text,
  .ya-form-card .ux-field-head .ya-label-text {
    font-size:
      16px
      !important;
  }

  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      58px
      !important;

    min-height:
      58px
      !important;

    font-size:
      17px
      !important;
  }

}


/* Mobile:
   keep comfortable touch targets; only remove excess whitespace */
@media (max-width: 640px) {

  .ya-form-card {
    padding:
      22px
      16px
      24px
      !important;
  }

  .ya-form-card > .ya-title {
    font-size:
      30px
      !important;
  }

  .ya-form-card > .ya-subtitle {
    margin-top:
      8px
      !important;

    font-size:
      15px
      !important;
  }

  .ya-form-card > .ya-section {
    margin-top:
      21px
      !important;
  }

  .ya-form-card .ya-grid {
    gap:
      15px
      !important;
  }

  .ya-form-card .ya-label-text,
  .ya-form-card .ux-field-head .ya-label-text {
    font-size:
      16px
      !important;
  }

  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      56px
      !important;

    min-height:
      56px
      !important;

    font-size:
      17px
      !important;
  }

}


/* ============================================================
   PRE-CALC COMPACT V9
   Final desktop density pass.
   Loading / Sergey / result remain untouched.
   ============================================================ */

@media (min-width: 901px) {

  .ya-form-card {
    padding:
      30px
      40px
      34px
      !important;
  }

  .ya-form-card > .ya-eyebrow {
    margin-bottom:
      6px
      !important;

    font-size:
      10px
      !important;
  }

  .ya-form-card > .ya-title {
    font-size:
      33px
      !important;

    line-height:
      1.06
      !important;
  }

  .ya-form-card > .ya-subtitle {
    max-width:
      730px;

    margin-top:
      8px
      !important;

    font-size:
      15px
      !important;

    line-height:
      1.42
      !important;
  }


  /* Sections closer together */
  .ya-form-card > .ya-section {
    margin-top:
      20px
      !important;
  }

  .ya-form-card .ya-section + .ya-section {
    margin-top:
      19px
      !important;
  }

  .ya-form-card .ya-section-head {
    margin-bottom:
      9px
      !important;
  }

  .ya-form-card .ya-section-title {
    font-size:
      11px
      !important;
  }


  /* Main vertical rhythm */
  .ya-form-card .ya-grid {
    gap:
      11px
      !important;
  }

  .ya-form-card .ux-field-head {
    margin-bottom:
      5px
      !important;
  }

  .ya-form-card .ya-label-text,
  .ya-form-card .ux-field-head .ya-label-text {
    font-size:
      15px
      !important;

    line-height:
      1.22
      !important;
  }


  /* Step pills slightly smaller */
  .ya-form-card .ux-step,
  .ya-form-card .ya-step,
  .ya-form-card [class*="step-badge"] {
    font-size:
      13px
      !important;
  }


  /* Helper copy tighter */
  .ya-form-card .ux-field-note,
  .ya-form-card .ya-field-note {
    margin:
      4px 0 6px
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.3
      !important;
  }


  /* Fields: still comfortable */
  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      55px
      !important;

    min-height:
      55px
      !important;

    padding-top:
      0
      !important;

    padding-bottom:
      0
      !important;

    border-radius:
      7px
      !important;

    font-size:
      17px
      !important;
  }


  /* Slider blocks */
  .ya-form-card .ya-year-slider,
  .ya-form-card .ya-mileage-slider {
    margin-top:
      5px
      !important;
  }

  .ya-form-card .ya-mileage-range {
    height:
      23px
      !important;
  }

  .ya-form-card .ya-mileage-scale {
    font-size:
      12px
      !important;
  }

  .ya-form-card .ya-mileage-help {
    margin-top:
      2px
      !important;

    font-size:
      12px
      !important;

    line-height:
      1.3
      !important;
  }


  /* Optional features */
  .ya-form-card .ya-features-toggle {
    min-height:
      50px
      !important;

    padding:
      10px 14px
      !important;

    font-size:
      14px
      !important;
  }


  /* CTA */
  .ya-form-card .ya-actions {
    margin-top:
      20px
      !important;
  }

  .ya-form-card #calculate {
    min-height:
      54px
      !important;

    font-size:
      16px
      !important;
  }

}


/* Tablet: light final tightening */
@media (
  min-width: 641px
) and (
  max-width: 900px
) {

  .ya-form-card {
    padding:
      25px
      22px
      27px
      !important;
  }

  .ya-form-card > .ya-title {
    font-size:
      30px
      !important;
  }

  .ya-form-card > .ya-subtitle {
    font-size:
      14px
      !important;
  }

  .ya-form-card > .ya-section {
    margin-top:
      19px
      !important;
  }

  .ya-form-card .ya-grid {
    gap:
      12px
      !important;
  }

  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      54px
      !important;

    min-height:
      54px
      !important;

    font-size:
      16px
      !important;
  }

}


/* Mobile:
   touch targets remain safely large */
@media (max-width: 640px) {

  .ya-form-card {
    padding:
      20px
      14px
      22px
      !important;
  }

  .ya-form-card > .ya-title {
    font-size:
      28px
      !important;
  }

  .ya-form-card > .ya-subtitle {
    font-size:
      14px
      !important;
  }

  .ya-form-card > .ya-section {
    margin-top:
      18px
      !important;
  }

  .ya-form-card .ya-grid {
    gap:
      12px
      !important;
  }

  .ya-form-card .ya-picker-button,
  .ya-form-card .ya-input,
  .ya-form-card .ya-select {
    height:
      54px
      !important;

    min-height:
      54px
      !important;

    font-size:
      16px
      !important;
  }

}


/* ============================================================
   RESULT CONVERSION V10
   Price + Sergey + phone + CTA in first desktop viewport.
   Pre-calc and loading screens are untouched.
   ============================================================ */


/* ------------------------------------------------------------
   DESKTOP
   ------------------------------------------------------------ */

@media (min-width: 901px) {

  .ya-result-card {
    padding:
      28px
      40px
      30px
      !important;
  }


  /* Header */
  .ya-result-card > .ya-eyebrow {
    margin:
      0 0 7px
      !important;

    font-size:
      10px
      !important;
  }

  .ya-result-card > .ya-title {
    margin:
      0
      !important;

    font-size:
      32px
      !important;

    line-height:
      1.07
      !important;
  }


  /* Price remains the strongest element,
     but no longer consumes half the viewport. */
  .ya-result-card .ya-price {
    margin:
      10px 0 8px
      !important;

    font-size:
      46px
      !important;

    line-height:
      1.05
      !important;
  }


  /* One disclaimer instead of two repeated explanations */
  .ya-result-card .ya-result-disclaimer {
    max-width:
      820px
      !important;

    margin:
      0
      !important;

    padding:
      0
      !important;

    border:
      0
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.4
      !important;

    color:
      #696561
      !important;
  }


  /* ----------------------------------------------------------
     SERGEY + CONVERSION FORM
     ---------------------------------------------------------- */

  .ya-result-card .ya-sergey-lead {
    margin:
      18px 0 0
      !important;

    padding:
      17px 0 0
      !important;

    border:
      0
      !important;

    border-top:
      1px solid #dedad6
      !important;

    border-radius:
      0
      !important;

    background:
      transparent
      !important;

    box-shadow:
      none
      !important;
  }


  .ya-result-sergey-intro {
    display:
      grid;

    grid-template-columns:
      122px
      minmax(0, 1fr);

    align-items:
      center;

    gap:
      17px;

    max-width:
      850px;

    margin:
      0 0 13px;
  }


  /* Same Sergey as during calculation.
     Straight edges, no avatar bubble. */
  .ya-result-sergey-photo {
    display:
      block;

    width:
      122px;

    height:
      91px;

    object-fit:
      cover;

    object-position:
      center 40%;

    border:
      0;

    border-radius:
      0;

    box-shadow:
      none;
  }


  .ya-result-sergey-content {
    min-width:
      0;
  }

  .ya-result-sergey-kicker {
    margin:
      0 0 4px;

    font-size:
      12px;

    line-height:
      1.25;

    font-weight:
      700;

    color:
      #8d1c27;
  }

  .ya-result-card .ya-lead-title {
    max-width:
      720px;

    margin:
      0 0 4px
      !important;

    font-size:
      21px
      !important;

    line-height:
      1.17
      !important;
  }

  .ya-result-card .ya-lead-copy {
    max-width:
      680px;

    margin:
      0
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.4
      !important;
  }


  /* ----------------------------------------------------------
     CONTACT — PHONE FIRST
     ---------------------------------------------------------- */

  .ya-result-card .ya-contact-grid {
    display:
      grid
      !important;

    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(0, .8fr)
      !important;

    gap:
      12px
      !important;

    margin:
      0
      !important;
  }

  .ya-result-card .ya-contact-grid .ya-label {
    margin:
      0
      !important;
  }

  .ya-result-card .ya-contact-grid .ya-label-text {
    margin-bottom:
      5px
      !important;

    font-size:
      13px
      !important;

    line-height:
      1.2
      !important;
  }

  .ya-optional-label {
    font-size:
      11px;

    font-weight:
      400;

    color:
      #77736f;
  }

  .ya-result-card .ya-contact-grid .ya-input {
    height:
      52px
      !important;

    min-height:
      52px
      !important;

    padding-top:
      0
      !important;

    padding-bottom:
      0
      !important;

    border-radius:
      7px
      !important;

    font-size:
      16px
      !important;
  }


  /* Consent */
  .ya-result-card .ya-consent {
    margin:
      10px 0 0
      !important;

    font-size:
      12px
      !important;

    line-height:
      1.3
      !important;
  }

  .ya-result-card .ya-consent input {
    width:
      17px
      !important;

    height:
      17px
      !important;
  }


  /* CTA */
  .ya-result-card .ya-actions {
    margin:
      10px 0 0
      !important;
  }

  .ya-result-card #sendContact {
    width:
      100%
      !important;

    min-height:
      52px
      !important;

    font-size:
      16px
      !important;
  }

  .ya-result-card .ya-contact-message {
    margin-top:
      5px
      !important;
  }


  /* Reassurance after CTA */
  .ya-result-card .ya-sergey-reassurance {
    margin:
      7px 0 0
      !important;

    font-size:
      11px
      !important;

    line-height:
      1.35
      !important;
  }

  .ya-result-card .ya-photo-before-note {
    margin:
      3px 0 0
      !important;

    font-size:
      11px
      !important;

    line-height:
      1.35
      !important;

    color:
      #77736f
      !important;
  }


  /* Edit button is secondary and may sit below fold */
  .ya-result-card .ya-result-footer {
    margin-top:
      17px
      !important;
  }

}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (
  min-width: 641px
) and (
  max-width: 900px
) {

  .ya-result-card {
    padding:
      25px
      26px
      28px
      !important;
  }

  .ya-result-card > .ya-title {
    font-size:
      30px
      !important;
  }

  .ya-result-card .ya-price {
    font-size:
      40px
      !important;
  }

  .ya-result-sergey-intro {
    grid-template-columns:
      110px
      minmax(0, 1fr);

    gap:
      15px;
  }

  .ya-result-sergey-photo {
    width:
      110px;

    height:
      84px;
  }

  .ya-result-card .ya-lead-title {
    font-size:
      19px
      !important;
  }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 640px) {

  .ya-result-card {
    padding:
      20px
      15px
      23px
      !important;
  }

  .ya-result-card > .ya-title {
    font-size:
      27px
      !important;
  }

  .ya-result-card .ya-price {
    margin:
      9px 0 7px
      !important;

    font-size:
      clamp(31px, 9vw, 38px)
      !important;
  }

  .ya-result-card .ya-result-disclaimer {
    font-size:
      12px
      !important;
  }


  .ya-result-card .ya-sergey-lead {
    margin-top:
      15px
      !important;

    padding-top:
      14px
      !important;
  }

  .ya-result-sergey-intro {
    grid-template-columns:
      92px
      minmax(0, 1fr);

    align-items:
      start;

    gap:
      12px;

    margin-bottom:
      12px;
  }

  .ya-result-sergey-photo {
    width:
      92px;

    height:
      105px;

    object-position:
      center 40%;
  }

  .ya-result-sergey-kicker {
    font-size:
      11px;
  }

  .ya-result-card .ya-lead-title {
    font-size:
      17px
      !important;

    line-height:
      1.18
      !important;
  }

  .ya-result-card .ya-lead-copy {
    font-size:
      12px
      !important;
  }


  /* Phone first, then optional name */
  .ya-result-card .ya-contact-grid {
    grid-template-columns:
      1fr
      !important;

    gap:
      9px
      !important;
  }

  .ya-result-card .ya-contact-grid .ya-input {
    height:
      54px
      !important;

    min-height:
      54px
      !important;

    font-size:
      16px
      !important;
  }

  .ya-result-card #sendContact {
    min-height:
      54px
      !important;
  }

}
