.mg-callback-launch,
.mg-callback-submit {
    border: 0;
    border-radius: 999px;
    background: #143957;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.mg-callback-launch {
    position: fixed;
    z-index: 80;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 44px;
    box-shadow: 0 3px 16px #12283a44;
}

.mg-callback-launch[hidden],
.mg-callback [hidden] { display: none !important; }

.mg-callback {
    position: fixed;
    inset: auto max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) auto;
    margin: 0;
    width: min(396px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100dvh - 28px);
    box-sizing: border-box;
    padding: 18px 20px 20px;
    border: 1px solid #dae1e7;
    border-radius: 16px;
    background: #fff;
    color: #172b3c;
    box-shadow: 0 10px 35px #12283a33;
    overscroll-behavior: contain;
}

.mg-callback::backdrop { background: #12283a44; }

.mg-callback-head { display: flex; align-items: center; min-height: 44px; padding-right: 36px; }
.mg-callback-head h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.mg-callback-head h2:focus { outline: none; }

.mg-callback-close {
    position: absolute;
    top: 3px;
    right: 5px;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 26px;
    line-height: 1;
}

.mg-callback-intro { margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.mg-callback label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.mg-callback label span { color: #4d5d68; font-weight: 400; }

.mg-callback input:not([type="hidden"]),
.mg-callback textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 10px;
    padding: 8px 10px;
    min-height: 42px;
    border: 1px solid #98a7b5;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
}

.mg-callback textarea { resize: vertical; }
.mg-callback-privacy { margin: 0 0 12px; color: #4d5d68; font-size: 12px; line-height: 1.5; }
.mg-callback-privacy a { color: #143957; text-decoration: underline; }
.mg-callback-submit { width: 100%; min-height: 44px; padding: 8px 16px; }
.mg-callback-submit:disabled { opacity: .65; cursor: wait; }
.mg-callback-status { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
