:root {
  --teal: #00464b;
  --teal-soft: #355a5e;
  --gold: #cdb32b;
  --cream: #fffde9;
  --white: #ffffff;
  --line: #e7e1bf;
  --up: #1d6b45;
  --up-bg: #e3f2e9;
  --down: #8a2e21;
  --down-bg: #fbe9e4;
  --flat: #4f5d5e;
  --flat-bg: #eceade;
  --ly: #b9b08a;
  --ly-mark: #8a7a1f;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--teal); font: 16px/1.5 var(--sans); }
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 48px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 19px; }
p { margin: 0; }
a { color: var(--teal); }
.loading { color: var(--teal-soft); }

.masthead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dates { color: var(--teal-soft); font-size: 14px; }

.brief { margin: 18px 0 24px; padding: 18px 18px 16px; background: var(--teal); color: var(--white); border-radius: 14px; }
.brief .eyebrow { color: #f2eeca; }
.brief p { font-size: 18px; line-height: 1.45; }
.brief p + p { margin-top: 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-soft); margin-bottom: 8px; }

.cards { display: grid; gap: 12px; }
.card { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; text-decoration: none; }
a.card.link:hover, a.card.link:focus-visible { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px var(--gold); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-name { font-weight: 700; font-size: 15px; }
.big { font-family: var(--serif); font-size: 34px; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.card .say { color: var(--teal-soft); font-size: 15px; }
.more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.pill { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.pill.up { color: var(--up); background: var(--up-bg); }
.pill.down { color: var(--down); background: var(--down-bg); }
.pill.flat, .pill.neutral { color: var(--flat); background: var(--flat-bg); }
.card.pending { background: transparent; border-style: dashed; }

.back { display: inline-block; margin-bottom: 14px; font-weight: 500; text-decoration: none; }
.back::before { content: "\2190  "; }
.section { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.row:first-of-type { border-top: 0; }
.row .label { color: var(--teal-soft); }
.row .val { text-align: right; }
.row .val small { display: block; color: var(--teal-soft); font-size: 13px; }
.stat-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 4px; color: var(--teal-soft); font-size: 15px; }
.stat-line b { color: var(--teal); font-weight: 500; }
.chart { width: 100%; height: auto; display: block; margin-top: 8px; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--teal-soft); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
details { margin-top: 24px; color: var(--teal-soft); font-size: 14px; }
details summary { cursor: pointer; font-weight: 500; color: var(--teal); }
details ul { padding-left: 18px; margin: 8px 0 0; }
details li + li { margin-top: 6px; }
.foot { margin-top: 18px; font-size: 13px; color: var(--teal-soft); }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } .cards .wide { grid-column: 1 / -1; } }

.pick { display: block; margin-top: 14px; }
.pick select { display: block; width: 100%; margin-top: 2px; font: 500 16px/1.3 var(--sans); color: var(--teal); background: var(--white);
  border: 1px solid var(--teal); border-radius: 10px; padding: 10px 12px; }
table.months { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
table.months th, table.months td { padding: 7px 3px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
table.months thead th { border-top: 0; color: var(--teal-soft); font-weight: 500; font-size: 13px; }
table.months th[scope="row"], table.months thead th:first-child { text-align: left; font-weight: 500; }
table.months tfoot th, table.months tfoot td { font-weight: 700; border-top: 2px solid var(--teal); }
table.months td.up { color: var(--up); }
table.months td.down { color: var(--down); }
table.months td.flat, table.months td.neutral { color: var(--flat); }

.note { margin: 16px 0 0; padding: 12px 14px; background: var(--white); border: 1px solid var(--gold); border-radius: 10px; }
.signin { margin-top: 20px; display: grid; gap: 10px; }
.signin label { font-weight: 700; font-size: 14px; }
.signin input { font: 16px/1.3 var(--sans); color: var(--teal); padding: 12px; border: 1px solid var(--teal); border-radius: 10px; background: var(--white); }
.signin button { font: 700 15px/1 var(--sans); letter-spacing: 0.03em; color: var(--white); background: var(--teal); border: 0; border-radius: 999px; padding: 14px 18px; cursor: pointer; }
.signin button:hover { background: #005e65; }
.signin input:focus-visible, .signin button:focus-visible { outline: 3px solid #00926b; outline-offset: 2px; }

.card.static { background: transparent; border-style: solid; border-color: var(--line); }
.card.link { box-shadow: 0 1px 0 var(--line); }
.card.link .more::after { content: " \2192"; }
h2.group { font-size: 20px; margin: 26px 0 10px; }
h3.sub { margin-top: 18px; }
.warning { margin: 0 0 12px; padding: 10px 14px; background: var(--down-bg); color: var(--down); border-radius: 10px; font-weight: 500; }
.note { margin: 10px 0 0; padding: 10px 12px; background: var(--cream); border-left: 3px solid var(--gold); font-size: 15px; }
button.row.jump { width: 100%; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; color: inherit; cursor: pointer; align-items: center; padding: 10px 0; }
button.row.jump:first-of-type { border-top: 0; }
button.row.jump .val { display: flex; gap: 10px; align-items: center; }
button.row.jump:focus-visible { outline: 3px solid #00926b; outline-offset: 2px; }
table.months td.cur { font-weight: 700; }
a.signout { display: inline-block; padding: 10px 6px; margin-left: 4px; font-weight: 500; }
