:root {
  color-scheme: light;
  --ink: #17323b;
  --muted: #587079;
  --line: #cbdadd;
  --soft: #edf5f5;
  --accent: #176b72;
  --accent-dark: #0e5157;
  --danger: #9c2f2f;
  --success: #17663b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 24px 14px 48px;
  background: #f4f7f7;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 42px);
  background: #fff;
  border: 1px solid #dde7e8;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(23, 50, 59, .06);
}
.eyebrow { margin: 0; color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 4px 0 8px; font-size: clamp(1.65rem, 6vw, 2.1rem); line-height: 1.3; }
h2 { margin: 0 0 8px; font-size: 1.05rem; }
.notice { margin: 24px 0; padding: 18px 20px; background: var(--soft); border-left: 4px solid var(--accent); border-radius: 6px; }
.notice ul { margin: 0; padding-left: 1.25em; }
.notice li + li { margin-top: 6px; }
form { display: grid; gap: 20px; }
label { display: grid; gap: 7px; font-weight: 700; }
input, textarea, button { width: 100%; font: inherit; }
input, textarea {
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #9db3b8;
  border-radius: 7px;
}
input:focus, textarea:focus { outline: 3px solid rgba(23, 107, 114, .2); border-color: var(--accent); }
input[type="file"] { padding: 9px; }
textarea { resize: vertical; }
.required, .optional { margin-left: 5px; font-size: .78rem; font-weight: 700; }
.required { padding: 2px 7px; color: #fff; background: var(--accent); border-radius: 3px; }
.optional { color: var(--muted); }
.hint { color: var(--muted); font-size: .88rem; font-weight: 400; }
.consent { grid-template-columns: 24px 1fr; align-items: start; font-weight: 500; }
.consent input { width: 22px; min-height: 22px; margin-top: 3px; }
button { min-height: 54px; padding: 12px 18px; color: #fff; background: var(--accent); border: 0; border-radius: 7px; font-weight: 700; cursor: pointer; }
button:hover { background: var(--accent-dark); }
button:disabled { cursor: not-allowed; opacity: .55; }
.status { margin: 18px 0; padding: 14px 16px; border: 2px solid currentColor; border-radius: 7px; font-weight: 700; }
.status { white-space: pre-line; }
.status.error { color: var(--danger); background: #fff6f6; }
.status.success { color: var(--success); background: #f3fbf6; }
.status.info { color: var(--accent-dark); background: var(--soft); }
.progress-area { padding: 16px; background: var(--soft); border-radius: 7px; }
.progress-row { display: flex; justify-content: space-between; font-weight: 700; }
progress { width: 100%; height: 18px; accent-color: var(--accent); }
.progress-area p { margin: 8px 0 0; font-size: .9rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { body { padding: 0; background: #fff; } .card { border: 0; border-radius: 0; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
