:root {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  background: #eceeef;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  padding: 24px 16px;
  display: grid;
  place-items: center;
}
.card {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: #fff;
  border: 1px solid #d8dee4;
  border-top: 4px solid #2474bd;
  border-radius: 8px;
}
.logo { display: block; max-width: 100%; height: auto; margin-bottom: 24px; }
h1 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
p { margin: 0 0 24px; color: #4b5563; font-size: 14px; line-height: 1.5; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
input, button { width: 100%; min-height: 44px; border-radius: 4px; font: inherit; }
input { padding: 10px 12px; border: 1px solid #5f6b76; background: #fff; color: #1f2937; }
button { margin-top: 16px; padding: 10px 16px; border: 0; background: #2474bd; color: #fff; font-weight: 600; cursor: pointer; }
button:hover { background: #1c619e; }
button:disabled { opacity: .65; cursor: wait; }
input:focus-visible, button:focus-visible { outline: 3px solid #2474bd; outline-offset: 3px; }
.message { margin: 16px 0 0; color: #b03a2e; overflow-wrap: anywhere; }
.message:empty { display: none; }
.preview { margin: 24px 0 0; font-size: 12px; }
@media (max-width: 400px) {
  .card { padding: 24px 20px; }
}
