/* THE TENGO DIAGRAM — Tengo in the middle, the jobs Tengo handles on the
   inner ring, the people who help on the outer one. Shared by the signed-in
   Tengo home (public/assistant/home.html) and the landing page
   (public/assistant/index.html), so the two cannot drift: the landing page used
   to draw the older one-ring version (people around "your family's plans"),
   which shows a calendar and nothing else the assistant does.

   The two pages name their colour tokens differently (--pa-* on the app,
   --pap-* on the public pages), so every colour reads both, then the literal.
   The MARKUP is copied on both pages; tests/unit/tengoHub.test.js fails if the
   two copies differ. */
.pa-hub { position: relative; overflow: visible; aspect-ratio: 1.2 / 1; max-width: 540px; width: 100%; margin: 0 auto; }
.pa-hub-ring { position: absolute; border-radius: 50%; }
.pa-hub-ring--outer { inset: 0 6%; border: 2px dashed rgba(236,72,153,0.22); }
.pa-hub-ring--inner { inset: 18%; border: 2px dashed rgba(59,130,246,0.28); }
.pa-hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 23%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--pa-pink, var(--pap-pink, #EC4899)), var(--pa-blue, var(--pap-blue, #3B82F6)));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 14px 30px rgba(236,72,153,0.25);
}
.pa-hub-core span { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.pa-hub-core b { font-size: 0.82rem; margin-top: 4px; letter-spacing: 0.02em; }
.pa-hub-core small { font-size: 0.62rem; opacity: 0.9; margin-top: 2px; }
.pa-node {
  position: absolute; transform: translate(-50%, -50%);
  background: #fff; border: 1px solid var(--pap-line, #e6ebf2); border-radius: 999px;
  padding: 4px 10px; font-size: 0.76rem; line-height: 1.3; font-weight: 700;
  color: var(--pa-ink, var(--pap-ink, #22303A));
  box-shadow: 0 6px 14px rgba(34,48,58,0.08); white-space: nowrap;
}
/* A JOB is tinted, a PERSON is white: two rings, two kinds of thing. */
.pa-node--job {
  background: var(--pa-purple-light, var(--pap-purple-light, #F3EEFA));
  border-color: var(--pa-purple-border, var(--pap-purple-border, #DCCEEE));
  color: var(--pa-purple-text, var(--pap-purple-text, #4A2A6B)); font-size: 0.74rem;
}
/* A PHONE HAS NO ROOM FOR ELEVEN LABELS: it keeps Tengo and the jobs, and
   the people (named in the copy beside it) and their ring step out. */
@media (max-width: 600px) {
  .pa-hub { max-width: 340px; }
  .pa-hub .pa-node:not(.pa-node--job), .pa-hub-ring--outer { display: none; }
  .pa-hub-core { width: 26%; }
  .pa-hub-core small { display: none; }
}
