/* Embedded forms inherit their container instead of using the full-width shell. */
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    container-type: inline-size;
}
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .tss-shell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-radius: 20px;
    box-shadow: none;
}
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .tss-shell::before,
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .tss-click-icon,
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .home-link[onclick="location.reload()"] {
    display: none;
}
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-card {
    padding: 24px;
    margin: 0;
}
:is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-site-title {
    overflow-wrap: anywhere;
}
@container (max-width: 620px) {
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-header__top,
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-row {
        flex-direction: column;
        display: flex;
        gap: 16px;
    }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-header__identity,
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-header__contact-actions,
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-group {
        width: 100%;
        min-width: 0;
        flex: 0 1 auto;
    }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-header__contact-action {
        width: 100%;
        max-width: 100%;
    }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] [data-tss-id="fast-step-2"] { grid-template-columns: minmax(0, 1fr); }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-card { padding: 18px; }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .form-header h2 { font-size: 1.25rem; }
    :is(#tss-offer-module, [data-tss-module])[data-tss-offer-mode="inline"] .btn-submit { width: 100%; }
}
