/* A simple, readable stylesheet. Change the one accent color to re-skin the page. */
:root {
  --ink:    #1a1a1a;
  --muted:  #666666;
  --accent: #6b2d2d;   /* <- change this one color */
  --rule:   #e3e3e3;
  --bg:     #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}

main { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

header { border-bottom: 2px solid var(--accent); padding-bottom: 1rem; margin-bottom: 2rem; }
h1 { font-size: 2rem; margin: 0 0 .25rem; color: var(--accent); }
h2 { font-size: 1.25rem; margin-top: 2.5rem; border-bottom: 1px solid var(--rule); padding-bottom: .25rem; }
.subtitle { font-size: 1.1rem; color: var(--muted); margin: .25rem 0 0; }
.byline { color: var(--muted); font-size: .95rem; }

p, li { max-width: 65ch; }
a { color: var(--accent); }

figure { margin: 1.5rem 0; text-align: center; }
img { max-width: 100%; height: auto; border: 1px solid var(--rule); }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

table { border-collapse: collapse; width: 100%; font-size: .95rem;
        font-family: -apple-system, system-ui, sans-serif; }
th, td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--rule); }
thead th { border-bottom: 2px solid var(--accent); }

footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--rule);
         color: var(--muted); font-size: .9rem; }
.regest-example {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #8b5e3c;
  background-color: #f7f3ed;
  line-height: 1.7;
}

.person {
  color: #7a4e9d;
  font-weight: 600;
}

.place {
  color: #276b8e;
  font-weight: 600;
}

.abbreviation {
  color: #a3463c;
  font-weight: 600;
}

.table-wrapper {
  margin: 1.25rem 0;
  overflow-x: auto;
}

.result-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ded6ca;
}

.result-table caption {
  padding: 0 0 0.75rem;
  color: #6d655d;
  font-size: 0.9rem;
  text-align: left;
}

.result-table th,
.result-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e6dfd5;
  text-align: left;
  vertical-align: middle;
}

.result-table thead {
  background: #f3eee7;
}

.result-table tbody tr:last-child th,
.result-table tbody tr:last-child td {
  border-bottom: 0;
}

.result-table tbody th {
  font-weight: 600;
}

.result-table .numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table-bar {
  width: 100%;
  min-width: 150px;
  height: 0.75rem;
  overflow: hidden;
  background: #e6ded3;
  border-radius: 999px;
}

.table-bar-fill {
  display: block;
  width: var(--bar-width);
  height: 100%;
  background: #8b5e3c;
  border-radius: inherit;
}

.table-bar-fill-secondary {
  background: #657e76;
}

.result-interpretation {
  margin-top: 1rem;
}

.method-note {
  padding-left: 1rem;
  border-left: 3px solid #c7b6a3;
  color: #6d655d;
  font-size: 0.9rem;
}