.nmrs {
    --nmrs-navy: #1c244b;
    --nmrs-blue: #306692;
    --nmrs-blue-2: #477aa5;
    --nmrs-soft: #f3f7fb;
    --nmrs-line: #dbe5ee;
    --nmrs-text: #273552;
    --nmrs-muted: #65738a;
    --nmrs-warning-bg: #fff5d9;
    --nmrs-warning-border: #e3b85c;
    --nmrs-warning-text: #70501a;
    box-sizing: border-box;
    width: min(100%, 1120px);
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--nmrs-text);
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    scroll-margin-top: 132px;
}

.nmrs *, .nmrs *::before, .nmrs *::after { box-sizing: border-box; }
.nmrs [hidden] { display: none !important; }
.nmrs svg { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.nmrs__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.nmrs__title {
    max-width: 18ch;
    margin: 0 0 8px;
    color: var(--nmrs-navy);
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.nmrs__subtitle { max-width: 68ch; margin: 0; color: var(--nmrs-muted); }

.nmrs__progress-wrap { margin-bottom: 14px; }
.nmrs__progress-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: var(--nmrs-muted); font-size: .84rem; font-weight: 600; }
.nmrs__progress { height: 6px; overflow: hidden; border-radius: 6px; background: #dce6ef; }
.nmrs__progress > span { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--nmrs-blue); transition: width 220ms ease; }

.nmrs__trail { display: flex; flex-wrap: wrap; gap: 7px; min-height: 31px; margin-bottom: 12px; }
.nmrs__trail-item { padding: 4px 10px; border-radius: 999px; color: var(--nmrs-blue); background: #eaf2f8; font-size: .78rem; font-weight: 600; }
.nmrs__trail-item + .nmrs__trail-item::before { content: ""; }

.nmrs__panel, .nmrs__summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 390px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--nmrs-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(28, 36, 75, .08);
}

.nmrs__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    margin: -10px 0 12px -9px;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    color: var(--nmrs-blue);
    background: transparent;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}

.nmrs .nmrs__back:hover { color: var(--nmrs-blue) !important; background: var(--nmrs-soft); }
.nmrs__back svg { width: 20px; height: 20px; }

.nmrs__question-row { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.nmrs__question { margin: 0 0 5px; color: var(--nmrs-navy); font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; }
.nmrs__hint { margin: 0; color: var(--nmrs-muted); font-size: .9rem; }

.nmrs__search { position: relative; display: block; flex: 0 1 320px; }
.nmrs__search svg { position: absolute; top: 50%; left: 14px; width: 19px; height: 19px; color: var(--nmrs-muted); transform: translateY(-50%); pointer-events: none; }
.nmrs__search input {
    width: 100%; min-height: 48px; padding: 10px 14px 10px 44px;
    border: 1px solid #b9c9d8; border-radius: 12px; color: var(--nmrs-text); background: #fff;
    font: inherit; font-size: .95rem;
}

.nmrs__status { margin: 0 0 14px; color: var(--nmrs-muted); font-size: .9rem; }
.nmrs__status.is-error { padding: 12px 14px; border-left: 4px solid #b42318; color: #7a271a; background: #fff0ee; }

.nmrs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.nmrs__grid--repairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nmrs__choice, .nmrs__repair {
    min-height: 132px;
    border: 2px solid var(--nmrs-line);
    border-radius: 16px;
    color: var(--nmrs-text);
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nmrs__choice { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px; }
.nmrs .nmrs__choice:hover, .nmrs .nmrs__repair:hover {
    border-color: var(--nmrs-blue);
    color: var(--nmrs-text) !important;
    background: #f9fbfd;
    transform: translateY(-2px);
}
.nmrs .nmrs__choice:hover .nmrs__choice-label { color: var(--nmrs-text) !important; }
.nmrs__choice-visual { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--nmrs-blue); background: #eaf2f8; }
.nmrs__choice-visual svg { width: 30px; height: 30px; }
.nmrs__choice-visual--letters { font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.nmrs__choice-label { font-weight: 650; line-height: 1.25; }

.nmrs__repair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 18px; align-items: start; min-height: 154px; padding: 20px; }
.nmrs__repair > * { min-width: 0; }
.nmrs__repair-head { display: flex; align-items: center; gap: 10px; }
.nmrs__repair-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--nmrs-blue); background: #eaf2f8; }
.nmrs__repair-icon svg { width: 22px; height: 22px; }
.nmrs__repair-name { color: var(--nmrs-navy); font-weight: 700; }
.nmrs__repair-detail { grid-column: 1; padding-left: 48px; color: var(--nmrs-muted); font-size: .84rem; }
.nmrs__repair-price { grid-column: 2; grid-row: 1; color: var(--nmrs-navy); font-size: 1.32rem; white-space: nowrap; }
.nmrs__repair-warning {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border-left: 3px solid var(--nmrs-warning-border);
    border-radius: 7px;
    color: var(--nmrs-warning-text) !important;
    background: var(--nmrs-warning-bg);
    font-size: .78rem;
    line-height: 1.45;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}
.nmrs .nmrs__repair:hover .nmrs__repair-warning,
.nmrs .nmrs__repair:hover .nmrs__repair-warning strong { color: var(--nmrs-warning-text) !important; }

.nmrs__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px 40px; min-height: 300px; }
.nmrs__summary-copy, .nmrs__price-block { min-width: 0; max-width: 100%; }
.nmrs__summary-kicker { margin: 0 0 8px; color: var(--nmrs-blue); font-size: .84rem; font-weight: 700; }
.nmrs__summary h3 { margin: 0 0 8px; color: var(--nmrs-navy); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
.nmrs__summary-copy > p:last-child { margin: 0; color: var(--nmrs-muted); }
.nmrs__price-block { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.nmrs__price-block span { max-width: 24ch; color: var(--nmrs-muted); font-size: .78rem; }
.nmrs__price-block strong { color: var(--nmrs-navy); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.nmrs__summary-warning { grid-column: 1 / -1; padding: 14px 16px; border-left: 4px solid var(--nmrs-warning-border); border-radius: 8px; color: var(--nmrs-warning-text); background: var(--nmrs-warning-bg); font-size: .9rem; }
.nmrs__summary-actions { grid-column: 1 / -1; display: flex; width: 100%; max-width: 100%; min-width: 0; flex-wrap: wrap; gap: 10px; }
.nmrs__primary, .nmrs__secondary {
    max-width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    font: inherit;
    font-weight: 650;
    line-height: 1.35;
    white-space: normal !important;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.nmrs__primary { border: 2px solid var(--nmrs-blue); color: #fff; background: var(--nmrs-blue); }
.nmrs .nmrs__primary:hover { border-color: var(--nmrs-navy); color: #fff !important; background: var(--nmrs-navy); }
.nmrs__secondary { border: 2px solid #bdcddd; color: var(--nmrs-blue); background: #fff; }
.nmrs .nmrs__secondary:hover { border-color: var(--nmrs-blue); color: var(--nmrs-blue) !important; background: var(--nmrs-soft); }

.nmrs button:focus-visible, .nmrs input:focus-visible { outline: 3px solid rgba(48, 102, 146, .32); outline-offset: 3px; }

@media (max-width: 760px) {
    .nmrs__intro, .nmrs__question-row { align-items: stretch; flex-direction: column; }
    .nmrs__search { width: 100%; flex-basis: auto; }
    .nmrs__grid, .nmrs__grid--repairs { grid-template-columns: 1fr; }
    .nmrs__choice { min-height: 104px; flex-direction: row; align-items: center; justify-content: flex-start; }
    .nmrs__repair { grid-template-columns: 1fr auto; }
    .nmrs__summary { grid-template-columns: 1fr; }
    .nmrs__price-block { align-items: flex-start; text-align: left; }
    .nmrs__summary-actions { flex-direction: column; }
    .nmrs .nmrs__primary, .nmrs .nmrs__secondary { width: 100% !important; }
}

@media (min-width: 761px) and (max-width: 1024px) {
    .nmrs { width: 100%; padding-inline: 18px; scroll-margin-top: 112px; }
    .nmrs__panel, .nmrs__summary { min-height: 340px; padding: 30px; }
    .nmrs__question-row { align-items: stretch; flex-direction: column; margin-bottom: 20px; }
    .nmrs__search { width: 100%; max-width: 520px; flex-basis: auto; }
    .nmrs__grid--repairs { grid-template-columns: 1fr; }
    .nmrs__repair { min-height: 136px; }
    .nmrs__repair-warning { font-size: .82rem; }
}

@media (max-width: 430px) {
    .nmrs__panel, .nmrs__summary { padding: 20px 16px; border-radius: 18px; }
    .nmrs__repair { display: flex; flex-direction: column; }
    .nmrs__repair-detail { padding-left: 48px; margin-top: -5px; }
    .nmrs__repair-price { margin-top: 8px; }
}

@media (max-width: 760px) {
    .nmrs { padding-inline: 0; scroll-margin-top: 88px; }
    .nmrs__intro { margin-bottom: 24px; }
    .nmrs__title { max-width: 100%; font-size: 30px; line-height: 1.12; letter-spacing: -.025em; }
    .nmrs__subtitle { max-width: 34ch; font-size: 15px; line-height: 1.5; }
    .nmrs__progress-wrap { margin-bottom: 12px; }
    .nmrs__progress-meta { gap: 12px; font-size: 12px; }
    .nmrs__trail { min-height: 0; gap: 6px; margin-bottom: 12px; }
    .nmrs__trail-item { padding: 4px 9px; font-size: 12px; overflow-wrap: anywhere; }
    .nmrs__repair { min-height: 0; padding: 18px; }
    .nmrs__repair-warning { width: 100%; margin-top: 8px; font-size: .82rem; }
    .nmrs__summary { min-height: 0; padding: 22px 18px; border-radius: 18px; gap: 18px; }
    .nmrs__summary-kicker { margin-bottom: 6px; font-size: 12px; }
    .nmrs__summary h3 { margin-bottom: 6px; font-size: 26px; line-height: 1.18; overflow-wrap: anywhere; }
    .nmrs__summary-copy > p:last-child { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
    .nmrs__price-block span { font-size: 12px; }
    .nmrs__price-block strong { font-size: 40px; line-height: 1.05; }
    .nmrs__summary-warning { padding: 12px 13px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
    .nmrs__summary-actions { gap: 10px; }
    .nmrs .nmrs__primary, .nmrs .nmrs__secondary {
        min-height: 52px;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 15px;
        line-height: 1.3;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nmrs *, .nmrs *::before, .nmrs *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
