.mb81-sr {
    --mb81-sr-ink: #30231c;
    --mb81-sr-muted: #6d5d52;
    --mb81-sr-paper: #f8f5ed;
    --mb81-sr-accent: #a64e2d;
    --mb81-sr-line: #d9cec0;
    width: 100%;
    color: var(--mb81-sr-ink);
    scroll-margin-top: 28px;
    font-family: inherit;
}
.mb81-sr *, .mb81-sr *::before, .mb81-sr *::after { box-sizing: border-box; }
.mb81-sr [hidden], .mb81-sr-privacy[hidden] { display: none !important; }
.mb81-sr-card {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--mb81-sr-line);
    border-radius: 20px;
    background: var(--mb81-sr-paper);
    box-shadow: 0 14px 40px #30231c08;
}
.mb81-sr .mb81-sr-title {
    margin: 0 0 10px;
    color: var(--mb81-sr-ink);
    font-family: inherit;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.mb81-sr .mb81-sr-intro {
    margin: 0 0 24px;
    max-width: 45ch;
    color: var(--mb81-sr-muted);
    font-size: 16px;
    line-height: 1.5;
}
.mb81-sr .mb81-sr-intro p { margin: 0; }
.mb81-sr .mb81-sr-intro .mb81-sr-test-notice { margin-top: 12px; font-size: 13px; }
.mb81-sr-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 18px;
    margin: 0 0 22px;
}
.mb81-sr-field { min-width: 0; }
.mb81-sr-fields > .mb81-sr-trainings,
.mb81-sr-fields > .mb81-sr-consent,
.mb81-sr-fields > .mb81-sr-submit,
.mb81-sr-fields > .mb81-sr-note { grid-column: 1 / -1; }
.mb81-sr .mb81-sr-field > label,
.mb81-sr .mb81-sr-trainings > legend {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: var(--mb81-sr-ink);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}
.mb81-sr input[type="text"],
.mb81-sr input[type="tel"] {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #b9aa9a;
    border-radius: 9px;
    background: #fff;
    color: var(--mb81-sr-ink);
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-overflow: ellipsis;
}
.mb81-sr input::placeholder { color: #8b7e72; opacity: 1; }
.mb81-sr input:focus-visible,
.mb81-sr button:focus-visible,
.mb81-sr a:focus-visible,
.mb81-sr-privacy button:focus-visible,
.mb81-sr-privacy a:focus-visible {
    outline: 3px solid #a64e2d;
    outline-offset: 3px;
}
.mb81-sr input[aria-invalid="true"] { border-color: #ad3024; }
.mb81-sr-trainings {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.mb81-sr-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    padding: 14px 15px;
    border: 1px solid var(--mb81-sr-line);
    border-radius: 10px;
    background: #fffdf8;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.45;
}
.mb81-sr-choice:last-of-type { margin-bottom: 0; }
.mb81-sr-choice:has(input:checked) { border-color: var(--mb81-sr-accent); background: #fff8ef; }
.mb81-sr-choice strong { display: block; margin-bottom: 3px; font-weight: 650; color: var(--mb81-sr-ink); }
.mb81-sr-choice small { display: block; margin-top: 3px; color: var(--mb81-sr-muted); font-size: 13px; }
.mb81-sr input[type="checkbox"] {
    position: static;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 2px 0 0;
    opacity: 1;
    appearance: auto;
    accent-color: var(--mb81-sr-accent);
    cursor: pointer;
}
.mb81-sr-consent {
    display: block;
    margin: 0;
    color: var(--mb81-sr-muted);
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}
.mb81-sr-consent > label { display: flex; align-items: flex-start; gap: 11px; margin: 0; cursor: pointer; }
.mb81-sr-consent a { color: #7b361d; text-decoration: underline; text-underline-offset: 3px; }
.mb81-sr .mb81-sr-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 14px 24px;
    border: 1px solid var(--mb81-sr-accent);
    border-radius: 10px;
    background: var(--mb81-sr-accent);
    color: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.mb81-sr .mb81-sr-submit:hover:not(:disabled) { background: #843b21; border-color: #843b21; }
.mb81-sr .mb81-sr-submit:disabled { opacity: .7; cursor: wait; }
.mb81-sr .mb81-sr-note { margin: 11px 0 0; color: var(--mb81-sr-muted); font-size: 12px; line-height: 1.5; text-align: center; }
.mb81-sr .mb81-sr-fields > .mb81-sr-note { margin-top: -8px; }
.mb81-sr-field-error { display: block; margin-top: 6px; color: #963126; font-size: 13px; line-height: 1.45; }
.mb81-sr [data-mb81-error], .mb81-sr [data-mb81-success] {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.mb81-sr [data-mb81-error] { border: 1px solid #cba19a; background: #fff2ee; color: #842e23; }
.mb81-sr [data-mb81-success] { border: 1px solid #98ac93; background: #f0f5eb; color: #304c2c; }
.mb81-sr-is-complete .mb81-sr-fields,
.mb81-sr-is-complete .mb81-sr-trainings,
.mb81-sr-is-complete .mb81-sr-consent,
.mb81-sr-is-complete .mb81-sr-submit,
.mb81-sr-is-complete .mb81-sr-note,
.mb81-sr-is-complete .mb81-sr-field-error { display: none; }
.mb81-sr [data-mb81-honeypot], .mb81-sr .mb81-sr-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    pointer-events: none;
}
.mb81-sr-privacy {
    position: fixed;
    z-index: 1000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: 720px;
    margin: auto;
    padding: 17px 19px;
    border: 1px solid #d9cec0;
    border-radius: 12px;
    background: #fffdf8;
    color: #30231c;
    box-shadow: 0 5px 30px #30231c25;
    font: 15px/1.5 sans-serif;
}
.mb81-sr-privacy p { margin: 0 0 8px; }
.mb81-sr-privacy a { color: #7b361d; text-decoration: underline; text-underline-offset: 3px; }
.mb81-sr-privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mb81-sr-privacy button {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #8d6f5c;
    border-radius: 7px;
    background: #fff;
    color: #30231c;
    font: inherit;
    cursor: pointer;
}
.mb81-sr-privacy button:first-child { background: #a64e2d; border-color: #a64e2d; color: #fff; }
@media (max-width: 560px) {
    .mb81-sr-card { padding: 23px 18px; border-radius: 15px; }
    .mb81-sr-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .mb81-sr .mb81-sr-title { font-size: 26px; }
    .mb81-sr .mb81-sr-intro { font-size: 15px; margin-bottom: 22px; }
    .mb81-sr-choice { padding: 13px 12px; gap: 10px; font-size: 14px; }
    .mb81-sr-privacy { right: 10px; bottom: 10px; left: 10px; padding: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .mb81-sr * { scroll-behavior: auto !important; transition: none !important; } }
