.mctr {
    box-sizing: border-box;
    max-width: 42rem;
    margin: 1rem auto;
    padding: clamp(1rem, 4vw, 2.5rem);
    border: 1px solid #d4ded6;
    border-radius: 1.4rem;
    color: #183b32;
    background: #faf8f1;
    font: 1rem/1.55 system-ui, sans-serif;
}
.mctr *, .mctr *::before, .mctr *::after { box-sizing: border-box; }
.mctr[hidden], .mctr [hidden] { display: none !important; }
.mctr fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mctr legend { padding: 0; font: 600 clamp(1.5rem, 4vw, 2rem)/1.2 Georgia, serif; }
.mctr-progress { font-size: .9rem; font-weight: 700; }
.mctr label { display: block; margin-top: 1rem; font-weight: 650; }
.mctr input, .mctr select, .mctr textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: .35rem;
    padding: .65rem;
    border: 1px solid #879d91;
    border-radius: .65rem;
    background: white;
    color: #183b32;
    font: inherit;
}
.mctr button {
    min-height: 46px;
    padding: .6rem 1rem;
    border: 1px solid #185341;
    border-radius: .65rem;
    color: white;
    background: #185341;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.mctr [data-back] { color: #185341; background: transparent; }
.mctr [data-send] { margin-top: .75rem; }
.mctr :focus-visible { outline: 3px solid #a85b28; outline-offset: 3px; }
.mctr-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.mctr-review { overflow-wrap: anywhere; }
.mctr-review dt { font-weight: 700; }
.mctr-review dd { margin: 0 0 .65rem; }

.mctr-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    gap: .65rem;
    margin-top: 1rem;
}
.mctr .mctr-choices label {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 48px;
    margin: 0;
    padding: .65rem .8rem;
    border: 1px solid #a5b9ad;
    border-radius: .75rem;
    background: #fff;
    cursor: pointer;
}
.mctr .mctr-choices input {
    appearance: auto;
    width: 1.1rem;
    height: 1.1rem;
    min-height: 0;
    flex: none;
    margin: 0;
    accent-color: #185341;
}
.mctr .mctr-choices label:has(input:checked) {
    background: #e7f2ea;
    border-color: #185341;
}

.mctr [data-send][data-state="sending"] {
    background: #80511e;
    border-color: #80511e;
    color: #fff;
}
.mctr [data-send][data-state="sent"] {
    background: #e4efe7;
    border-color: #769481;
    color: #184334;
}
.mctr [data-send]:disabled {
    cursor: wait;
    opacity: 1;
}

.mctr .mctr-registration-heading {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-radius: .75rem;
    background: #185341;
    color: #fff;
    font: 600 clamp(1.3rem, 4vw, 1.8rem)/1.2 Georgia, serif;
}

.mctr .mctr-consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}
.mctr .mctr-consent input {
    appearance: auto;
    width: 1.15rem;
    height: 1.15rem;
    min-height: 0;
    flex: none;
    accent-color: #185341;
}

.mctr .mctr-teacher-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(5.2rem,1fr));gap:.4rem;margin:.8rem 0 1.1rem;padding:0;list-style:none}
.mctr .mctr-teacher-steps li{padding:.45rem .2rem;text-align:center;border-radius:.55rem;background:#eef4fc;color:#334969;font-size:.82rem;font-weight:650}
.mctr .mctr-teacher-steps li[aria-current=step]{background:#17489c;color:#fff}
.mctr .mctr-teacher-steps li.is-done{background:#d6f4e7;color:#115642}
.mctr .mctr-teacher-steps li.is-done::before{content:"✓ "}

.mctr a.mctr-pay-button {
    display:inline-flex;align-items:center;justify-content:center;
    min-height:56px;margin-top:18px;padding:16px 28px;border-radius:12px;
    background:#17489c;color:#fff;text-decoration:none;font-size:1.1rem;
    font-weight:800;line-height:1.4;box-shadow:0 5px 16px #17489c30;
    max-width:100%;box-sizing:border-box;text-align:center;
}
.mctr a.mctr-pay-button:hover {background:#103774;color:#fff;}
.mctr a.mctr-pay-button:focus-visible {outline:3px solid #ad4b00;outline-offset:4px;}
@media(max-width:520px){.mctr a.mctr-pay-button{width:100%;padding-inline:16px;}}

.mctr input::placeholder,.mctr textarea::placeholder{color:#8795a6;opacity:1}.mctr-age{font-size:.85rem;color:#52677e}
