.eqsc {
    --eqsc-accent: #e87826; --eqsc-bg: #fff; --eqsc-heading: #190e2f; --eqsc-text: #625b6b;
    --eqsc-width: 1180px; --eqsc-height: 700px; --eqsc-fit: cover;
    width: min(100%, var(--eqsc-width)); margin: 34px auto; color: var(--eqsc-text); font-family: inherit;
}
.eqsc *, .eqsc *::before, .eqsc *::after { box-sizing: border-box; }
.eqsc-screen {
    display: none; min-height: var(--eqsc-height); grid-template-columns: minmax(0, 56%) minmax(300px, 44%);
    overflow: hidden; border: 1px solid #e7e2eb; border-radius: 24px; background: var(--eqsc-bg);
    box-shadow: 0 20px 65px rgba(27, 13, 46, .1);
}
.eqsc-screen.is-active { display: grid; animation: eqsc-in .3s ease; }
.eqsc-screen.is-active > .eqsc-main:only-child { grid-column: 1 / -1; }
@keyframes eqsc-in { from { opacity: 0; transform: translateY(10px); } }
.eqsc-main { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 64px); }
.eqsc-main > div:first-child { margin: auto 0; }
.eqsc-main h2, .eqsc-main h3 { margin: 0 0 18px; color: var(--eqsc-heading); line-height: 1.15; }
.eqsc-main h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.eqsc-main h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.eqsc-main p { line-height: 1.65; }
.eqsc-kicker { margin: 0 0 10px; color: var(--eqsc-accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eqsc-image { min-height: 100%; background: #f4f1f6; }
.eqsc-image img { width: 100%; height: 100%; min-height: var(--eqsc-height); display: block; object-fit: var(--eqsc-fit); }
.eqsc-progress { margin-bottom: 38px; }
.eqsc-progress p { margin: 0 0 9px; font-size: .9rem; }
.eqsc-progress p span { color: var(--eqsc-accent); font-weight: 800; }
.eqsc-progress ul { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.eqsc-progress li { height: 5px; border-radius: 99px; background: #e6e1e8; }
.eqsc-progress li.active { background: var(--eqsc-accent); }
.eqsc-options { display: grid; gap: 12px; margin-top: 25px; }
.eqsc-options label { display: block; cursor: pointer; }
.eqsc-options input { position: absolute; opacity: 0; }
.eqsc-options label > span {
    display: block; padding: 15px 18px; border: 2px solid #e5e0e8; border-radius: 13px; background: #fcfbfd; transition: .15s;
}
.eqsc-options strong, .eqsc-options small { display: block; }
.eqsc-options small { margin-top: 4px; color: var(--eqsc-text); line-height: 1.4; }
.eqsc-options input:checked + span, .eqsc-options label.selected > span { border-color: var(--eqsc-accent); background: color-mix(in srgb, var(--eqsc-accent), white 93%); }
.eqsc-number { display: block; margin-top: 28px; color: var(--eqsc-heading); font-weight: 700; }
.eqsc-number > span { display: block; margin-bottom: 8px; }
.eqsc-number > div { display: flex; align-items: center; overflow: hidden; border: 2px solid #ded8e2; border-radius: 13px; background: #fff; }
.eqsc-number input { width: 100%; min-width: 0; padding: 14px; border: 0; outline: 0; font: inherit; font-size: 1.15rem; }
.eqsc-number b { padding: 0 14px; color: var(--eqsc-accent); white-space: nowrap; }
.eqsc-estimate { padding: 12px 15px; border-left: 4px solid var(--eqsc-accent); background: #faf7fc; }
.eqsc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eqsc-button {
    display: inline-block; padding: 14px 28px; border: 2px solid var(--eqsc-accent); border-radius: 999px;
    background: var(--eqsc-accent); color: #fff; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer;
}
.eqsc-button:hover { filter: brightness(.92); color: #fff; }
.eqsc-button:disabled { opacity: .6; cursor: wait; }
.eqsc-secondary { background: transparent; color: var(--eqsc-accent); }
.eqsc-form > label:not(.eqsc-consent) { display: block; margin-bottom: 14px; color: var(--eqsc-heading); font-weight: 700; }
.eqsc-form input:not([type="checkbox"]) { width: 100%; min-height: 47px; margin-top: 6px; padding: 10px 12px; border: 2px solid #ded8e2; border-radius: 10px; font: inherit; }
.eqsc-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; }
.eqsc-trap { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; }
.eqsc-status { min-height: 20px; color: #b42318; }
.eqsc-screen.has-error { animation: eqsc-shake .3s ease; }
@keyframes eqsc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.eqsc-results { grid-template-columns: 1fr; }
.eqsc-results .eqsc-main { padding: clamp(28px, 6vw, 75px); }
.eqsc-results h2 span { color: var(--eqsc-accent); }
.eqsc-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.eqsc-result-grid > div { padding: 18px; border: 1px solid #e5e0e8; border-radius: 14px; background: #fcfbfd; }
.eqsc-result-grid small, .eqsc-result-grid strong { display: block; }
.eqsc-result-grid small { min-height: 34px; }
.eqsc-result-grid strong { margin-top: 8px; color: var(--eqsc-heading); font-size: 1.35rem; }
.eqsc-link { margin-left: 16px; border: 0; background: transparent; color: var(--eqsc-accent); text-decoration: underline; cursor: pointer; }
@media (max-width: 800px) {
    .eqsc { margin: 20px 0; }
    .eqsc-screen { min-height: 0; grid-template-columns: 1fr; border-radius: 16px; }
    .eqsc-main { order: 2; padding: 30px 22px; }
    .eqsc-image { order: 1; min-height: 220px; max-height: 280px; }
    .eqsc-image img { min-height: 220px; max-height: 280px; }
    .eqsc-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .eqsc-result-grid { grid-template-columns: 1fr; }
    .eqsc-actions .eqsc-button { flex: 1; }
}
