/* Team report animation (team-anim.js). Windows, cloud, flow and tags come
   from hero-anim.css; these are the stage, the browser pages and the cursor.
   Pages are laid out at 680x440 and drawn at 2x. */
.team-anim {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 28px 0 32px;
  border-radius: var(--radius-lg);
  background: #101012;
}
.team-anim.is-paused .ha-fake-col,
.team-anim.is-still .ha-fake-col { animation-play-state: paused; }
.ta-red { color: #e5534b; }
.ha-dim .ta-red { color: #e5534b; }
.ha-dim .ta-del { color: #e5534b; }
.ha-dim .ta-add { color: #4eba65; }

/* Browser windows */
.ta-browser {
  position: absolute;
  width: 680px;
  height: 440px;
  overflow: hidden;
  transform-origin: 0 0;
  background: #151517;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #34343b, 0 24px 60px rgba(0, 0, 0, 0.55);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: #e8e6ec;
}
.ta-browser .ha-bar span.ta-url {
  left: 120px;
  right: 120px;
  height: 18px;
  line-height: 18px;
  border-radius: 5px;
  background: #1b1b1f;
  font-family: var(--font-mono);
  font-size: 11px;
}
.ta-page { position: relative; height: 412px; }

/* HypAware report */
.ta-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid #26262b;
  font-size: 12.5px;
  color: #8f8a98;
}
.ta-nav img { width: 18px; height: 18px; margin-right: -8px; }
.ta-nav b { margin-right: 10px; font-weight: 600; color: #ece6f5; }
.ta-nav .on { line-height: 38px; color: #ece6f5; box-shadow: inset 0 -2px var(--accent); }
.ta-nav em { margin-left: auto; font-style: normal; }
.ta-head { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px 12px; }
.ta-head b { font-size: 17px; font-weight: 600; color: #ece6f5; }
.ta-head span { font-size: 12px; color: #8f8a98; }
.ta-list { display: flex; flex-direction: column; gap: 6px; padding: 0 12px; }
.ta-find {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 12px 0 12px;
  border: 1px solid #26262b;
  border-radius: 8px;
  background: #1b1b1f;
}
.ta-find.is-hover { border-color: #5e4a86; background: #201d27; }
.ta-sev { align-self: stretch; flex: 0 0 4px; margin: 12px 0; border-radius: 2px; background: var(--accent); }
.ta-sev.ta-chip-warn { background: #e0b057; }
.ta-sev.ta-chip-bad { background: #ef7a73; }
.ta-find-text { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.ta-find-text b { overflow: hidden; font-size: 14px; font-weight: 600; color: #ece6f5; white-space: nowrap; text-overflow: ellipsis; }
.ta-find-text span { font-size: 12px; color: #8f8a98; white-space: nowrap; }
.ta-chip { padding: 2px 8px; border-radius: 999px; background: rgba(183, 139, 255, 0.14); font-size: 11px; color: var(--accent-link); }
.ta-chip.ta-chip-warn { background: rgba(224, 176, 87, 0.14); color: #e0b057; }
.ta-chip.ta-chip-bad { background: rgba(229, 83, 75, 0.14); color: #ef7a73; }
.ta-btn { padding: 5px 10px; border: 1px solid #45434d; border-radius: 6px; font-size: 12px; color: #c9c4d2; white-space: nowrap; }
.ta-find.is-hover .ta-btn { border-color: var(--accent); color: #ece6f5; }
.ta-btn.is-down { background: rgba(183, 139, 255, 0.22); transform: scale(0.94); }
.ta-find .ta-btn.is-done { border-color: #3b6e48; color: #4eba65; }

.ta-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  overflow: visible;
}
.ta-cursor path { fill: #fff; stroke: #000; stroke-width: 1.2; stroke-linejoin: round; }
.ta-ring {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-link);
  border-radius: 50%;
  opacity: 0;
}

/* GitHub issue */
.ta-gh { height: 100%; background: #0d1117; color: #e6edf3; }
.ta-gh-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid #30363d;
  background: #010409;
  font-size: 13px;
  color: #7d8590;
}
.ta-gh-nav b { font-weight: 600; color: #e6edf3; }
.ta-gh-nav span { margin-left: 14px; }
.ta-gh-nav .on { margin-left: 28px; line-height: 38px; color: #e6edf3; box-shadow: inset 0 -2px #f78166; }
.ta-skel, .ta-issue { position: absolute; inset: 40px 0 0; padding: 16px 20px; }
.ta-sk { height: 10px; margin-bottom: 12px; border-radius: 3px; background: #21262d; }
.ta-title { font-size: 20px; color: #e6edf3; }
.ta-title span { color: #7d8590; }
.ta-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #30363d;
  font-size: 12.5px;
  color: #7d8590;
}
.ta-meta b { color: #e6edf3; }
.ta-open { padding: 3px 10px; border-radius: 999px; background: #238636; font-weight: 500; color: #fff; }
.ta-comment { overflow: hidden; border: 1px solid #30363d; border-radius: 6px; }
.ta-comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-bottom: 1px solid #30363d;
  background: #161b22;
  font-size: 12.5px;
  color: #7d8590;
}
.ta-comment-head b { color: #e6edf3; }
.ta-lbl {
  padding: 1px 8px;
  border: 1px solid rgba(56, 139, 253, 0.4);
  border-radius: 999px;
  background: rgba(56, 139, 253, 0.15);
  font-size: 11px;
  font-weight: 500;
  color: #79c0ff;
}
.ta-lbl:first-of-type { margin-left: auto; }
.ta-lbl.ta-lbl-hyp { border-color: rgba(183, 139, 255, 0.4); background: rgba(183, 139, 255, 0.15); color: var(--accent-link); }
.ta-comment-body { padding: 10px 12px; font-size: 13px; line-height: 1.55; }
.ta-comment-body div + div { margin-top: 4px; }
.ta-code { padding: 1px 5px; border-radius: 4px; background: rgba(110, 118, 129, 0.3); font-family: var(--font-mono); font-size: 11.5px; }
.ta-link { color: #4493f8; }
.ta-event { margin: 12px 0 0 16px; font-size: 12.5px; color: #7d8590; }
.ta-event b { color: #e6edf3; }

/* Finding IDs, the held state, and the sessions-per-day spark for the next pass */
.ta-id { font-style: normal; font-family: var(--font-mono); font-weight: 600; color: var(--accent-link); }
.ta-chip.ta-chip-ok { background: rgba(78, 186, 101, 0.14); color: #4eba65; }
.ta-sev.ta-chip-ok { background: #4eba65; }
.ta-spark { display: flex; align-items: flex-end; gap: 2px; height: 24px; flex: 0 0 auto; }
.ta-spark i { width: 4px; border-radius: 1px; background: #5e4a86; }
.ta-spark i.after { background: #4eba65; }
