:root { --bs-primary: #166580; }
body { color: #203343; font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif; line-height: 1.85; }
.navbar { background: #12354a !important; }
h1, h2, h3 { color: #12354a; line-height: 1.4; }
h1 { margin: 1.3rem 0; font-weight: 700; }
h2 { margin-top: 2.4rem; padding-bottom: .5rem; border-bottom: 2px solid #e4eef2; }
pre { padding: 1rem; border: 1px solid #d8e5eb; border-radius: 8px; background: #f5f9fb; }
td, th { padding: .65rem !important; vertical-align: top; }
/* Long setting names and wide reference tables stay inside the article. */
[role="main"] { min-width: 0; overflow-wrap: anywhere; }
[role="main"] table { display: block; max-width: 100%; overflow-x: auto; }
/* Keep comparison columns readable; wide tables scroll inside these articles. */
[role="main"]:has(#guide-preemption-fragments, #guide-redundancy-history, #guide-psfp-gate-boundary, #guide-metric-windows) table th {
  min-width: 7rem;
  overflow-wrap: normal;
  word-break: normal;
}
img { border: 1px solid #d8e5eb; border-radius: 8px; max-width: 100%; height: auto; }
blockquote { border-left: 4px solid #167b95; padding-left: 1rem; color: #455b68; }
@media(max-width: 767px) { h1 { font-size: 1.8rem; } table { display:block; overflow-x:auto; } }
