/* label_advisor_teaser module - v23 margin-top-992 */
.label-advisor-teaser {
    margin: var(--space-4) 0 var(--space-5);
    display: grid;
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.75fr);
    gap: var(--space-5);
    align-items: end;
    background: #eef5f0;
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, var(--color-border-subtle));
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    color: var(--color-text-main);
}

.label-advisor-teaser__content,
.label-advisor-teaser__right,
.label-advisor-teaser__field {
    min-width: 0;
}

.label-advisor-teaser .label-advisor-teaser__right {
    overflow: visible;
}

.label-advisor-teaser .label-advisor-teaser__field {
    position: relative !important;
}

.label-advisor-teaser .label-advisor-teaser__field--printer {
    z-index: 3;
}

.label-advisor-teaser__kicker {
    margin: 0 0 var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.label-advisor-teaser__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.18;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -.02em;
    color: var(--color-text-main);
}

.label-advisor-teaser__text {
    margin: var(--space-2) 0 0;
    line-height: 1.5;
    font-size: var(--font-size-sm);
    color: var(--color-text-soft);
    max-width: 360px;
}

.label-advisor-teaser__form {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) 118px 118px auto;
    gap: var(--space-3);
    align-items: end;
}

.label-advisor-teaser__label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 0 var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-main);
}

.label-advisor-teaser__step {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--color-primary-dark);
    border: 1px solid color-mix(in srgb, var(--color-primary) 36%, var(--color-border-subtle));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.label-advisor-teaser__input-wrap {
    position: relative;
}

.label-advisor-teaser__input {
    width: 100%;
    height: 46px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-subtle);
    background: #ffffff;
    color: var(--color-text-main);
    padding: 0 14px;
    outline: none;
    box-shadow: none;
    text-align: left;
}

.label-advisor-teaser__input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.label-advisor-teaser__input--number {
    padding-right: 40px;
    text-align: left;
}

.label-advisor-teaser__suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-subtle);
    font-size: var(--font-size-sm);
    pointer-events: none;
}

.label-advisor-teaser__button {
    height: 46px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-header-dark);
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    padding: 0 20px;
    white-space: nowrap;
    transition: background .15s ease, transform .1s ease;
}

.label-advisor-teaser__button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.label-advisor-teaser .label-advisor-teaser__suggestions {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    z-index: 4;
    display: none;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: 260px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(17, 24, 39, .14);
}

.label-advisor-teaser .label-advisor-teaser__suggestions.is-open {
    display: block;
}

.label-advisor-teaser__suggestion {
    display: block;
    width: 100%;
    border: 0;
    background: var(--color-surface);
    color: var(--color-text-main);
    text-align: left;
    padding: 10px 14px;
    cursor: pointer;
}

.label-advisor-teaser__suggestion:hover,
.label-advisor-teaser__suggestion:focus {
    background: var(--color-bg-soft);
    outline: none;
}

.label-advisor-teaser__error {
    display: none;
    margin-top: var(--space-2);
    color: var(--color-danger);
    font-size: var(--font-size-sm);
}

.label-advisor-teaser.has-error .label-advisor-teaser__error {
    display: block;
}

.label-advisor-teaser__mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-3);
    height: 40px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-header-dark);
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    padding: 0 16px;
}

.label-advisor-teaser__mobile-toggle:hover {
    background: var(--color-primary-dark);
}

.label-advisor-teaser--home {
    margin-top: var(--space-section);
    margin-bottom: var(--space-6);
}

.label-advisor-teaser--category {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
    align-items: end;
}

.label-advisor-teaser--compat {
    margin-top: var(--space-3);
    margin-bottom: var(--space-4);
}

.label-advisor-teaser--search_empty {
    margin-top: var(--space-4);
    margin-bottom: var(--space-5);
}

.label-advisor-teaser--category .label-advisor-teaser__content {
    min-width: 0;
}

.label-advisor-teaser--category .label-advisor-teaser__text {
    max-width: none;
}

.label-advisor-teaser--category .label-advisor-teaser__form {
    width: 100%;
    grid-template-columns: minmax(180px, 1fr) 96px 96px auto;
    gap: var(--space-3);
    justify-content: stretch;
}

.label-advisor-teaser--category .label-advisor-teaser__input {
    min-width: 0;
}

.label-advisor-teaser--category.label-advisor-teaser--no-printer {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    align-items: end;
}

.label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__content {
    max-width: 390px;
}

.label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__right {
    width: 100%;
    min-width: 0;
}

.label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__form {
    width: 100%;
    grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) auto;
    justify-content: stretch;
}


@media (max-width: 1300px) {
    .label-advisor-teaser--category {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .label-advisor-teaser--category .label-advisor-teaser__text {
        max-width: none;
    }

    .label-advisor-teaser--category .label-advisor-teaser__form {
        grid-template-columns: minmax(180px, 1fr) 96px 96px auto;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__content {
        max-width: none;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__form {
        grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) auto;
        justify-content: stretch;
    }
}

@media (max-width: 1040px) {
    .label-advisor-teaser {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .label-advisor-teaser__text {
        max-width: none;
    }

    .label-advisor-teaser--category {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .label-advisor-teaser--category .label-advisor-teaser__form {
        grid-template-columns: minmax(200px, 1fr) 96px 96px auto;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__content {
        max-width: none;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__form {
        grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) auto;
        justify-content: stretch;
    }
}

@media (max-width: 1200px), (pointer: coarse) and (max-width: 1400px), (max-height: 900px) {
    .label-advisor-teaser--category .label-advisor-teaser__form {
        grid-template-columns: 1fr 1fr;
    }

    .label-advisor-teaser--category .label-advisor-teaser__field--printer,
    .label-advisor-teaser--category .label-advisor-teaser__submit {
        grid-column: 1 / -1;
    }

    .label-advisor-teaser--category .label-advisor-teaser__button {
        width: 100%;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__form {
        grid-template-columns: 1fr 1fr;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__submit {
        grid-column: 1 / -1;
    }

    .label-advisor-teaser--category.label-advisor-teaser--no-printer .label-advisor-teaser__button {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .label-advisor-teaser:not(.label-advisor-teaser--category) .label-advisor-teaser__form {
        grid-template-columns: 1fr 1fr;
    }

    .label-advisor-teaser:not(.label-advisor-teaser--category) .label-advisor-teaser__field--printer,
    .label-advisor-teaser:not(.label-advisor-teaser--category) .label-advisor-teaser__submit {
        grid-column: 1 / -1;
    }

    .label-advisor-teaser:not(.label-advisor-teaser--category) .label-advisor-teaser__button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .label-advisor-teaser {
        padding: var(--space-4);
    }
}


@media (max-width: 1200px), (pointer: coarse) and (max-width: 1400px), (max-height: 900px) {
    .label-advisor-teaser--category {
        margin-top: var(--space-8);
        margin-bottom: var(--space-4);
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .label-advisor-teaser--category .label-advisor-teaser__kicker {
        margin-bottom: var(--space-1);
    }

    .label-advisor-teaser--category .label-advisor-teaser__title {
        font-size: 18px;
        line-height: 1.25;
    }

    .label-advisor-teaser--category .label-advisor-teaser__text {
        display: none;
    }

    .label-advisor-teaser--category .label-advisor-teaser__mobile-toggle {
        display: inline-flex;
    }

    .label-advisor-teaser--category:not(.is-expanded) .label-advisor-teaser__right {
        display: none;
    }

    .label-advisor-teaser--category.is-expanded .label-advisor-teaser__right {
        display: block;
    }
}

/* v23-margin-top-only-under-992 */

@media (max-width: 991px) {
    .label-advisor-teaser--category {
        margin-top: var(--space-4);
    }
}

/* v23: category helper collapses on tablet widths or low viewport height as OR; category margin-top only shrinks below 992px */
@media (max-width: 1200px), (pointer: coarse) and (max-width: 1400px), (max-height: 900px) {
    .label-advisor-teaser--category.is-expanded .label-advisor-teaser__mobile-toggle {
        display: inline-flex;
        height: auto;
        min-height: 0;
        margin-top: var(--space-2);
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--color-text-soft);
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-medium);
        text-decoration: underline;
        text-underline-offset: 3px;
        box-shadow: none;
        transform: none;
    }

    .label-advisor-teaser--category.is-expanded .label-advisor-teaser__mobile-toggle:hover {
        background: transparent;
        color: var(--color-text-main);
        transform: none;
    }
}
