:root { font: 16px/1.45 system-ui, sans-serif; color: #20202b; background: #f7f8fc; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 520px; margin: 48px auto; padding: 32px; background: white; border: 1px solid #e8e9f1; border-radius: 16px; box-shadow: 0 12px 36px #2324560d; }
.brand { display: inline-block; padding: 5px 10px; border-radius: 7px; color: white; background: #4f46e5; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 18px 0 4px; font-size: 28px; }
p { margin: 0 0 24px; color: #636475; }
form { display: grid; gap: 10px; }
label { font-weight: 650; margin-top: 6px; }
input, select { width: 100%; padding: 12px 14px; border: 1px solid #c8cada; border-radius: 8px; background: white; color: inherit; font: inherit; }
input:focus, select:focus { outline: 2px solid #6c63ef; outline-offset: 1px; }
button, .open { display: inline-block; padding: 12px 18px; border: 0; border-radius: 8px; background: #4f46e5; color: white; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
button { margin-top: 12px; }
button:disabled { opacity: .55; cursor: wait; }
#status { margin-top: 18px; white-space: pre-wrap; }
#status.error { color: #a21d2a; }
#status.warning { color: #8c5700; }
.open { margin-top: 16px; }
@media (max-width: 600px) { main { margin: 0; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; padding: 24px; } }
