:root {
  --ink: #16202a;
  --ink-2: #3b4754;
  --ink-3: #5a6672;
  --rule: #dcd7ce;
  --rule-2: #ebe7e0;
  --paper: #ffffff;
  --canvas: #efece6;
  --panel: #f7f5f1;
  --navy: #16202a;
  --slate: #223040;
  --blue: #1d5d92;
  --blue-2: #2a6fa8;
  --blue-tint: #e5eef6;
  --rose: #b8345a;
  --gold: #e9a83b;
  --gold-tint: #fbf1dc;
  --link-visited: #6b4b8a;
  --focus: #e9a83b;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  color: var(--rose);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.25;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip_link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.skip_link:focus,
.skip_link:visited {
  top: 8px;
  left: 8px;
  color: var(--ink);
}

#outer {
  max-width: 1220px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(22, 32, 42, 0.08);
}

#global_header {
  background: var(--navy);
  color: #ffffff;
}

#masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 28px 14px;
}

#project_identity {
  min-width: 0;
}

#project_title {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--rose);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

#project_title:visited,
#project_title:hover {
  color: #ffffff;
}

#project_tagline {
  margin: 8px 0 0;
  color: #c5d0db;
  font-size: 14px;
}

#top_menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

#project_menu {
  color: #aeb9c4;
  font-size: 13px;
}

#project_menu a,
#project_menu a:visited {
  color: #dce4ec;
  text-decoration: none;
}

#project_menu a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#search_form {
  display: flex;
  align-items: center;
  gap: 6px;
}

#search_form label {
  color: #c5d0db;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#search_field {
  width: 220px;
  padding: 6px 10px;
  border: 1px solid #3a4a5c;
  border-radius: 4px;
  background: #0f1720;
  color: #ffffff;
  font-size: 14px;
}

#search_field::placeholder {
  color: #8d9aa7;
}

.search_button {
  padding: 6px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--rose);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.search_button:hover {
  background: #9e2b4c;
}

#app_menu {
  padding: 0 28px;
  border-top: 1px solid #2a3846;
}

#app_menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#app_menu li a {
  display: block;
  padding: 11px 12px 10px;
  border-bottom: 3px solid transparent;
  color: #dce4ec;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

#app_menu li a:hover {
  border-bottom-color: #5e6d7c;
  color: #ffffff;
}

#app_menu li.active a {
  border-bottom-color: var(--rose);
  color: #ffffff;
}

#year_rail {
  padding: 0 28px;
  background: var(--slate);
}

#year_rail ol {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 7px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

#year_rail li.era_start {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid #44566a;
}

#year_rail li:first-child {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

#year_rail a,
#year_rail a:visited {
  display: block;
  padding: 3px 7px;
  border-radius: 3px;
  color: #c5d0db;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

#year_rail a:hover {
  background: #31435a;
  color: #ffffff;
}

#year_rail li.current a {
  background: var(--rose);
  color: #ffffff;
  font-weight: 700;
}

.subnav {
  padding: 0 28px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
}

.subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin: 0;
  padding: 9px 0;
  list-style: none;
}

.subnav a,
.subnav a:visited {
  color: var(--ink-2);
  font-size: 13.5px;
  text-decoration: none;
}

.subnav a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.subnav a.active {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#content {
  padding: 20px 28px 44px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  color: var(--ink-3);
  font-size: 13px;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: #a39e95;
}

.list_description {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.kicker {
  margin: 0 0 6px;
  color: var(--rose);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker a,
.kicker a:visited {
  color: var(--rose);
  text-decoration: none;
}

.kicker a:hover {
  text-decoration: underline;
}

.list_description h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dek {
  max-width: 800px;
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.page_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 13.5px;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.content_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.list_items {
  min-width: 0;
}

.section_heading {
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.section_heading:first-child {
  margin-top: 0;
}

.section_intro {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--ink-2);
}

.prose p,
.prose ul,
.prose ol {
  max-width: 740px;
}

.prose p {
  margin: 0 0 1em;
  color: #1f2a35;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.68;
}

.prose h2 {
  margin: 1.8em 0 0.6em;
  font-family: var(--serif);
  font-size: 23px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}

.highlights {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.highlights li {
  margin: 0;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--rule-2);
  border-left: 3px solid var(--rose);
  font-size: 15px;
}

.highlights li a {
  font-weight: 700;
}

.highlights .hl_date {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar {
  font-size: 14px;
}

.sidebar_block {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--rule-2);
  border-top: 3px solid var(--ink);
  background: var(--panel);
}

.sidebar_block h2 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar_block h2:first-child,
.sidebar_block h2.first {
  margin-top: 0;
}

.sidebar_block p {
  margin: 0 0 8px;
}

.sidebar_block .note {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 12.5px;
}

.link_list,
.tool_list,
.toc {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link_list li,
.tool_list li,
.toc li {
  padding: 3px 0;
}

.link_list .note {
  color: var(--ink-3);
  font-size: 12.5px;
  white-space: nowrap;
}

.link_list a.current {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.link_list.columns {
  columns: 2;
  column-gap: 20px;
}

.link_list.columns li {
  break-inside: avoid;
}

.two_col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px 28px;
  margin: 0 0 18px;
}

.two_col h3,
.prose_lists h3 {
  margin: 4px 0 6px;
  font-size: 15px;
}

.prose_lists .link_list {
  margin-bottom: 14px;
}

.table_filter label,
.directory_controls label {
  display: block;
  margin: 6px 0 2px;
  color: var(--ink-3);
  font-size: 12.5px;
}

.table_filter input,
.table_filter select,
.directory_controls input,
.directory_controls select {
  width: 100%;
  padding: 5px 8px;
  border: 1px solid #b9b3a8;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
}

.filter_actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.filter_actions button[type="submit"],
.button {
  padding: 6px 16px;
  border: 1px solid var(--rose);
  border-radius: 4px;
  background: var(--rose);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.filter_actions button[type="submit"]:hover,
.button:hover {
  border-color: #9e2b4c;
  background: #9e2b4c;
}

.clear_filter,
.link_button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.link_button:hover,
.clear_filter:hover {
  color: var(--rose);
}

.filter_status {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 13px;
}

.event_table {
  width: 100%;
  margin: 0 0 26px;
  border-collapse: collapse;
}

.event_table thead th {
  padding: 6px 12px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.sort_button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.sort_button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: none;
}

.event_table td {
  border-top: 1px solid var(--rule);
  vertical-align: top;
}

.event_table td.date {
  width: 78px;
  padding: 10px 8px;
  text-align: center;
}

.day_of_week {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day_number {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.date_text {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}

.day_of_week {
  color: var(--ink-3);
}

.day_of_week.saturday,
.day_of_week.sunday {
  color: var(--rose);
}

.event_table tr.same_day td {
  border-top-color: var(--rule-2);
}

.event_table tr.same_day .day_of_week,
.event_table tr.same_day .day_number,
.event_table tr.same_day .date_text {
  color: #6b737c;
  font-weight: 400;
}

.event_table td.event_summary {
  padding: 10px 14px 12px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.event_table a.summary {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.event_table a.summary:hover {
  color: var(--blue);
  text-decoration: underline;
}

.event_table time {
  color: var(--ink-2);
  font-size: 13.5px;
}

.event_table .location {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--rule);
  font-size: 13.5px;
}

.event_table .no_venue {
  color: var(--ink-3);
  font-style: italic;
}

.event_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 5px 0 0;
  color: var(--ink-3);
  font-size: 12.5px;
}

.event_tags .tag_source,
.event_tags .tag_source:visited {
  color: var(--ink-3);
}

.event_table tr:target td {
  background: var(--gold-tint);
}

.event_table.compact a.summary {
  font-size: 15px;
}

.event_table.compact td.event_summary {
  padding: 8px 14px 9px;
}

.event_table.compact td.date {
  padding: 8px 6px;
}

.event_table.compact .day_number {
  font-size: 20px;
}

.list_count {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.list_count strong {
  color: var(--ink);
}

.load_more {
  margin: 0 0 24px;
  text-align: center;
}

.stat_row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}

.stat {
  padding: 12px 14px;
  border: 1px solid var(--rule-2);
  border-left: 4px solid var(--blue);
  background: var(--panel);
}

.stat dt {
  color: var(--ink-3);
  font-size: 13px;
}

.stat dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat_note {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.card_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.card_grid.wide {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card_grid.months {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.card {
  position: relative;
  padding: 14px 16px 12px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--blue);
  background: #ffffff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.card:hover {
  border-top-color: var(--rose);
  box-shadow: 0 4px 14px rgba(22, 32, 42, 0.08);
}

.card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 17.5px;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card .card_sub {
  margin-top: -2px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 14.5px;
  font-style: italic;
}

.card p {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.card .card_kicker {
  margin-bottom: 4px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card .card_meta {
  color: var(--ink-3);
  font-size: 12.5px;
}

.infobox {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid var(--rule);
  border-collapse: collapse;
  background: #ffffff;
  font-size: 13.5px;
}

.infobox caption {
  padding: 10px 12px;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.infobox th {
  width: 36%;
  padding: 7px 10px;
  border-top: 1px solid var(--rule-2);
  color: var(--ink-3);
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.infobox td {
  padding: 7px 10px;
  border-top: 1px solid var(--rule-2);
}

.infobox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.infobox li + li {
  margin-top: 4px;
}

.infobox .note {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}

.chart,
.heat_figure,
.meter_figure {
  position: relative;
  margin: 0 0 28px;
  padding: 16px 16px 12px;
  border: 1px solid var(--rule-2);
  background: #ffffff;
}

.chart figcaption,
.heat_figure figcaption,
.meter_figure figcaption {
  margin-bottom: 8px;
}

.chart_title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
}

.chart_subtitle {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
}

.chart_frame {
  position: relative;
  overflow-x: auto;
}

.column_chart {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

.column_chart.dense {
  min-width: 560px;
}

.column_chart .grid {
  stroke: #ece9e3;
  stroke-width: 1;
}

.column_chart .baseline {
  stroke: #b9b3a8;
  stroke-width: 1;
}

.column_chart .band_bg {
  fill: #f8f6f2;
}

.column_chart .bar {
  fill: var(--blue-2);
}

.column_chart .bar.emphasis {
  fill: var(--blue);
}

.column_chart .bar.muted {
  fill: #b5cbe0;
}

.column_chart .hit {
  fill: transparent;
}

.column_chart .bar_link:hover .bar,
.column_chart .bar_link:focus .bar,
.column_chart .bar_group:hover .bar,
.column_chart .bar_group:focus .bar {
  fill: var(--rose);
}

.column_chart .bar_link:focus,
.column_chart .bar_group:focus {
  outline: none;
}

.column_chart .bar_link:focus-visible .hit,
.column_chart .bar_group:focus-visible .hit {
  stroke: var(--focus);
  stroke-width: 2;
}

.column_chart text {
  fill: var(--ink-3);
  font-family: var(--sans);
  font-size: 11px;
}

.column_chart .value_label {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
}

.column_chart .band_label {
  fill: var(--ink-2);
  font-weight: 600;
}

.column_chart .band_bracket {
  fill: none;
  stroke: #b9b3a8;
  stroke-width: 1;
}

.chart_tooltip {
  position: absolute;
  z-index: 5;
  margin-top: -10px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.chart_tooltip strong {
  display: block;
  font-size: 14px;
}

.chart_note {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 13px;
}

.chart_table summary {
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
}

.data_table {
  min-width: 260px;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data_table th,
.data_table td {
  padding: 4px 10px;
  border-bottom: 1px solid var(--rule-2);
  text-align: left;
}

.data_table td {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.table_scroll {
  overflow-x: auto;
}

.heat_table {
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 13px;
}

.heat_table th {
  padding: 4px 8px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.heat_table thead th {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.heat_table tbody th {
  min-width: 170px;
  white-space: normal;
}

.heat_table td {
  min-width: 46px;
  padding: 6px 3px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.heat_0 {
  background: #fbfaf8;
  color: var(--ink-3);
}

.heat_1 {
  background: #e3eef7;
  color: var(--ink);
}

.heat_2 {
  background: #bcd6ea;
  color: var(--ink);
}

.heat_3 {
  background: #8fb9dc;
  color: var(--ink);
}

.heat_4 {
  background: #5d97c6;
  color: #0b1a28;
}

.heat_5 {
  background: #2f72a9;
  color: #ffffff;
}

.heat_6 {
  background: #1b4f7c;
  color: #ffffff;
}

.heat_5 a,
.heat_6 a,
.heat_5 a:visited,
.heat_6 a:visited {
  color: #ffffff;
}

.heat_1 a,
.heat_2 a,
.heat_3 a,
.heat_4 a,
.heat_1 a:visited,
.heat_2 a:visited,
.heat_3 a:visited,
.heat_4 a:visited {
  color: inherit;
}

.heat_total {
  font-weight: 700;
}

.heat_legend {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 12px;
}

.heat_swatch {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 2px;
}

.heat_legend_label {
  margin: 0 6px;
}

.year_month_table {
  margin: 0 0 26px;
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 12.5px;
}

.year_month_table th {
  padding: 3px 6px;
  color: var(--ink-3);
  font-weight: 600;
  text-align: center;
}

.year_month_table tbody th {
  text-align: left;
}

.year_month_table td {
  min-width: 44px;
  padding: 0;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.year_month_table td a,
.year_month_table td span {
  display: block;
  padding: 5px 2px;
  text-decoration: none;
}

.year_month_table td a:hover {
  outline: 2px solid var(--rose);
}

.year_month_table td.num {
  padding: 5px 8px;
  text-align: right;
}

.month_grid {
  width: 100%;
  margin: 0 0 26px;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}

.month_grid caption {
  margin-bottom: 6px;
  font-weight: 700;
  text-align: left;
}

.month_grid th {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.month_grid td {
  height: 52px;
  padding: 0;
  border-radius: 4px;
  background: var(--panel);
  vertical-align: top;
}

.month_grid td.empty {
  background: transparent;
}

.month_grid .mg_day {
  display: block;
  padding: 4px 6px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.month_grid td.has_events {
  background: var(--blue-tint);
}

.month_grid td.has_events a {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.month_grid td.has_events a:hover {
  outline: 2px solid var(--blue);
}

.month_grid .mg_count {
  display: block;
  padding: 0 6px 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.meter_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meter_list li {
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
}

.meter_track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3eef7;
}

.meter_fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue-2);
}

.meter_value {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.directory_controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 14px;
  align-items: end;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule-2);
  background: var(--panel);
}

.directory_status {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.directory {
  width: 100%;
  margin-bottom: 26px;
  border-collapse: collapse;
  font-size: 14px;
}

.directory th,
.directory td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule-2);
  text-align: left;
  vertical-align: top;
}

.directory thead th {
  border-bottom: 2px solid var(--ink);
  color: var(--ink-3);
  font-size: 12.5px;
  white-space: nowrap;
}

.directory td.num,
.directory th.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.directory .dir_name {
  font-weight: 700;
}

.directory .dir_sub {
  display: block;
  color: var(--ink-3);
  font-size: 12.5px;
}

.directory .note {
  color: var(--ink-3);
  font-size: 12.5px;
}

.directory tr:target td {
  background: var(--gold-tint);
}

.glossary {
  margin: 0;
}

.glossary dt {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.glossary dd {
  max-width: 70ch;
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
}

.letter_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.letter_nav a {
  display: block;
  min-width: 28px;
  padding: 3px 6px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 8px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.pager a {
  font-weight: 700;
  text-decoration: none;
}

.pager a:hover {
  text-decoration: underline;
}

.pager_dir {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pager_next {
  text-align: right;
}

.notice {
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid #e7cf9f;
  background: var(--gold-tint);
  color: var(--ink-2);
  font-size: 14px;
}

.on_this_date {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--rule-2);
  border-left: 4px solid var(--rose);
  background: #fffafb;
}

.on_this_date h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 19px;
}

.on_this_date p {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 14px;
}

.otd_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.otd_list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #f1e3e8;
  font-size: 14.5px;
}

.otd_list .otd_year {
  color: var(--rose);
  font-weight: 800;
}

.otd_list .otd_meta {
  color: var(--ink-3);
  font-size: 13px;
}

.cite_box {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--rule-2);
  background: var(--panel);
  font-family: var(--serif);
  font-size: 15.5px;
}

.site_map_list {
  margin: 0 0 24px;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 32px;
}

.site_map_list li {
  padding: 2px 0;
  break-inside: avoid;
}

.site_map_months {
  margin: 0 0 6px;
  font-size: 14px;
}

.site_map_months a {
  margin-right: 4px;
}

.error_code {
  margin: 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.not_found_search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
}

.not_found_search label {
  width: 100%;
  font-weight: 700;
}

.not_found_search input {
  flex: 1;
  min-width: 200px;
  max-width: 420px;
  padding: 6px 10px;
  border: 1px solid #b9b3a8;
  border-radius: 4px;
}

#top_footer {
  padding: 26px 28px 20px;
  background: var(--navy);
  color: #c5d0db;
  font-size: 13.5px;
}

.footer_columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#top_footer h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#top_footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#top_footer li {
  padding: 2px 0;
}

#top_footer a,
#top_footer a:visited {
  color: #dce4ec;
}

#top_footer a:hover {
  color: #ffffff;
}

.footer_meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #2f3e4e;
}

.disclosure {
  max-width: 820px;
  margin: 0 0 6px;
  color: #aeb9c4;
  font-size: 12.5px;
}

.version {
  margin: 0;
  color: #aeb9c4;
  font-size: 12px;
}

.util_links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subnav a.parent {
  color: var(--ink);
  font-weight: 700;
}

.card_meta span + span::before,
.version span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.event_meta {
  color: var(--ink-2);
}

.event_table.compact .event_meta .tag_series,
.event_table.compact .event_meta .tag_source {
  margin-left: 10px;
  color: var(--ink-3);
  font-size: 12.5px;
}

.sort_bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--ink-3);
  font-size: 13px;
}

.sort_bar .sort_button {
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-2);
  font-size: 12.5px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.sort_bar .sort_button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.mobile_only {
  display: none !important;
}

.list_jump {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.sidebar {
  align-self: stretch;
}

.sidebar .toc_block {
  position: sticky;
  top: 16px;
}

body.home_index #project_tagline {
  display: none;
}

@media (max-width: 1000px) {
  .mobile_only {
    display: block !important;
  }

  table.mobile_only {
    display: table !important;
  }

  .desktop_only {
    display: none !important;
  }

  .sidebar .toc_block {
    position: static;
  }

  .content_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0 16px;
  }
}

@media (max-width: 760px) {
  #project_tagline,
  #project_menu {
    display: none;
  }

  #app_menu ul {
    justify-content: space-between;
  }

  .column_chart.dense {
    min-width: 0;
  }

  .column_chart text {
    font-size: 20px;
  }

  .column_chart .value_label {
    font-size: 20px;
  }

  .column_chart .x_label.alt,
  .column_chart .band_label,
  .column_chart .band_bracket {
    display: none;
  }

  .stat_row > .stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .link_list .note {
    white-space: normal;
  }

  #masthead {
    padding: 16px 16px 12px;
  }

  #project_title {
    font-size: 27px;
  }

  #top_menu {
    align-items: stretch;
    width: 100%;
  }

  #search_field {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #app_menu,
  #year_rail,
  .subnav {
    padding: 0 16px;
  }

  #app_menu ul {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  #app_menu li a {
    padding: 10px 6px 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  #content {
    padding: 14px 16px 30px;
  }

  .list_description h1 {
    font-size: 27px;
  }

  .dek {
    font-size: 16px;
  }

  .prose p {
    font-size: 17px;
  }

  .meter_list li {
    grid-template-columns: minmax(0, 1fr) 90px;
  }

  .meter_list .meter_track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer_columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site_map_list,
  .link_list.columns {
    columns: 1;
  }

  .two_col {
    grid-template-columns: minmax(0, 1fr);
  }

  .month_grid td {
    height: 44px;
  }

  .month_grid .mg_count {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .event_table td.date {
    width: 58px;
    padding: 8px 4px;
  }

  .day_number {
    font-size: 20px;
  }

  .event_table td.event_summary {
    padding: 8px 8px 10px;
  }

  .event_table .location {
    display: inline-block;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .footer_columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  #outer {
    max-width: none;
    box-shadow: none;
  }

  #top_menu,
  #app_menu,
  #year_rail,
  .subnav,
  .sidebar,
  .skip_link,
  .chart_table,
  .footer_columns,
  .pager,
  .event_tags .tag_source {
    display: none !important;
  }

  #global_header,
  #top_footer {
    background: #ffffff;
    color: var(--ink);
  }

  #project_title {
    color: var(--ink);
  }

  .content_grid {
    display: block;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .event_table tr {
    break-inside: avoid;
  }
}
