:root {
  color-scheme: light;
  --bg: #fdfcfa; --white: #fff; --ink: #1c2540; --muted: #5c6274; --line: #e7e3dc;
  --blue: #3a5bd0; --honey: #e3a83a; --red: #b8452f; --ph1: #d8d3ca;
  --f-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --f-head: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.9; letter-spacing: .02em; }
a { color: inherit; }
[hidden] { display: none !important; }
.tiny { font: 600 11px/1.4 var(--f-display); letter-spacing: .28em; text-transform: uppercase; margin: 0 0 8px; }
.top { background: var(--honey); padding: 28px 16px 32px; }
.top-in, .main { max-width: 640px; margin: 0 auto; }
.top a.back { font-size: 12.5px; text-decoration: none; }
.top h1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 6vw, 32px); line-height: 1.4; margin: 14px 0 8px; }
.top p { margin: 0; font-size: 14px; line-height: 1.9; }
.main { padding: 28px 16px 72px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 22px 18px; margin-bottom: 18px; }
.card h2 { font-family: var(--f-head); font-size: 17px; margin: 0 0 4px; }
.card > p.lead { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > span { font-weight: 700; font-size: 14px; }
.field > span em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.field > span em.opt { background: var(--muted); }
.field small { color: var(--muted); font-size: 12px; line-height: 1.7; }
input[type=text], input[type=date], input[type=email], textarea, select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #cfcac1; padding: 10px 12px; width: 100%; border-radius: 0;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 72px; resize: vertical; }
.ig-in { display: flex; align-items: stretch; }
.ig-in b { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #cfcac1; border-right: 0; background: #f4f1ec; font-weight: 500; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { flex: 1 1 220px; border: 1.5px solid #cfcac1; padding: 10px 12px; display: flex; gap: 8px; align-items: center; cursor: pointer; background: var(--white); }
.radios label:has(input:checked) { border-color: var(--blue); background: #eef1fb; }
.photo-pick { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.photo-pick .pv { width: 120px; aspect-ratio: 1; background: var(--ph1) center/cover no-repeat; display: grid; place-items: center; font-size: 11.5px; color: rgba(0,0,0,.5); text-align: center; }
.photo-pick .pv.pedi { aspect-ratio: 3 / 4; background-size: contain; background-color: #eee; }
.file-btn { display: inline-block; border: 1.5px solid var(--ink); padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer; background: var(--white); }
.file-btn input { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.8; }
.check input { margin-top: 6px; width: 18px; height: 18px; flex: none; }
.btn { display: block; width: 100%; border: 0; background: var(--blue); color: #fff; font: 700 15px/1 var(--f-body); letter-spacing: .06em; padding: 16px 10px; cursor: pointer; text-align: center; text-decoration: none; }
.btn:hover { background: var(--ink); }
.btn:disabled { background: #9aa3bf; cursor: wait; }
.btn.sub { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.btn.danger { background: var(--white); color: var(--red); border: 1.5px solid var(--red); }
.err { color: var(--red); font-weight: 700; font-size: 13.5px; margin: 12px 0 0; }
.note { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.done-link { word-break: break-all; background: #f4f1ec; padding: 10px 12px; font-size: 13px; }
.status { display: inline-block; font-weight: 700; font-size: 12.5px; padding: 2px 10px; color: #fff; }
.st-pending { background: var(--honey); color: var(--ink); } .st-approved { background: var(--blue); } .st-rejected { background: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
