/* 個人ページ (staff., UI_SPEC §14): phone first, the buttons low and large, inputs 16px (iPhone does not zoom). */
:root {
  --ink: #1b2430; --muted: #5d6878; --line: #dde3ea; --bg: #f3f5f8; --panel: #ffffff;
  --accent: #1d5fbf; --error: #b42318; --error-bg: #fdecea; --header-bg: #1e2a3a; --header-ink: #e8edf3;
  --pad: 16px; --tap: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  min-height: 100dvh; display: flex; flex-direction: column;
}
.top {
  height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  background: var(--header-bg); color: var(--header-ink); font-size: 15px;
}
main { flex: 1; display: flex; flex-direction: column; padding: var(--pad); max-width: 480px; width: 100%; margin: 0 auto; }
section { flex: 1; display: flex; flex-direction: column; }
section[hidden] { display: none; }
h2 { font-size: 15px; color: var(--muted); margin: 20px 0 8px; font-weight: 600; }
.form { flex: 1; display: flex; flex-direction: column; gap: 8px; }
label { font-size: 14px; color: var(--muted); }
input {
  font-size: 16px; height: var(--tap); padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  color: var(--ink); width: 100%; letter-spacing: 0.05em;
}
.actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: env(safe-area-inset-bottom); }
button {
  font: inherit; min-height: var(--tap); border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  padding: 0 16px; cursor: pointer;
}
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.link { border: 0; background: none; color: var(--accent); }
button:disabled { opacity: 0.5; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 4px 12px; }
.row + .row { border-top: 1px solid var(--line); }
.row small { color: var(--muted); display: block; font-size: 13px; }
.row button { min-height: 40px; }
.error { background: var(--error-bg); color: var(--error); padding: 8px 12px; border-radius: 8px; margin: 0 0 12px; font-size: 14px; }
