/* 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-template-rows: repeat(2, auto);
    gap: 0px;
    height: 120vh; /* Set a specific height for the container */
}

.graph-cell {
    width: 100%;
    height: 100%;
    min-height: 300px; /* Ensure a minimum height for the cells */
}

/* 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;
}
