/* Platform card 04 (per-tenant isolation): an animated diagram, not a
   recording. Requests from the app, the API and Neo travel into the firm's own
   database and answers travel back; other firms' databases sit behind the
   boundary with traffic of their own. Every colour is a theme token, so the
   diagram follows light and dark. js/workflow-gallery.js pauses it whenever
   the card is not the current one, the gallery is off screen, or reduced
   motion is set (it then reads as a still diagram). */
.gallery-art.gallery-art--anim { display: block; padding: 0; min-height: 0; aspect-ratio: 1220 / 920; }
.gallery-anim { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Sizes are in viewBox units: the card shows the 1220-wide diagram at ~710px,
   so 19 here reads as ~11px on screen. */
.gallery-anim text { font-family: var(--font-mono); fill: var(--muted); font-size: 19px; letter-spacing: .05em; }
.gallery-anim .db-title { font-family: var(--font-sans); fill: var(--ink); font-size: 34px; letter-spacing: 0; font-weight: 500; }
.gallery-anim .db-chip { font-family: var(--font-sans); font-size: 22px; letter-spacing: 0; }
.gallery-anim .db-strong { fill: var(--ink); }
.gallery-anim .db-faint { fill: var(--faint); }

.db-grid { stroke: var(--border); stroke-width: 1; opacity: .55; }
.db-glow-stop { stop-color: var(--accent); }
.db-lane { fill: none; stroke: var(--border-2); stroke-width: 1.5; stroke-dasharray: 2 7; }
.db-lane--live { stroke: color-mix(in srgb, var(--accent) 40%, var(--border-2)); }
.db-source rect { fill: var(--panel); stroke: var(--border-2); stroke-width: 1.5; }
.db-source circle { fill: var(--accent); }

.db-cluster { fill: none; stroke: var(--border-2); stroke-width: 1.5; stroke-dasharray: 6 8; }
.db-body { fill: var(--panel); stroke: var(--accent); stroke-width: 2.5; }
.db-top { fill: color-mix(in srgb, var(--accent) 14%, var(--panel)); stroke: var(--accent); stroke-width: 2.5; }
.db-ring { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 2; }
.db-scan { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.db-orbit { fill: none; stroke: color-mix(in srgb, var(--accent) 45%, transparent); stroke-width: 1.5; stroke-dasharray: 3 12; }
.db-lock rect { fill: var(--panel); stroke: var(--border-2); stroke-width: 1.5; }
.db-lock path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

.db-wall { stroke: var(--border-2); stroke-width: 2; stroke-dasharray: 10 10; }
.db-ghost { fill: var(--sunk); stroke: var(--border-2); stroke-width: 2; }
.db-ghost-top { fill: var(--panel); stroke: var(--border-2); stroke-width: 2; }

.db-dot--in { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.db-dot--out { fill: var(--accent-2); filter: drop-shadow(0 0 5px var(--accent-2)); }
.db-dot--ghost { fill: var(--faint); }
