/* App-wide font: Arial */
html, body {
  font-family: Arial, Helvetica, sans-serif;
}

/* Ensure common Dash components inherit the app font */
label,
.dash-dropdown,
.dash-table-container,
.dash-table,
.Select,
.Select-control,
.Select-value,
.Select-option,
.Select-menu-outer {
  font-family: inherit;
}

/* Apply Arial to Plotly figure text */
.js-plotly-plot,
.js-plotly-plot .plotly,
.js-plotly-plot .main-svg text {
  font-family: Arial, Helvetica, sans-serif;
}

.graph-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto; /* rows size to their charts, any number of rows */
    gap: 0px;
}

.graph-cell {
    width: 100%;
    height: 620px; /* match the 600px figures; responsive graphs fill the cell */
}

/* Top navigation — monochrome; color is reserved for the charts */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
    padding: 14px 2px 12px;
    margin: 0 0 18px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #111;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #6b7280;
    padding: 4px 2px 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #111;
}

.nav-links a.active {
    color: #111;
    border-bottom-color: #111;
}

.nav-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mission-line {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}



/* Typography scale */
h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 6px 0 4px;
}

.page-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.data-source {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

/* Contact footer pinned to the bottom of the viewport */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    color: #888;
    font-size: 13px;
    padding: 8px 16px;
    z-index: 100;
}

/* Keep the last content visible above the fixed footer */
body {
    padding-bottom: 44px;
}

/* Page sections — monochrome divider + small caps heading */
.section-head {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    margin: 28px 0 4px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.section-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 14px;
}

/* Per-dataset freshness line — series update on different schedules */
.data-updates {
    font-size: 12px;
    color: #9ca3af;
    margin: -12px 0 18px;
}
