/* KSPC chart archive 2001-2010: shared style for the old static chart pages.
   Added 2026-10-29. Overrides the pages' legacy FrontPage/Word markup
   (font tags, bgcolor, inline cell colors) so every year looks the same. */

:root {
  --ink: #231f20;
  --muted: #6b6466;
  --red: #a80d12;
  --line: #e4dfe0;
  --zebra: #f7f4f4;
  --head: #231f20;
}

html { background: #fff !important; }

body {
  background: #fff !important;
  background-image: none !important;
  color: var(--ink) !important;
  font: 16px/1.5 Roboto, "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
  max-width: 860px;
  margin: 0 auto !important;
  padding: 0 16px 48px !important;
}

/* Legacy font/span/p tags: inherit instead of dictating color and size */
font, span, p, td, th, li, div, center, strong, b {
  color: inherit !important;
  font-family: inherit !important;
}
font, span, .style1 { font-size: inherit !important; }

/* Old pages mark the page title with <font size=4> and chart names with
   <font size=+1> (or a bare <b> above the table on the 2001-2006 pages) */
font[size="4"] {
  display: block;
  margin: 0 0 12px;
  font: 600 28px/1.2 "Hind Vadodara", "Helvetica Neue", Arial, sans-serif !important;
}
font[size="+1"], center > b {
  display: block;
  margin: 32px 0 8px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--red);
  font: 600 20px/1.2 "Hind Vadodara", "Helvetica Neue", Arial, sans-serif !important;
}
font[size="3"] { font-size: 17px !important; }
p { margin: 0 0 .75em !important; text-align: left !important; }
center { text-align: left; }

a, a:visited { color: var(--red) !important; text-decoration: none !important; }
a:hover { text-decoration: underline !important; }

/* Archive bar added to the top of every page */
.kspc-archive-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 -16px 24px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff !important;
  font-size: 14px;
}
.kspc-archive-bar strong { color: #fff !important; letter-spacing: .02em; }
.kspc-archive-bar a, .kspc-archive-bar a:visited { color: #fff !important; }

h1, h2, h3, h4 {
  font-family: "Hind Vadodara", "Helvetica Neue", Arial, sans-serif !important;
  color: var(--ink) !important;
  line-height: 1.2;
  text-align: left !important;
}
h1 { font-size: 28px !important; margin: 0 0 12px !important; }
h2 { font-size: 22px !important; }
h3 {
  font-size: 20px !important;
  margin: 32px 0 8px !important;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--red);
}

/* Tables (2001-2006 pages) */
table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse !important;
  border: 0 !important;
  background: #fff !important;
  margin: 8px 0 24px !important;
}
td, th {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 6px 8px !important;
  font-size: 15px !important;
  vertical-align: top;
  overflow-wrap: break-word;
  text-align: left !important;
}
tr { background: transparent !important; }
tr:nth-child(even) td { background: var(--zebra) !important; }
/* The old tables color their column-label row dark blue */
tr[bgcolor="#0000a0"] td, tr[bgcolor="#0000A0"] td,
td[bgcolor="#000080"], td[bgcolor="#000066"] {
  background: var(--head) !important;
  color: #fff !important;
  font-weight: 600;
}
tr[bgcolor="#0000a0"] td a { color: #fff !important; }

/* Lists (2007-2010 pages) */
ol, ul { padding-left: 2.2em; margin: 0 0 16px; }
li { padding: 3px 0; border-bottom: 1px solid var(--line); }
li::marker { color: var(--muted); }

img { max-width: 100%; height: auto; }

/* A few pages position blocks absolutely; let them flow */
[style*="position:absolute"], [style*="position: absolute"] {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 600px) {
  body { font-size: 15px !important; }
  h1 { font-size: 22px !important; }
  td, th { padding: 5px 4px !important; font-size: 13px !important; }
}
