:host {
    display: block;
    font-family: Onest, sans-serif;
    font-synthesis: none;
    color: var(--ink);
    --white: var(--surface);
    --image-ground: #f1f0e9;
    --accent-soft: #fff8d6;
    --calc-selected: #fffdf1;
}
:host([data-theme="dark"]) {
    --accent-soft: #3c3722;
    --calc-selected: #343b29;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

button, input {
    font: inherit;
}

button, a, input {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 3px solid #9d8500;
    outline-offset: 4px;
}

button {
    touch-action: manipulation;
}

button, input {
    border-radius: 0;
}

::selection {
    background: var(--accent);
    color: var(--ink);
}

.page-shell {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    padding: 14px 20px;
    z-index: 100;
    background: var(--accent);
    border-radius: 10px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 23px;
    font-weight: 720;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand-separator {
    display: inline-block;
    color: #a6aca0;
    margin: 0 6px;
    font-weight: 400;
}

.brand-mark {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 10px 10px 3px 10px;
}

.brand-mark::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 9px;
    top: 11px;
    border-left: 3px solid var(--ink);
    border-top: 3px solid var(--ink);
    transform: rotate(45deg);
}

.brand-mark i {
    position: absolute;
    height: 12px;
    width: 4px;
    background: var(--ink);
    left: 16px;
    bottom: 4px;
}

.header-caption {
    font-size: 12px;
    color: var(--muted);
    margin-right: auto;
    margin-left: 32px;
}

.quiet-button, .text-button {
    background: none;
    border: 0;
    padding: 0;
}

.quiet-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.help-mark {
    border: 1px solid #b3baaa;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 34px 0 32px;
}

.eyebrow {
    margin: 0 0 15px;
    color: #6c7564;
    font-size: 11px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    font-weight: 550;
}

h1 {
    font-size: clamp(42px, 4.3vw, 64px);
    line-height: 1.03;
    letter-spacing: -3.8px;
    font-weight: 590;
    margin: 0;
}

h1 span {
    color: #88947d;
}

.intro-description {
    font-size: 14px;
    line-height: 1.7;
    margin: 21px 0 0;
    color: #697260;
}

.intro-note {
    position: relative;
    margin: 0 7.5% 8px 28px;
    transform: rotate(-4deg);
}

.intro-note p {
    font-size: 25px;
    line-height: 1.25;
    font-weight: 430;
    letter-spacing: -.9px;
    margin: 0 0 13px;
}

.intro-note > span:last-child {
    color: #939c89;
    font-size: 11px;
}

.note-arrow {
    position: absolute;
    font-size: 52px;
    left: -68px;
    top: -3px;
    font-weight: 200;
    color: #a4af97;
    transform: rotate(9deg);
}

.configurator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 25px;
    box-shadow: 0 15px 50px #25321c04;
    overflow: clip;
    scroll-margin-top: 20px;
}

.config-main {
    min-width: 0;
}

.workspace-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 30px 20px;
    gap: 12px;
}

.service-tabs {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #f2f4ee;
    border-radius: 12px;
    gap: 4px;
}

.service-tabs button {
    padding: 11px 13px;
    font-size: 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .25s, box-shadow .25s;
    white-space: nowrap;
}

.service-tabs button[aria-selected='true'] {
    background: var(--white);
    box-shadow: 0 2px 6px #28391a0b;
    font-weight: 650;
}

.tab-pictogram {
    display: block;
    width: 15px;
    height: 15px;
    position: relative;
}

.roof-pictogram::before {
    content: '';
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-top: 1.5px solid;
    border-left: 1.5px solid;
    position: absolute;
    left: 2px;
    top: 4px;
}

.roof-pictogram::after {
    content: '';
    width: 9px;
    height: 7px;
    border: 1.5px solid;
    border-top: 0;
    position: absolute;
    left: 3px;
    top: 6px;
    background: inherit;
}

.facade-pictogram {
    background: linear-gradient(currentColor, currentColor) 3px 5px / 2px 2px no-repeat, linear-gradient(currentColor, currentColor) 8px 5px / 2px 2px no-repeat, linear-gradient(currentColor, currentColor) 3px 9px / 2px 2px no-repeat, linear-gradient(currentColor, currentColor) 8px 9px / 2px 2px no-repeat;
    border: 1.5px solid;
    border-radius: 1px;
}

.step-fraction {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
}

.step-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 0 30px;
    border-bottom: 1px solid var(--line);
}

.step-nav button {
    min-width: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    padding: 15px 0 17px;
    font-size: 11px;
    color: #92998c;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.step-nav button[aria-current='step'] {
    border-bottom-color: var(--ink);
    color: var(--ink);
    font-weight: 650;
}

.step-nav button.completed {
    color: #59674d;
}

.step-number {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #f1f3ed;
    font-size: 9px;
    flex-shrink: 0;
}

.step-nav button[aria-current='step'] .step-number {
    background: var(--accent);
}

.step-nav button.completed .step-number {
    background: #edf1e5;
}

.wizard-panel {
    min-height: 510px;
    padding: 29px 30px 26px;
}

.panel-heading {
    margin-bottom: 24px;
}

.panel-heading h2 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.9px;
    font-weight: 580;
    margin: 0 0 9px;
}

.panel-heading p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    max-width: 500px;
}

.choice-group {
    padding: 0;
    margin: 0 0 25px;
    border: 0;
    min-width: 0;
}

.group-heading {
    margin: 0 0 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 550;
}

.group-help {
    color: #89937e;
    font-size: 10px;
    background: none;
    border: 0;
    padding: 3px 0;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.group-description {
    color: var(--muted);
    margin: -4px 0 13px;
    font-size: 11px;
    line-height: 1.6;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.option-grid[data-count='2'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-grid[data-count='3'] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 5px 5px 11px;
    text-align: left;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s, box-shadow .25s, transform .3s var(--ease);
    overflow: hidden;
}

.choice:hover {
    border-color: #adb89d;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #2d3c190a;
}

.choice[aria-checked='true'] {
    border-color: #d4b326;
    box-shadow: 0 0 0 1px #e6c52b;
    background: #fffdf1;
}

.choice-picture {
    aspect-ratio: 1.39;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: var(--image-ground);
}

.choice-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 24%;
    mix-blend-mode: multiply;
    transition: transform .65s var(--ease);
    pointer-events: none;
}

.choice:hover .choice-picture img {
    transform: scale(1.06);
}

.choice-title {
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.45;
    padding: 0 7px;
    min-height: 31px;
    display: block;
}

.choice-check {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 11px;
    top: 11px;
    border: 1px solid #a3ac9766;
    border-radius: 50%;
    background: #ffffffb0;
    color: transparent;
    font-size: 11px;
    text-align: center;
    line-height: 17px;
    transition: background .2s, color .2s, transform .3s var(--ease);
}

.choice[aria-checked='true'] .choice-check {
    background: var(--accent);
    border-color: #dbbc31;
    color: var(--ink);
    transform: scale(1.1);
}

.text-choice {
    flex-direction: row;
    gap: 11px;
    padding: 15px;
    align-items: center;
    min-height: 67px;
    border-radius: 10px;
}

.text-choice .choice-check {
    position: static;
    flex: 0 0 18px;
}

.text-choice .choice-title {
    padding: 0;
    min-height: 0;
    font-size: 12px;
}

.shape-grid .choice-picture {
    aspect-ratio: 1.3;
}

.shape-grid .choice-title {
    font-size: 11px;
    min-height: 49px;
}

.work-grid .choice {
    padding: 5px 5px 12px;
}

.work-grid .choice-picture {
    aspect-ratio: 1.9;
}

.work-grid .choice-title {
    font-size: 11px;
    min-height: 18px;
}

.work-grid .option-explanation {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    margin: -6px 7px 0;
}

.area-section {
    margin-top: 30px;
    padding: 23px;
    border-radius: 14px;
    background: #f5f6f0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 25px;
    align-items: center;
}

.area-section h3 {
    font-size: 14px;
    font-weight: 550;
    margin: 0 0 7px;
}

.area-section p {
    font-size: 11px;
    line-height: 1.55;
    margin: 0;
    color: var(--muted);
}

.area-input-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    background: white;
    border: 1px solid #dce2d4;
    padding: 8px 12px;
    border-radius: 9px;
}

.area-input-wrap input {
    width: 102px;
    border: 0;
    background: transparent;
    padding: 4px;
    font-size: 27px;
    font-weight: 500;
    outline-offset: 0;
    color: var(--ink);
    -moz-appearance: textfield;
}

.area-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.area-input-wrap input::placeholder {
    color: #bcc3b4;
    font-size: 25px;
}

.area-input-wrap span {
    color: var(--muted);
    font-size: 13px;
}

.area-help {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 10px;
    margin-top: 5px;
}

.location-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.location-options .choice {
    min-height: 143px;
    padding: 22px 17px 18px;
    gap: 22px;
}

.location-options .choice-title {
    font-size: 14px;
    padding: 0;
    min-height: 0;
}

.distance-symbol {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #adb89f;
    position: relative;
    display: grid;
    place-items: center;
}

.distance-symbol::before, .distance-symbol::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid #c8d1bd;
    border-radius: 50%;
}

.distance-symbol::after {
    inset: 14px;
    background: var(--accent);
    border-color: var(--accent);
}

.location-options .choice:nth-child(2) .distance-symbol::after {
    transform: translateX(10px);
}

.location-options .choice:nth-child(3) .distance-symbol::after {
    transform: translateX(17px);
}

.location-options .choice:nth-child(4) .distance-symbol::after {
    transform: translateX(26px);
}

.location-tip {
    padding: 19px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    max-width: 460px;
}

.wizard-bottom {
    padding: 22px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line);
    min-height: 95px;
}

.back-button {
    background: none;
    border: 0;
    padding: 8px 0;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.back-button:disabled {
    visibility: hidden;
}

.next-hint {
    margin: 0 auto 0 0;
    font-size: 10px;
    color: #8b9581;
    line-height: 1.5;
    max-width: 165px;
}

.primary-button {
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 17px 18px;
    min-width: 175px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    font-size: 12px;
    font-weight: 600;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.primary-button:hover:not(:disabled) {
    background: #f7df66;
    box-shadow: 0 6px 18px #c1a72f25;
    transform: translateY(-2px);
}

.primary-button:active:not(:disabled) {
    transform: translateY(0);
}

.primary-button:disabled {
    background: #f1f2eb;
    border-color: #f1f2eb;
    color: #a2aa98;
}

.button-arrow {
    font-size: 19px;
    font-weight: 400;
    line-height: .8;
}

.preview-column {
    min-width: 0;
    border-left: 1px solid var(--line);
    background: #f6f7f0;
    min-height: 100%;
}

.preview-sticky {
    padding: 26px 23px;
    position: sticky;
    top: 0;
}

.preview-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
}

.preview-live {
    font-size: 9px;
    color: #87917a;
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
}

.preview-live i {
    display: block;
    width: 5px;
    height: 5px;
    background: #9eac8d;
    border-radius: 50%;
}

.preview-stage {
    position: relative;
    isolation: isolate;
    margin: 22px -7px 16px;
    height: 305px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    perspective: 800px;
    overflow: hidden;
    background: #f1f2eb;
}

.preview-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(#dde2d055 1px, transparent 1px), linear-gradient(90deg, #dde2d055 1px, transparent 1px);
    background-size: 27px 27px;
    opacity: .36;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.preview-orbit {
    position: absolute;
    width: 255px;
    height: 255px;
    border: 1px solid #dfe5d5;
    border-radius: 50%;
    transform: rotateX(60deg) translateY(108px);
    z-index: -1;
}

.preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transition: transform .8s var(--ease);
    user-select: none;
}

.preview-corner {
    position: absolute;
    width: 13px;
    height: 13px;
    opacity: .6;
}

.corner-a {
    top: 15px;
    left: 15px;
    border-left: 1px solid #bbc4ae;
    border-top: 1px solid #bbc4ae;
}

.corner-b {
    bottom: 15px;
    right: 15px;
    border-bottom: 1px solid #bbc4ae;
    border-right: 1px solid #bbc4ae;
}

.preview-caption {
    color: #8f9b82;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 1.3px;
}

.preview-description {
    padding: 0 1px 22px;
    min-height: 140px;
}

.preview-description h2 {
    font-weight: 550;
    letter-spacing: -.45px;
    font-size: 18px;
    line-height: 1.3;
    margin: 9px 0;
}

.preview-description p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    color: #68715f;
}

.selection-summary {
    border-top: 1px solid #e1e5d8;
    padding-top: 18px;
}

.summary-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-heading h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 570;
}

.text-button {
    font-size: 10px;
    color: #929c87;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#summary-list {
    margin: 17px 0 0;
}

.summary-row {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.5;
}

.summary-row dt {
    color: #68715f;
}

.summary-row dd {
    margin: 0;
}

.summary-row dd.empty {
    color: #abb3a2;
}

.summary-note {
    font-size: 10px;
    line-height: 1.7;
    color: #8a957d;
    padding-top: 15px;
    border-top: 1px solid #e1e5d8;
    margin-top: 20px;
}

.explanation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 48px 4px 58px;
}

.explanation-lead {
    display: flex;
    align-items: center;
    gap: 22px;
}

.simple-mark {
    display: grid;
    place-items: center;
    background: #eef1e5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 22px;
    color: #7d8a6b;
    flex-shrink: 0;
}

.explanation h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.65px;
    line-height: 1.35;
}

.explanation > p {
    margin: 0;
    max-width: 360px;
    font-size: 12px;
    line-height: 1.8;
    color: #818c75;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 23px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #949e89;
}

.site-footer > span {
    font-size: 12px;
    color: #7d8971;
}

.site-footer p {
    margin: 0;
}

.contact-intro {
    background: #f7f8f2;
    border: 1px solid #e7eadf;
    border-radius: 13px;
    padding: 20px;
    margin-bottom: 23px;
}

.contact-intro h3 {
    font-size: 15px;
    font-weight: 550;
    margin: 0 0 8px;
}

.contact-intro p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

.final-choice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 25px;
    padding: 0;
    margin: 23px 0;
}

.final-choice-list div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.final-choice-list dt {
    font-size: 9px;
    color: #949d8b;
}

.final-choice-list dd {
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.final-choice-list .unselected {
    color: #9c9477;
}

.phone-field {
    display: block;
    font-size: 12px;
    margin: 26px 0 10px;
}

.phone-field > span {
    display: block;
    margin-bottom: 10px;
}

.phone-field input {
    display: block;
    width: 100%;
    max-width: 380px;
    padding: 16px 18px;
    font-size: 19px;
    border: 1px solid #dbe0d2;
    background: white;
    border-radius: 10px;
    outline-offset: 1px;
    color: var(--ink);
}

.phone-field input::placeholder {
    color: #a6ae9b;
}

.phone-field input[aria-invalid='true'] {
    border-color: #aa6c42;
}

.field-error {
    color: #9f6035;
    font-size: 11px;
    margin: 8px 0;
}

.contact-note {
    color: #8e9881;
    font-size: 10px;
    line-height: 1.7;
    max-width: 390px;
    margin: 12px 0 0;
}

.location-illustration {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.preview-stage.show-location .preview-image, .preview-stage.show-location .preview-orbit {
    opacity: 0;
}

.preview-stage.show-location .location-illustration {
    display: flex;
}

.distance-ring {
    position: absolute;
    border: 1px solid #d5dccb;
    border-radius: 50%;
    transition: background .45s, border-color .45s, transform .8s var(--ease);
}

.ring-one {
    width: 120px;
    height: 120px;
}

.ring-two {
    width: 210px;
    height: 210px;
}

.ring-three {
    width: 300px;
    height: 300px;
}

.distance-ring.active {
    border-color: #c6ab3d;
    background: #f8e69445;
}

.moscow-center {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    font-size: 11px;
    font-weight: 500;
    z-index: 1;
    box-shadow: 0 5px 12px #d1b94b22;
}

.map-label {
    position: absolute;
    font-size: 9px;
    color: #929e84;
}

.map-label-near {
    top: 88px;
    left: 105px;
    transform: rotate(-25deg);
}

.map-label-far {
    bottom: 25px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    background: var(--ink);
    color: white;
    border-radius: 12px;
    padding: 14px 20px;
    max-width: calc(100% - 32px);
    box-shadow: 0 5px 25px #1a261d18;
    font-size: 12px;
    z-index: 20;
    transition: opacity .25s, transform .25s;
    text-align: center;
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.help-dialog {
    width: min(580px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    border: 1px solid var(--line);
    border-radius: 23px;
    padding: 35px;
    color: var(--ink);
    box-shadow: 0 25px 100px #18281722;
}

.help-dialog::backdrop {
    background: #26331d66;
    backdrop-filter: blur(7px);
}

.dialog-close {
    position: absolute;
    top: 16px;
    right: 17px;
    width: 30px;
    height: 30px;
    background: #f1f3ec;
    border: 0;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 300;
}

.help-dialog h2 {
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.9px;
    font-weight: 550;
    margin: 15px 0 20px;
    max-width: 430px;
}

.help-dialog p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
}

.dialog-option {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.dialog-option strong {
    font-weight: 550;
    font-size: 12px;
}

.dialog-option p {
    font-size: 11px;
    line-height: 1.65;
    margin: 7px 0 0;
}

.dialog-success-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--accent);
    border-radius: 50%;
    font-size: 26px;
    margin: 4px 0 25px;
}

.help-note {
    background: #f4f6ee;
    border-radius: 10px;
    padding: 14px 17px;
    font-size: 11px !important;
}

@media (min-width: 1500px) {
    .configurator {
        grid-template-columns: minmax(0, 1fr) 400px;
    }

    .wizard-panel {
        min-height: 630px;
        padding: 32px 38px;
    }

    .workspace-top, .wizard-bottom {
        padding-left: 38px;
        padding-right: 38px;
    }

    .step-nav {
        padding-left: 38px;
        padding-right: 38px;
    }

    .choice-title {
        font-size: 12px;
    }

    .preview-stage {
        height: 355px;
    }

    .preview-sticky {
        padding: 30px;
    }

}

@media (max-width: 1150px) {
    .page-shell {
        width: calc(100% - 48px);
    }

    .configurator {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .workspace-top {
        flex-wrap: wrap;
        padding: 22px;
    }

    .step-fraction {
        display: none;
    }

    .wizard-panel {
        padding: 25px 22px;
    }

    .step-nav {
        padding: 0 18px;
    }

    .step-nav button {
        font-size: 10px;
        gap: 5px;
    }

    .option-grid {
        gap: 8px;
    }

    .choice-title {
        font-size: 9.5px;
        padding: 0 4px;
    }

    .preview-sticky {
        padding: 24px 18px;
    }

    .preview-stage {
        height: 260px;
    }

    .wizard-bottom {
        padding: 20px 22px;
    }

    .next-hint {
        max-width: 110px;
        font-size: 9px;
    }

    .primary-button {
        min-width: 155px;
        padding: 16px;
    }

}

@media (max-width: 900px) {
    .header-caption {
        display: none;
    }

    .intro {
        padding-top: 42px;
    }

    .intro-note {
        margin-right: 20px;
    }

    .intro-note p {
        font-size: 20px;
    }

    .configurator {
        grid-template-columns: 1fr;
    }

    .preview-column {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .preview-sticky {
        display: grid;
        grid-template-columns: 210px 1fr;
        gap: 8px 24px;
        position: static;
        padding: 23px;
    }

    .preview-heading {
        grid-column: 1 / -1;
    }

    .preview-stage {
        grid-row: 2 / 4;
        margin: 6px 0 0;
        height: 210px;
    }

    .preview-description {
        min-height: 0;
        padding: 10px 0 0;
    }

    .selection-summary {
        padding-top: 12px;
        border-top: 0;
    }

    .summary-note {
        display: none;
    }

    #summary-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 15px;
        margin-top: 12px;
    }

    .summary-row {
        display: block;
        margin: 0;
        font-size: 9px;
    }

    .summary-row dt {
        margin-bottom: 3px;
    }

    .wizard-panel {
        min-height: 560px;
        padding: 28px;
    }

    .workspace-top {
        padding: 22px 28px;
    }

    .step-fraction {
        display: block;
    }

    .choice-title {
        font-size: 11px;
    }

    .intro-description {
        font-size: 13px;
    }

    .wizard-bottom {
        padding: 22px 28px;
    }

    .next-hint {
        max-width: none;
        font-size: 11px;
    }

    .explanation {
        gap: 30px;
    }

    .explanation h2 {
        font-size: 17px;
    }

    .explanation > p {
        font-size: 11px;
        max-width: 280px;
    }

}

@media (max-width: 600px) {
    .page-shell {
        width: calc(100% - 30px);
    }

    .site-header {
        min-height: 77px;
        gap: 10px;
    }

    .brand {
        font-size: 19px;
        gap: 9px;
        letter-spacing: -.8px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
        border-radius: 8px 8px 2px 8px;
    }

    .brand-mark::before {
        width: 15px;
        height: 15px;
        left: 8px;
        top: 9px;
        border-width: 2.5px;
    }

    .brand-mark i {
        width: 3px;
        height: 10px;
        left: 14px;
        bottom: 3px;
    }

    .header-help {
        font-size: 0;
        gap: 0;
    }

    .header-help .help-mark {
        font-size: 12px;
        width: 25px;
        height: 25px;
    }

    .intro {
        padding: 34px 5px 30px;
    }

    h1 {
        font-size: clamp(39px, 9.4vw, 54px);
        letter-spacing: -2.2px;
        line-height: 1.07;
    }

    .eyebrow {
        margin-bottom: 13px;
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .intro-description {
        margin-top: 17px;
        font-size: 12px;
        max-width: 290px;
        line-height: 1.7;
    }

    .desktop-break {
        display: none;
    }

    .intro-note {
        display: none;
    }

    .configurator {
        border-radius: 18px;
    }

    .workspace-top {
        padding: 15px 14px;
    }

    .service-tabs {
        width: 100%;
        padding: 4px;
        gap: 2px;
    }

    .service-tabs button {
        flex: 1;
        justify-content: center;
        padding: 12px 7px;
        font-size: 10px;
    }

    .step-fraction {
        display: none;
    }

    .step-nav {
        padding: 0 8px;
        gap: 0;
    }

    .step-nav button {
        font-size: 9px;
        padding: 12px 0 14px;
        gap: 4px;
        flex-direction: column;
    }

    .step-number {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }

    .wizard-panel {
        padding: 23px 15px 16px;
        min-height: 0;
    }

    .panel-heading {
        margin-bottom: 22px;
    }

    .panel-heading h2 {
        font-size: 22px;
        letter-spacing: -.7px;
        max-width: 290px;
    }

    .panel-heading p {
        font-size: 11px;
        max-width: 300px;
    }

    .choice-group {
        margin-bottom: 23px;
    }

    .group-heading {
        font-size: 11px;
        gap: 8px;
    }

    .group-help {
        font-size: 9px;
    }

    .option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .option-grid[data-count='3'] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .option-grid[data-count='2'] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choice {
        border-radius: 10px;
        padding: 4px 4px 12px;
        gap: 9px;
    }

    .choice-title {
        font-size: 11px;
        padding: 0 4px;
        min-height: 30px;
    }

    .choice-picture {
        aspect-ratio: 1.5;
        border-radius: 6px;
    }

    .choice-check {
        width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 15px;
        top: 9px;
        right: 9px;
    }

    .text-choice {
        padding: 12px 10px;
        min-height: 70px;
        gap: 8px;
    }

    .text-choice .choice-title {
        font-size: 10px;
    }

    .shape-grid .choice-title {
        font-size: 9px;
        min-height: 55px;
        line-height: 1.5;
    }

    .shape-grid .choice-picture {
        aspect-ratio: .95;
    }

    .shape-grid[data-count='2'] .choice-title {
        font-size: 10px;
    }

    .work-grid .choice-title {
        font-size: 9px;
    }

    .work-grid .option-explanation {
        font-size: 10px;
        margin-left: 4px;
        margin-right: 4px;
    }

    .work-grid .choice-picture {
        aspect-ratio: 1.15;
    }

    .area-section {
        padding: 17px 14px;
        gap: 12px;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .area-section h3 {
        font-size: 13px;
    }

    .area-input-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .area-input-wrap input {
        width: 100%;
        font-size: 27px;
    }

    .area-input-wrap span {
        flex-shrink: 0;
    }

    .wizard-bottom {
        padding: 15px;
        gap: 10px;
        flex-wrap: wrap;
        background: #ffffff;
    }

    .back-button {
        font-size: 10px;
    }

    .next-hint {
        order: 3;
        text-align: center;
        width: 100%;
        max-width: none;
        font-size: 9px;
    }

    .primary-button {
        margin-left: auto;
        min-width: 177px;
        font-size: 11px;
        padding: 15px;
    }

    .preview-sticky {
        grid-template-columns: 117px minmax(0, 1fr);
        padding: 17px;
        gap: 5px 14px;
    }

    .preview-stage {
        height: 125px;
        margin-top: 9px;
        grid-row: 2 / 3;
        border-radius: 11px;
    }

    .preview-heading {
        font-size: 10px;
    }

    .preview-description {
        padding-top: 8px;
    }

    .preview-description h2 {
        font-size: 14px;
        margin: 7px 0;
    }

    .preview-caption {
        font-size: 7px;
        letter-spacing: .9px;
    }

    .preview-description p {
        font-size: 9px;
        line-height: 1.6;
    }

    .selection-summary {
        grid-column: 1 / -1;
        padding-top: 15px;
    }

    .summary-heading h3 {
        font-size: 11px;
    }

    #summary-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 15px;
    }

    .preview-orbit {
        width: 125px;
        height: 125px;
        transform: rotateX(60deg) translateY(54px);
    }

    .preview-corner {
        width: 9px;
        height: 9px;
    }

    .corner-a {
        left: 8px;
        top: 8px;
    }

    .corner-b {
        right: 8px;
        bottom: 8px;
    }

    .ring-one {
        width: 50px;
        height: 50px;
    }

    .ring-two {
        width: 85px;
        height: 85px;
    }

    .ring-three {
        width: 122px;
        height: 122px;
    }

    .moscow-center {
        width: 30px;
        height: 30px;
        font-size: 6px;
    }

    .map-label {
        display: none;
    }

    .location-options {
        gap: 10px;
        margin-top: 20px;
    }

    .location-options .choice {
        padding: 16px 13px;
        min-height: 123px;
    }

    .location-options .choice-title {
        font-size: 11px;
    }

    .location-tip {
        font-size: 11px;
    }

    .explanation {
        display: block;
        padding: 32px 6px;
    }

    .explanation-lead {
        gap: 15px;
    }

    .simple-mark {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .explanation h2 {
        font-size: 17px;
    }

    .explanation > p {
        max-width: none;
        margin: 19px 0 0 51px;
        font-size: 11px;
        line-height: 1.75;
    }

    .site-footer {
        flex-wrap: wrap;
        gap: 14px;
        padding: 20px 4px 25px;
        font-size: 9px;
    }

    .site-footer p {
        order: 3;
        width: 100%;
    }

    .contact-intro {
        padding: 17px;
    }

    .contact-intro h3 {
        font-size: 14px;
    }

    .contact-intro p {
        font-size: 10px;
    }

    .final-choice-list {
        gap: 14px;
    }

    .phone-field input {
        font-size: 17px;
        width: 100%;
    }

    .help-dialog {
        padding: 27px 22px;
        border-radius: 17px;
    }

    .help-dialog h2 {
        font-size: 23px;
    }

}

@media (max-width: 600px) {
    .option-grid[data-count='3']:not(.work-grid) {
        grid-template-columns: 1fr;
    }

    .option-grid[data-count='3']:not(.work-grid) .choice {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        align-items: center;
        padding: 5px;
        gap: 14px;
    }

    .option-grid[data-count='3']:not(.work-grid) .choice-picture {
        aspect-ratio: 1.15;
    }

    .option-grid[data-count='3']:not(.work-grid) .choice-title {
        min-height: 0;
        font-size: 12px;
        line-height: 1.55;
        padding: 14px 21px 14px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .choice:hover, .choice:hover .choice-picture img, .primary-button:hover:not(:disabled), .preview-image {
        transform: none !important;
    }

}


/* The approved wizard inherits the active site palette inside its own scope. */
[hidden] { display: none !important; }
.configurator { scroll-margin-top: 110px; }
.preview-sticky { top: 104px; }
.service-tabs, .step-number, .area-section, .contact-intro { background: var(--soft); }
.choice, .area-input-wrap, .phone-field input, .wizard-bottom { background: var(--surface); }
.choice[aria-checked='true'] { background: var(--calc-selected); }
.preview-column, .help-dialog { background: var(--paper); }
.contact-intro, .area-input-wrap, .phone-field input { border-color: var(--line); }
.group-help, .step-nav button, .next-hint, .contact-note, .final-choice-list dt,
.preview-caption, .preview-live, .summary-note, .summary-row dt, .summary-row dd.empty,
.preview-description p { color: var(--muted); }
.selection-summary { border-color: var(--line); }
.step-nav button[aria-current='step'], .step-nav button.completed { color: var(--ink); }
.step-nav button.completed .step-number { background: var(--soft); }
.primary-button, .choice[aria-checked='true'] .choice-check { color: #252b23; }
.primary-button { justify-content: center; }
.primary-button:disabled { background: var(--soft); border-color: var(--line); color: var(--muted); }
.dialog-close, .help-note { background: var(--soft); color: var(--ink); }
.toast { background: var(--ink); color: var(--paper); z-index: 30; }
.wizard-bottom { flex-wrap: wrap; }
.request-error { order: 4; flex-basis: 100%; margin: 0; color: var(--error); }
.field-error { color: var(--error); }
.phone-field input[aria-invalid='true'] { border-color: var(--error); }
@media (max-width: 900px) { .preview-sticky { top: auto; } }
@media (max-width: 600px) {
    .service-tabs button { min-width: 0; white-space: normal; line-height: 1.35; }
    .tab-pictogram { flex-shrink: 0; }
}
