:root {
  color-scheme: light;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  color: #19342f;
  background: #f1f5f2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
.page { width: min(100% - 40px, 520px); margin: 38px auto 24px; }
.brand { margin-bottom: 18px; font-size: 26px; font-weight: 700; letter-spacing: .06em; }
.brand-version { display: block; margin-top: 2px; color: #b0b6b2; font-size: 10px; font-weight: 400; letter-spacing: normal; }
.card { padding: 32px 38px 24px; border: 1px solid #dce6df; border-radius: 22px; background: #fff; box-shadow: 0 12px 40px #234b3510; }
h1 { margin: 0; font-size: 30px; letter-spacing: .04em; line-height: 1.5; }
.intro { margin: 12px 0 28px; color: #5c6d65; font-size: 14px; line-height: 1.9; }
.form-intro { margin: 0 0 24px; font-weight: 400; letter-spacing: normal; }
.field { margin-bottom: 20px; }
label { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.required { border-radius: 4px; padding: 2px 5px; background: #eef4f0; color: #486b5d; font-size: 10px; font-weight: 400; }
input { display: block; width: 100%; min-height: 54px; border: 1px solid #c9d6ce; border-radius: 9px; padding: 13px 15px; background: #fff; color: #19342f; font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #87968e; opacity: 1; }
input:focus { outline: none; border-color: #28785f; box-shadow: 0 0 0 3px #28785f22; }
button { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; min-height: 56px; margin-top: 28px; border: 0; border-radius: 10px; background: #185d4c; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
button:disabled { background: #e3eae5; color: #6c7b72; cursor: default; }
button:enabled:hover { background: #124b3d; }
button:focus-visible, a:focus-visible { outline: 3px solid #4a9a7f; outline-offset: 4px; }
.form-hint { margin: 12px 0 0; color: #6b7a72; text-align: center; font-size: 12px; line-height: 1.8; }
.open-result { border-top: 1px solid #e2e9e4; margin-top: 20px; padding-top: 15px; font-size: 13px; line-height: 1.8; }
a { color: #185d4c; text-underline-offset: 3px; }
footer { margin-top: 20px; color: #64766b; text-align: center; font-size: 11px; line-height: 1.9; }
.qr-card { text-align: center; }
.qr-card .intro { margin-bottom: 16px; }
.qr-code { width: min(100%, 360px); margin: 0 auto 20px; }
.qr-code:empty { display: none; }
.qr-code svg { display: block; width: 100%; height: auto; }
.back-link { display: inline-block; margin-top: 4px; font-size: 13px; }
.notice { padding: 15px; border-radius: 8px; background: #fff1e9; color: #873e1e; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .page { width: calc(100% - 28px); margin-top: 22px; }
  .brand { margin: 0 6px 18px; }
  .card { padding: 28px 23px 23px; border-radius: 18px; }
  h1:not(.form-intro) { font-size: 27px; }
}
