:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; color: #152a45; background: #fff; font: 15px/1.5 system-ui, sans-serif; }
main { max-width: 526px; padding: 20px clamp(14px, 5vw, 24px); margin: auto; }
p { margin: 0 0 16px; }
h2 { margin: 0 0 12px; font-size: 17px; }
label { display: block; margin: 0 0 6px; font-weight: 650; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    margin-bottom: 14px;
    background: #fff;
    color: inherit;
    border: 1px solid #8496ac;
    border-radius: 8px;
}
#identity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
#identity[hidden] { display: none; }
@media (max-width: 380px) { #identity { grid-template-columns: 1fr; } }
textarea { resize: vertical; }
button {
    min-height: 44px;
    padding: 10px 18px;
    background: #1749b6;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #1749b6; outline-offset: 2px; }
#hint { margin-top: 12px; color: #485e78; font-size: 13px; }
#status:empty { display: none; }
#status[data-error] { color: #922b25; }
#messages { display: grid; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
#messages li { padding: 8px 12px; background: #eef4fe; border-radius: 8px; overflow-wrap: anywhere; }
#messages p { margin: 3px 0 0; white-space: pre-wrap; }
