/* TAEF brand tokens — matched to the client CEO/CFO Daily Executive Brief. */
/* Hex values sampled directly from the client brief rendering. */
:root {
  --taef-plum: #3D103E;
  --taef-plum-deep: #2A0B2B;
  --taef-teal: #3AADA8;
  --taef-deep: #085042;
  --taef-page: #E8E1E9;
  --taef-soft: #F2EDF3;
  --taef-ink: #2B1E2E;
  --taef-muted: #7C6B7F;
  --taef-line: #E4DCE6;
  --taef-card: #FFFFFF;

  /* Variance bands (design doc, not brand chrome) */
  --band-dark-green: #085042;
  --band-green: #1C9D74;
  --band-amber: #F5B843;
  --band-red: #E04B45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--taef-ink);
  background: var(--taef-page);
}

.taef-shell {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--taef-card);
  min-height: 100vh;
  /* Section 4 teal accent stripe (3px) above the plum header band */
  border-top: 3px solid var(--taef-teal);
}

/* Header band — plum, title left, meta right */
.taef-band {
  background: var(--taef-plum);
  color: #fff;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.taef-band .brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.taef-band .meta {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.92;
  text-align: right;
}

.taef-band .sub {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  opacity: 0.85;
  max-width: 46rem;
  font-weight: 400;
}

/* Small-caps teal section eyebrow + purple heading */
.taef-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--taef-teal);
}

.taef-heading {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--taef-plum-deep);
  margin: 0.3rem 0 0.9rem;
}

/* Variance scale pills */
.taef-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.taef-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}

.taef-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.8rem 1.75rem;
  border-bottom: 1px solid var(--taef-line);
  background: #FBF9FC;
}

.taef-nav a {
  color: var(--taef-plum);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

.taef-nav a:hover {
  color: var(--taef-teal);
}

.taef-notice {
  margin: 1.1rem 1.75rem 0;
  background: var(--taef-soft);
  border-left: 3px solid var(--taef-plum);
  color: #5B4360;
  padding: 0.7rem 0.95rem;
  border-radius: 6px;
  font-size: 0.84rem;
}

.taef-footer {
  padding: 1.2rem 1.75rem 1.6rem;
  color: var(--taef-muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--taef-line);
}

/* Shared data table */
.taef-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.taef-table th {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--taef-muted);
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--taef-line);
}

.taef-table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--taef-line);
}

.taef-table tbody tr:nth-child(even) {
  background: #FBF9FC;
}

.taef-table td:first-child {
  font-weight: 500;
}

.taef-table .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--taef-plum-deep);
}

.taef-table .band-cell {
  font-weight: 700;
}
