.sot-rc {
    --sot-ink: #17252f;
    --sot-muted: #61707a;
    --sot-line: #dbe2e7;
    --sot-accent: #185d72;
    --sot-accent-dark: #0f4354;
    --sot-soft: #f3f7f8;
    max-width: 760px;
    margin: 2rem auto;
    color: var(--sot-ink);
}

.sot-rc *, .sot-rc *::before, .sot-rc *::after { box-sizing: border-box; }
.sot-rc__heading { margin-bottom: 1.25rem; }
.sot-rc__heading h2 { margin: .15rem 0 .65rem; font-size: clamp(1.55rem, 4vw, 2.1rem); }
.sot-rc__heading p:last-child { margin: 0; color: var(--sot-muted); line-height: 1.75; }
.sot-rc__eyebrow { margin: 0; color: var(--sot-accent); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }

.sot-rc__form {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--sot-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(23, 37, 47, .06);
}
.sot-rc__form--compact { margin-top: 1rem; background: var(--sot-soft); box-shadow: none; }
.sot-rc__field { display: grid; gap: .45rem; font-weight: 700; }
.sot-rc__field input[type="password"], .sot-rc__field input[type="file"] {
    width: 100%;
    min-height: 46px;
    padding: .65rem .75rem;
    border: 1px solid #b9c5cc;
    border-radius: 8px;
    background: #fff;
    color: var(--sot-ink);
    font: inherit;
}
.sot-rc__field input:focus { outline: 3px solid rgba(24, 93, 114, .18); border-color: var(--sot-accent); }
.sot-rc__remember, .sot-rc__consent { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.55; }
.sot-rc__remember input, .sot-rc__consent input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.sot-rc__options { margin: 0; padding: 1rem; border: 1px solid rgba(127, 127, 127, .35); border-radius: .5rem; }
.sot-rc__options legend { padding: 0 .35rem; font-weight: 700; }
.sot-rc__options .sot-rc__consent + .sot-rc__consent { margin-top: .55rem; }
.sot-rc__options .sot-rc__privacy { margin-bottom: 0; }
.sot-rc__privacy { margin: -.2rem 0 0; color: var(--sot-muted); font-size: .82rem; line-height: 1.65; }

.sot-rc__button {
    min-height: 48px;
    padding: .75rem 1.2rem;
    border: 0;
    border-radius: 9px;
    background: var(--sot-accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}
.sot-rc__button:hover { background: var(--sot-accent-dark); transform: translateY(-1px); }
.sot-rc__button:focus-visible { outline: 3px solid rgba(24, 93, 114, .28); outline-offset: 3px; }
.sot-rc__button--secondary { color: var(--sot-accent-dark); background: #dbecef; }
.sot-rc__button--secondary:hover { color: #fff; background: var(--sot-accent); }
.sot-rc__form.is-busy { opacity: .74; }
.sot-rc__form :disabled { cursor: wait; }

.sot-rc__status { min-height: 1.5em; font-size: .92rem; line-height: 1.6; }
.sot-rc__status--working { color: #6f5a18; }
.sot-rc__status--success { color: #17643a; font-weight: 700; }
.sot-rc__status--error { color: #a12828; font-weight: 700; }
.sot-rc__notice { padding: 1rem; border-radius: 9px; }
.sot-rc__notice--warn { color: #654f14; background: #fff4cc; }
.sot-rc__contribute { margin-top: 1.2rem; }
.sot-rc__contribute summary { color: var(--sot-accent-dark); font-weight: 700; cursor: pointer; }

@media (max-width: 600px) {
    .sot-rc { margin: 1.25rem auto; }
    .sot-rc__form { border-radius: 10px; }
}
