* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1c2430; background: #f4f6f8; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; background: #1f3a5f; }
.top a, .top .link { color: #fff; text-decoration: none; }
.brand { font-weight: 700; font-size: 1.1rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
nav a, .link { font-size: 1rem; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.6rem; margin: 0.6em 0 0.4em; }
h2 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.card { display: block; background: #fff; border: 1px solid #d5dbe2; border-radius: 8px; padding: 14px 16px; margin: 12px 0; color: inherit; text-decoration: none; }
a.job:hover, a.job:focus { border-color: #1f3a5f; }
.job-title { display: block; font-weight: 600; font-size: 1.1rem; color: #1f3a5f; }
.job-meta { display: block; color: #4a5766; font-size: 0.95rem; margin: 2px 0 6px; }
.job-desc { display: block; color: #333; }
.notice { background: #e8f1fb; border: 1px solid #b7d0ee; border-radius: 6px; padding: 10px 14px; margin: 12px 0; }
.notice.warn { background: #fff4e0; border-color: #f0c987; }
label { display: block; font-weight: 600; margin: 14px 0 4px; }
input[type=email], textarea, select { width: 100%; font: inherit; padding: 10px; border: 1px solid #9aa6b4; border-radius: 6px; background: #fff; }
input[type=file] { width: 100%; font: inherit; padding: 8px 0; }
button { font: inherit; font-weight: 600; background: #1f3a5f; color: #fff; border: 0; border-radius: 6px; padding: 12px 20px; margin-top: 16px; cursor: pointer; min-height: 44px; }
button:hover { background: #2b4f82; }
button.link { background: none; padding: 0; margin: 0; min-height: 0; font-weight: 400; text-decoration: underline; color: #fff; }
form.inline { display: inline; margin: 0; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 14px; }
blockquote { margin: 8px 0; padding: 6px 12px; border-left: 3px solid #9aa6b4; background: #fff; white-space: pre-wrap; }
code { background: #e9edf1; padding: 1px 4px; border-radius: 3px; }
a { color: #1f5fa8; }
:focus-visible { outline: 3px solid #f0a020; outline-offset: 2px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #d5dbe2; border-radius: 8px; margin: 12px 0; }
table.jobs { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.jobs th { text-align: left; font-weight: 600; color: #4a5766; background: #f4f6f8; white-space: nowrap; }
table.jobs th, table.jobs td { padding: 10px 12px; border-bottom: 1px solid #e3e7ec; vertical-align: top; }
table.jobs tbody tr:last-child td { border-bottom: 0; }
table.jobs tbody tr:hover { background: #f7f9fb; }
table.jobs th.num, table.jobs td.num { text-align: right; white-space: nowrap; }
table.jobs td.ref { overflow-wrap: anywhere; color: #4a5766; font-size: 0.85rem; min-width: 7em; }
table.jobs td.summary { min-width: 11em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.stat { background: #fff; border: 1px solid #d5dbe2; border-radius: 8px; padding: 12px 14px; }
.stat-label { display: block; font-weight: 600; font-size: 0.9rem; color: #4a5766; }
.stat-value { display: block; font-weight: 700; font-size: 1.5rem; color: #1f3a5f; margin: 2px 0; }
.stat-note { display: block; font-size: 0.82rem; color: #4a5766; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  table.jobs { font-size: 0.85rem; }
  table.jobs th, table.jobs td { padding: 8px 6px; }
  table.jobs th { white-space: normal; }
  table.jobs td.ref { min-width: 0; font-size: 0.72rem; max-width: 5.5em; }
  table.jobs td.summary { min-width: 8em; }
}
