.sh-callback-open {
    position: fixed;
    inset-inline-end: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 900;
    min-height: 46px;
    padding: .65rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: #0f5b57;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 28px #0f4d4940;
}

#sh-callback {
    box-sizing: border-box;
    width: min(28rem, calc(100% - 2rem));
    max-width: 100%;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid #dce8e4;
    border-radius: 1.4rem;
    background: #fff;
    color: #193630;
    box-shadow: 0 24px 72px #0d2c3650;
    overscroll-behavior: contain;
    text-align: right;
}

#sh-callback::backdrop { background: #122e397d; }
#sh-callback .sh-callback-heading {
    background: linear-gradient(135deg, #edf7f2, #dbefea);
    padding: 1.55rem 1.5rem 1.25rem;
}
#sh-callback h2 { margin: 0 0 .4rem; padding-inline-end: 2rem; font-size: 1.45rem; line-height: 1.55; }
#sh-callback p { margin: 0; line-height: 1.75; }
#sh-callback form { padding: 1.2rem 1.5rem .8rem; }
#sh-callback label[for] { font-weight: 700; }
#sh-callback input[type=tel] {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin-block: .4rem;
    padding: .55rem .75rem;
    border: 1px solid #879f98;
    border-radius: .65rem;
    background: #fbfdfc;
    color: #183630;
    font: inherit;
    font-size: max(16px, 1em);
}
#sh-callback input[aria-invalid=true] { border-color: #982f33; }
#sh-callback #sh-callback-hint { color: #405c55; font-size: .8rem; }
#sh-callback .sh-callback-close,
#sh-callback .sh-callback-later {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #34554e;
    font: inherit;
    cursor: pointer;
}
#sh-callback .sh-callback-close {
    position: absolute;
    top: .65rem;
    inset-inline-end: .65rem;
    width: 44px;
    border-radius: 50%;
    font-size: 1.55rem;
}
#sh-callback .sh-callback-close:hover,
#sh-callback .sh-callback-later:hover { background: #d3e7e069; }
#sh-callback .sh-callback-submit {
    width: 100%;
    min-height: 48px;
    padding: .55rem;
    border: 0;
    border-radius: .7rem;
    background: #0f5b57;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
#sh-callback .sh-callback-submit:disabled { opacity: .65; }
#sh-callback .sh-callback-status:not(:empty) { margin-block-start: .75rem; font-size: .9rem; }
#sh-callback .sh-callback-status[data-state] { padding: .55rem .7rem; border-radius: .6rem; }
#sh-callback .sh-callback-status[data-state=success] { background: #e7f5ec; color: #21553c; }
#sh-callback .sh-callback-status[data-state=error] { background: #fff1ef; color: #852b30; }
#sh-callback .sh-callback-later { display: block; margin: .25rem auto 0; padding-inline: .75rem; border-radius: .6rem; }
#sh-callback .sh-callback-consent {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 38px;
    margin: .35rem 0 .65rem;
    color: #405c55;
    font-size: .8rem;
    line-height: 1.65;
}
#sh-callback input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; accent-color: #0f5b57; }
#sh-callback :focus-visible, .sh-callback-open:focus-visible { outline: 2px solid #147268; outline-offset: 3px; }
@media (max-width: 560px) {
    #sh-callback {
        width: 100%;
        max-height: calc(100dvh - .75rem);
        margin: auto auto 0;
        border-radius: 1.25rem 1.25rem 0 0;
        padding-block-end: env(safe-area-inset-bottom);
    }
}
