body { font-family: system-ui,-apple-system,sans-serif; background: #f4f6fa; color: #172331; margin: 0; padding: 32px 16px; }
main { max-width: 1000px; margin: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h1 { font-size: 28px; }
p { color: #64748b; }
section { background: white; border: 1px solid #dde3eb; border-radius: 16px; padding: 24px; margin: 24px 0; }
button, input { font: inherit; border-radius: 8px; padding: 10px 14px; }
button { background: #172331; color: white; border: 0; cursor: pointer; }
button:disabled { opacity: .5; }
label { display: block; margin-bottom: 8px; }
input { border: 1px solid #94a3b8; max-width: 100%; box-sizing: border-box; margin: 0 10px 12px 0; }
table { width: 100%; text-align: left; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e2e8f0; }
.scroll { overflow-x: auto; }
.register-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 20px; }
.register-form label { margin: 0; }
.register-form input { display: block; width: 100%; margin: 6px 0 0; }
.register-form button { justify-self: start; align-self: end; }
.small-button { padding: 7px 12px; }
.hint { font-size: 14px; }
.inside { color: #166534; font-weight: 650; }
.outside { color: #9a3412; font-weight: 650; }
#message { color: #166534; font-weight: 600; }
button:focus-visible, input:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  section { padding: 16px; }
  th, td { padding: 10px 6px; min-width: 60px; }
  h1 { font-size: 24px; }
  .register-form { grid-template-columns: 1fr; }
}
