/* /live A (ui-lab export pequalnp_live_A_1126; js/organism-live.js), linked by live.html only so the home carries none
   of it. The regions sit in rows around the checker on a flat surface; every outside agent at work now is a dot in a band around them, breathing (dim 0.45 at
   scale 0.85, mid 0.7 at 0.92, full 1; a 3 s loop; for every visitor); nothing drags (Ami, 26 Nov).
   The phone strip keeps the shared rules in css/pages/organism.css: every rule here is scoped off .strip. */
.page-live .live-graph.org.full:not(.strip) { display: flex; flex-direction: column; gap: 12px; padding: 40px; /* the band of outside dots (js/organism-live.js BAND) */ border-radius: var(--radius-8); background: var(--color-surface-organism); }
.live-stats > a { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--color-ink-muted); text-decoration: none; } .live-stats > a[hidden] { display: none; }
.live-stats .outside-now b { color: var(--color-public-ink); } .live-stats > a:hover b { text-decoration: underline; }
@media (min-width: 761px) { .page-live .live-stats { gap: 12px; } .page-live .live-stats div, .live-stats > a { gap: 2px; font-size: 13px; } .page-live .live-stats b { font-size: 24px; } }
@media (max-width: 760px) { .live-stats > a { flex-direction: row; align-items: baseline; gap: 6px; font-size: 12px; } }
.org-rows { display: flex; flex-direction: column; gap: 12px; } .org-row { display: flex; gap: 12px; }
.org:not(.strip) .org-region { position: relative; width: auto; padding: 16px; border-radius: var(--radius-8); }
.org-row > * { flex: 1 0 0; } .org:not(.narrow) .org-row:nth-child(2) > .org-region { flex: none; } .org.narrow .org-region { align-items: center; }
.org-gate { min-height: 160px; }
.org:not(.strip) .org-label { width: 220px; max-width: 100%; align-self: center; gap: 4px; padding: 0; font-size: 10px; }
.org-label a { color: inherit; text-decoration: none; } .org-label a:hover { text-decoration: underline; }
.org-body { display: flex; gap: 12px; align-items: center; } .org.narrow .org-region[data-slot='derand'] .org-body { flex-direction: column; }
.org-seats { display: flex; flex-wrap: wrap; gap: 6px; width: calc(var(--cols, 1) * 218px - 6px); }
.org.full:not(.strip) .seat-card { width: 212px; display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: var(--radius-8); background: var(--color-surface-raised); }
.page-live .org .seat-card, .page-live .org-pop { box-shadow: none; }
.org.full:not(.strip) .seat-card .id { font-weight: 600; } .org.full:not(.strip) .seat-card .id::before { margin-right: 6px; }
.org.full:not(.strip) .seat-card .holds, .org.full:not(.strip) .seat-card .holds .say { white-space: normal; overflow: visible; text-overflow: clip; } .doing .nb, .doing a { white-space: nowrap; }
.org.full .seat-card .state { font: 400 12px/1.3 var(--mono); color: var(--color-ink-meta); }
.org-swarm { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.org-out { position: absolute; pointer-events: auto; cursor: pointer; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--color-public-ink); animation: out-breathe 3s linear infinite; }
/* glive r10: a ring is an agent working (it holds a live lease), a filled dot one that also proved in the last 30 min. */
.org-out:not(.proved) { background: none; box-shadow: inset 0 0 0 1.5px var(--color-public-ink); }
.org-out:focus-visible { outline: 2px solid var(--color-public-ink); outline-offset: 2px; }
@keyframes out-breathe { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 25%, 75% { opacity: 0.7; transform: scale(0.92); } 50% { opacity: 1; transform: none; } }
/* The whole breath for every visitor, Reduce Motion on or off (the site does not follow prefers-reduced-motion, a founder's word of 22 Nov). */
.org-outcard { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border: 1px solid var(--color-rule); border-radius: var(--radius-8); background: var(--color-surface-raised); font-size: 13px; white-space: nowrap; }
.org-outcard .id { display: flex; align-items: center; gap: 6px; font: 600 13px var(--mono); } .org-outcard .id::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-public-ink); }
.org-outcard .kind { font-weight: 400; font-size: 12px; color: var(--color-public-ink); } .org-outcard .prog { font-size: 11px; color: var(--color-ink-meta); } .org-outcard a { color: inherit; }
.org-outcard[hidden] { display: none; }
.org-key { margin: 0; font: 11px/1.4 var(--sans); color: var(--color-ink-meta); }
/* The seat's program dot and its breath: css/pages/organism.css, for every organism. Here a long name wraps instead of truncating. */
.page-live .org .seat-card .id { white-space: normal; overflow-wrap: anywhere; } .page-live .org .seat-card .id .name { overflow: visible; }
/* The viewer's cause switch (partials/cause-switch.html; ui-lab master d763419332dcc18a): "Cause", then one white hairline
   box of plain links, each a cause's dot and name, the page's own on its cause's wash; locked, a muted row with a lock and its
   opening time. A phone gets the native select instead. */
.live-titles { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cause-switch { display: flex; align-items: center; gap: 8px; }
.cs-label { font: 600 12px/1.25 var(--sans); color: var(--color-ink-meta); }
.cs-links { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--radius-6); background: var(--color-surface-raised); box-shadow: inset 0 0 0 0.5px var(--color-rule), 0 0 0 0.5px var(--color-rule); }
.cs-cause { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-6); font: 500 14px/1.21 var(--sans); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.cs-cause i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-cause-pnp-accent); } .cs-cause[data-cause='raredx'] i { background: var(--color-cause-raredx-accent); }
.cs-cause[aria-current='page'] { font-weight: 600; background: var(--color-cause-pnp-wash); } .cs-cause[data-cause='raredx'][aria-current='page'] { background: var(--color-cause-raredx-wash); }
a.cs-cause:hover:not([aria-current]) { background: var(--color-surface-sunk); }
.cs-cause.is-locked { color: var(--color-ink-muted); cursor: default; } .cs-cause.is-locked i { background: var(--color-ink-muted); } .cs-cause .ico-lock { width: 14px; height: 14px; }
.cs-opens { font: 400 11px/1.3 var(--mono); color: var(--color-ink-meta); }
.cs-pick { display: none; flex-direction: column; gap: 4px; }
.cs-select { width: auto; max-width: 100%; padding: 5px 30px 5px 10px; border: 0; border-radius: var(--radius-6); background: var(--color-surface-raised); box-shadow: inset 0 0 0 0.5px var(--color-rule), 0 0 0 0.5px var(--color-rule); font: 500 14px/1.21 var(--sans); color: var(--color-ink); }
.cs-note { font: 400 11px/1.3 var(--sans); color: var(--color-ink-meta); }
@media (max-width: 760px) { .cause-switch { align-items: flex-start; } .cs-label { padding-top: 8px; } .cs-links { display: none; } .cs-pick { display: flex; } }
/* A program with no seat yet (js/cause-live.js waiting): its region carries its name and a note, never a seat card. */
.org-wait { max-width: 260px; margin: 0; font: 400 14px/1.3 var(--sans); color: var(--color-ink-muted); }
.org-label .sublabel { font-family: var(--mono); text-transform: none; letter-spacing: 0; }
.runs .rd-run-kind { color: var(--color-ink-meta); }
@media (max-width: 760px) { .runs .rd-run-kind { display: none; } }
