.n2-section .offer-lead {
    font-size: 18px;
    line-height: 1.45;
    color: #243044;
}

.n2-actions,
.n2-actions *,
.n2-overlay,
.n2-overlay * {
    box-sizing: border-box;
}

.n2-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 4px 0 18px;
}

.n2-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 92px;
    margin: 0;
    padding: 16px;
    border: 3px solid #01357e;
    border-radius: 6px;
    background: #fff;
    color: #01357e;
    text-align: left;
    cursor: pointer;
}

.n2-open-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #01357e;
}

.n2-open-hint {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.35;
    color: #243044;
}

.n2-open:hover,
.n2-open:active {
    background: #e7eef8;
}

.n2-open:focus-visible,
.n2-choice:focus-visible,
.n2-close:focus-visible,
.n2-back:focus-visible,
.n2-search-wrap input:focus-visible {
    outline: 3px solid #0270d6;
    outline-offset: 2px;
}

.n2-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(1, 20, 50, 0.55);
}

.n2-overlay[hidden] {
    display: none !important;
}

.n2-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.n2-head {
    flex: 0 0 auto;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
}

.n2-head-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.n2-head h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    color: #01357e;
}

.n2-lead {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #444;
}

.n2-back {
    min-height: 44px;
    margin: 8px 0 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #01357e;
    font-size: 17px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.n2-back[hidden],
.n2-search-wrap[hidden],
.n2-lead[hidden] {
    display: none !important;
}

.n2-search-wrap {
    margin-top: 12px;
}

.n2-search-wrap label {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    color: #243044;
}

.n2-search-wrap input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #8a97a8;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    font-size: 18px;
}

.n2-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}

.n2-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.n2-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e4e4e4;
    list-style: none;
}

.n2-choice {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #01357e;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.n2-choice-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

button.n2-choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.n2-choice-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.n2-choice-note {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #666;
    text-decoration: none;
}

.n2-choice-go {
    flex: 0 0 auto;
    margin-left: 12px;
    font-size: 20px;
    line-height: 1;
    color: #5c6b80;
}

.n2-choice:hover,
.n2-choice:active {
    background: #f3f6fa;
}

.n2-choice:hover .n2-choice-text,
.n2-choice:focus-visible .n2-choice-text {
    color: #0270d6;
}

.n2-choice-paused .n2-choice-note {
    color: #c0392b;
    font-weight: 600;
}

.n2-empty,
.n2-count {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.4;
    color: #243044;
}

.n2-close {
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #01357e;
    border-radius: 4px;
    background: #fff;
    color: #01357e;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.n2-close:hover,
.n2-close:active {
    background: #01357e;
    color: #fff;
}

body.n2-lock {
    overflow: hidden;
}

@media (max-width: 700px) {
    #quatro > .home-offer-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-offer {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (min-width: 700px) {
    .n2-overlay {
        align-items: center;
        padding: 32px 16px;
    }

    .n2-panel {
        width: min(680px, 100%);
        height: auto;
        max-height: min(84vh, 760px);
        max-height: min(84dvh, 760px);
        border: 1px solid #d5dbe3;
        border-radius: 4px;
        box-shadow: 0 12px 32px rgba(1, 20, 50, 0.22);
    }

    .n2-head {
        padding: 18px 22px 14px;
    }

    .n2-body {
        padding: 8px 22px 18px;
    }
}

@media (min-width: 900px) {
    .n2-actions {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}
