
:root {
  color-scheme: light;
  --page: #fafbfc;
  --surface: #fff;
  --ink: #1d1d1f;
  --muted: #626269;
  --line: #dedee3;
  --blue: #0066e6;
  --blue-hover: #0058c7;
  --blue-soft: #eff6ff;
  --caution: #805117;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3, h4, dl { margin: 0; }
a { color: var(--blue-hover); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 4px;
}
header { border-bottom: 1px solid var(--line); background: var(--surface); }
.frame { max-width: 1000px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 32px); }
header .frame { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand { color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 650; }
nav, .actions { display: flex; gap: 8px; flex-wrap: wrap; }
nav a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; border-radius: 8px; color: var(--ink); }
nav a[aria-current] { background: var(--blue-soft); color: var(--blue-hover); font-weight: 600; }
main.frame { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 48px; }
h1, h2, h3 { letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(30px, 5vw, 42px); }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p, dd, label { line-height: 1.5; }
.muted, dt { color: var(--muted); }
.notice { color: var(--caution); font-size: .875rem; }
.project, .candidate, form { display: grid; gap: 12px; }
.project { padding: clamp(16px, 4vw, 24px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.candidate { padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
dl { display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 10px; }
dt { font-size: .875rem; }
dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; }
input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; width: 100%; max-width: 520px; }
label { display: grid; gap: 4px; }
textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
summary { cursor: pointer; padding: 8px 0; color: var(--blue-hover); }
details[open] > :not(summary) { margin-top: 8px; }
button { min-height: 44px; padding: 8px 12px; border-radius: 8px; color: var(--blue-hover); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
button[value=approved] { color: white; background: var(--blue-hover); border-color: var(--blue-hover); }
