.rb-ms-form {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 16px;
    padding: 28px 32px 32px;
    box-shadow: 0 12px 32px rgba(5, 29, 63, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #051D3F;
}
.rb-ms-form h3 {
    margin: 0 0 8px;
    color: #051D3F;
    font-size: 1.6rem;
    line-height: 1.25;
}
.rb-ms-form .rb-ms-intro { margin: 0 0 18px; color: #334155; }
.rb-ms-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rb-ms-float { position: relative; margin: 8px 0 18px; }
.rb-ms-float input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.95rem 1rem;
    border: 1px solid #c5ced8;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #051D3F;
    background: #fff;
}
.rb-ms-float label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 4px;
    background: #fff;
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    pointer-events: none;
    transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease, font-weight 0.15s ease;
}
.rb-ms-float input:focus + label,
.rb-ms-float input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #051D3F;
}
.rb-ms-float input:focus {
    outline: none;
    border-color: #C8102E;
    box-shadow: 0 0 0 1px #C8102E;
}
.rb-ms-lists {
    border: 0;
    margin: 0 0 16px;
    padding: 0;
}
.rb-ms-lists legend {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #051D3F;
    margin-bottom: 8px;
}
.rb-ms-lists label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    color: #051D3F;
    margin: 0 0 8px;
}
.rb-ms-lists input { accent-color: #C8102E; width: 18px; height: 18px; }
.rb-ms-form .rb-ms-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    color: #051D3F;
    margin-bottom: 16px;
}
.rb-ms-form .rb-ms-consent input { margin-top: 3px; accent-color: #C8102E; width: 18px; height: 18px; }
.rb-ms-form button {
    background: #C8102E;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
.rb-ms-form button:hover { background: #a50d25; }
.rb-ms-hp { position: absolute; left: -9999px; }
.rb-ms-note { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-weight: 600; line-height: 1.45; }
.rb-ms-note[hidden] { display: none; }
.rb-ms-note-ok { background: #edfaf0; color: #0a6b2b; }
.rb-ms-note-bad { background: #fef0f1; color: #a50d25; }
.rb-ms-note-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0a6b2b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
}
@media (max-width: 640px) {
    .rb-ms-form { padding: 22px 18px; }
    .rb-ms-names { grid-template-columns: 1fr; gap: 0; }
}
