:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", system-ui, sans-serif;
  background: #eff3f7;
  color: #17283a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
           max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}
main {
  width: min(100%, 25rem);
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid #dce6ee;
  border-top: .25rem solid #14645e;
  border-radius: .9rem;
  background: white;
  box-shadow: 0 2px 12px #203b5616;
}
h1 { margin: 0 0 1.35rem; font-size: clamp(1.3rem, 5vw, 1.65rem); }
form { display: grid; gap: .65rem; }
label { color: #496174; font-weight: 640; }
input, button { min-height: 2.75rem; min-width: 0; border-radius: .5rem; font: inherit; }
input { width: 100%; padding: .55rem .65rem; border: 1px solid #8098aa; }
button { border: 1px solid #14645e; background: #14645e; color: white; font-weight: 650; cursor: pointer; }
input:focus-visible, button:focus-visible { outline: 3px solid #238f86; outline-offset: 2px; }
.error { margin: 0; color: #923d2d; font-size: .9rem; }
