.brm-panel {
    max-width: 720px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #ded7ca;
    border-radius: 8px;
    background: #fff;
    color: #29251f;
}

.brm-panel h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.5rem;
    line-height: 1.25;
}

.brm-form {
    display: grid;
    gap: 16px;
}

.brm-form label {
    display: grid;
    gap: 6px;
    font-size: 24px;
    font-weight: 400;
}

.brm-form input[type="text"],
.brm-form input[type="email"],
.brm-form input[type="password"],
.brm-form input[type="url"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #bdb5a8;
    border-radius: 6px;
    font: inherit;
    font-size: 16px;
}

.brm-password-field {
    position: relative;
    display: block;
    width: 100%;
}

.brm-password-field input[type="password"],
.brm-password-field input[type="text"] {
    padding-right: 48px;
}

.brm-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4f463c;
    cursor: pointer;
    transform: translateY(-50%);
}

.brm-password-toggle:hover,
.brm-password-toggle:focus {
    background: #f4efe8;
}

.brm-password-toggle:focus {
    outline: 2px solid #2d5f8f;
    outline-offset: 1px;
}

.brm-password-toggle.is-visible {
    color: #2d5f8f;
}

.brm-password-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.brm-turnstile {
    min-height: 65px;
}

.brm-turnstile .cf-turnstile {
    max-width: 100%;
}

.brm-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px;
}

.brm-button,
.brm-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #6f3f28;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.brm-link-button {
    background: #3f5f67;
}

.brm-button:hover,
.brm-button:focus,
.brm-link-button:hover,
.brm-link-button:focus {
    color: #fff;
    filter: brightness(0.94);
}

.brm-small {
    margin: 0;
    font-size: 0.95rem;
}

.brm-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #eef5f7;
    color: #18343b;
}

.brm-notice-error {
    background: #faeeee;
    color: #732626;
}

.brm-notice-success {
    background: #eef7f0;
    color: #275b34;
}

.brm-plan-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brm-plan-list li {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #ded7ca;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .brm-panel {
        margin: 16px 0;
        padding: 18px;
    }
}
