/* srn site style v3: a plain late-2000s project page. Fixed column, grey page, white boxes. */
html { background: #dfe4ea; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 12px 8px 20px; color: #222; background: #dfe4ea; font: 13px/1.5 Verdana, Tahoma, Arial, sans-serif; }
#page { max-width: 780px; margin: 0 auto; }
a:link { color: #0033cc; }
a:visited { color: #663399; }
a:hover, a:active { color: #cc3300; }
:focus-visible { outline: 1px dotted #000; outline-offset: 1px; }
code { font: 12px "Courier New", Courier, monospace; overflow-wrap: anywhere; }
b, strong, th { font-weight: bold; }

/* header bar and nav */
#header { background: #2f4a68; border: 1px solid #1f3349; padding: 8px 12px 9px; color: #fff; }
#header .name { font: bold 28px Arial, Helvetica, sans-serif; letter-spacing: 1px; color: #fff; text-decoration: none; vertical-align: middle; }
#header .tagline { font-size: 12px; color: #d3dde8; margin-left: 10px; vertical-align: middle; }
#nav { background: #f3f5f8; border: 1px solid #a9b3bd; border-top: 0; padding: 4px 10px; }
#nav ul { margin: 0; padding: 0; list-style: none; }
#nav li { display: inline; white-space: nowrap; }
#nav li + li::before { content: " | "; color: #8b96a1; }
#nav a[aria-current] { color: #000; font-weight: bold; text-decoration: none; }

/* content boxes */
.box { background: #fff; border: 1px solid #a9b3bd; margin: 10px 0 0; padding: 0 10px 2px; }
.box h1, .box h2 { margin: 0 -10px 8px; padding: 3px 8px; font-size: 12px; font-weight: bold; color: #1f3349; background: #e4e9ef; border-bottom: 1px solid #a9b3bd; }
.box h3 { font-size: 12px; margin: 12px 0 4px; }
p, ul, ol, table, dl { margin: 0 0 9px; }
ul, ol { padding-left: 22px; }
li { margin: 3px 0; }
.lede { font-size: 14px; }
.note { background: #ffffe0; border: 1px solid #e6db55; padding: 5px 8px; }
.small { font-size: 11px; color: #555; }
.cols { display: flex; gap: 10px; align-items: flex-start; }
.cols > * { flex: 1 1 0; min-width: 0; }

/* tables */
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #c5ccd4; padding: 3px 6px; text-align: left; vertical-align: top; }
thead th { background: #e4e9ef; }
tbody tr:nth-child(even) td { background: #f4f6f9; }
caption { text-align: left; font-weight: bold; padding: 0 0 3px; }
table.stats th { width: 45%; font-weight: normal; background: #f4f6f9; }
table.stats td, table.blocks td, .mono { font-family: "Courier New", Courier, monospace; font-size: 12px; overflow-wrap: anywhere; }
table.stats tr.big td { font: bold 15px Verdana, Tahoma, Arial, sans-serif; color: #1f3349; }
table.stats tr.big th { font-weight: bold; }
table.blocks .age { white-space: nowrap; color: #555; }
.status { font-size: 11px; color: #555; }
.status.stale { color: #b00000; }

/* footer */
#footer { margin: 10px 0 0; text-align: center; font-size: 11px; color: #555; }
#footer p { margin: 0 0 3px; }

@media (max-width: 600px) {
  #header .tagline { display: block; margin: 0; }
  .cols { display: block; }
  table.blocks th:nth-child(4), table.blocks td:nth-child(4) { display: none; }
  table.stats th { width: 50%; }
}
