:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #20242a;
  --color-muted: #626b77;
  --color-line: #d9dee5;
  --color-accent: #1f6f8b;
  --color-accent-strong: #144d63;
  --color-warning-bg: #fff6df;
  --color-warning-text: #5d4300;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 960px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.8;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent-strong); }

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover { background: var(--color-accent-strong); color: #ffffff; }

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p, ul, ol, table { margin-block: 0; }
ul, ol { padding-left: 1.35rem; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

th, td {
  padding: 0.75rem;
  border: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 35%;
  background: #eef2f5;
  font-weight: 700;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.flow > * + * { margin-top: 2rem; }
.site-header, .site-footer { background: var(--color-surface); border-color: var(--color-line); }
.site-header { border-bottom: 1px solid var(--color-line); }

.site-footer {
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.header-inner { display: flex; align-items: center; min-height: 60px; }
.site-label, .eyebrow, .note { color: var(--color-muted); }
.site-label, .eyebrow { font-weight: 700; letter-spacing: 0; }
.page-hero { padding-block: 3rem 1rem; }

.lead {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.status-grid { display: grid; gap: 1rem; }

.card,
.panel,
.notice {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 1.5rem;
}

.card > * + *,
.panel > * + *,
.notice > * + * { margin-top: 0.75rem; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  font-weight: 700;
}

.notice { background: var(--color-warning-bg); color: var(--color-warning-text); }
.note { font-size: 0.92rem; }

.section {
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.section > * + * { margin-top: 1rem; }

@media (min-width: 720px) {
  .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero { padding-block: 4rem 1rem; }
}

@media print {
  body { background: #ffffff; color: #000000; }
  .no-print { display: none !important; }
  .container { width: 100%; }
  .card, .panel, .notice { border-color: #999999; box-shadow: none; }
  a { color: #000000; }
}
