:root {
  --ink: #182c41;
  --subtle: #495d71;
  --surface: #fff;
  --background: #f2f5f8;
  --border: #d8e2eb;
  --accent: #175481;
}
body { background: var(--background); color: var(--ink); line-height: 1.5; }
body > header { background: #142c44; padding: clamp(16px, 4vw, 32px) max(16px, calc((100% - 1000px) / 2)); }
body > header h1 { font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; }
body > header p { margin: 6px 0 0; }
main > section, section#journalLocalHome, body.journal-ui > section {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
main > section > h2, #journalLocalHome h2 { font-size: 1.25rem; line-height: 1.25; }
.muted, small { color: var(--subtle); }
nav button, button:not(.icon-button), #journalLocalFull { min-height: 44px; }
nav button.active, nav button[aria-current="page"] { background: var(--accent); color: white; }
:where(button, a, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.candidate-notice { margin: 0; padding: 9px max(16px, calc((100% - 1000px) / 2)); background: #fff0c7; color: #493800; font-size: .9rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.scenario-grid > div { padding: 8px; background: #eef4f8; border-radius: 8px; }
.scenario-grid > div > strong { display: block; }
@media (max-width: 600px) {
  main > nav > button { flex: 1 1 calc(33.333% - 8px); }
  #journalLocalHome { margin-inline: 9px; }
  #journalLocalFull { display: inline-flex; align-items: center; }
  body.journal-ui input, body.journal-ui select { font-size: 16px; }
}
