*{box-sizing:border-box}
body{margin:0;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#f3f4f6;color:#1f2937}
main{max-width:34rem;margin:2rem auto;padding:0 1rem}
h1{font-size:1.4rem;margin:0 0 1rem}
h2{font-size:1.1rem;margin:0 0 .75rem}
section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;margin-bottom:1rem}
section.bar{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.25rem}
label{display:block;margin-bottom:.9rem;font-weight:600;font-size:.9rem}
input[type=text],input[type=password],input[type=email]{display:block;width:100%;margin-top:.25rem;padding:.55rem .65rem;border:1px solid #9ca3af;border-radius:6px;font:inherit;font-weight:400}
input:focus{outline:2px solid #2563eb;outline-offset:1px}
button{padding:.55rem 1.1rem;border:0;border-radius:6px;background:#2563eb;color:#fff;font:inherit;cursor:pointer}
button:hover{background:#1d4ed8}
button.link{background:none;color:#2563eb;padding:0;text-decoration:underline}
form.inline{display:inline;margin-left:.5rem}
.hint{font-size:.85rem;color:#6b7280}
.msg{padding:.7rem 1rem;border-radius:6px;margin-bottom:1rem}
.msg.error{background:#fee2e2;color:#991b1b}
.msg.success{background:#dcfce7;color:#166534}
.msg.info{background:#dbeafe;color:#1e40af}
