
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #ffffff;
}
.site-header, main, .site-footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
.site-header { border-bottom: 1px solid #d0d0d0; }
.app-name { font-weight: 700; margin: 0; }
.app-name a { display: inline-block; padding: 0.75rem 0; min-height: 48px; color: #1a1a1a; text-decoration: none; }
main { padding-top: 1rem; padding-bottom: 2rem; overflow-wrap: anywhere; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
a { color: #1d4ed8; }
a:focus-visible, button:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
.actions { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid #1d4ed8;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
  color: #1d4ed8;
}
.button-primary { background: #1d4ed8; color: #ffffff; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: inline-block; padding: 0.75rem 0; min-height: 48px; }
.message { border-left: 6px solid #1d4ed8; background: #eef2ff; padding: 0.25rem 1rem; margin: 1rem 0; }
.message-error { border-left-color: #b91c1c; background: #fef2f2; }
.placeholder { border: 2px dashed #9ca3af; padding: 1rem; border-radius: 6px; }
.hint { color: #4b5563; font-size: 1rem; }
.site-footer { border-top: 1px solid #d0d0d0; color: #4b5563; font-size: 1rem; padding-top: 0.5rem; }
@media (min-width: 40rem) {
  .actions { flex-direction: row; }
  .button { width: auto; min-width: 12rem; }
}
