/* THE TEAM'S WEEK (Alison, 2026-12-04: "oh yes! yes"): a compact snapshot on a team home after What to do now, and the
   whole week on the Team week page, grouped See it / Say it / Scale it. Logic: static/js/screens/home/team-momentum.js.
   House tokens (light, and dark through the --dk* tokens and :root[data-theme="dark"]); serif headings; no underline,
   ever; every target 44px or more; two columns at a desktop width, one on a phone; nothing wider than the window. */
:root {
  --tmo-ink: var(--dkt-2d4860ff, #2D4860);
  --tmo-sage: var(--dkt-4a7c59ff, #4A7C59);
  --tmo-quiet: var(--dkt-5c6f80ff, #5C6F80);
  --tmo-card: var(--dkb-ffffffff, #FFFFFF);
  --tmo-line: var(--dkl-2d48601f, rgba(45, 72, 96, 0.12));
  --tmo-gold: #8A6A1F;           /* 5.05:1 on white */
  --tmo-track: rgba(45, 72, 96, 0.12);
}
:root[data-theme="dark"] {
  --tmo-gold: #E9A84C;           /* How Horizon's gold on the dark page */
  --tmo-track: rgba(255, 255, 255, 0.14);
}

/* ── the snapshot ── */
.tmo { margin: 1.2rem auto 0.4rem; max-width: 1100px; box-sizing: border-box; }
.tmo[hidden] { display: none; }
.tmo-card {
  display: grid;
  gap: 0.7rem;
  min-height: 44px;
  padding: 1rem 1.15rem 0.6rem;
  background: var(--tmo-card);
  border: 1px solid var(--tmo-line);
  border-radius: 16px;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  color: var(--tmo-ink);
}
.tmo-card:hover, .tmo-card:focus-visible { border-color: var(--tmo-sage); outline: none; text-decoration: none; }
.tmo-eyebrow { font: 700 0.7rem/1.3 'Montserrat', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tmo-gold); }
.tmo-snap-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.9rem 1.4rem; align-items: center; }
.tmo-go { justify-self: start; display: inline-flex; align-items: center; min-height: 44px;
  font: 600 0.84rem/1.2 'Montserrat', sans-serif; color: var(--tmo-sage); }

.tmo-story { display: flex; gap: 0.8rem; align-items: center; min-width: 0; }
.tmo-photo { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border-radius: 12px; background: var(--tmo-track); }
.tmo-story-words { display: grid; gap: 0.15rem; min-width: 0; }
.tmo-story-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.35rem; line-height: 1.15;
  color: var(--tmo-ink); overflow-wrap: anywhere; }
.tmo-excerpt { font: 500 0.88rem/1.45 'Montserrat', sans-serif; color: var(--tmo-quiet); overflow-wrap: anywhere; }
.tmo-by { font: 600 0.78rem/1.3 'Montserrat', sans-serif; color: var(--tmo-sage); }

.tmo-nums { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.tmo-num { display: grid; min-width: 0; }
.tmo-n { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 2.3rem; line-height: 1.05; color: var(--tmo-ink); }
.tmo-nl { font: 500 0.8rem/1.3 'Montserrat', sans-serif; color: var(--tmo-quiet); }

/* ── the whole week, on its page ── */
#screen-team-week .team-week-wrap { max-width: 1100px; }
#team-week-body.tmo-page { display: grid; gap: 26px; }
.tmo-group { display: grid; gap: 12px; min-width: 0; }
.tmo-gh { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.7rem; line-height: 1.15;
  color: var(--tmo-ink); margin: 0; }
.tmo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
/* Only See it pairs its two cards; Say it and Scale it use the whole width, the thank-you line under the stories
   (Alison, 2026-12-04: no empty right half at a desktop width). */
.tmo-group:not([data-group="see"]) > .tmo-grid { grid-template-columns: minmax(0, 1fr); }
.tmo-block { min-width: 0; box-sizing: border-box; }
.tmo-block .tmo-photo { width: 100%; height: auto; max-height: 260px; flex: none; aspect-ratio: 4 / 3; }
.tmo-block .tmo-story.has-photo { display: grid; }
.tmo-story-go, .tmo-row-go, .tmo-proj {
  display: block; width: 100%; min-height: 44px; padding: 4px 0; text-align: left;
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.tmo-row-go { font-size: 0.92rem; color: var(--tmo-ink); line-height: 1.45; overflow-wrap: anywhere; }
.tmo-story-go:hover, .tmo-row-go:hover, .tmo-proj:hover,
.tmo-story-go:focus-visible, .tmo-row-go:focus-visible, .tmo-proj:focus-visible { text-decoration: none; opacity: 0.85; }
.tmo-thanks { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.25rem; color: var(--tmo-ink); }

.tmo-projs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tmo-proj { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.tmo-proj-name { font-weight: 600; font-size: 0.95rem; color: var(--tmo-ink); overflow-wrap: anywhere; }
.tmo-proj-date { grid-column: 2; grid-row: 1; font: 600 0.78rem/1.2 'Montserrat', sans-serif; color: var(--tmo-quiet); }
.tmo-bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 4px; background: var(--tmo-track); overflow: hidden; }
.tmo-bar i { display: block; height: 100%; background: var(--tmo-sage); border-radius: 4px; }
.tmo-proj-sub { grid-column: 1 / -1; font-size: 0.8rem; color: var(--tmo-quiet); overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .tmo-snap-row, .tmo-grid { grid-template-columns: minmax(0, 1fr); }
}
