/* Only the OSAGO calculator owns its progress and wizard state. */
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-field-help-btn{background:#f5f5f0;color:#45463e}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-field-help-btn:hover,body#page-top.jujo-replica [data-block="calculator-osago"] .osago-field-help-btn:focus-visible{background:#d9f21b;color:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-wizard-sidebar__sticky{background:#f5f5f0;border-radius:10px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-card{background:none;border:0;box-shadow:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-card__bars span{background:#deded5}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-card__bars span:is(.is-active,.is-done){background:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav{background:none;border:0;box-shadow:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span{color:#606159}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span:is(.is-active,.is-done){color:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span::before,body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span::after{background:#c6c7bc;box-shadow:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span:is(.is-active,.is-done)::before,body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav span:is(.is-active,.is-done)::after{background:#171713;box-shadow:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-wizard-note--sidebar{border-color:#deded5}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress{background:#fff;border-color:#deded5;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 12px 32px #1717131f}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress__bars span{background:#deded5}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress__bars span:is(.is-active,.is-done){background:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress__copy h3{color:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress__meta{color:#606159}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-mobile-progress__meta strong{color:#171713}

.osago-provider-results{margin-block-start:32px;border-block-start:1px solid #deded6;padding-block-start:24px}.osago-provider-results h3{font-size:20px;line-height:1.3;margin:0 0 16px}.osago-provider-results ul{list-style:none;margin:0 0 24px;padding:0}.osago-provider-results li{display:flex;gap:16px;justify-content:space-between;padding-block:12px;border-block-end:1px solid #eeeeea;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.osago-provider-results__status{color:#62645d;text-align:end}.osago-provider-results [data-outcome="success"] .osago-provider-results__status{color:#355c27}.osago-provider-results button{min-height:48px}.osago-provider-results [hidden]{display:none!important}@media(max-width:480px){.osago-provider-results li{flex-direction:column;gap:4px}.osago-provider-results__status{text-align:start}}

/* Vehicle step: keep each control group together without changing wizard state. */
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-step-card__head{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;margin-bottom:24px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-step-card__head>div{min-width:0;max-width:100%}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-prefill-summary]{width:100%;min-width:0;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;word-break:normal;overflow-wrap:break-word}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-prefill-summary]:not([hidden]){display:flex;flex-direction:column;gap:4px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-prefill-summary] :is(strong,span){margin:0;min-width:0;max-width:100%;font-size:16px;line-height:1.5;color:var(--insurance-ink,#171713);word-break:normal;overflow-wrap:break-word}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-prefill-summary] span{color:var(--insurance-muted,#606159)}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-lookup{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 16px;margin:0;min-width:0}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-lookup>:is(.osago-vehicle-lookup__field,.osago-vehicle-lookup__actions){min-width:0;max-width:100%}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-lookup__actions{display:flex;align-items:end;justify-content:flex-start}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-vehicle-lookup]{display:inline-flex;align-items:center;justify-content:center;min-height:52px;min-width:0;max-width:100%;padding:12px 20px;border-radius:8px;font-size:16px;line-height:1.5;white-space:normal;text-align:center}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-plate-lookup-status]{grid-column:1/-1;margin:0;min-width:0;max-width:65ch;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-plate-lookup-status]:not(:empty){margin-top:12px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields{display:grid;gap:24px;align-items:start;min-width:0;margin-top:24px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields>div{min-width:0;max-width:100%}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields--policy{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:32px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields--car{grid-template-columns:repeat(3,minmax(0,1fr))}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields--identity{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-inline-price]{grid-column:1/-1;min-width:0}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields--documents{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] :is(.osago-vehicle-lookup,.osago-vehicle-fields) :is(input,select){min-width:0;max-width:100%;min-height:52px;font-size:16px;line-height:1.5}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-step-actions{margin-top:32px;padding-top:24px;gap:24px}
@media(max-width:767px){
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-lookup{grid-template-columns:minmax(0,1fr);row-gap:16px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] [data-osago-vehicle-lookup]{width:100%}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-step-card[data-osago-step="vehicle"] .osago-vehicle-fields{grid-template-columns:minmax(0,1fr);gap:24px}
}

/* Wizard destinations remain keyboard-operable without changing the established step layout. */
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button{position:relative;display:grid;gap:4px;padding:0 0 0 28px;min-height:44px;align-content:start;text-align:start;border:0;border-radius:0;background:transparent;box-shadow:none;color:#606159;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button::before{content:"";position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:#c6c7bc}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button::after{content:"";position:absolute;left:5px;top:20px;bottom:-18px;width:2px;background:#c6c7bc}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:last-child::after{display:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:is(.is-active,.is-done){color:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:is(.is-active,.is-done)::before,body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:is(.is-active,.is-done)::after{background:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-owner-gender-wrap][hidden]{display:none!important}
body#page-top.jujo-replica [data-block="calculator-osago"] .calc-row-2:has([data-osago-owner-gender-wrap][hidden]){grid-template-columns:minmax(0,1fr)}

/* OSAGO destinations keep the original green numbered circles. */
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button{counter-increment:insurance-step;display:flex;align-items:center;gap:10px;padding:0;min-height:44px;text-decoration:none;border-bottom:0}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button::before{content:counter(insurance-step);position:static;display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #c6c7bc;background:transparent;color:#606159;font-size:14px}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button::after{content:none;display:none}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-timeline-nav button:is(.is-active,.is-done)::before{background:var(--calc-accent,#d9f21b);border-color:transparent;color:#171713}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-wizard-form :is(.osago-timeline-card__bars,.osago-mobile-progress__bars) span:is(.is-active,.is-done){background:var(--calc-accent,#d9f21b)}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-review{margin:0;display:grid;gap:16px;overflow-wrap:anywhere}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-review dt{color:#606159;font-size:14px;font-weight:400}
body#page-top.jujo-replica [data-block="calculator-osago"] .osago-review dd{margin:4px 0 0;font-size:16px}

/* OSAGO driver rows: identical six-field geometry for initial and added drivers. */
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-field{display:grid;grid-template-rows:48px 52px;gap:8px;min-width:0;margin:0;align-items:stretch}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-field :is(.quick-driver-label,.form-label){display:flex;align-items:center;min-height:48px;margin:0;font-size:16px;line-height:24px}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-label-row .quick-driver-label{min-height:0}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] [data-driver-exp-from-birth]{min-height:32px;flex:0 0 auto;white-space:nowrap;line-height:24px}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-field>label.quick-driver-label:has(>input,>select){display:grid;grid-row:1/-1;grid-template-rows:48px 52px;gap:8px;align-items:center}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-field :is(.osago-suggest-wrap,.jujo-custom-select){min-width:0;height:52px}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-field :is(input,select,.jujo-custom-select__trigger):not(.jujo-native-select-hidden){width:100%;height:52px;min-height:52px;margin:0}
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] [data-driver-remove]{grid-column:1/-1;justify-self:start;margin:0;min-height:44px}
@media(max-width:1199px){body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] [data-osago-step="drivers"] .quick-driver-row{grid-template-columns:minmax(0,1fr);gap:20px}}
/* A real active quote has a visible indeterminate bar; no percentage or simulated stages. */
body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-search-status]{position:relative;overflow:hidden;margin:0 0 24px;padding:20px 24px 38px;background:var(--calc-surface,#f5f5f0);border-radius:8px;color:var(--calc-ink,#171713);font-size:16px;line-height:24px}
body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-search-status][hidden]{display:none!important}
body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-search-status]::before{content:"";position:absolute;left:24px;right:24px;bottom:16px;height:6px;border-radius:6px;background:var(--calc-line,#deded5)}
body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-search-status]::after{content:"";position:absolute;left:24px;bottom:16px;width:28%;height:6px;border-radius:6px;background:var(--calc-accent,#d9f21b);animation:osago-search-pending 1.6s ease-in-out infinite alternate}
@keyframes osago-search-pending{from{left:24px}to{left:calc(72% - 24px)}}
@media(prefers-reduced-motion:reduce){body#page-top.jujo-replica [data-block="calculator-osago"] [data-osago-search-status]::after{animation:none;width:40%}}

/* Insurer information is a separate action beside the checkout button. */
body#page-top.jujo-replica:has(.jujo-product-page) [data-block="calculator-osago"] .osago-offer__actions .osago-offer__info{position:static;inset:auto;flex-shrink:0;align-self:center}
