/* Global font */
body {
    font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

.header .logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
}
.header .logo {
  color: #fff;
  text-decoration: none;
}

.header .nav a,
.header .nav button {
  color: #fff;
}
.header .logo img {
    height: 36px;
    margin-right: 10px;
}

/* Layout containers */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: #1c3e57; /* your brand navy */
    color: #fff;
    padding: 15px 0;
}

.logo {
    margin: 0;
    font-weight: 600;
}

/* Nav */
.nav a {
    margin-right: 20px;
    color: #fff;
    text-decoration: none;
}

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

/* Cards */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}

/* Headings */
h1, h2, h3 {
    font-weight: 600;
    color: #1c3e57;
}

/* Buttons */
button, .btn {
    background: #1c3e57;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover, .btn:hover {
    background: #244d6d;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
}

th {
    background: #1c3e57;
    color: #fff;
    padding: 10px;
    text-align: left;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
    color: #666;
    .footer {
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12); /* tweak if footer bg is light */
  font-size: 0.95rem;
}
.year-link {
  margin-right: 8px;
  text-decoration: none;
}

.year-link.is-active {
  font-weight: 600;
  text-decoration: underline;
}

.footer a {
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

}
/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .nav a,
  .nav button {
    padding: 8px 10px;
  }

  /* Plotly charts: prevent overflow */
  .plotly-graph-div {
    max-width: 100%;
    overflow-x: auto;
  }
}
input, select, textarea, button {
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap {
  overflow-x: auto; /* wrap tables on mobile */
}
