Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

build: regenerate examples, gallery, showcase, and skill archive

tt-a1i83d10786af24
diff --git a/archify.zip b/archify.zip
index e69bdc82..40eea1a5 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.html
index 5121ce5b..7ec78f00 100644
--- a/archify/examples/dataflow-product-analytics.html
+++ b/archify/examples/dataflow-product-analytics.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6440,15 +6504,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7352,6 +7416,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11249,6 +11314,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11309,6 +11376,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11330,9 +11401,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11340,7 +11415,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11408,11 +11483,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11448,14 +11532,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11750,14 +11836,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11793,6 +11881,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.html
index fe40254e..f723a96b 100644
--- a/archify/examples/lifecycle-agent-run.html
+++ b/archify/examples/lifecycle-agent-run.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6375,15 +6439,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7287,6 +7351,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11184,6 +11249,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11244,6 +11311,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11265,9 +11336,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11275,7 +11350,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11343,11 +11418,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11383,14 +11467,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11685,14 +11771,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11728,6 +11816,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.html
index ef9f36cc..1cd422c3 100644
--- a/archify/examples/sequence-cache-miss-request.html
+++ b/archify/examples/sequence-cache-miss-request.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6455,15 +6519,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7367,6 +7431,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11264,6 +11329,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11324,6 +11391,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11345,9 +11416,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11355,7 +11430,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11423,11 +11498,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11463,14 +11547,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11765,14 +11851,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11808,6 +11896,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.html
index 50afafa8..b2675a31 100644
--- a/archify/examples/web-app-rendered.html
+++ b/archify/examples/web-app-rendered.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5167,7 +5231,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+ <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Sample Web App</title>
<desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5198,15 +5262,39 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="sg-api :443/:8000" x="430" y="270" width="400" height="110" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:7">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
<!-- Components -->
<g id="node-users" data-node-id="users" data-node-label="Users" tabindex="0" role="button" aria-label="Focus Users, Browser / Mobile, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Browser / Mobile" data-node-context="Architecture component">
@@ -6404,15 +6492,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7316,6 +7404,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11213,6 +11302,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11273,6 +11364,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11294,9 +11389,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11304,7 +11403,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11372,11 +11471,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11412,14 +11520,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11714,14 +11824,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11757,6 +11869,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.html
index d0a6d66c..53bf1e7a 100644
--- a/archify/examples/workflow-agent-tool-call-rendered.html
+++ b/archify/examples/workflow-agent-tool-call-rendered.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6446,15 +6510,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7358,6 +7422,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11255,6 +11320,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11315,6 +11382,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11336,9 +11407,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11346,7 +11421,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11414,11 +11489,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11454,14 +11538,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11756,14 +11842,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11799,6 +11887,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/archify/test/chrome-pipe-transport.test.mjs b/archify/test/chrome-pipe-transport.test.mjs
index 0daf92d5..723a81ab 100644
--- a/archify/test/chrome-pipe-transport.test.mjs
+++ b/archify/test/chrome-pipe-transport.test.mjs
@@ -3,7 +3,7 @@ import { EventEmitter } from 'node:events';
import { PassThrough } from 'node:stream';
import { test } from 'node:test';
-import { ChromeVisualBrowser } from '../bin/visual-check.mjs';
+import { ChromeVisualBrowser, CHROME_STARTUP_TIMEOUT_MS } from '../bin/visual-check.mjs';
function chromeChild() {
const child = new EventEmitter();
@@ -34,13 +34,13 @@ function browserFor(child) {
test('Chrome first-command timeout reports the running process, pipe progress and stderr', async (t) => {
const setTimeout = globalThis.setTimeout;
t.mock.method(globalThis, 'setTimeout', (callback, delay, ...args) =>
- setTimeout(callback, delay === 15000 ? 5 : delay, ...args));
+ setTimeout(callback, delay === CHROME_STARTUP_TIMEOUT_MS ? 5 : delay, ...args));
const child = chromeChild();
const browser = browserFor(child);
child.stderr.write('Browser initialization is waiting for a service\n');
try {
await assert.rejects(browser.sessionPromise, (error) => {
- assert.match(error.message, /Target\.getTargets: timed out after 15000ms/);
+ assert.match(error.message, new RegExp(`Target\\.getTargets: timed out after ${CHROME_STARTUP_TIMEOUT_MS}ms`));
assert.match(error.message, /Chrome process: still running/);
assert.match(error.message, /pid=7321/);
assert.match(error.message, /Node v\d+.*libuv/);
diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gif
index 90cadfe8..1b6f98d1 100644
Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differ
diff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.json
index 63e52a8c..2b1c0fe5 100644
--- a/docs/assets/archify-live-proof.json
+++ b/docs/assets/archify-live-proof.json
@@ -7,13 +7,13 @@
"fps": 10,
"frameCount": 54,
"durationSeconds": 5.4,
- "bytes": 1691356,
- "sha256": "7058a9a6af3ec4b84f39a9d18937da663b8a9b140c376d7d6dc6fa6f23c0123e",
+ "bytes": 1634896,
+ "sha256": "995d2579c918fb8c073458460d6874fba71fdab3782f4a3384521b8d2686f686",
"scenes": [
{
"id": "signal-flow",
"artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",
- "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c",
+ "artifactSha256": "5cd4ea2dfe063331dc56425f65000112a7a3f2d4ecc5df2aee65c5b71e2879ce",
"view": "happy-path",
"eyebrow": "WORKFLOW · SIGNAL FLOW",
"title": "Agent Tool Call",
@@ -22,7 +22,7 @@
{
"id": "blueprint",
"artifact": "docs/gallery/artifacts/production-deployment.architecture.html",
- "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6",
+ "artifactSha256": "407534d90702d82cbcfa0ea984c3bcd4b618680c5c099731fcb5e50ee71d6fde",
"view": "request-boundary",
"eyebrow": "ARCHITECTURE · BLUEPRINT",
"title": "Production Deployment",
@@ -31,7 +31,7 @@
{
"id": "classic",
"artifact": "docs/gallery/artifacts/cache-miss.sequence.html",
- "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281",
+ "artifactSha256": "3cc6925ffb9cc1bb82c5d42eb8213970b0943663231ee8c024017c0ab84d3c53",
"view": "cache-fallback",
"eyebrow": "SEQUENCE · CLASSIC",
"title": "Cache Miss Request",
diff --git a/docs/cases/mco-runtime.architecture.html b/docs/cases/mco-runtime.architecture.html
index ff783503..0463a814 100644
--- a/docs/cases/mco-runtime.architecture.html
+++ b/docs/cases/mco-runtime.architecture.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>MCO Runtime Architecture Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -727,7 +728,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
color: var(--frontend-stroke);
}
- /* The reader owns only the outer scale. Wide diagrams keep one authored
+ /* The reader owns only the outer scale. Wide diagrams and measured tall workflows keep one authored
SVG/viewBox while the runtime chooses a desktop width from the actual
vertical budget. This avoids device-specific files and breakpoint
jumps between a laptop and a tall monitor. */
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -1795,14 +1804,40 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
font-size: 0.625rem;
}
.relationship-lens-head {
+ position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: 0.75rem;
- padding: 0.7rem 0.75rem 0.65rem;
+ padding: 0.9rem 0.75rem 0.65rem;
border-bottom: 1px solid var(--toolbar-border);
background: linear-gradient(120deg, color-mix(in srgb, var(--frontend-fill) 34%, transparent), transparent 72%);
}
+ .relationship-lens-drag-handle {
+ position: absolute;
+ top: 0.12rem;
+ left: 50%;
+ width: 2.5rem;
+ height: 0.78rem;
+ padding: 0 !important;
+ transform: translateX(-50%);
+ color: var(--text-faint) !important;
+ cursor: grab;
+ touch-action: none;
+ user-select: none;
+ }
+ .relationship-lens-drag-handle::before {
+ content: "";
+ display: block;
+ width: 1.25rem;
+ margin: auto;
+ border-top: 2px dotted currentColor;
+ opacity: 0.72;
+ }
+ .focus-chip[data-panel-dragging="true"] .relationship-lens-drag-handle { cursor: grabbing; }
+ @media (hover: none), (pointer: coarse) {
+ .relationship-lens-drag-handle { display: none; }
+ }
.relationship-lens-copy { min-width: 0; }
.relationship-lens-actions {
display: flex;
@@ -1950,8 +1985,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
color: var(--text-muted);
text-decoration: none;
}
- .semantic-passport-source:hover,
- .semantic-passport-source:focus-visible {
+ a.semantic-passport-source:hover,
+ a.semantic-passport-source:focus-visible {
border-color: color-mix(in srgb, var(--backend-stroke) 42%, transparent);
background: color-mix(in srgb, var(--backend-fill) 32%, transparent);
color: var(--text);
@@ -3160,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -3809,6 +3848,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
width: calc(100% - 1rem);
max-width: none;
}
+ .relationship-lens-head { padding-top: 0.7rem; }
+ .relationship-lens-drag-handle { display: none; }
.relationship-lens-list { max-height: min(12rem, 38vh); }
.relationship-lens-actions #btn-focus-relations { display: block; color: var(--database-stroke); }
.focus-chip:not([data-relations-expanded="true"]) .relationship-lens-head { border-bottom-color: transparent; }
@@ -4084,6 +4125,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.t-messagebus { fill: var(--messagebus-stroke); }
.t-external { fill: var(--external-stroke); }
+ /* Relationship labels share the exact color token used by their path. */
+ .t-edge-default { fill: var(--arrow); }
+ .t-edge-emphasis { fill: var(--arrow-emphasis); }
+ .t-edge-security { fill: var(--security-stroke); }
+ .t-edge-dashed { fill: var(--database-stroke); }
+
/* Semantic Sigils are small authored role stamps, not icons from a brand
pack and not viewer controls. Prefix selectors with svg so the canonical
export's SVG-only stylesheet collector keeps them automatically. */
@@ -4197,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4346,9 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
+ svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4359,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4413,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4430,8 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4527,7 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4590,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4603,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4730,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4761,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4794,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4805,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4813,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4821,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4833,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4922,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4940,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5087,8 +5188,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
</div>
<script id="archify-guided-views-data" type="application/json">[{"id":"dispatch-path","label":"Dispatch path","focus":["callers","entry","router","policy","workflow","adapters","provider_clis"],"note":"An explicit provider team crosses one validated execution-policy boundary before MCO starts parallel work."},{"id":"answer-evidence","label":"Answer evidence","focus":["adapters","answer_transport","artifacts","consumers"],"note":"Provider output is decoded and persisted without turning raw answers into an automatic decision."},{"id":"durable-sessions","label":"Durable sessions","focus":["router","session_daemon","session_state"],"note":"Detached local workers use Unix sockets plus state.json and history.jsonl for resumable sessions."}]</script>
- <script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf"},"referenceCount":13,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"config":[{"path":"runtime/config.py","line":24,"label":"Review config","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"}],"policy":[{"path":"runtime/policy.py","line":34,"label":"Provider policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"workflow":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"answer_transport":[{"path":"runtime/answer_transport.py","line":79,"label":"Transport decoders","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/answer_transport.py#L79"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}],"session_daemon":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}]}}</script>
- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"S cycles","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.story":"the guided story","viewer.owner.chapter":"the active chapter","viewer.owner.chapterPreview":"the chapter delta preview","viewer.owner.handoff":"the chapter handoff","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyShareCard":"Copy Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.period":"Clipboard image write not supported by this browser.","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.copiedShare":"Copied Share Card","viewer.export.downloadedShare":"Downloaded Share Card","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Route: {source} → {target} · {count} directed hop","viewer.export.card.routeSummary.other":"Route: {source} → {target} · {count} directed hops","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.card.defaultBadge":"ARCHIFY · {preset} · {theme}","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guided.region":"Guided diagram views","viewer.guided.previous":"Previous guided view","viewer.guided.previous.title":"Previous guided view ([)","viewer.guided.next":"Next guided view","viewer.guided.next.title":"Next guided view (])","viewer.guided.views":"Guided views","viewer.guided.explore":"Explore this system","viewer.guided.intro":"Step through curated paths without changing the source diagram.","viewer.guided.trail":"Story trail","viewer.guided.beat":"Beat","viewer.guided.nextBeat":"Next","viewer.guided.play":"Play guided story","viewer.guided.play.title":"Play guided story (P)","viewer.guided.pause":"Pause guided story","viewer.guided.pause.title":"Pause guided story (P)","viewer.guided.replay":"Replay guided story","viewer.guided.replay.title":"Replay guided story (P)","viewer.guided.playStory":"Play story","viewer.guided.pauseStory":"Pause","viewer.guided.replayStory":"Replay story","viewer.guided.motionUnavailable":"Story playback unavailable while motion is Still","viewer.guided.enableMotion":"Switch motion to Live to play the guided story","viewer.guided.selectBeatLink":"Select a Story Beat to copy its exact link","viewer.guided.copyMoment":"Copy moment","viewer.guided.momentCopied":"Moment link copied","viewer.guided.momentCopyFailed":"Could not copy story moment link","viewer.guided.copied":"Copied","viewer.guided.copyFailed":"Copy failed","viewer.guided.showAll":"Show all","viewer.guided.showAll.aria":"Show entire diagram","viewer.guided.chapters":"Story chapters","viewer.guided.storyTrail":"Story trail for {label}: {count} beats","viewer.guided.chapter.open":"Open chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.current":"Current chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.selectedNodes":"{count} selected nodes","viewer.guided.chapter.stops":"{count} stops","viewer.guided.chapter.stop.one":"{count} stop","viewer.guided.chapter.stop.other":"{count} stops","viewer.guided.chapter.current.title":"{label} — current chapter, {count} stops","viewer.guided.chapter.delta.expanded":"{stay} stay, {enter} enter, {leave} leave","viewer.guided.chapter.delta.aria":"Open chapter {index} of {total}: {label}. Chapter focus delta: {delta}","viewer.guided.chapter.delta.title":"{label} — {delta} chapter focus","viewer.guided.handoff":"{from} → {to} · via {label}","viewer.guided.share.chapter":"Chapter {index} / {total}","viewer.guided.share.initial":"Chapter 01 / 01","viewer.guided.share.default":"Guided chapter","viewer.guided.state.ready":"Ready","viewer.guided.state.playing":"Playing","viewer.guided.state.settled":"Settled","viewer.guided.state.paused":"Paused","viewer.guided.state.pinned":"Pinned","viewer.guided.state.still":"Still","viewer.guided.share.step":"Step {index} / {total} · {label}","viewer.guided.share.staticMoment":"{step} · Static moment","viewer.guided.share.complete":"{count} steps complete · {note}","viewer.guided.share.settled":"Path settled for reading.","viewer.guided.share.staticPath":"{count} steps · Static path","viewer.guided.share.ready":"{count} steps · Ready","viewer.guided.share.aria":"{state} chapter {index} of {total}: {label}. {beat}. {route}","viewer.guided.beat.start":"Beat {index} / {total} · {label} · starting point","viewer.guided.beat.forward":"Beat {index} / {total} · {from} → {to}","viewer.guided.beat.reverse":"Beat {index} / {total} · {from} → {to} · reverse authored link","viewer.guided.beat.multiple":"Beat {index} / {total} · {from} ⇄ {to} · {count} authored links","viewer.guided.beat.group":"Beat {index} / {total} · {from} · {to} · grouped · no direct link","viewer.guided.beat.aria.prefix":"Story beat {index} of {total}: {label}. ","viewer.guided.beat.aria.start":"Starting point.","viewer.guided.beat.aria.forward":"From {from} through one authored forward relationship.","viewer.guided.beat.aria.reverse":"From {from}; the authored relationship points from {to} to {from}.","viewer.guided.beat.aria.multiple":"From {from} through {count} authored relationships; shown without arbitrary motion.","viewer.guided.beat.aria.group":"Grouped from {from} with no direct authored relationship.","viewer.guided.caption.start":"Starting point","viewer.guided.caption.grouped":"Grouped transition · no direct authored link","viewer.guided.caption.more":" +{count} more","viewer.guided.caption.reverse":"Reverse authored relationship","viewer.guided.caption.relationships":"{count} authored relationships","viewer.guided.caption.relationship":"Authored relationship","viewer.guided.caption.direction":"authored direction: {from} → {to}","viewer.guided.caption.starting":"Authored starting point","viewer.guided.beatLink":"Copy link to current story moment: Beat {index} of {total}: {label}","viewer.guided.noStory":"This diagram has no authored guided story.","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.story":"Play the guided story","viewer.guide.story.hint":"Walk the authored chapters and real relationships.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships} · {views}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.fact.view.one":"{count} guided view","viewer.guide.fact.view.other":"{count} guided views","viewer.guide.story.available.one":"Walk {count} authored chapter and its real relationships.","viewer.guide.story.available.other":"Walk {count} authored chapters and their real relationships.","viewer.guide.story.unavailable":"No authored guided story in this diagram.","viewer.guide.open":"Open diagram guide","viewer.guide.noStory":"This diagram has no authored guided story.","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.sourceMarker":"SRC","viewer.passport.beacon.one":"{count} verified source; focus this node to inspect","viewer.passport.beacon.other":"{count} verified sources; focus this node to inspect","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Route probe","viewer.route.start":"Choose a start node","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Traced route","viewer.route.pickTwo":"Pick two semantic nodes on the diagram","viewer.route.pickOne":"Pick a semantic node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Choose the source, then the destination. Direction matters.","viewer.route.destination":"Choose a destination from {label}","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"A route needs two distinct semantic nodes.","viewer.route.unreachable":"No directed route to {label}","viewer.route.unreachable.detail":"{target} is not reachable from {source}. Pick a highlighted destination.","viewer.route.start.instructions":"Select the source. The next step will reveal only directed destinations.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest authored route","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} directed hop","viewer.route.overview.hop.other":"{count} directed hops","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} directed destination available. Pick a highlighted node.","viewer.route.destination.count.other":"{count} directed destinations available. Pick a highlighted node.","viewer.route.noOutgoing":"No outgoing route starts here. Clear and choose another source.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"PATH","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>
+ <script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf","label":"mco-org/mco","href":"https://github.com/mco-org/mco/tree/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798"},"referenceCount":13,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"config":[{"path":"runtime/config.py","line":24,"label":"Review config","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"}],"policy":[{"path":"runtime/policy.py","line":34,"label":"Provider policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"workflow":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"answer_transport":[{"path":"runtime/answer_transport.py","line":79,"label":"Transport decoders","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/answer_transport.py#L79"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}],"session_daemon":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}]}}</script>
+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"S cycles","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.story":"the guided story","viewer.owner.chapter":"the active chapter","viewer.owner.chapterPreview":"the chapter delta preview","viewer.owner.handoff":"the chapter handoff","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyShareCard":"Copy Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.period":"Clipboard image write not supported by this browser.","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.copiedShare":"Copied Share Card","viewer.export.downloadedShare":"Downloaded Share Card","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Route: {source} → {target} · {count} directed hop","viewer.export.card.routeSummary.other":"Route: {source} → {target} · {count} directed hops","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.card.defaultBadge":"ARCHIFY · {preset} · {theme}","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guided.region":"Guided diagram views","viewer.guided.previous":"Previous guided view","viewer.guided.previous.title":"Previous guided view ([)","viewer.guided.next":"Next guided view","viewer.guided.next.title":"Next guided view (])","viewer.guided.views":"Guided views","viewer.guided.explore":"Explore this system","viewer.guided.intro":"Step through curated paths without changing the source diagram.","viewer.guided.trail":"Story trail","viewer.guided.beat":"Beat","viewer.guided.nextBeat":"Next","viewer.guided.play":"Play guided story","viewer.guided.play.title":"Play guided story (P)","viewer.guided.pause":"Pause guided story","viewer.guided.pause.title":"Pause guided story (P)","viewer.guided.replay":"Replay guided story","viewer.guided.replay.title":"Replay guided story (P)","viewer.guided.playStory":"Play story","viewer.guided.pauseStory":"Pause","viewer.guided.replayStory":"Replay story","viewer.guided.motionUnavailable":"Story playback unavailable while motion is Still","viewer.guided.enableMotion":"Switch motion to Live to play the guided story","viewer.guided.selectBeatLink":"Select a Story Beat to copy its exact link","viewer.guided.copyMoment":"Copy moment","viewer.guided.momentCopied":"Moment link copied","viewer.guided.momentCopyFailed":"Could not copy story moment link","viewer.guided.copied":"Copied","viewer.guided.copyFailed":"Copy failed","viewer.guided.showAll":"Show all","viewer.guided.showAll.aria":"Show entire diagram","viewer.guided.chapters":"Story chapters","viewer.guided.storyTrail":"Story trail for {label}: {count} beats","viewer.guided.chapter.open":"Open chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.current":"Current chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.selectedNodes":"{count} selected nodes","viewer.guided.chapter.stops":"{count} stops","viewer.guided.chapter.stop.one":"{count} stop","viewer.guided.chapter.stop.other":"{count} stops","viewer.guided.chapter.current.title":"{label} — current chapter, {count} stops","viewer.guided.chapter.delta.expanded":"{stay} stay, {enter} enter, {leave} leave","viewer.guided.chapter.delta.aria":"Open chapter {index} of {total}: {label}. Chapter focus delta: {delta}","viewer.guided.chapter.delta.title":"{label} — {delta} chapter focus","viewer.guided.handoff":"{from} → {to} · via {label}","viewer.guided.share.chapter":"Chapter {index} / {total}","viewer.guided.share.initial":"Chapter 01 / 01","viewer.guided.share.default":"Guided chapter","viewer.guided.state.ready":"Ready","viewer.guided.state.playing":"Playing","viewer.guided.state.settled":"Settled","viewer.guided.state.paused":"Paused","viewer.guided.state.pinned":"Pinned","viewer.guided.state.still":"Still","viewer.guided.share.step":"Step {index} / {total} · {label}","viewer.guided.share.staticMoment":"{step} · Static moment","viewer.guided.share.complete":"{count} steps complete · {note}","viewer.guided.share.settled":"Path settled for reading.","viewer.guided.share.staticPath":"{count} steps · Static path","viewer.guided.share.ready":"{count} steps · Ready","viewer.guided.share.aria":"{state} chapter {index} of {total}: {label}. {beat}. {route}","viewer.guided.beat.start":"Beat {index} / {total} · {label} · starting point","viewer.guided.beat.forward":"Beat {index} / {total} · {from} → {to}","viewer.guided.beat.reverse":"Beat {index} / {total} · {from} → {to} · reverse authored link","viewer.guided.beat.multiple":"Beat {index} / {total} · {from} ⇄ {to} · {count} authored links","viewer.guided.beat.group":"Beat {index} / {total} · {from} · {to} · grouped · no direct link","viewer.guided.beat.aria.prefix":"Story beat {index} of {total}: {label}. ","viewer.guided.beat.aria.start":"Starting point.","viewer.guided.beat.aria.forward":"From {from} through one authored forward relationship.","viewer.guided.beat.aria.reverse":"From {from}; the authored relationship points from {to} to {from}.","viewer.guided.beat.aria.multiple":"From {from} through {count} authored relationships; shown without arbitrary motion.","viewer.guided.beat.aria.group":"Grouped from {from} with no direct authored relationship.","viewer.guided.caption.start":"Starting point","viewer.guided.caption.grouped":"Grouped transition · no direct authored link","viewer.guided.caption.more":" +{count} more","viewer.guided.caption.reverse":"Reverse authored relationship","viewer.guided.caption.relationships":"{count} authored relationships","viewer.guided.caption.relationship":"Authored relationship","viewer.guided.caption.direction":"authored direction: {from} → {to}","viewer.guided.caption.starting":"Authored starting point","viewer.guided.beatLink":"Copy link to current story moment: Beat {index} of {total}: {label}","viewer.guided.noStory":"This diagram has no authored guided story.","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.story":"Play the guided story","viewer.guide.story.hint":"Walk the authored chapters and real relationships.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships} · {views}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.fact.view.one":"{count} guided view","viewer.guide.fact.view.other":"{count} guided views","viewer.guide.story.available.one":"Walk {count} authored chapter and its real relationships.","viewer.guide.story.available.other":"Walk {count} authored chapters and their real relationships.","viewer.guide.story.unavailable":"No authored guided story in this diagram.","viewer.guide.open":"Open diagram guide","viewer.guide.noStory":"This diagram has no authored guided story.","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.sourceMarker":"SRC","viewer.passport.beacon.one":"{count} verified source; focus this node to inspect","viewer.passport.beacon.other":"{count} verified sources; focus this node to inspect","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Route probe","viewer.route.start":"Choose a start node","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Traced route","viewer.route.pickTwo":"Pick two semantic nodes on the diagram","viewer.route.pickOne":"Pick a semantic node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Choose the source, then the destination. Direction matters.","viewer.route.destination":"Choose a destination from {label}","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"A route needs two distinct semantic nodes.","viewer.route.unreachable":"No directed route to {label}","viewer.route.unreachable.detail":"{target} is not reachable from {source}. Pick a highlighted destination.","viewer.route.start.instructions":"Select the source. The next step will reveal only directed destinations.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest authored route","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} directed hop","viewer.route.overview.hop.other":"{count} directed hops","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} directed destination available. Pick a highlighted node.","viewer.route.destination.count.other":"{count} directed destinations available. Pick a highlighted node.","viewer.route.noOutgoing":"No outgoing route starts here. Clear and choose another source.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"PATH","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>
<div class="guided-views no-print" id="guided-views" hidden aria-label="Guided diagram views">
<button id="guided-view-prev" type="button" aria-label="Previous guided view" title="Previous guided view ([)">&#8592;</button>
<div class="guided-view-copy">
@@ -5131,7 +5232,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1310 648" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase">
+ <svg viewBox="0 0 1310 648" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">MCO Runtime Architecture</title>
<desc id="archify-diagram-description">mco-org/mco · explicit provider policy · parallel invocation · durable raw answers</desc>
<!-- Definitions -->
@@ -5162,18 +5263,51 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="explicit execution-policy boundary" x="535" y="220" width="735" height="110" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="callers" data-edge-to="entry" data-edge-key="0" data-edge-id="caller-entry" data-composition-points="135,280;175,280" d="M 135 280 L 175 280" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="entry" data-edge-to="router" data-edge-key="1" data-edge-id="entry-route" data-composition-points="335,280;360,280" d="M 335 280 L 360 280" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="router" data-edge-to="policy" data-edge-key="2" data-edge-id="route-policy" data-composition-points="540,280;565,280" d="M 540 280 L 565 280" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="config" data-edge-to="policy" data-edge-key="3" data-edge-id="config-policy" data-composition-points="652.5,170;652.5,250" d="M 652.5 170 L 652.5 250" class="a-security" data-animate="edge" style="--step:3" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="policy" data-edge-to="workflow" data-edge-key="4" data-edge-id="policy-workflow" data-composition-points="740,280;765,280" d="M 740 280 L 765 280" class="a-emphasis" data-animate="edge" style="--step:4" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="workflow" data-edge-to="adapters" data-edge-key="5" data-edge-id="workflow-adapters" data-composition-points="985,280;1010,280" d="M 985 280 L 1010 280" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="adapters" data-edge-to="provider_clis" data-edge-label="native CLI / ACP" data-edge-key="6" data-edge-id="adapters-providers" data-composition-points="1125,250;1125,60" d="M 1125 250 L 1125 60" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="adapters" data-edge-to="answer_transport" data-edge-label="decode events" data-edge-key="7" data-edge-id="adapters-answer" data-composition-points="1125,310;1125,365;860,365;860,420" d="M 1125 310 L 1125 357 Q 1125 365 1117 365 L 868 365 Q 860 365 860 373 L 860 420" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="answer_transport" data-edge-to="artifacts" data-edge-key="8" data-edge-id="answer-artifacts" data-composition-points="955,450;1010,450" d="M 955 450 L 1010 450" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="artifacts" data-edge-to="consumers" data-edge-label="raw answers" data-edge-key="9" data-edge-id="artifacts-consumers" data-composition-points="1095,480;1095,520" d="M 1095 480 L 1095 520" class="a-emphasis" data-animate="edge" style="--step:9" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 135 280 L 175 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="callers" data-edge-to="entry" data-edge-key="0" data-edge-id="caller-entry" data-composition-points="135,280;175,280" data-composition-crossover="halo" d="M 135 280 L 175 280" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:1">
+ <path data-graph-role="automatic-crossover-underlay" d="M 335 280 L 360 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="entry" data-edge-to="router" data-edge-key="1" data-edge-id="entry-route" data-composition-points="335,280;360,280" data-composition-crossover="halo" d="M 335 280 L 360 280" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 540 280 L 565 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="router" data-edge-to="policy" data-edge-key="2" data-edge-id="route-policy" data-composition-points="540,280;565,280" data-composition-crossover="halo" d="M 540 280 L 565 280" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 652.5 170 L 652.5 250" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="config" data-edge-to="policy" data-edge-key="3" data-edge-id="config-policy" data-composition-points="652.5,170;652.5,250" data-composition-crossover="halo" d="M 652.5 170 L 652.5 250" class="a-security" data-animate="edge" style="--step:3" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 740 280 L 765 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="policy" data-edge-to="workflow" data-edge-key="4" data-edge-id="policy-workflow" data-composition-points="740,280;765,280" data-composition-crossover="halo" d="M 740 280 L 765 280" class="a-emphasis" data-animate="edge" style="--step:4" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 985 280 L 1010 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="workflow" data-edge-to="adapters" data-edge-key="5" data-edge-id="workflow-adapters" data-composition-points="985,280;1010,280" data-composition-crossover="halo" d="M 985 280 L 1010 280" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 1125 250 L 1125 60" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="adapters" data-edge-to="provider_clis" data-edge-label="native CLI / ACP" data-edge-key="6" data-edge-id="adapters-providers" data-composition-points="1125,250;1125,60" data-composition-crossover="halo" d="M 1125 250 L 1125 60" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:7">
+ <path data-graph-role="automatic-crossover-underlay" d="M 1125 310 L 1125 357 Q 1125 365 1117 365 L 868 365 Q 860 365 860 373 L 860 420" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="adapters" data-edge-to="answer_transport" data-edge-label="decode events" data-edge-key="7" data-edge-id="adapters-answer" data-composition-points="1125,310;1125,365;860,365;860,420" data-composition-crossover="halo" d="M 1125 310 L 1125 357 Q 1125 365 1117 365 L 868 365 Q 860 365 860 373 L 860 420" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 955 450 L 1010 450" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="answer_transport" data-edge-to="artifacts" data-edge-key="8" data-edge-id="answer-artifacts" data-composition-points="955,450;1010,450" data-composition-crossover="halo" d="M 955 450 L 1010 450" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:9">
+ <path data-graph-role="automatic-crossover-underlay" d="M 1095 480 L 1095 520" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="artifacts" data-edge-to="consumers" data-edge-label="raw answers" data-edge-key="9" data-edge-id="artifacts-consumers" data-composition-points="1095,480;1095,520" data-composition-crossover="halo" d="M 1095 480 L 1095 520" class="a-emphasis" data-animate="edge" style="--step:9" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="router" data-edge-to="session_daemon" data-edge-label="start · send · resume" data-edge-key="10" data-edge-id="router-session" data-composition-points="450,310;450,420" d="M 450 310 L 450 420" class="a-dashed" data-animate="edge" style="--step:10" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="session_daemon" data-edge-to="session_state" data-edge-label="persist" data-edge-key="11" data-edge-id="session-state" data-composition-points="535,450;565,450" d="M 535 450 L 565 450" class="a-dashed" data-animate="edge" style="--step:11" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ <g data-graph-role="automatic-crossover" style="--step:11">
+ <path data-graph-role="automatic-crossover-underlay" d="M 535 450 L 565 450" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="session_daemon" data-edge-to="session_state" data-edge-label="persist" data-edge-key="11" data-edge-id="session-state" data-composition-points="535,450;565,450" data-composition-crossover="halo" d="M 535 450 L 565 450" class="a-dashed" data-animate="edge" style="--step:11" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
<!-- Components -->
<g id="node-callers" data-node-id="callers" data-node-label="Callers" tabindex="0" role="button" aria-label="Focus Callers, human · coding agent, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="human · coding agent" data-node-context="Architecture component">
@@ -5347,24 +5481,24 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g data-detail="context" data-edge-from="adapters" data-edge-to="provider_clis" data-edge-label="native CLI / ACP" data-edge-key="6" data-edge-id="adapters-providers">
<rect x="1081.6" y="230" width="86.8" height="14" rx="3" class="c-mask"/>
- <text x="1125" y="240" class="t-backend" font-size="8" text-anchor="middle">native CLI / ACP</text>
+ <text x="1125" y="240" class="t-edge-emphasis" font-size="8" text-anchor="middle">native CLI / ACP</text>
</g>
<g data-detail="context" data-edge-from="adapters" data-edge-to="answer_transport" data-edge-label="decode events" data-edge-key="7" data-edge-id="adapters-answer">
<rect x="958.8" y="355" width="72.4" height="14" rx="3" class="c-mask"/>
- <text x="995" y="365" class="t-muted" font-size="8" text-anchor="middle">decode events</text>
+ <text x="995" y="365" class="t-edge-default" font-size="8" text-anchor="middle">decode events</text>
</g>
<g data-detail="context" data-edge-from="artifacts" data-edge-to="consumers" data-edge-label="raw answers" data-edge-key="9" data-edge-id="artifacts-consumers">
<rect x="1063.6" y="500" width="62.8" height="14" rx="3" class="c-mask"/>
- <text x="1095" y="510" class="t-backend" font-size="8" text-anchor="middle">raw answers</text>
+ <text x="1095" y="510" class="t-edge-emphasis" font-size="8" text-anchor="middle">raw answers</text>
</g>
<g data-detail="context" data-edge-from="router" data-edge-to="session_daemon" data-edge-label="start · send · resume" data-edge-key="10" data-edge-id="router-session">
<rect x="394.6" y="355" width="110.8" height="14" rx="3" class="c-mask"/>
- <text x="450" y="365" class="t-messagebus" font-size="8" text-anchor="middle">start · send · resume</text>
+ <text x="450" y="365" class="t-edge-dashed" font-size="8" text-anchor="middle">start · send · resume</text>
</g>
<g data-detail="context" data-edge-from="session_daemon" data-edge-to="session_state" data-edge-label="persist" data-edge-key="11" data-edge-id="session-state">
<rect x="528.2" y="396" width="43.6" height="14" rx="3" class="c-mask"/>
- <text x="550" y="406" class="t-messagebus" font-size="8" text-anchor="middle">persist</text>
+ <text x="550" y="406" class="t-edge-dashed" font-size="8" text-anchor="middle">persist</text>
</g>
<!-- Boundary labels (foreground masks keep routes out of titles) -->
@@ -5486,6 +5620,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
</div>
<div class="focus-chip relationship-lens no-print" id="focus-chip" hidden role="region" aria-labelledby="relationship-lens-title">
<div class="relationship-lens-head">
+ <button class="relationship-lens-drag-handle" id="btn-focus-move" type="button" data-focus-drag-handle aria-label="Move semantic passport. Drag, use arrow keys, or press Home to reset." title="Move semantic passport. Drag, use arrow keys, or press Home to reset."></button>
<div class="relationship-lens-copy">
<span class="relationship-lens-eyebrow">Semantic passport</span>
<strong class="relationship-lens-title" id="relationship-lens-title"><span id="focus-label"></span></strong>
@@ -5918,6 +6053,190 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
return getComputedStyle(document.body).backgroundColor || '#ffffff';
}
+ function cleanExportClone(clone) {
+ // View transforms and neighborhood focus are HTML exploration state,
+ // never part of a downloaded full-diagram artifact.
+ clone.style.removeProperty('transform');
+ clone.style.removeProperty('clip-path');
+ clone.removeAttribute('data-view-scale');
+ clone.removeAttribute('data-focus-active');
+ clone.removeAttribute('data-reach-active');
+ clone.removeAttribute('data-lens-active');
+ clone.removeAttribute('data-lens-flow-count');
+ clone.removeAttribute('data-lens-flow-density');
+ clone.removeAttribute('data-legend-preview-active');
+ clone.removeAttribute('data-relationship-preview-active');
+ clone.removeAttribute('data-relationship-direct-active');
+ clone.removeAttribute('data-relationship-pin-active');
+ clone.removeAttribute('data-intent-trace-active');
+ clone.removeAttribute('data-route-picking');
+ clone.removeAttribute('data-route-active');
+ clone.removeAttribute('data-route-journey');
+ clone.removeAttribute('data-share-route');
+ clone.removeAttribute('data-share-reach');
+ clone.removeAttribute('data-story-active');
+ clone.removeAttribute('data-story-playing');
+ clone.removeAttribute('data-story-beat');
+ clone.removeAttribute('data-story-next');
+ clone.removeAttribute('data-story-follow');
+ clone.removeAttribute('data-chapter-handoff');
+ clone.removeAttribute('data-chapter-anchor');
+ clone.removeAttribute('data-chapter-preview');
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-handoff-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-role]'), function (el) {
+ el.removeAttribute('data-chapter-role');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-preview-role]'), function (el) {
+ el.removeAttribute('data-chapter-preview-role');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-probe-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-journey-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-semantic-lens-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge-runtime]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-kind]'), function (el) {
+ el.removeAttribute('data-legend-kind');
+ el.removeAttribute('data-legend-label');
+ el.removeAttribute('data-legend-count');
+ el.removeAttribute('data-legend-zero');
+ el.removeAttribute('data-legend-selected');
+ el.removeAttribute('role');
+ el.removeAttribute('tabindex');
+ el.removeAttribute('aria-label');
+ el.removeAttribute('aria-pressed');
+ el.removeAttribute('aria-haspopup');
+ el.removeAttribute('aria-controls');
+ el.removeAttribute('aria-expanded');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge]'), function (el) {
+ el.removeAttribute('data-legend-bridge');
+ el.removeAttribute('role');
+ el.removeAttribute('aria-label');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-pulse-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {
+ var originalLabel = el.getAttribute('data-source-evidence-original-label');
+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');
+ else el.setAttribute('aria-label', originalLabel);
+ el.removeAttribute('data-source-evidence-count');
+ el.removeAttribute('data-source-evidence-original-label');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {
+ el.removeAttribute('data-story-step');
+ el.removeAttribute('data-story-beat-state');
+ el.removeAttribute('data-story-beat-step');
+ el.style.removeProperty('--story-step');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-focus-match], [data-focus-selected]'), function (el) {
+ el.removeAttribute('data-focus-match');
+ el.removeAttribute('data-focus-selected');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-reach-match], [data-reach-origin], [data-reach-depth]'), function (el) {
+ el.removeAttribute('data-reach-match');
+ el.removeAttribute('data-reach-origin');
+ el.removeAttribute('data-reach-depth');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-lens-match], [data-lens-selected], [data-lens-peer]'), function (el) {
+ el.removeAttribute('data-lens-match');
+ el.removeAttribute('data-lens-selected');
+ el.removeAttribute('data-lens-peer');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer]'), function (el) {
+ el.removeAttribute('data-legend-preview-match');
+ el.removeAttribute('data-legend-preview-selected');
+ el.removeAttribute('data-legend-preview-peer');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target]'), function (el) {
+ el.removeAttribute('data-relationship-preview');
+ el.removeAttribute('data-relationship-preview-node');
+ el.removeAttribute('data-relationship-preview-source');
+ el.removeAttribute('data-relationship-preview-target');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-match], [data-intent-trace-selected]'), function (el) {
+ el.removeAttribute('data-intent-trace-match');
+ el.removeAttribute('data-intent-trace-selected');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current]'), function (el) {
+ el.removeAttribute('data-route-match');
+ el.removeAttribute('data-route-start');
+ el.removeAttribute('data-route-end');
+ el.removeAttribute('data-route-step');
+ el.removeAttribute('data-route-candidate');
+ el.removeAttribute('data-route-journey-state');
+ el.removeAttribute('data-route-journey-current');
+ el.style.removeProperty('--route-step');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle]'), function (el) {
+ el.removeAttribute('data-share-route-match');
+ el.removeAttribute('data-share-route-step');
+ el.removeAttribute('data-share-route-start');
+ el.removeAttribute('data-share-route-end');
+ el.removeAttribute('data-share-route-middle');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth]'), function (el) {
+ el.removeAttribute('data-share-reach-match');
+ el.removeAttribute('data-share-reach-origin');
+ el.removeAttribute('data-share-reach-depth');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-detail], [data-detail-anchor]'), function (el) {
+ el.removeAttribute('data-detail');
+ el.removeAttribute('data-detail-anchor');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-node-id][aria-pressed]'), function (el) {
+ el.setAttribute('aria-pressed', 'false');
+ });
+ return !clone.hasAttribute('data-view-scale') &&
+ !clone.hasAttribute('data-focus-active') &&
+ !clone.hasAttribute('data-reach-active') &&
+ !clone.hasAttribute('data-lens-active') &&
+ !clone.hasAttribute('data-lens-flow-count') &&
+ !clone.hasAttribute('data-lens-flow-density') &&
+ !clone.hasAttribute('data-legend-preview-active') &&
+ !clone.hasAttribute('data-relationship-preview-active') &&
+ !clone.hasAttribute('data-relationship-direct-active') &&
+ !clone.hasAttribute('data-intent-trace-active') &&
+ !clone.hasAttribute('data-route-picking') &&
+ !clone.hasAttribute('data-route-active') &&
+ !clone.hasAttribute('data-route-journey') &&
+ !clone.hasAttribute('data-share-route') &&
+ !clone.hasAttribute('data-share-reach') &&
+ !clone.hasAttribute('data-story-active') &&
+ !clone.hasAttribute('data-story-playing') &&
+ !clone.hasAttribute('data-story-beat') &&
+ !clone.hasAttribute('data-story-next') &&
+ !clone.hasAttribute('data-story-follow') &&
+ !clone.hasAttribute('data-chapter-handoff') &&
+ !clone.hasAttribute('data-chapter-anchor') &&
+ !clone.hasAttribute('data-chapter-preview') &&
+ !clone.style.getPropertyValue('transform') &&
+ !clone.style.getPropertyValue('clip-path') &&
+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-reach-match], [data-reach-origin], [data-reach-depth], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;
+ }
+
+
/**
* Serialize the main SVG into a standalone document.
*
@@ -6103,186 +6422,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var svg = document.querySelector('.diagram-container svg');
var clone = svg.cloneNode(true);
- // View transforms and neighborhood focus are HTML exploration state,
- // never part of a downloaded full-diagram artifact.
- clone.style.removeProperty('transform');
- clone.style.removeProperty('clip-path');
- clone.removeAttribute('data-view-scale');
- clone.removeAttribute('data-focus-active');
- clone.removeAttribute('data-reach-active');
- clone.removeAttribute('data-lens-active');
- clone.removeAttribute('data-lens-flow-count');
- clone.removeAttribute('data-lens-flow-density');
- clone.removeAttribute('data-legend-preview-active');
- clone.removeAttribute('data-relationship-preview-active');
- clone.removeAttribute('data-relationship-direct-active');
- clone.removeAttribute('data-relationship-pin-active');
- clone.removeAttribute('data-intent-trace-active');
- clone.removeAttribute('data-route-picking');
- clone.removeAttribute('data-route-active');
- clone.removeAttribute('data-route-journey');
- clone.removeAttribute('data-share-route');
- clone.removeAttribute('data-share-reach');
- clone.removeAttribute('data-story-active');
- clone.removeAttribute('data-story-playing');
- clone.removeAttribute('data-story-beat');
- clone.removeAttribute('data-story-next');
- clone.removeAttribute('data-story-follow');
- clone.removeAttribute('data-chapter-handoff');
- clone.removeAttribute('data-chapter-anchor');
- clone.removeAttribute('data-chapter-preview');
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-handoff-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-role]'), function (el) {
- el.removeAttribute('data-chapter-role');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-preview-role]'), function (el) {
- el.removeAttribute('data-chapter-preview-role');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-probe-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-journey-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-semantic-lens-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge-runtime]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-kind]'), function (el) {
- el.removeAttribute('data-legend-kind');
- el.removeAttribute('data-legend-label');
- el.removeAttribute('data-legend-count');
- el.removeAttribute('data-legend-zero');
- el.removeAttribute('data-legend-selected');
- el.removeAttribute('role');
- el.removeAttribute('tabindex');
- el.removeAttribute('aria-label');
- el.removeAttribute('aria-pressed');
- el.removeAttribute('aria-haspopup');
- el.removeAttribute('aria-controls');
- el.removeAttribute('aria-expanded');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge]'), function (el) {
- el.removeAttribute('data-legend-bridge');
- el.removeAttribute('role');
- el.removeAttribute('aria-label');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-pulse-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {
- var originalLabel = el.getAttribute('data-source-evidence-original-label');
- if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');
- else el.setAttribute('aria-label', originalLabel);
- el.removeAttribute('data-source-evidence-count');
- el.removeAttribute('data-source-evidence-original-label');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {
- el.removeAttribute('data-story-step');
- el.removeAttribute('data-story-beat-state');
- el.removeAttribute('data-story-beat-step');
- el.style.removeProperty('--story-step');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-focus-match], [data-focus-selected]'), function (el) {
- el.removeAttribute('data-focus-match');
- el.removeAttribute('data-focus-selected');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-reach-match], [data-reach-origin], [data-reach-depth]'), function (el) {
- el.removeAttribute('data-reach-match');
- el.removeAttribute('data-reach-origin');
- el.removeAttribute('data-reach-depth');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-lens-match], [data-lens-selected], [data-lens-peer]'), function (el) {
- el.removeAttribute('data-lens-match');
- el.removeAttribute('data-lens-selected');
- el.removeAttribute('data-lens-peer');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer]'), function (el) {
- el.removeAttribute('data-legend-preview-match');
- el.removeAttribute('data-legend-preview-selected');
- el.removeAttribute('data-legend-preview-peer');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target]'), function (el) {
- el.removeAttribute('data-relationship-preview');
- el.removeAttribute('data-relationship-preview-node');
- el.removeAttribute('data-relationship-preview-source');
- el.removeAttribute('data-relationship-preview-target');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-match], [data-intent-trace-selected]'), function (el) {
- el.removeAttribute('data-intent-trace-match');
- el.removeAttribute('data-intent-trace-selected');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current]'), function (el) {
- el.removeAttribute('data-route-match');
- el.removeAttribute('data-route-start');
- el.removeAttribute('data-route-end');
- el.removeAttribute('data-route-step');
- el.removeAttribute('data-route-candidate');
- el.removeAttribute('data-route-journey-state');
- el.removeAttribute('data-route-journey-current');
- el.style.removeProperty('--route-step');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle]'), function (el) {
- el.removeAttribute('data-share-route-match');
- el.removeAttribute('data-share-route-step');
- el.removeAttribute('data-share-route-start');
- el.removeAttribute('data-share-route-end');
- el.removeAttribute('data-share-route-middle');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth]'), function (el) {
- el.removeAttribute('data-share-reach-match');
- el.removeAttribute('data-share-reach-origin');
- el.removeAttribute('data-share-reach-depth');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-detail], [data-detail-anchor]'), function (el) {
- el.removeAttribute('data-detail');
- el.removeAttribute('data-detail-anchor');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-node-id][aria-pressed]'), function (el) {
- el.setAttribute('aria-pressed', 'false');
- });
- var canonicalStateClean = !clone.hasAttribute('data-view-scale') &&
- !clone.hasAttribute('data-focus-active') &&
- !clone.hasAttribute('data-reach-active') &&
- !clone.hasAttribute('data-lens-active') &&
- !clone.hasAttribute('data-lens-flow-count') &&
- !clone.hasAttribute('data-lens-flow-density') &&
- !clone.hasAttribute('data-legend-preview-active') &&
- !clone.hasAttribute('data-relationship-preview-active') &&
- !clone.hasAttribute('data-relationship-direct-active') &&
- !clone.hasAttribute('data-intent-trace-active') &&
- !clone.hasAttribute('data-route-picking') &&
- !clone.hasAttribute('data-route-active') &&
- !clone.hasAttribute('data-route-journey') &&
- !clone.hasAttribute('data-share-route') &&
- !clone.hasAttribute('data-share-reach') &&
- !clone.hasAttribute('data-story-active') &&
- !clone.hasAttribute('data-story-playing') &&
- !clone.hasAttribute('data-story-beat') &&
- !clone.hasAttribute('data-story-next') &&
- !clone.hasAttribute('data-story-follow') &&
- !clone.hasAttribute('data-chapter-handoff') &&
- !clone.hasAttribute('data-chapter-anchor') &&
- !clone.hasAttribute('data-chapter-preview') &&
- !clone.style.getPropertyValue('transform') &&
- !clone.style.getPropertyValue('clip-path') &&
- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-reach-match], [data-reach-origin], [data-reach-depth], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;
+ var canonicalStateClean = cleanExportClone(clone);
var vb = svg.viewBox.baseVal;
var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&
@@ -6299,6 +6439,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
// canvas upscaling.
clone.setAttribute('width', vb.width * scale);
clone.setAttribute('height', vb.height * scale);
+ // Keep copied Viewer layout rules from overriding the export's size.
+ clone.style.width = vb.width * scale + 'px';
+ clone.style.height = vb.height * scale + 'px';
+ clone.style.minWidth = '0';
clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
// Only the SVG-relevant rules: semantic classes, markers, and the
@@ -6410,15 +6554,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -6428,8 +6572,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
clone.insertBefore(style, clone.firstChild);
clone.insertBefore(bgRect, style.nextSibling);
+ // The XML declaration pins UTF-8: without it, consumers that guess an
+ // encoding instead of defaulting to UTF-8 mangle non-ASCII text.
return {
- svgString: new XMLSerializer().serializeToString(clone),
+ svgString: '<?xml version="1.0" encoding="UTF-8"?>\n' +
+ new XMLSerializer().serializeToString(clone),
width: vb.width * scale,
height: vb.height * scale,
canonicalStateClean: canonicalStateClean,
@@ -7319,6 +7466,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -7685,6 +7833,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var copyBtn = document.getElementById('btn-focus-copy');
var relationsBtn = document.getElementById('btn-focus-relations');
var clearBtn = document.getElementById('btn-focus-clear');
+ var moveBtn = document.getElementById('btn-focus-move');
var activeIds = [];
var hoveredRelationship = null;
var focusedRelationship = null;
@@ -7694,6 +7843,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var relationshipHitOverlay = null;
var relationshipHitTargets = [];
var directPreviewTimer = null;
+ var lensDrag = null;
+ var manualLensPosition = null;
var reachabilityMode = null;
var activeReachability = null;
var svgNamespace = 'http://www.w3.org/2000/svg';
@@ -7888,7 +8039,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (options.reveal !== false && Archify.view && typeof Archify.view.reveal === 'function') {
Archify.view.reveal(result.nodeIds, { includeNeighbors: false, reason: 'reachability' });
}
- requestLensPlacement();
+ placeRelationshipLens();
return true;
}
function reachabilitySnapshot() {
@@ -7991,6 +8142,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
function renderSourceEvidence(id) {
evidenceLinks.textContent = '';
repositoryLink.removeAttribute('href');
+ repositoryLink.removeAttribute('aria-label');
repositoryLink.textContent = '';
var sources = Archify.sourceEvidence.node(id);
var repository = Archify.sourceEvidence.repository();
@@ -7998,24 +8150,28 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
evidence.hidden = true;
return;
}
- var slug = repository.url.replace(/^https:\/\/github\.com\//, '').replace(/\/$/, '');
- repositoryLink.href = repository.url + '/tree/' + repository.revision;
- repositoryLink.textContent = slug + ' @ ' + repository.shortRevision;
- repositoryLink.setAttribute('aria-label', viewerText('viewer.passport.repository.open', { revision: repository.revision }));
+ repositoryLink.textContent = repository.label + ' @ ' + repository.shortRevision;
+ if (repository.href) {
+ repositoryLink.href = repository.href;
+ repositoryLink.setAttribute('aria-label', viewerText('viewer.passport.repository.open', { revision: repository.revision }));
+ }
+ evidence.title = viewerText('viewer.passport.verificationScope');
sources.forEach(function (source) {
- var link = document.createElement('a');
+ var link = document.createElement(source.href ? 'a' : 'div');
link.className = 'semantic-passport-source';
- link.href = source.href;
- link.target = '_blank';
- link.rel = 'noopener noreferrer';
- link.referrerPolicy = 'no-referrer';
- link.setAttribute('aria-label', viewerText('viewer.passport.source.open', { path: source.path, revision: repository.shortRevision }));
+ if (source.href) {
+ link.href = source.href;
+ link.target = '_blank';
+ link.rel = 'noopener noreferrer';
+ link.referrerPolicy = 'no-referrer';
+ link.setAttribute('aria-label', viewerText('viewer.passport.source.open', { path: source.path, revision: repository.shortRevision }));
+ }
var name = document.createElement('strong');
name.textContent = source.label || source.path.split('/').pop() || source.path;
var location = document.createElement('code');
location.textContent = source.line
- ? 'L' + source.line + (source.endLine && source.endLine !== source.line ? '–' + source.endLine : '') + ' ↗'
- : viewerText('viewer.passport.source.openLink');
+ ? 'L' + source.line + (source.endLine && source.endLine !== source.line ? '–' + source.endLine : '') + (source.href ? ' ↗' : '')
+ : source.href ? viewerText('viewer.passport.source.openLink') : '';
var sourcePath = document.createElement('small');
sourcePath.textContent = source.path;
link.appendChild(name);
@@ -8074,8 +8230,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function relationshipHitRecords() {
var recordsByKey = {};
- var recordsById = {};
- var byId = {};
+ var recordsById = Object.create(null);
+ var byId = Object.create(null);
nodes().forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var records = [];
edges().forEach(function (edge) {
@@ -8363,7 +8519,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
target.removeAttribute('data-preview-active');
});
renderRelationshipCopyAction();
- requestLensPlacement();
+ placeRelationshipLens();
}
function previewRelationship(button, options) {
options = options || {};
@@ -8390,7 +8546,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (!chip.hidden && options.direct !== true) chip.setAttribute('data-relationship-previewing', 'true');
activeRelationshipPreview = button;
renderRelationshipPulse(key);
- requestLensPlacement();
+ placeRelationshipLens();
}
function syncRelationshipPreview() {
var next = pinnedRelationship || focusedRelationship || hoveredRelationship;
@@ -8669,9 +8825,147 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
relationshipList.appendChild(section);
});
}
+ function lensPlacementBounds() {
+ var containerRect = container.getBoundingClientRect();
+ if (containerRect.width <= 0 || containerRect.height <= 0 || chip.offsetWidth <= 0 || chip.offsetHeight <= 0) return null;
+ var padding = window.innerWidth <= 720 ? 8 : 16;
+ var visibleLeft = Math.max(padding, -containerRect.left + padding);
+ var visibleRight = Math.min(
+ container.clientWidth - padding,
+ window.innerWidth - containerRect.left - padding
+ );
+ var visibleTop = Math.max(padding, -containerRect.top + padding);
+ var visibleBottom = Math.min(
+ container.clientHeight - padding,
+ window.innerHeight - containerRect.top - padding
+ );
+ var minLeft = visibleLeft;
+ var minTop = Math.min(visibleTop, Math.max(padding, visibleBottom - chip.offsetHeight));
+ return {
+ containerRect: containerRect,
+ minLeft: minLeft,
+ maxLeft: Math.max(minLeft, visibleRight - chip.offsetWidth),
+ minTop: minTop,
+ maxTop: Math.max(minTop, visibleBottom - chip.offsetHeight)
+ };
+ }
+ function manualLensPlacementAvailable() {
+ return window.innerWidth > 720 && (!finePointerQuery || finePointerQuery.matches);
+ }
+ function clampLensPosition(position, bounds) {
+ if (!position || !bounds) return null;
+ return {
+ left: Math.max(bounds.minLeft, Math.min(bounds.maxLeft, position.left)),
+ top: Math.max(bounds.minTop, Math.min(bounds.maxTop, position.top))
+ };
+ }
+ function currentLensPosition() {
+ var bounds = lensPlacementBounds();
+ if (!bounds) return null;
+ var rect = chip.getBoundingClientRect();
+ return clampLensPosition({
+ left: rect.left - bounds.containerRect.left,
+ top: rect.top - bounds.containerRect.top
+ }, bounds);
+ }
+ function applyManualLensPosition(position) {
+ if (!manualLensPlacementAvailable()) return false;
+ var bounds = lensPlacementBounds();
+ var clamped = clampLensPosition(position, bounds);
+ if (!clamped) return false;
+ manualLensPosition = clamped;
+ chip.setAttribute('data-manual-placement', 'true');
+ chip.style.left = Math.round(clamped.left) + 'px';
+ chip.style.top = Math.round(clamped.top) + 'px';
+ if (Archify.radar && typeof Archify.radar.sync === 'function') Archify.radar.sync();
+ return true;
+ }
+ function resetLensPlacement(options) {
+ options = options || {};
+ manualLensPosition = null;
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ chip.style.removeProperty('top');
+ if (options.reposition !== false && !chip.hidden) requestLensPlacement();
+ }
+ function beginLensDrag(event) {
+ if (!manualLensPlacementAvailable() || event.button !== 0 || lensDrag) return;
+ var start = currentLensPosition();
+ if (!start) return;
+ event.preventDefault();
+ event.stopPropagation();
+ lensDrag = {
+ pointerId: event.pointerId,
+ originX: event.clientX,
+ originY: event.clientY,
+ start: start,
+ previousManual: manualLensPosition ? { left: manualLensPosition.left, top: manualLensPosition.top } : null,
+ moved: false
+ };
+ chip.setAttribute('data-panel-dragging', 'true');
+ try { moveBtn.setPointerCapture(event.pointerId); } catch (_) {}
+ }
+ function moveLensDrag(event) {
+ if (!lensDrag || lensDrag.pointerId !== event.pointerId) return;
+ var dx = event.clientX - lensDrag.originX;
+ var dy = event.clientY - lensDrag.originY;
+ if (!lensDrag.moved && Math.hypot(dx, dy) <= 3) return;
+ lensDrag.moved = true;
+ event.preventDefault();
+ event.stopPropagation();
+ applyManualLensPosition({ left: lensDrag.start.left + dx, top: lensDrag.start.top + dy });
+ }
+ function finishLensDrag(event, cancel) {
+ if (!lensDrag || lensDrag.pointerId !== event.pointerId) return;
+ event.preventDefault();
+ event.stopPropagation();
+ var activeDrag = lensDrag;
+ lensDrag = null;
+ chip.removeAttribute('data-panel-dragging');
+ try { moveBtn.releasePointerCapture(event.pointerId); } catch (_) {}
+ if (!cancel) return;
+ manualLensPosition = activeDrag.previousManual
+ ? { left: activeDrag.previousManual.left, top: activeDrag.previousManual.top }
+ : null;
+ if (manualLensPosition && manualLensPlacementAvailable()) {
+ applyManualLensPosition(manualLensPosition);
+ } else {
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ chip.style.removeProperty('top');
+ if (!chip.hidden) requestLensPlacement();
+ }
+ }
+ function moveLensWithKeyboard(event) {
+ if (event.key === 'Home') {
+ event.preventDefault();
+ resetLensPlacement();
+ return;
+ }
+ if (event.metaKey || event.ctrlKey || event.altKey || !manualLensPlacementAvailable()) return;
+ var directions = {
+ ArrowLeft: [-1, 0],
+ ArrowRight: [1, 0],
+ ArrowUp: [0, -1],
+ ArrowDown: [0, 1]
+ };
+ var direction = directions[event.key];
+ if (!direction) return;
+ event.preventDefault();
+ var current = manualLensPosition || currentLensPosition();
+ if (!current) return;
+ var distance = event.shiftKey ? 4 : 16;
+ applyManualLensPosition({
+ left: current.left + direction[0] * distance,
+ top: current.top + direction[1] * distance
+ });
+ }
var lensFrame = 0;
function placeRelationshipLens() {
- lensFrame = 0;
+ if (lensFrame) {
+ cancelAnimationFrame(lensFrame);
+ lensFrame = 0;
+ }
if (chip.hidden || activeIds.length !== 1) return;
var node = svg.querySelector('[data-node-id="' + activeIds[0] + '"]');
if (!node) return;
@@ -8683,8 +8977,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var visibleBottom = Math.min(containerRect.height - padding, window.innerHeight - containerRect.top - padding);
var maxTop = Math.max(padding, visibleBottom - chip.offsetHeight);
var minTop = Math.min(visibleTop, maxTop);
- var nodeCenter = nodeRect.top - containerRect.top + nodeRect.height / 2;
var mobile = window.innerWidth <= 720;
+ if (!manualLensPlacementAvailable()) {
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ } else if (manualLensPosition) {
+ applyManualLensPosition(manualLensPosition);
+ return;
+ }
+ var nodeCenter = nodeRect.top - containerRect.top + nodeRect.height / 2;
var previewingOnMobile = mobile && chip.getAttribute('data-relationship-previewing') === 'true';
var compactOnMobile = mobile && chip.getAttribute('data-relations-expanded') !== 'true';
var preferred;
@@ -8755,6 +9056,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function clear(options) {
options = options || {};
+ if (lensDrag) {
+ var dragPointerId = lensDrag.pointerId;
+ lensDrag = null;
+ chip.removeAttribute('data-panel-dragging');
+ try { moveBtn.releasePointerCapture(dragPointerId); } catch (_) {}
+ }
var restoreNode = options.restoreFocus === true && activeIds.length === 1
? svg.querySelector('[data-node-id="' + activeIds[0] + '"]')
: null;
@@ -8802,7 +9109,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
relationsBtn.setAttribute('aria-label', viewerText('viewer.passport.relations.show'));
relationsBtn.setAttribute('aria-expanded', 'false');
chip.removeAttribute('data-relations-expanded');
- chip.style.removeProperty('top');
+ if (options.preserveLensPlacement !== true) resetLensPlacement({ reposition: false });
if (options.preserveView !== true && Archify.view && typeof Archify.view.reset === 'function') {
Archify.view.reset({ automatic: true });
}
@@ -8825,7 +9132,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Archify.routeProbe.clear({ updateUrl: false, restoreFocus: false });
}
var nodeList = nodes();
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var normalized = [];
(ids || []).forEach(function (id) {
@@ -8837,10 +9144,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
return true;
}
- clear({ updateUrl: false, preserveView: true });
+ var preserveLensPlacement = activeIds.length === 1 && normalized.length === 1 && !chip.hidden;
+ clear({ updateUrl: false, preserveView: true, preserveLensPlacement: preserveLensPlacement });
activeIds = normalized;
- var selected = {};
- var related = {};
+ var selected = Object.create(null);
+ var related = Object.create(null);
var seenEdges = {};
var matchedEdges = 0;
normalized.forEach(function (id) { selected[id] = true; related[id] = true; });
@@ -8872,7 +9180,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chip.hidden = options.hideChip === true || normalized.length !== 1 || selectionMode;
if (!chip.hidden) {
renderRelationshipLens(normalized[0], byId);
- requestLensPlacement();
+ placeRelationshipLens();
}
if (options.updateUrl !== false) {
var key = options.urlKey || 'focus';
@@ -8946,6 +9254,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Archify.view.reveal([id], { includeNeighbors: true, reason: 'focus' });
}
});
+ moveBtn.addEventListener('pointerdown', beginLensDrag);
+ moveBtn.addEventListener('pointermove', moveLensDrag);
+ moveBtn.addEventListener('pointerup', function (event) { finishLensDrag(event, false); });
+ moveBtn.addEventListener('pointercancel', function (event) { finishLensDrag(event, true); });
+ moveBtn.addEventListener('lostpointercapture', function (event) { finishLensDrag(event, true); });
+ moveBtn.addEventListener('dblclick', function (event) {
+ event.preventDefault();
+ event.stopPropagation();
+ resetLensPlacement();
+ });
+ moveBtn.addEventListener('keydown', moveLensWithKeyboard);
clearBtn.addEventListener('click', function () { clear({ restoreFocus: true }); });
copyBtn.addEventListener('click', copyFocusLink);
upstreamBtn.addEventListener('click', function () { applyReachability('upstream'); });
@@ -8958,7 +9277,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
relationsBtn.setAttribute('aria-label', viewerText(expanded
? 'viewer.passport.relations.show'
: 'viewer.passport.relations.hide'));
- requestLensPlacement();
+ placeRelationshipLens();
});
relationshipList.addEventListener('click', function (event) {
var button = event.target.closest('[data-relationship-target]');
@@ -9074,7 +9393,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
reachabilitySnapshot: reachabilitySnapshot,
inspectRelationship: inspectRelationship,
inspectRelationshipById: inspectRelationshipById,
- reposition: requestLensPlacement,
+ reposition: placeRelationshipLens,
relationship: function () {
var record = pinnedRelationshipRecord();
return record ? { id: record.id || null, key: record.key, from: record.from, to: record.to, label: record.label } : null;
@@ -9191,7 +9510,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
clear({ announce: false });
var nodeList = nodes();
var edgeList = edges();
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var selected = byId[id];
if (!selected) return false;
@@ -9200,7 +9519,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
overlay.setAttribute('class', 'intent-trace-overlay');
overlay.setAttribute('data-intent-trace-overlay', '');
overlay.setAttribute('aria-hidden', 'true');
- var related = {};
+ var related = Object.create(null);
var seen = {};
var counts = { out: 0, in: 0, loop: 0 };
related[id] = true;
@@ -9371,12 +9690,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
try { views = JSON.parse(data.textContent || '[]'); } catch (_) { views = []; }
if (!views.length) return { count: 0, active: function () { return null; } };
- var canonicalNodeIds = {};
+ var canonicalNodeIds = Object.create(null);
Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {
canonicalNodeIds[node.getAttribute('data-node-id')] = true;
});
views.forEach(function (view) {
- var seen = {};
+ var seen = Object.create(null);
view.focus = (view.focus || []).filter(function (id) {
if (!canonicalNodeIds[id] || seen[id]) return false;
seen[id] = true;
@@ -9405,8 +9724,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
function chapterDelta(previous, destination) {
var previousFocus = previous ? previous.focus : [];
var destinationFocus = destination ? destination.focus : [];
- var previousIds = {};
- var destinationIds = {};
+ var previousIds = Object.create(null);
+ var destinationIds = Object.create(null);
previousFocus.forEach(function (id) { previousIds[id] = true; });
destinationFocus.forEach(function (id) { destinationIds[id] = true; });
return {
@@ -9418,7 +9737,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
function chapterAnchor(previous, destination, outgoingBeatIndex, delta) {
if (!previous || !destination) return '';
- var stayIds = {};
+ var stayIds = Object.create(null);
delta.stay.forEach(function (id) { stayIds[id] = true; });
var activeBeat = outgoingBeatIndex >= 0 ? previous.focus[outgoingBeatIndex] : '';
if (activeBeat && stayIds[activeBeat]) return activeBeat;
@@ -9436,7 +9755,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function classifyHandoff(delta, anchor) {
- var roles = {};
+ var roles = Object.create(null);
delta.stay.forEach(function (id) { roles[id] = 'stay'; });
delta.enter.forEach(function (id) { roles[id] = 'enter'; });
delta.leave.forEach(function (id) { roles[id] = 'leave'; });
@@ -9753,7 +10072,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (activePreviewIndex === index && svg.getAttribute('data-chapter-preview') === views[index].id) return true;
clearChapterPreviewPresentation();
var delta = chapterDelta(activeIndex >= 0 ? views[activeIndex] : null, views[index]);
- var roles = {};
+ var roles = Object.create(null);
delta.stay.forEach(function (id) { roles[id] = 'stay'; });
delta.enter.forEach(function (id) { roles[id] = 'enter'; });
delta.leave.forEach(function (id) { roles[id] = 'leave'; });
@@ -10407,7 +10726,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var nodeList = Array.prototype.slice.call(svg.querySelectorAll('[data-node-id]'));
var edgeList = Array.prototype.slice.call(svg.querySelectorAll('[data-edge-from][data-edge-to]'));
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
storySteps = view.focus.map(function (_, index) { return storyStep(view, index, edgeList, byId); });
var labels = [];
@@ -11040,11 +11359,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
/* ============================================================
Adaptive Reader Shell — one diagram across laptop and monitor.
The canonical SVG and viewBox never change. On ordinary desktop pages,
- wide diagrams receive only enough outer width to use the available
+ wide diagrams and measured intrinsic tall workflows receive enough outer width to use the available
height without pushing summary cards below the viewport. Mobile,
- embed, presentation, print, and non-wide diagrams retain their own
+ embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11096,6 +11417,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var cards = shell && shell.querySelector('.cards');
var viewBox = svg && svg.viewBox && svg.viewBox.baseVal;
var ratio = viewBox && viewBox.height > 0 ? viewBox.width / viewBox.height : 0;
+ var measuredHeightFit = svg && svg.getAttribute('data-reader-fit') === 'intrinsic-height';
var frame = 0;
var settleFrame = 0;
var lastWidth = 0;
@@ -11103,6 +11425,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_DESKTOP_WIDTH = 1024;
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
+ var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11122,9 +11449,28 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var style = window.getComputedStyle(element);
return element.getBoundingClientRect().height + number(style.marginTop) + number(style.marginBottom);
}
+ function minimumReadableScale() {
+ var sourceMinimum = null;
+ var selectors = [
+ 'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
+ if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
+ var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
+ if (Number.isFinite(sourceFontPx)) {
+ sourceMinimum = sourceMinimum == null ? sourceFontPx : Math.min(sourceMinimum, sourceFontPx);
+ }
+ });
+ return sourceMinimum != null
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
+ : 1;
+ }
function eligible() {
return Boolean(
- shell && diagram && svg && ratio >= WIDE_RATIO &&
+ shell && diagram && svg && (ratio >= WIDE_RATIO || measuredHeightFit) &&
window.innerWidth >= MIN_DESKTOP_WIDTH &&
html.getAttribute('data-embed') !== 'true' &&
html.getAttribute('data-present') !== 'true' &&
@@ -11149,8 +11495,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
number(diagramStyle.borderTopWidth) + number(diagramStyle.borderBottomWidth)
};
}
- function applyWidth(width) {
- var rounded = Math.round(width);
+ function applyWidth(width, minWidth) {
+ var rounded = Math.max(Math.ceil(minWidth || 0), Math.round(width));
if (Math.abs(rounded - lastWidth) < 1) return false;
lastWidth = rounded;
html.style.setProperty('--archify-reader-width', rounded + 'px');
@@ -11166,8 +11512,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
document.documentElement.scrollHeight,
document.body.scrollHeight
) - window.innerHeight;
- if (overflow > 1 && lastWidth > minWidth) {
- applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4));
+ if (overflow > 1 && lastWidth > Math.ceil(minWidth)) {
+ applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);
html.setAttribute('data-reader-overflow', 'reduced');
} else if (overflow > 1) {
html.setAttribute('data-reader-overflow', 'authored');
@@ -11184,18 +11530,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
var chrome = chromeMetrics();
var viewportCap = Math.max(0, window.innerWidth - chrome.bodyX);
- var minWidth = Math.min(MIN_READER_WIDTH, viewportCap);
+ var readableWidth = viewBox && viewBox.width > 0
+ ? viewBox.width * minimumReadableScale() + chrome.diagramX
+ : MIN_READER_WIDTH;
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
var desiredWidth = availableSvgHeight * ratio + chrome.diagramX;
var width = Math.max(minWidth, Math.min(maxWidth, desiredWidth));
- applyWidth(width);
+ applyWidth(width, minWidth);
settleOverflow(minWidth);
return {
ratio: ratio,
- width: Math.round(width),
+ width: lastWidth,
availableSvgHeight: Math.round(availableSvgHeight),
fixedHeight: Math.round(fixedHeight)
};
@@ -11221,14 +11582,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11523,14 +11886,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11566,6 +11931,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
@@ -11858,8 +12266,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
return true;
}
function semanticIds(ids, includeNeighbors) {
- var seeds = {};
- var wanted = {};
+ var seeds = Object.create(null);
+ var wanted = Object.create(null);
(ids || []).forEach(function (id) { seeds[id] = true; wanted[id] = true; });
if (includeNeighbors) {
Array.prototype.forEach.call(svg.querySelectorAll('[data-edge-from][data-edge-to]'), function (edge) {
@@ -13327,7 +13735,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function outgoingByNode() {
var byId = nodesById();
- var outgoing = {};
+ var outgoing = Object.create(null);
edges().forEach(function (edge) {
var from = edge.getAttribute('data-edge-from');
var to = edge.getAttribute('data-edge-to');
@@ -13339,7 +13747,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function reachableFrom(source) {
var outgoing = outgoingByNode();
- var reached = {};
+ var reached = Object.create(null);
var queue = [source];
reached[source] = true;
for (var cursor = 0; cursor < queue.length; cursor += 1) {
@@ -13354,7 +13762,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function hopDistancesFrom(source) {
var outgoing = outgoingByNode();
- var distances = {};
+ var distances = Object.create(null);
var queue = [source];
distances[source] = 0;
for (var cursor = 0; cursor < queue.length; cursor += 1) {
@@ -13370,7 +13778,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
function shortestDirectedPath(source, target) {
if (source === target) return null;
var outgoing = outgoingByNode();
- var previous = {};
+ var previous = Object.create(null);
var queue = [source];
previous[source] = null;
for (var cursor = 0; cursor < queue.length && !Object.prototype.hasOwnProperty.call(previous, target); cursor += 1) {
@@ -13900,7 +14308,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var sourceIds = nodes().map(function (node) { return node.getAttribute('data-node-id'); }).filter(function (id) {
return outgoing[id] && outgoing[id].length;
});
- var sourceBadges = {};
+ var sourceBadges = Object.create(null);
sourceIds.forEach(function (id) { sourceBadges[id] = viewerText('viewer.route.finder.source.badge'); });
return {
kind: 'route-source',
@@ -13916,7 +14324,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (mode === 'target' && startId && byId[startId]) {
var distances = hopDistancesFrom(startId);
var targetIds = Object.keys(distances).filter(function (id) { return id !== startId && byId[id]; });
- var targetBadges = {};
+ var targetBadges = Object.create(null);
targetIds.forEach(function (id) {
targetBadges[id] = viewerCount('viewer.route.hop', distances[id]);
});
@@ -14125,7 +14533,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MAX_LENS_FLOW_EDGES = 24;
function nodesById() {
- var byId = {};
+ var byId = Object.create(null);
Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-node-kind]'), function (node) {
var id = node.getAttribute('data-node-id');
if (id && !byId[id]) byId[id] = node;
@@ -14292,7 +14700,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
return (byId[id].getAttribute('data-node-kind') || 'neutral') === kind;
});
if (!matches.length) return false;
- var chosen = {};
+ var chosen = Object.create(null);
matches.forEach(function (id) {
chosen[id] = true;
byId[id].setAttribute('data-legend-preview-match', '');
@@ -14468,7 +14876,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
options = options || {};
cleanSvgState();
var byId = nodesById();
- var nodeKind = {};
+ var nodeKind = Object.create(null);
Object.keys(byId).forEach(function (id) { nodeKind[id] = byId[id].getAttribute('data-node-kind') || 'neutral'; });
if (!selectedKinds.length) {
status.textContent = viewerText('viewer.lens.choose');
diff --git a/docs/gallery.html b/docs/gallery.html
index 3c2f45a8..eabc4de8 100644
--- a/docs/gallery.html
+++ b/docs/gallery.html
@@ -298,7 +298,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c">d1a1308ad3ff</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="5cd4ea2dfe063331dc56425f65000112a7a3f2d4ecc5df2aee65c5b71e2879ce">5cd4ea2dfe06</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&amp;play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -328,7 +328,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6">a710de03d4b8</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="407534d90702d82cbcfa0ea984c3bcd4b618680c5c099731fcb5e50ee71d6fde">407534d90702</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html?present=1&amp;play=1#view=request-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -357,7 +357,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281">19fa7617ff2f</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3cc6925ffb9cc1bb82c5d42eb8213970b0943663231ee8c024017c0ab84d3c53">3cc6925ffb9c</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&amp;play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -386,7 +386,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e97182454a7049bd44bf66b779e3f1fa9921220168316a5800563d262c9e79da">e97182454a70</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="64cc0930cda44ea7a54e341c4f49dbf748b413ec771bc7457440b6bc5df149bd">64cc0930cda4</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&amp;play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -415,7 +415,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b57db538738181f337958e7896119e036703558a04ba0a585e11612fea7cca25">b57db5387381</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="81c7361d1d404722c7985022d39f45a5bca51f0b74a11821fd2889991c053cae">81c7361d1d40</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&amp;play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -444,7 +444,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4a2565647da089171a09b2a90f98854c81099634607b33e47630c89dbe6f7bfd">4a2565647da0</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="aba265e695ea94b4af66c36c43767aad559d1505865cdeae51e27845e43eb559">aba265e695ea</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&amp;play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -473,7 +473,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad">f9c7a7673698</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cc0d43132b5384e2aac117ae8c5b260d5b857f2e7cb26113b7ccf25868b7903e">cc0d43132b53</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&amp;play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -502,7 +502,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c4ce42fece7ae2f896ce9b967839a6b0439c4ec7ddd73c1dfdc1e3d93ff7a45f">c4ce42fece7a</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2acfddb7c9916c9826a1feba1e09d6e7ae6376c5c0d4f7c3552124a1e49c5844">2acfddb7c991</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html?present=1&amp;play=1#view=order-transit" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -531,7 +531,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 6E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d">1739b4fa6088</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="027fa4649bb6e81cdbbae0bbeefb9b66fe4723f3ccd5bc614fe278fdd53338f5">027fa4649bb6</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&amp;play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -560,7 +560,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 6E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874">a0b0e00e1c1c</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4e74b6991eb84b55ff3bed26f045127463680444e05ab0b854790c75869c6a53">4e74b6991eb8</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html?present=1&amp;play=1#view=rollback-outcomes" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -589,7 +589,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 9E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1">e368a383dc31</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cbe585163afb07d938b19a31e14d380063ac78652e0cbcd63b580fec288c2105">cbe585163afb</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/web-app.architecture.html?present=1&amp;play=1#view=request-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -675,8 +675,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 12,
"edgeCount": 11,
- "artifactBytes": 830229,
- "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c",
+ "artifactBytes": 842020,
+ "artifactSha256": "5cd4ea2dfe063331dc56425f65000112a7a3f2d4ecc5df2aee65c5b71e2879ce",
"sourceBytes": 5687,
"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c",
"checks": [
@@ -727,13 +727,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 29,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.788321167883212,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1.225,
@@ -751,6 +752,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "user"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 6.788321167883212,
+ "semanticTextCount": 29
+ },
"issues": []
}
},
@@ -776,8 +795,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": "deployment-ownership",
"nodeCount": 12,
"edgeCount": 12,
- "artifactBytes": 832086,
- "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6",
+ "artifactBytes": 845248,
+ "artifactSha256": "407534d90702d82cbcfa0ea984c3bcd4b618680c5c099731fcb5e50ee71d6fde",
"sourceBytes": 5476,
"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb",
"checks": [
@@ -828,13 +847,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 36,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.5,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1.098,
@@ -852,6 +872,29 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "recognized-declared-wide",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 1290,
+ "actualBudgetPx": 1290,
+ "actualReaderWidth": 1320,
+ "desiredReaderWidth": 1320,
+ "viewportCap": 1376,
+ "limit": "source-size",
+ "requestedTargetPx": 7.5,
+ "requestedTargetMet": true,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "edge",
+ "id": null,
+ "from": "clients",
+ "to": "edge"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 7.5,
+ "semanticTextCount": 38
+ },
"issues": []
}
},
@@ -877,8 +920,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 825341,
- "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281",
+ "artifactBytes": 837132,
+ "artifactSha256": "3cc6925ffb9cc1bb82c5d42eb8213970b0943663231ee8c024017c0ab84d3c53",
"sourceBytes": 4374,
"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
@@ -929,13 +972,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 8,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -953,6 +997,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "user"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 26
+ },
"issues": []
}
},
@@ -978,8 +1040,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 826445,
- "artifactSha256": "e97182454a7049bd44bf66b779e3f1fa9921220168316a5800563d262c9e79da",
+ "artifactBytes": 838236,
+ "artifactSha256": "64cc0930cda44ea7a54e341c4f49dbf748b413ec771bc7457440b6bc5df149bd",
"sourceBytes": 5164,
"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91",
"checks": [
@@ -1030,13 +1092,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 36.3,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.2,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1.214,
@@ -1054,6 +1117,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "rollback"
+ },
+ "minimumSourceTextPx": 6.2,
+ "minimumProjectedTextPx": 6.2,
+ "semanticTextCount": 24
+ },
"issues": []
}
},
@@ -1079,8 +1160,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 11,
"edgeCount": 10,
- "artifactBytes": 823764,
- "artifactSha256": "b57db538738181f337958e7896119e036703558a04ba0a585e11612fea7cca25",
+ "artifactBytes": 835555,
+ "artifactSha256": "81c7361d1d404722c7985022d39f45a5bca51f0b74a11821fd2889991c053cae",
"sourceBytes": 5375,
"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b",
"checks": [
@@ -1131,13 +1212,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 119,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.7,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 3.465,
@@ -1155,6 +1237,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "triage"
+ },
+ "minimumSourceTextPx": 7.7,
+ "minimumProjectedTextPx": 7.7,
+ "semanticTextCount": 23
+ },
"issues": []
}
},
@@ -1180,8 +1280,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 827696,
- "artifactSha256": "4a2565647da089171a09b2a90f98854c81099634607b33e47630c89dbe6f7bfd",
+ "artifactBytes": 839487,
+ "artifactSha256": "aba265e695ea94b4af66c36c43767aad559d1505865cdeae51e27845e43eb559",
"sourceBytes": 5618,
"sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f",
"checks": [
@@ -1232,13 +1332,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 44.3,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1.369,
@@ -1256,6 +1357,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "web"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 30
+ },
"issues": []
}
},
@@ -1281,8 +1400,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 824459,
- "artifactSha256": "f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad",
+ "artifactBytes": 836250,
+ "artifactSha256": "cc0d43132b5384e2aac117ae8c5b260d5b857f2e7cb26113b7ccf25868b7903e",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
@@ -1333,13 +1452,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 22,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -1357,6 +1477,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "client"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 7,
+ "semanticTextCount": 28
+ },
"issues": []
}
},
@@ -1382,8 +1520,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 12,
"edgeCount": 12,
- "artifactBytes": 831694,
- "artifactSha256": "c4ce42fece7ae2f896ce9b967839a6b0439c4ec7ddd73c1dfdc1e3d93ff7a45f",
+ "artifactBytes": 843485,
+ "artifactSha256": "2acfddb7c9916c9826a1feba1e09d6e7ae6376c5c0d4f7c3552124a1e49c5844",
"sourceBytes": 5433,
"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e",
"checks": [
@@ -1434,13 +1572,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 9,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 4,
"routesOverSuggestedBends": 1,
"maxStretch": 2.663,
@@ -1458,6 +1597,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "checkout"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 36
+ },
"issues": []
}
},
@@ -1483,8 +1640,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 6,
- "artifactBytes": 820773,
- "artifactSha256": "1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d",
+ "artifactBytes": 832564,
+ "artifactSha256": "027fa4649bb6e81cdbbae0bbeefb9b66fe4723f3ccd5bc614fe278fdd53338f5",
"sourceBytes": 4044,
"sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7",
"checks": [
@@ -1535,13 +1692,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": null,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.320388349514563,
"maxBends": 3,
"routesOverSuggestedBends": 2,
"maxStretch": 3.267,
@@ -1559,6 +1717,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "queued"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.320388349514563,
+ "semanticTextCount": 20
+ },
"issues": []
}
},
@@ -1584,8 +1760,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 11,
"edgeCount": 6,
- "artifactBytes": 822315,
- "artifactSha256": "a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874",
+ "artifactBytes": 834106,
+ "artifactSha256": "4e74b6991eb84b55ff3bed26f045127463680444e05ab0b854790c75869c6a53",
"sourceBytes": 4274,
"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71",
"checks": [
@@ -1636,13 +1812,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": null,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.642857142857143,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -1660,6 +1837,24 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "queued"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.642857142857143,
+ "semanticTextCount": 22
+ },
"issues": []
}
},
@@ -1685,8 +1880,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 9,
- "artifactBytes": 822412,
- "artifactSha256": "e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1",
+ "artifactBytes": 836873,
+ "artifactSha256": "cbe585163afb07d938b19a31e14d380063ac78652e0cbcd63b580fec288c2105",
"sourceBytes": 3793,
"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf",
"checks": [
@@ -1737,13 +1932,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 20,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.5,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1,
@@ -1761,6 +1957,29 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "recognized-declared-wide",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 1012.5,
+ "actualBudgetPx": 1012.5,
+ "actualReaderWidth": 1042.5,
+ "desiredReaderWidth": 1042.5,
+ "viewportCap": 1376,
+ "limit": "source-size",
+ "requestedTargetPx": 7.5,
+ "requestedTargetMet": true,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "edge",
+ "id": "users-to-cdn",
+ "from": "users",
+ "to": "cdn"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 7.5,
+ "semanticTextCount": 28
+ },
"issues": []
}
}
diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.html
index fe40254e..f723a96b 100644
--- a/docs/gallery/artifacts/agent-run.lifecycle.html
+++ b/docs/gallery/artifacts/agent-run.lifecycle.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6375,15 +6439,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7287,6 +7351,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11184,6 +11249,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11244,6 +11311,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11265,9 +11336,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11275,7 +11350,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11343,11 +11418,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11383,14 +11467,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11685,14 +11771,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11728,6 +11816,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.html
index d0a6d66c..53bf1e7a 100644
--- a/docs/gallery/artifacts/agent-tool-call.workflow.html
+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6446,15 +6510,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7358,6 +7422,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11255,6 +11320,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11315,6 +11382,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11336,9 +11407,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11346,7 +11421,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11414,11 +11489,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11454,14 +11538,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11756,14 +11842,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11799,6 +11887,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
index c4049ce4..1d6a5588 100644
--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html
+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Async Job Roundtrip Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6467,15 +6531,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7379,6 +7443,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11276,6 +11341,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11336,6 +11403,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11357,9 +11428,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11367,7 +11442,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11435,11 +11510,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11475,14 +11559,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11777,14 +11863,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11820,6 +11908,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.html
index ef9f36cc..1cd422c3 100644
--- a/docs/gallery/artifacts/cache-miss.sequence.html
+++ b/docs/gallery/artifacts/cache-miss.sequence.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6455,15 +6519,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7367,6 +7431,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11264,6 +11329,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11324,6 +11391,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11345,9 +11416,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11355,7 +11430,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11423,11 +11498,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11463,14 +11547,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11765,14 +11851,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11808,6 +11896,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.html
index e985809a..0011573a 100644
--- a/docs/gallery/artifacts/deployment-release.lifecycle.html
+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Deployment Release Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6401,15 +6465,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7313,6 +7377,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11210,6 +11275,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11270,6 +11337,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11291,9 +11362,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11301,7 +11376,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11369,11 +11444,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11409,14 +11493,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11711,14 +11797,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11754,6 +11842,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.html
index 9b3ad496..1e3c4d2c 100644
--- a/docs/gallery/artifacts/event-stream.dataflow.html
+++ b/docs/gallery/artifacts/event-stream.dataflow.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Order Event-stream Topology Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6479,15 +6543,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7391,6 +7455,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11288,6 +11353,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11348,6 +11415,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11369,9 +11440,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11379,7 +11454,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11447,11 +11522,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11487,14 +11571,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11789,14 +11875,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11832,6 +11920,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.html
index b6caa4e8..ee6a1d2e 100644
--- a/docs/gallery/artifacts/incident-response.workflow.html
+++ b/docs/gallery/artifacts/incident-response.workflow.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Incident Response Runbook Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6406,15 +6470,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7318,6 +7382,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11215,6 +11280,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11275,6 +11342,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11296,9 +11367,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11306,7 +11381,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11374,11 +11449,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11414,14 +11498,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11716,14 +11802,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11759,6 +11847,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.html
index 5121ce5b..7ec78f00 100644
--- a/docs/gallery/artifacts/product-analytics.dataflow.html
+++ b/docs/gallery/artifacts/product-analytics.dataflow.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6440,15 +6504,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7352,6 +7416,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11249,6 +11314,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11309,6 +11376,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11330,9 +11401,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11340,7 +11415,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11408,11 +11483,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11448,14 +11532,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11750,14 +11836,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11793,6 +11881,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.html
index 8575b863..cb9dcda0 100644
--- a/docs/gallery/artifacts/production-deployment.architecture.html
+++ b/docs/gallery/artifacts/production-deployment.architecture.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Production Deployment Ownership Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5167,7 +5231,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1376 728" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="blueprint" data-engineering-profile="deployment-ownership" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+ <svg viewBox="0 0 1376 728" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="blueprint" data-engineering-profile="deployment-ownership" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Production Deployment Ownership</title>
<desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5202,17 +5266,29 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="3" data-composition-frame-label="DR private subnet" x="1026" y="554" width="154" height="106" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="clients" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="0" data-composition-points="160,330;230,330" d="M 160 330 L 230 330" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="edge" data-edge-to="gateway" data-edge-label="mTLS" data-edge-key="1" data-composition-points="356,330;430,330" d="M 356 330 L 430 330" class="a-security" data-animate="edge" style="--step:1" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 230 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="clients" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="0" data-composition-points="160,330;230,330" data-composition-crossover="halo" d="M 160 330 L 230 330" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:1">
+ <path data-graph-role="automatic-crossover-underlay" d="M 356 330 L 430 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="edge" data-edge-to="gateway" data-edge-label="mTLS" data-edge-key="1" data-composition-points="356,330;430,330" data-composition-crossover="halo" d="M 356 330 L 430 330" class="a-security" data-animate="edge" style="--step:1" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
+ </g>
<path data-edge-from="gateway" data-edge-to="api_a" data-edge-label="VPC route" data-edge-key="2" data-composition-points="558,330;594,330;594,226;630,226" d="M 558 330 L 586 330 Q 594 330 594 322 L 594 234 Q 594 226 602 226 L 630 226" class="a-emphasis" data-animate="edge" style="--step:2" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<path data-edge-from="gateway" data-edge-to="api_b" data-edge-label="VPC route" data-edge-key="3" data-composition-points="558,330;594,330;594,436;630,436" d="M 558 330 L 586 330 Q 594 330 594 338 L 594 428 Q 594 436 602 436 L 630 436" class="a-emphasis" data-animate="edge" style="--step:3" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<path data-edge-from="api_a" data-edge-to="redis" data-edge-label="cache" data-edge-key="4" data-composition-points="766,226;840,226" d="M 766 226 L 840 226" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.5" marker-end="url(#arrowhead)"/>
<path data-edge-from="api_b" data-edge-to="postgres" data-edge-label="SQL" data-edge-key="5" data-composition-points="766,436;840,436" d="M 766 436 L 840 436" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.5" marker-end="url(#arrowhead)"/>
<path data-edge-from="api_a" data-edge-to="events" data-edge-label="publish" data-edge-key="6" data-composition-points="698,195;698,170;1103,170;1103,300" d="M 698 195 L 698 178 Q 698 170 706 170 L 1095 170 Q 1103 170 1103 178 L 1103 300" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
<path data-edge-from="api_b" data-edge-to="events" data-edge-key="7" data-composition-points="698,405;698,380;1103,380;1103,360" d="M 698 405 L 698 388 Q 698 380 706 380 L 1095 380 Q 1103 380 1103 372 L 1103 360" class="a-dashed" data-animate="edge" style="--step:7" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="events" data-edge-to="worker" data-edge-key="8" data-composition-points="1166,330;1190,330" d="M 1166 330 L 1190 330" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 1166 330 L 1190 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="events" data-edge-to="worker" data-edge-key="8" data-composition-points="1166,330;1190,330" data-composition-crossover="halo" d="M 1166 330 L 1190 330" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="postgres" data-edge-to="replica" data-edge-label="cross-region WAL" data-edge-key="9" data-composition-points="966,436;966,522.5;1040,522.5;1040,609" d="M 966 436 L 966 514.5 Q 966 522.5 974 522.5 L 1032 522.5 Q 1040 522.5 1040 530.5 L 1040 609" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="worker" data-edge-to="audit" data-edge-label="evidence" data-edge-key="10" data-composition-points="1253,360;1253,450" d="M 1253 360 L 1253 450" class="a-dashed" data-animate="edge" style="--step:10" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ <g data-graph-role="automatic-crossover" style="--step:10">
+ <path data-graph-role="automatic-crossover-underlay" d="M 1253 360 L 1253 450" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="worker" data-edge-to="audit" data-edge-label="evidence" data-edge-key="10" data-composition-points="1253,360;1253,450" data-composition-crossover="halo" d="M 1253 360 L 1253 450" class="a-dashed" data-animate="edge" style="--step:10" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
<path data-edge-from="worker" data-edge-to="observability" data-edge-label="OTLP" data-edge-key="11" data-composition-points="1253,300;1253,223.5;1253,223.5;1253,147" d="M 1253 300 L 1253 223.5 L 1253 223.5 L 1253 147" class="a-dashed" data-animate="edge" style="--step:11" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
<!-- Components -->
@@ -6471,15 +6547,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7383,6 +7459,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11280,6 +11357,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11340,6 +11419,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11361,9 +11444,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11371,7 +11458,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11439,11 +11526,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11479,14 +11575,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11781,14 +11879,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11824,6 +11924,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.html
index 5d7ac225..7197761c 100644
--- a/docs/gallery/artifacts/release-delivery.workflow.html
+++ b/docs/gallery/artifacts/release-delivery.workflow.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Release Delivery Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6432,15 +6496,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7344,6 +7408,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11241,6 +11306,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11301,6 +11368,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11322,9 +11393,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11332,7 +11407,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11400,11 +11475,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11440,14 +11524,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11742,14 +11828,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11785,6 +11873,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.html
index 50afafa8..b2675a31 100644
--- a/docs/gallery/artifacts/web-app.architecture.html
+++ b/docs/gallery/artifacts/web-app.architecture.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5167,7 +5231,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+ <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Sample Web App</title>
<desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5198,15 +5262,39 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="sg-api :443/:8000" x="430" y="270" width="400" height="110" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:7">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
<!-- Components -->
<g id="node-users" data-node-id="users" data-node-label="Users" tabindex="0" role="button" aria-label="Focus Users, Browser / Mobile, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Browser / Mobile" data-node-context="Architecture component">
@@ -6404,15 +6492,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7316,6 +7404,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11213,6 +11302,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11273,6 +11364,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11294,9 +11389,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11304,7 +11403,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11372,11 +11471,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11412,14 +11520,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11714,14 +11824,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11757,6 +11869,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index ca72d1ca..5c805be5 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -27,8 +27,8 @@
"engineeringProfile": null,
"nodeCount": 12,
"edgeCount": 11,
- "artifactBytes": 830229,
- "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c",
+ "artifactBytes": 842020,
+ "artifactSha256": "5cd4ea2dfe063331dc56425f65000112a7a3f2d4ecc5df2aee65c5b71e2879ce",
"sourceBytes": 5687,
"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c",
"checks": [
@@ -79,13 +79,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 29,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.788321167883212,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1.225,
@@ -103,6 +104,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "user"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 6.788321167883212,
+ "semanticTextCount": 29
+ },
"issues": []
}
},
@@ -128,8 +147,8 @@
"engineeringProfile": "deployment-ownership",
"nodeCount": 12,
"edgeCount": 12,
- "artifactBytes": 832086,
- "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6",
+ "artifactBytes": 845248,
+ "artifactSha256": "407534d90702d82cbcfa0ea984c3bcd4b618680c5c099731fcb5e50ee71d6fde",
"sourceBytes": 5476,
"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb",
"checks": [
@@ -180,13 +199,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 36,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.5,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1.098,
@@ -204,6 +224,29 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "recognized-declared-wide",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 1290,
+ "actualBudgetPx": 1290,
+ "actualReaderWidth": 1320,
+ "desiredReaderWidth": 1320,
+ "viewportCap": 1376,
+ "limit": "source-size",
+ "requestedTargetPx": 7.5,
+ "requestedTargetMet": true,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "edge",
+ "id": null,
+ "from": "clients",
+ "to": "edge"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 7.5,
+ "semanticTextCount": 38
+ },
"issues": []
}
},
@@ -229,8 +272,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 825341,
- "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281",
+ "artifactBytes": 837132,
+ "artifactSha256": "3cc6925ffb9cc1bb82c5d42eb8213970b0943663231ee8c024017c0ab84d3c53",
"sourceBytes": 4374,
"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
@@ -281,13 +324,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 8,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -305,6 +349,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "user"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 26
+ },
"issues": []
}
},
@@ -330,8 +392,8 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 826445,
- "artifactSha256": "e97182454a7049bd44bf66b779e3f1fa9921220168316a5800563d262c9e79da",
+ "artifactBytes": 838236,
+ "artifactSha256": "64cc0930cda44ea7a54e341c4f49dbf748b413ec771bc7457440b6bc5df149bd",
"sourceBytes": 5164,
"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91",
"checks": [
@@ -382,13 +444,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 36.3,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.2,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1.214,
@@ -406,6 +469,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "rollback"
+ },
+ "minimumSourceTextPx": 6.2,
+ "minimumProjectedTextPx": 6.2,
+ "semanticTextCount": 24
+ },
"issues": []
}
},
@@ -431,8 +512,8 @@
"engineeringProfile": null,
"nodeCount": 11,
"edgeCount": 10,
- "artifactBytes": 823764,
- "artifactSha256": "b57db538738181f337958e7896119e036703558a04ba0a585e11612fea7cca25",
+ "artifactBytes": 835555,
+ "artifactSha256": "81c7361d1d404722c7985022d39f45a5bca51f0b74a11821fd2889991c053cae",
"sourceBytes": 5375,
"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b",
"checks": [
@@ -483,13 +564,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 119,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.7,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 3.465,
@@ -507,6 +589,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "triage"
+ },
+ "minimumSourceTextPx": 7.7,
+ "minimumProjectedTextPx": 7.7,
+ "semanticTextCount": 23
+ },
"issues": []
}
},
@@ -532,8 +632,8 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 827696,
- "artifactSha256": "4a2565647da089171a09b2a90f98854c81099634607b33e47630c89dbe6f7bfd",
+ "artifactBytes": 839487,
+ "artifactSha256": "aba265e695ea94b4af66c36c43767aad559d1505865cdeae51e27845e43eb559",
"sourceBytes": 5618,
"sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f",
"checks": [
@@ -584,13 +684,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 44.3,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1.369,
@@ -608,6 +709,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "web"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 30
+ },
"issues": []
}
},
@@ -633,8 +752,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 824459,
- "artifactSha256": "f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad",
+ "artifactBytes": 836250,
+ "artifactSha256": "cc0d43132b5384e2aac117ae8c5b260d5b857f2e7cb26113b7ccf25868b7903e",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
@@ -685,13 +804,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 22,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -709,6 +829,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "client"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 7,
+ "semanticTextCount": 28
+ },
"issues": []
}
},
@@ -734,8 +872,8 @@
"engineeringProfile": null,
"nodeCount": 12,
"edgeCount": 12,
- "artifactBytes": 831694,
- "artifactSha256": "c4ce42fece7ae2f896ce9b967839a6b0439c4ec7ddd73c1dfdc1e3d93ff7a45f",
+ "artifactBytes": 843485,
+ "artifactSha256": "2acfddb7c9916c9826a1feba1e09d6e7ae6376c5c0d4f7c3552124a1e49c5844",
"sourceBytes": 5433,
"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e",
"checks": [
@@ -786,13 +924,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 9,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.027777777777779,
"maxBends": 4,
"routesOverSuggestedBends": 1,
"maxStretch": 2.663,
@@ -810,6 +949,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "checkout"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.027777777777779,
+ "semanticTextCount": 36
+ },
"issues": []
}
},
@@ -835,8 +992,8 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 6,
- "artifactBytes": 820773,
- "artifactSha256": "1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d",
+ "artifactBytes": 832564,
+ "artifactSha256": "027fa4649bb6e81cdbbae0bbeefb9b66fe4723f3ccd5bc614fe278fdd53338f5",
"sourceBytes": 4044,
"sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7",
"checks": [
@@ -887,13 +1044,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": null,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.320388349514563,
"maxBends": 3,
"routesOverSuggestedBends": 2,
"maxStretch": 3.267,
@@ -911,6 +1069,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "queued"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.320388349514563,
+ "semanticTextCount": 20
+ },
"issues": []
}
},
@@ -936,8 +1112,8 @@
"engineeringProfile": null,
"nodeCount": 11,
"edgeCount": 6,
- "artifactBytes": 822315,
- "artifactSha256": "a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874",
+ "artifactBytes": 834106,
+ "artifactSha256": "4e74b6991eb84b55ff3bed26f045127463680444e05ab0b854790c75869c6a53",
"sourceBytes": 4274,
"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71",
"checks": [
@@ -988,13 +1164,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": null,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 6.642857142857143,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -1012,6 +1189,24 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "legacy-930",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 930,
+ "actualBudgetPx": 930,
+ "limit": "legacy",
+ "requestedTargetPx": null,
+ "requestedTargetMet": null,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "node",
+ "id": "queued"
+ },
+ "minimumSourceTextPx": 7,
+ "minimumProjectedTextPx": 6.642857142857143,
+ "semanticTextCount": 22
+ },
"issues": []
}
},
@@ -1037,8 +1232,8 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 9,
- "artifactBytes": 822412,
- "artifactSha256": "e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1",
+ "artifactBytes": 836873,
+ "artifactSha256": "cbe585163afb07d938b19a31e14d380063ac78652e0cbcd63b580fec288c2105",
"sourceBytes": 3793,
"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf",
"checks": [
@@ -1089,13 +1284,14 @@
},
"metrics": {
"properCrossings": 0,
+ "resolvedCrossovers": 0,
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
"labelCanvasOverflowIssues": 0,
"minLabelRouteClearance": 20,
"desktopReadabilityIssues": 0,
- "minProjectedNodeTextPx": null,
+ "minProjectedNodeTextPx": 7.5,
"maxBends": 3,
"routesOverSuggestedBends": 1,
"maxStretch": 1,
@@ -1113,6 +1309,29 @@
"segmentPx": 16,
"microSegmentPx": 8
},
+ "desktopReadability": {
+ "budgetBasis": "recognized-declared-wide",
+ "readerContract": "declared-wide-v1",
+ "availableDiagramWidth": 1012.5,
+ "actualBudgetPx": 1012.5,
+ "actualReaderWidth": 1042.5,
+ "desiredReaderWidth": 1042.5,
+ "viewportCap": 1376,
+ "limit": "source-size",
+ "requestedTargetPx": 7.5,
+ "requestedTargetMet": true,
+ "hardFloorPx": 6,
+ "hardFloorMet": true,
+ "minimumOwner": {
+ "kind": "edge",
+ "id": "users-to-cdn",
+ "from": "users",
+ "to": "cdn"
+ },
+ "minimumSourceTextPx": 8,
+ "minimumProjectedTextPx": 7.5,
+ "semanticTextCount": 28
+ },
"issues": []
}
}
diff --git a/docs/guide.html b/docs/guide.html
index 05aee21a..4911ce38 100644
--- a/docs/guide.html
+++ b/docs/guide.html
@@ -240,7 +240,7 @@
<footer><div class="shell"><span data-i18n="footerLeft">Generated from the same recipe source as the Archify CLI.</span><span>archify guide "your scenario"</span><span data-i18n="versionLabel">Scenario guide / development / v2.17.0-dev.1</span></div></footer>
- <script id="guide-data" type="application/json">[{"id":"system-overview","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges.","en":{"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges."},"zh":{"title":"系统总览","question":"系统里有什么、归谁负责、彼此如何连接?","summary":"用一张有边界的图展示核心组件、外部依赖、主路径和信任边界。","useWhen":"适合新人上手、方案评审、仓库梳理和服务全景说明。","avoidWhen":"如果重点是精确调用顺序、状态流转或字段级血缘,请换其他配方。","include":["8–12 个核心组件","一条主路径","外部依赖","归属或信任边界"],"prompt":"分析这个仓库,然后用 Archify 生成高层系统架构图。展示 8–12 个核心运行时组件、一条主要请求或数据路径、外部依赖、归属或信任边界;支持性细节放进卡片,不要继续堆连线。"},"signals":[["system overview",12],["architecture",10],["components",6],["services",4],["repository",5],["trust boundary",8],["架构",10],["系统总览",12],["组件",6],["服务",4],["仓库",5],["信任边界",8]]},{"id":"deployment-ownership","type":"architecture","proof":"deployment-ownership","presentation":{"preset":"blueprint","motion":"trace","views":"recommended"},"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset.","en":{"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset."},"zh":{"title":"部署与归属","question":"每个工作负载运行在哪里,哪些连接跨越了边界?","summary":"围绕 Region、网络、集群、工作负载、存储和跨边界机制组织部署图。","useWhen":"适合云上评审、生产就绪、多区域规划和基础设施交接。","avoidWhen":"部署事实不清楚,或真正问题是应用行为而不是资源位置时不要使用。","include":["区域与网络","工作负载归属","有状态服务","明确的跨边界机制"],"prompt":"用 Archify 绘制生产部署拓扑。按区域、网络、集群和负责人分组,展示工作负载与有状态服务,并标注每一种跨边界机制。不要编造部署事实,不确定的区域要明确标出。如果用户需要失败即阻断的部署评审,先征得确认,再把 meta.engineering_profile 设为 deployment-ownership;否则不要启用工程画像。"},"signals":[["deployment topology",14],["region",7],["vpc",9],["cluster",6],["availability zone",8],["ownership",7],["cloud deployment",12],["部署拓扑",14],["区域",6],["集群",6],["可用区",8],["资源归属",9],["跨区",8]]},{"id":"agent-tool-call","type":"workflow","proof":"agent-tool-call","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly.","en":{"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly."},"zh":{"title":"智能体工具调用","question":"智能体如何规划、获批、执行、恢复并汇报?","summary":"用泳道表达策略门、工具执行、异常恢复、证据和最终回复。","useWhen":"适合解释 Agent Runtime、MCP/工具编排、审批、重试和可观测性。","avoidWhen":"如果只想看静态组件,或重点是精确 API 消息时序,请换其他配方。","include":["请求与规划","策略或审批门","工具执行","异常与证据路径"],"prompt":"用 Archify 工作流模式解释这段智能体工具调用。把用户界面、Agent Runtime、策略边界、异常处理、工具执行和可观测性分成泳道;突出成功主路径,并明确展示审批、重试、阻塞和证据路径。"},"signals":[["agent tool call",16],["tool call",12],["approval gate",10],["human in the loop",9],["mcp",7],["planner",6],["agent loop",10],["智能体工具调用",16],["工具调用",12],["审批门",10],["人在回路",9],["规划器",6],["智能体循环",10]]},{"id":"delivery-workflow","type":"workflow","proof":"delivery-workflow","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path.","en":{"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path."},"zh":{"title":"研发交付流程","question":"一次变更如何安全地从提交走到生产?","summary":"展示构建、检查、环境、审批、冒烟、回滚和负责人泳道。","useWhen":"适合 CI/CD 设计、发布评审、部署治理和研发新人上手。","avoidWhen":"如果重点是基础设施位置或部署对象的状态集合,请换架构图或生命周期图。","include":["触发与构建","阻断检查","审批与环境","回滚与验证"],"prompt":"用 Archify 工作流模式绘制从代码提交到生产发布的流程。拆分开发者、CI、审批、环境和异常泳道;标出阻断检查、冒烟测试、负责人和回滚路径,并保留一条一眼可见的成功主路径。"},"signals":[["ci/cd",14],["release workflow",14],["deployment pipeline",11],["pull request",7],["staging",7],["rollback",8],["发布流程",14],["流水线",9],["上线",7],["预发",7],["回滚",8],["审批发布",10]]},{"id":"incident-runbook","type":"workflow","proof":"incident-runbook","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible.","en":{"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible."},"zh":{"title":"事故处置 Runbook","question":"响应者如何发现、分诊、缓解、验证并升级?","summary":"把信号、响应者、缓解动作、沟通和恢复证据拆成可执行流程。","useWhen":"适合故障预案、On-call 交接、稳定性评审和桌面演练。","avoidWhen":"如果受众需要实时指标仪表盘或事故后的组件拓扑,而不是响应动作,请换其他视图。","include":["发现信号","分诊负责人","缓解与回滚","恢复验证与沟通"],"prompt":"用 Archify 工作流模式把事故处置预案画成响应者泳道。展示发现、分诊、缓解、升级、沟通、回滚和恢复验证;把决策门与操作分开,并让缺失的负责人清晰可见。"},"signals":[["incident response",15],["runbook",12],["outage",9],["triage",8],["mitigation",8],["escalation",7],["事故处置",15],["故障",9],["应急预案",12],["排障",9],["缓解",7],["升级响应",8]]},{"id":"api-request","type":"sequence","proof":"cache-miss","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous.","en":{"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous."},"zh":{"title":"API 请求链","question":"谁调用谁、顺序如何、最终返回什么?","summary":"按时间展示鉴权、缓存回退、持久化、返回流量和异步追踪。","useWhen":"适合 API 文档、请求耗时排查、鉴权评审和缓存回退说明。","avoidWhen":"如果顺序不重要,受众只需要稳定的服务拓扑,请用架构图。","include":["调用方与被调用方","请求与返回消息","回退或错误路径","异步副作用"],"prompt":"用 Archify 时序模式展示从调用方到最终响应的完整请求。包含鉴权、缓存命中或未命中、持久化回退、返回消息,以及异步 Trace 或事件上报;消息标签保持简短,顺序必须明确。"},"signals":[["api request",14],["request response",12],["call chain",11],["cache miss",13],["jwt",8],["who calls whom",12],["api 请求",14],["请求响应",12],["调用链",11],["缓存未命中",13],["谁调用谁",12],["鉴权链路",9]]},{"id":"async-roundtrip","type":"sequence","proof":"async-roundtrip","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency.","en":{"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency."},"zh":{"title":"异步往返链路","question":"初始请求返回之后,后台还会发生什么?","summary":"按时间展示入队、确认、后台处理、回调、重试、超时和最终一致。","useWhen":"适合 Webhook、后台任务、队列、支付回调、最终一致和异步 API 契约。","avoidWhen":"如果重点是 Topic 拓扑和消费者归属,而不是时间顺序,请用事件数据流配方。","include":["初始确认","队列或调度器","后台处理","回调、重试与超时"],"prompt":"用 Archify 时序模式解释这段异步往返链路。展示初始确认、入队或调度、后台处理、回调或轮询、重试与超时,以及调用方何时能观察到最终一致结果。"},"signals":[["async roundtrip",14],["webhook",10],["callback",10],["acknowledgement",8],["timeout",7],["retry message",8],["异步回调",14],["回调",10],["确认消息",8],["超时",7],["消息重试",9],["webhook",10]]},{"id":"data-lineage","type":"dataflow","proof":"product-analytics","presentation":{"preset":"classic","motion":"trace","views":"recommended"},"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows.","en":{"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows."},"zh":{"title":"数据血缘","question":"数据从哪里来、如何变化、最终被谁消费?","summary":"从来源经过同意、转换、敏感存储、数仓直到消费者的治理路径。","useWhen":"适合分析架构、ETL/ELT 评审、PII 评估、数仓设计和特征血缘。","avoidWhen":"如果受众需要请求时序或操作负责人,而不是数据资产,请换其他配方。","include":["数据来源与资产","转换阶段","分类或同意边界","存储与消费者"],"prompt":"用 Archify 数据流模式梳理这段数据血缘。为每个数据资产和转换命名,展示用户同意或数据分类边界,区分流式与批处理路径,并标明存储和下游消费者;所有数据流都必须有标签。"},"signals":[["data lineage",15],["etl",12],["warehouse",9],["pii",11],["governance",9],["analytics pipeline",12],["数据血缘",15],["数据管道",11],["数仓",9],["治理",9],["隐私数据",10],["用户同意",9]]},{"id":"event-stream","type":"dataflow","proof":"event-stream","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence.","en":{"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence."},"zh":{"title":"事件流拓扑","question":"哪些事件经过哪些 Topic、处理器、消费者组和失败路径?","summary":"展示生产者、Topic、有序处理器、消费者组、状态、重放和 DLQ。","useWhen":"适合 Kafka/事件平台设计、流处理评审、归属、重放和失败处理。","avoidWhen":"如果 Topic、消费者组和投递语义都不清楚,请先用通用工作流,不要编造事件拓扑。","include":["生产者与事件名","Topic 与顺序","处理器与消费者组","状态、重放与 DLQ"],"prompt":"用 Archify 数据流模式绘制这段事件流拓扑。命名生产者、事件、Topic、有序处理器、消费者组、状态存储、重放路径和 DLQ;只有在证据充分时才标注归属和投递语义。"},"signals":[["event stream",15],["kafka topology",14],["topic",8],["consumer group",11],["dead letter",10],["dlq",10],["事件流",15],["kafka 拓扑",14],["主题",7],["消费者组",11],["死信",10],["事件地铁图",12]]},{"id":"object-lifecycle","type":"lifecycle","proof":"agent-run","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending.","en":{"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending."},"zh":{"title":"对象生命周期","question":"有哪些状态、什么事件触发流转、最终如何结束?","summary":"展示执行、等待、重试、取消、失败以及明确终态的状态模型。","useWhen":"适合任务、订单、工单、订阅、作业、Agent Run 等带持久状态的对象。","avoidWhen":"对象没有持久状态,真正问题是参与者随时间的交互时,请使用时序图。","include":["开始与执行态","带事件的转换","等待与重试态","所有终态"],"prompt":"用 Archify 生命周期模式建模这个对象。分开主进度、等待或中断状态和终态;用事件标注转换,并在真实存在时展示重试、取消、超时、成功和失败,不能隐藏任何结束方式。"},"signals":[["state machine",15],["object lifecycle",14],["status transition",11],["terminal state",9],["retry state",8],["状态机",15],["生命周期",13],["状态流转",11],["终态",9],["等待态",8],["重试状态",8]]},{"id":"deployment-lifecycle","type":"lifecycle","proof":"deployment-lifecycle","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition.","en":{"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition."},"zh":{"title":"部署生命周期","question":"一次发布当前处于什么状态,下一步可能发生什么?","summary":"覆盖排队、构建、验证、审批、晋级、回滚和终态的部署状态模型。","useWhen":"适合发布控制器、GitOps 对账、环境晋级和部署状态 API。","avoidWhen":"如果重点是人员与 CI 的交付动作顺序,而不是部署对象状态,请用交付工作流。","include":["排队与执行态","验证与审批","晋级与回滚","成功、失败与取消"],"prompt":"用 Archify 生命周期模式建模部署对象。展示排队、构建、验证、等待审批、晋级、回滚以及所有终态,并标注允许每次状态转换的事件和守卫条件。"},"signals":[["deployment lifecycle",15],["release state",10],["promotion state",9],["approval status",8],["rollback state",10],["部署生命周期",15],["发布状态",10],["晋级",7],["审批状态",8],["回滚状态",10]]},{"id":"layout-repair","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"title":"Layout repair","question":"Why does the existing diagram overflow, overlap, or route through nodes, and what should be fixed first?","summary":"Repair an existing diagram in its current mode using validation diagnostics, explicit waypoint semantics, and a measured desktop viewport budget.","useWhen":"An existing architecture, workflow, sequence, dataflow, or lifecycle diagram needs layout repair; keep its diagram type and presentation settings.","avoidWhen":"The task is choosing a new diagram type. Do not change topology, delete meaningful labels, or hide overflow just to pass checks.","include":["repair order: schema → overlap → direction → crossings → labels","via contract: absolute [x, y] intermediate points; route = [start, ...via, end]","desktop viewport budget for the complete page, including header and necessary cards","validate after each edit, then inspect the final HTML in a browser"],"prompt":"Use Archify to repair this existing diagram while preserving its diagram type, topology, meaningful labels, and presentation settings. Follow references/authoring-contract.md in this order: (1) schema and missing/invalid meta.quality_profile; (2) node overlap or out-of-range placement; (3) edge-through-node and endpoint-direction errors; (4) crossings, ambiguous corridors, border runs, and route rhythm; (5) labels: label-to-node, label-to-label, then label-to-route clearance. Run validate after every edit and use diagnostics[] code, subject, evidence, and supportedFixes; apply one diagnosed geometry control at a time. Where the current schema supports via, it is an ordered array of absolute SVG [x, y] intermediate points: the route is [start, ...via, end], with start/end supplied by the node anchors. Explicit via points override automatic routing; they are not offsets or a request for automatic obstacle avoidance. For an orthogonal repair, align adjacent points on the same x or y and make the first/final segment respect fromSide/toSide; use only controls supported by the current diagram mode. Follow references/delivery-contract.md for the viewport budget: check 1440×900, 1600×1000, 1920×1080, and 2048×1320; require document.documentElement.scrollWidth \u003c= window.innerWidth. Prefer document.documentElement.scrollHeight \u003c= window.innerHeight, but preserve a Reader-declared readable vertical page scroll when visual-check explicitly accepts it after reaching the projected-text floor. Budget the entire page, including header, diagram, and necessary cards. Repair every other overflow by removing only redundant content or compacting spacing first; do not hide overflow, clip content, introduce an internal diagram scroller, stretch the SVG, or shrink typography to force a pass. Inspect readability and vertical balance at the largest viewport. Validate, then deliver and inspect the final HTML; report browser evidence and visual review truthfully.","en":{"title":"Layout repair","question":"Why does the existing diagram overflow, overlap, or route through nodes, and what should be fixed first?","summary":"Repair an existing diagram in its current mode using validation diagnostics, explicit waypoint semantics, and a measured desktop viewport budget.","useWhen":"An existing architecture, workflow, sequence, dataflow, or lifecycle diagram needs layout repair; keep its diagram type and presentation settings.","avoidWhen":"The task is choosing a new diagram type. Do not change topology, delete meaningful labels, or hide overflow just to pass checks.","include":["repair order: schema → overlap → direction → crossings → labels","via contract: absolute [x, y] intermediate points; route = [start, ...via, end]","desktop viewport budget for the complete page, including header and necessary cards","validate after each edit, then inspect the final HTML in a browser"],"prompt":"Use Archify to repair this existing diagram while preserving its diagram type, topology, meaningful labels, and presentation settings. Follow references/authoring-contract.md in this order: (1) schema and missing/invalid meta.quality_profile; (2) node overlap or out-of-range placement; (3) edge-through-node and endpoint-direction errors; (4) crossings, ambiguous corridors, border runs, and route rhythm; (5) labels: label-to-node, label-to-label, then label-to-route clearance. Run validate after every edit and use diagnostics[] code, subject, evidence, and supportedFixes; apply one diagnosed geometry control at a time. Where the current schema supports via, it is an ordered array of absolute SVG [x, y] intermediate points: the route is [start, ...via, end], with start/end supplied by the node anchors. Explicit via points override automatic routing; they are not offsets or a request for automatic obstacle avoidance. For an orthogonal repair, align adjacent points on the same x or y and make the first/final segment respect fromSide/toSide; use only controls supported by the current diagram mode. Follow references/delivery-contract.md for the viewport budget: check 1440×900, 1600×1000, 1920×1080, and 2048×1320; require document.documentElement.scrollWidth \u003c= window.innerWidth. Prefer document.documentElement.scrollHeight \u003c= window.innerHeight, but preserve a Reader-declared readable vertical page scroll when visual-check explicitly accepts it after reaching the projected-text floor. Budget the entire page, including header, diagram, and necessary cards. Repair every other overflow by removing only redundant content or compacting spacing first; do not hide overflow, clip content, introduce an internal diagram scroller, stretch the SVG, or shrink typography to force a pass. Inspect readability and vertical balance at the largest viewport. Validate, then deliver and inspect the final HTML; report browser evidence and visual review truthfully."},"zh":{"title":"布局修复","question":"现有图为什么仍然溢出、重叠或连线穿过节点,应该先修什么?","summary":"保留现有图表模式,依据验证诊断、途经点语义和实测桌面视口预算修复布局。","useWhen":"已有架构图、工作流、时序图、数据流或生命周期图需要修复布局;保留原来的图表类型和表现设置。","avoidWhen":"任务是为新图选择类型时不要使用。不要为了通过检查改变拓扑、删除有意义的标签或隐藏溢出。","include":["修复顺序:schema → 重叠 → 方向 → 交叉 → 标签","via 契约:绝对 [x, y] 中间点;路径 = [start, ...via, end]","包含标题和必要卡片的整页桌面视口预算","每次修改后 validate,最终在浏览器中检查 HTML"],"prompt":"用 Archify 修复这张现有图,保留图表类型、拓扑、有意义的标签和表现设置。遵循 references/authoring-contract.md 的顺序:(1) schema 错误及缺失或无效的 meta.quality_profile;(2) 节点重叠或越界;(3) 连线穿过节点及端点方向错误;(4) 交叉、含混的共享通道、贴边走线和转弯节奏;(5) 标签与节点、标签与标签、标签与连线的间距。每次修改后运行 validate,依据 diagnostics[] 的 code、subject、evidence 和 supportedFixes,每次只应用一项有诊断依据的几何控制。当前 schema 支持 via 时,它是按顺序排列的绝对 SVG [x, y] 中间点数组:路径为 [start, ...via, end],起终点由节点锚点提供。显式 via 会覆盖自动路由,不是偏移量,也不会请求自动绕障。修复正交走线时,相邻点应共享 x 或 y,首尾线段应遵守 fromSide/toSide;只使用当前模式支持的控制字段。视口预算遵循 references/delivery-contract.md:检查 1440×900、1600×1000、1920×1080 和 2048×1320,要求 document.documentElement.scrollWidth \u003c= window.innerWidth。优先满足 document.documentElement.scrollHeight \u003c= window.innerHeight;如果 visual-check 明确确认 Reader 已达到投影文字下限并接受可读的页面纵向滚动,则保留该滚动。预算覆盖整页,包括标题、主图和必要卡片。其他溢出先通过移除冗余内容或压缩间距修复,不得靠隐藏溢出、裁切、内部滚动区、拉伸 SVG 或缩小字体强行通过。在最大视口检查可读性和纵向平衡。验证后执行 deliver 并检查最终 HTML,如实报告浏览器证据和视觉检查结果。"},"signals":[["layout repair",20],["repair order",20],["fix order",20],["viewport overflow",20],["overflow",16],["scrollheight",16],["scrollwidth",16],["overlap",16],["label overlap",20],["edge through node",20],["crossing",8],["via",7],["waypoint",14],["布局修复",20],["修复顺序",20],["视口溢出",20],["溢出",16],["滚动高度",16],["滚动宽度",16],["重叠",16],["标签重叠",20],["连线穿过节点",20],["连线穿节点",20],["交叉",8],["途经点",14],["路径点",14],["拐点",14]]}]</script>
+ <script id="guide-data" type="application/json">[{"id":"system-overview","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges.","en":{"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges."},"zh":{"title":"系统总览","question":"系统里有什么、归谁负责、彼此如何连接?","summary":"用一张有边界的图展示核心组件、外部依赖、主路径和信任边界。","useWhen":"适合新人上手、方案评审、仓库梳理和服务全景说明。","avoidWhen":"如果重点是精确调用顺序、状态流转或字段级血缘,请换其他配方。","include":["8–12 个核心组件","一条主路径","外部依赖","归属或信任边界"],"prompt":"分析这个仓库,然后用 Archify 生成高层系统架构图。展示 8–12 个核心运行时组件、一条主要请求或数据路径、外部依赖、归属或信任边界;支持性细节放进卡片,不要继续堆连线。"},"signals":[["system overview",12],["architecture",10],["components",6],["services",4],["repository",5],["trust boundary",8],["架构",10],["系统总览",12],["组件",6],["服务",4],["仓库",5],["信任边界",8]]},{"id":"deployment-ownership","type":"architecture","proof":"deployment-ownership","presentation":{"preset":"blueprint","motion":"trace","views":"recommended"},"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset.","en":{"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset."},"zh":{"title":"部署与归属","question":"每个工作负载运行在哪里,哪些连接跨越了边界?","summary":"围绕 Region、网络、集群、工作负载、存储和跨边界机制组织部署图。","useWhen":"适合云上评审、生产就绪、多区域规划和基础设施交接。","avoidWhen":"部署事实不清楚,或真正问题是应用行为而不是资源位置时不要使用。","include":["区域与网络","工作负载归属","有状态服务","明确的跨边界机制"],"prompt":"用 Archify 绘制生产部署拓扑。按区域、网络、集群和负责人分组,展示工作负载与有状态服务,并标注每一种跨边界机制。不要编造部署事实,不确定的区域要明确标出。如果用户需要失败即阻断的部署评审,先征得确认,再把 meta.engineering_profile 设为 deployment-ownership;否则不要启用工程画像。"},"signals":[["deployment topology",14],["region",7],["vpc",9],["cluster",6],["availability zone",8],["ownership",7],["cloud deployment",12],["部署拓扑",14],["区域",6],["集群",6],["可用区",8],["资源归属",9],["跨区",8]]},{"id":"agent-tool-call","type":"workflow","proof":"agent-tool-call","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly.","en":{"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly."},"zh":{"title":"智能体工具调用","question":"智能体如何规划、获批、执行、恢复并汇报?","summary":"用泳道表达策略门、工具执行、异常恢复、证据和最终回复。","useWhen":"适合解释 Agent Runtime、MCP/工具编排、审批、重试和可观测性。","avoidWhen":"如果只想看静态组件,或重点是精确 API 消息时序,请换其他配方。","include":["请求与规划","策略或审批门","工具执行","异常与证据路径"],"prompt":"用 Archify 工作流模式解释这段智能体工具调用。把用户界面、Agent Runtime、策略边界、异常处理、工具执行和可观测性分成泳道;突出成功主路径,并明确展示审批、重试、阻塞和证据路径。"},"signals":[["agent tool call",16],["tool call",12],["approval gate",10],["human in the loop",9],["mcp",7],["planner",6],["agent loop",10],["智能体工具调用",16],["工具调用",12],["审批门",10],["人在回路",9],["规划器",6],["智能体循环",10]]},{"id":"delivery-workflow","type":"workflow","proof":"delivery-workflow","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path.","en":{"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path."},"zh":{"title":"研发交付流程","question":"一次变更如何安全地从提交走到生产?","summary":"展示构建、检查、环境、审批、冒烟、回滚和负责人泳道。","useWhen":"适合 CI/CD 设计、发布评审、部署治理和研发新人上手。","avoidWhen":"如果重点是基础设施位置或部署对象的状态集合,请换架构图或生命周期图。","include":["触发与构建","阻断检查","审批与环境","回滚与验证"],"prompt":"用 Archify 工作流模式绘制从代码提交到生产发布的流程。拆分开发者、CI、审批、环境和异常泳道;标出阻断检查、冒烟测试、负责人和回滚路径,并保留一条一眼可见的成功主路径。"},"signals":[["ci/cd",14],["release workflow",14],["deployment pipeline",11],["pull request",7],["staging",7],["rollback",8],["发布流程",14],["流水线",9],["上线",7],["预发",7],["回滚",8],["审批发布",10]]},{"id":"incident-runbook","type":"workflow","proof":"incident-runbook","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible.","en":{"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible."},"zh":{"title":"事故处置 Runbook","question":"响应者如何发现、分诊、缓解、验证并升级?","summary":"把信号、响应者、缓解动作、沟通和恢复证据拆成可执行流程。","useWhen":"适合故障预案、On-call 交接、稳定性评审和桌面演练。","avoidWhen":"如果受众需要实时指标仪表盘或事故后的组件拓扑,而不是响应动作,请换其他视图。","include":["发现信号","分诊负责人","缓解与回滚","恢复验证与沟通"],"prompt":"用 Archify 工作流模式把事故处置预案画成响应者泳道。展示发现、分诊、缓解、升级、沟通、回滚和恢复验证;把决策门与操作分开,并让缺失的负责人清晰可见。"},"signals":[["incident response",15],["runbook",12],["outage",9],["triage",8],["mitigation",8],["escalation",7],["事故处置",15],["故障",9],["应急预案",12],["排障",9],["缓解",7],["升级响应",8]]},{"id":"api-request","type":"sequence","proof":"cache-miss","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous.","en":{"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous."},"zh":{"title":"API 请求链","question":"谁调用谁、顺序如何、最终返回什么?","summary":"按时间展示鉴权、缓存回退、持久化、返回流量和异步追踪。","useWhen":"适合 API 文档、请求耗时排查、鉴权评审和缓存回退说明。","avoidWhen":"如果顺序不重要,受众只需要稳定的服务拓扑,请用架构图。","include":["调用方与被调用方","请求与返回消息","回退或错误路径","异步副作用"],"prompt":"用 Archify 时序模式展示从调用方到最终响应的完整请求。包含鉴权、缓存命中或未命中、持久化回退、返回消息,以及异步 Trace 或事件上报;消息标签保持简短,顺序必须明确。"},"signals":[["api request",14],["request response",12],["call chain",11],["cache miss",13],["jwt",8],["who calls whom",12],["api 请求",14],["请求响应",12],["调用链",11],["缓存未命中",13],["谁调用谁",12],["鉴权链路",9]]},{"id":"async-roundtrip","type":"sequence","proof":"async-roundtrip","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency.","en":{"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency."},"zh":{"title":"异步往返链路","question":"初始请求返回之后,后台还会发生什么?","summary":"按时间展示入队、确认、后台处理、回调、重试、超时和最终一致。","useWhen":"适合 Webhook、后台任务、队列、支付回调、最终一致和异步 API 契约。","avoidWhen":"如果重点是 Topic 拓扑和消费者归属,而不是时间顺序,请用事件数据流配方。","include":["初始确认","队列或调度器","后台处理","回调、重试与超时"],"prompt":"用 Archify 时序模式解释这段异步往返链路。展示初始确认、入队或调度、后台处理、回调或轮询、重试与超时,以及调用方何时能观察到最终一致结果。"},"signals":[["async roundtrip",14],["webhook",10],["callback",10],["acknowledgement",8],["timeout",7],["retry message",8],["异步回调",14],["回调",10],["确认消息",8],["超时",7],["消息重试",9],["webhook",10]]},{"id":"data-lineage","type":"dataflow","proof":"product-analytics","presentation":{"preset":"classic","motion":"trace","views":"recommended"},"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows.","en":{"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows."},"zh":{"title":"数据血缘","question":"数据从哪里来、如何变化、最终被谁消费?","summary":"从来源经过同意、转换、敏感存储、数仓直到消费者的治理路径。","useWhen":"适合分析架构、ETL/ELT 评审、PII 评估、数仓设计和特征血缘。","avoidWhen":"如果受众需要请求时序或操作负责人,而不是数据资产,请换其他配方。","include":["数据来源与资产","转换阶段","分类或同意边界","存储与消费者"],"prompt":"用 Archify 数据流模式梳理这段数据血缘。为每个数据资产和转换命名,展示用户同意或数据分类边界,区分流式与批处理路径,并标明存储和下游消费者;所有数据流都必须有标签。"},"signals":[["data lineage",15],["etl",12],["warehouse",9],["pii",11],["governance",9],["analytics pipeline",12],["数据血缘",15],["数据管道",11],["数仓",9],["治理",9],["隐私数据",10],["用户同意",9]]},{"id":"event-stream","type":"dataflow","proof":"event-stream","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence.","en":{"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence."},"zh":{"title":"事件流拓扑","question":"哪些事件经过哪些 Topic、处理器、消费者组和失败路径?","summary":"展示生产者、Topic、有序处理器、消费者组、状态、重放和 DLQ。","useWhen":"适合 Kafka/事件平台设计、流处理评审、归属、重放和失败处理。","avoidWhen":"如果 Topic、消费者组和投递语义都不清楚,请先用通用工作流,不要编造事件拓扑。","include":["生产者与事件名","Topic 与顺序","处理器与消费者组","状态、重放与 DLQ"],"prompt":"用 Archify 数据流模式绘制这段事件流拓扑。命名生产者、事件、Topic、有序处理器、消费者组、状态存储、重放路径和 DLQ;只有在证据充分时才标注归属和投递语义。"},"signals":[["event stream",15],["kafka topology",14],["topic",8],["consumer group",11],["dead letter",10],["dlq",10],["事件流",15],["kafka 拓扑",14],["主题",7],["消费者组",11],["死信",10],["事件地铁图",12]]},{"id":"object-lifecycle","type":"lifecycle","proof":"agent-run","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending.","en":{"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending."},"zh":{"title":"对象生命周期","question":"有哪些状态、什么事件触发流转、最终如何结束?","summary":"展示执行、等待、重试、取消、失败以及明确终态的状态模型。","useWhen":"适合任务、订单、工单、订阅、作业、Agent Run 等带持久状态的对象。","avoidWhen":"对象没有持久状态,真正问题是参与者随时间的交互时,请使用时序图。","include":["开始与执行态","带事件的转换","等待与重试态","所有终态"],"prompt":"用 Archify 生命周期模式建模这个对象。分开主进度、等待或中断状态和终态;用事件标注转换,并在真实存在时展示重试、取消、超时、成功和失败,不能隐藏任何结束方式。"},"signals":[["state machine",15],["object lifecycle",14],["status transition",11],["terminal state",9],["retry state",8],["状态机",15],["生命周期",13],["状态流转",11],["终态",9],["等待态",8],["重试状态",8]]},{"id":"deployment-lifecycle","type":"lifecycle","proof":"deployment-lifecycle","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition.","en":{"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition."},"zh":{"title":"部署生命周期","question":"一次发布当前处于什么状态,下一步可能发生什么?","summary":"覆盖排队、构建、验证、审批、晋级、回滚和终态的部署状态模型。","useWhen":"适合发布控制器、GitOps 对账、环境晋级和部署状态 API。","avoidWhen":"如果重点是人员与 CI 的交付动作顺序,而不是部署对象状态,请用交付工作流。","include":["排队与执行态","验证与审批","晋级与回滚","成功、失败与取消"],"prompt":"用 Archify 生命周期模式建模部署对象。展示排队、构建、验证、等待审批、晋级、回滚以及所有终态,并标注允许每次状态转换的事件和守卫条件。"},"signals":[["deployment lifecycle",15],["release state",10],["promotion state",9],["approval status",8],["rollback state",10],["部署生命周期",15],["发布状态",10],["晋级",7],["审批状态",8],["回滚状态",10]]},{"id":"layout-repair","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"title":"Layout repair","question":"Why does the existing diagram overflow, overlap, or route through nodes, and what should be fixed first?","summary":"Repair an existing diagram in its current mode using validation diagnostics, explicit waypoint semantics, and a measured desktop viewport budget.","useWhen":"An existing architecture, workflow, sequence, dataflow, or lifecycle diagram needs layout repair; keep its diagram type and presentation settings.","avoidWhen":"The task is choosing a new diagram type. Do not change topology, delete meaningful labels, or hide overflow just to pass checks.","include":["repair order: schema → overlap → direction → crossings → labels","via contract: absolute [x, y] intermediate points; route = [start, ...via, end]","desktop viewport budget for the complete page, including header and necessary cards","validate after each edit, then inspect the final HTML in a browser"],"prompt":"Use Archify to repair this existing diagram while preserving its diagram type, topology, meaningful labels, and presentation settings. Follow references/authoring-contract.md in this order: (1) schema and missing/invalid meta.quality_profile; (2) node overlap or out-of-range placement; (3) edge-through-node and endpoint-direction errors; (4) crossings, ambiguous corridors, border runs, excessive detours, and route rhythm; (5) labels: label-to-node, label-to-label, then label-to-route clearance. Run validate after every edit and use diagnostics[] code, subject, evidence, and supportedFixes; apply one diagnosed geometry control at a time. Where the current schema supports via, it is an ordered array of absolute SVG [x, y] intermediate points: the route is [start, ...via, end], with start/end supplied by the node anchors. Explicit via points override automatic routing; they are not offsets or a request for automatic obstacle avoidance. For an orthogonal repair, align adjacent points on the same x or y and make the first/final segment respect fromSide/toSide; use only controls supported by the current diagram mode. Follow references/delivery-contract.md for the viewport budget: check 1440×900, 1600×1000, 1920×1080, and 2048×1320; require document.documentElement.scrollWidth \u003c= window.innerWidth. Prefer document.documentElement.scrollHeight \u003c= window.innerHeight, but preserve a Reader-declared readable vertical page scroll when browser-check explicitly accepts it after reaching the projected-text floor. Budget the entire page, including header, diagram, and necessary cards. Repair every other overflow by removing only redundant content or compacting spacing first; do not hide overflow, clip content, introduce an internal diagram scroller, stretch the SVG, or shrink typography to force a pass. Let finalize run the required browser evidence; run perceptual visual review only when requested or escalated by the delivery contract.","en":{"title":"Layout repair","question":"Why does the existing diagram overflow, overlap, or route through nodes, and what should be fixed first?","summary":"Repair an existing diagram in its current mode using validation diagnostics, explicit waypoint semantics, and a measured desktop viewport budget.","useWhen":"An existing architecture, workflow, sequence, dataflow, or lifecycle diagram needs layout repair; keep its diagram type and presentation settings.","avoidWhen":"The task is choosing a new diagram type. Do not change topology, delete meaningful labels, or hide overflow just to pass checks.","include":["repair order: schema → overlap → direction → crossings → labels","via contract: absolute [x, y] intermediate points; route = [start, ...via, end]","desktop viewport budget for the complete page, including header and necessary cards","validate after each edit, then inspect the final HTML in a browser"],"prompt":"Use Archify to repair this existing diagram while preserving its diagram type, topology, meaningful labels, and presentation settings. Follow references/authoring-contract.md in this order: (1) schema and missing/invalid meta.quality_profile; (2) node overlap or out-of-range placement; (3) edge-through-node and endpoint-direction errors; (4) crossings, ambiguous corridors, border runs, excessive detours, and route rhythm; (5) labels: label-to-node, label-to-label, then label-to-route clearance. Run validate after every edit and use diagnostics[] code, subject, evidence, and supportedFixes; apply one diagnosed geometry control at a time. Where the current schema supports via, it is an ordered array of absolute SVG [x, y] intermediate points: the route is [start, ...via, end], with start/end supplied by the node anchors. Explicit via points override automatic routing; they are not offsets or a request for automatic obstacle avoidance. For an orthogonal repair, align adjacent points on the same x or y and make the first/final segment respect fromSide/toSide; use only controls supported by the current diagram mode. Follow references/delivery-contract.md for the viewport budget: check 1440×900, 1600×1000, 1920×1080, and 2048×1320; require document.documentElement.scrollWidth \u003c= window.innerWidth. Prefer document.documentElement.scrollHeight \u003c= window.innerHeight, but preserve a Reader-declared readable vertical page scroll when browser-check explicitly accepts it after reaching the projected-text floor. Budget the entire page, including header, diagram, and necessary cards. Repair every other overflow by removing only redundant content or compacting spacing first; do not hide overflow, clip content, introduce an internal diagram scroller, stretch the SVG, or shrink typography to force a pass. Let finalize run the required browser evidence; run perceptual visual review only when requested or escalated by the delivery contract."},"zh":{"title":"布局修复","question":"现有图为什么仍然溢出、重叠或连线穿过节点,应该先修什么?","summary":"保留现有图表模式,依据验证诊断、途经点语义和实测桌面视口预算修复布局。","useWhen":"已有架构图、工作流、时序图、数据流或生命周期图需要修复布局;保留原来的图表类型和表现设置。","avoidWhen":"任务是为新图选择类型时不要使用。不要为了通过检查改变拓扑、删除有意义的标签或隐藏溢出。","include":["修复顺序:schema → 重叠 → 方向 → 交叉 → 标签","via 契约:绝对 [x, y] 中间点;路径 = [start, ...via, end]","包含标题和必要卡片的整页桌面视口预算","每次修改后 validate,最终在浏览器中检查 HTML"],"prompt":"用 Archify 修复这张现有图,保留图表类型、拓扑、有意义的标签和表现设置。遵循 references/authoring-contract.md 的顺序:(1) schema 错误及缺失或无效的 meta.quality_profile;(2) 节点重叠或越界;(3) 连线穿过节点及端点方向错误;(4) 交叉、含混的共享通道、贴边走线、过度绕行和转弯节奏;(5) 标签与节点、标签与标签、标签与连线的间距。每次修改后运行 validate,依据 diagnostics[] 的 code、subject、evidence 和 supportedFixes,每次只应用一项有诊断依据的几何控制。当前 schema 支持 via 时,它是按顺序排列的绝对 SVG [x, y] 中间点数组:路径为 [start, ...via, end],起终点由节点锚点提供。显式 via 会覆盖自动路由,不是偏移量,也不会请求自动绕障。修复正交走线时,相邻点应共享 x 或 y,首尾线段应遵守 fromSide/toSide;只使用当前模式支持的控制字段。视口预算遵循 references/delivery-contract.md:检查 1440×900、1600×1000、1920×1080 和 2048×1320,要求 document.documentElement.scrollWidth \u003c= window.innerWidth。优先满足 document.documentElement.scrollHeight \u003c= window.innerHeight;如果 browser-check 明确确认 Reader 已达到投影文字下限并接受可读的页面纵向滚动,则保留该滚动。预算覆盖整页,包括标题、主图和必要卡片。其他溢出先通过移除冗余内容或压缩间距修复,不得靠隐藏溢出、裁切、内部滚动区、拉伸 SVG 或缩小字体强行通过。让 finalize 执行必需的浏览器证据;只在用户要求或 delivery contract 规定的升级条件下进行感知视觉审阅。"},"signals":[["layout repair",20],["repair order",20],["fix order",20],["viewport overflow",20],["overflow",16],["scrollheight",16],["scrollwidth",16],["overlap",16],["label overlap",20],["edge through node",20],["crossing",8],["via",7],["waypoint",14],["布局修复",20],["修复顺序",20],["视口溢出",20],["溢出",16],["滚动高度",16],["滚动宽度",16],["重叠",16],["标签重叠",20],["连线穿过节点",20],["连线穿节点",20],["交叉",8],["途经点",14],["路径点",14],["拐点",14]]}]</script>
<script src="assets/site-language.js"></script>
<script>
(function () {
diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.html
index ee980760..9042f589 100644
--- a/examples/checkout-platform-delta.html
+++ b/examples/checkout-platform-delta.html
@@ -779,6 +779,9 @@
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -791,7 +794,12 @@
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3023,12 +3031,16 @@
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4068,7 +4080,8 @@
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4217,10 +4230,22 @@
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4231,7 +4256,9 @@
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4285,8 +4312,10 @@
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4302,9 +4331,11 @@
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4400,8 +4431,10 @@
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4464,7 +4497,9 @@
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4477,6 +4512,9 @@
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4604,9 +4642,16 @@
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4635,7 +4680,8 @@
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4668,6 +4714,10 @@
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4679,6 +4729,7 @@
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4687,6 +4738,7 @@
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4695,6 +4747,7 @@
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4707,6 +4760,11 @@
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4796,6 +4854,10 @@
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4814,7 +4876,8 @@
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -4868,6 +4931,7 @@ html[data-theme="dark"] body{background:#071019!important;background-image:none!
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
&lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.1&quot;&gt;
+ &lt;meta name=&quot;archify-reader-contract&quot; content=&quot;declared-wide-v1&quot;&gt;
&lt;title&gt;Checkout Platform — Baseline Diagram&lt;/title&gt;
&lt;script&gt;
// Resolve the theme before first paint so light-preference users don&#39;t
@@ -5806,6 +5870,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable=&quot;true&quot;]) svg[data-animation=&quot;trace&quot;] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable=&quot;true&quot;]) svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ }
html[data-motion=&quot;still&quot;] .pulse-dot,
html[data-motion=&quot;still&quot;] .diagram-container::before,
html[data-motion=&quot;still&quot;] svg[data-animation=&quot;trace&quot;] [data-animate],
@@ -5818,7 +5885,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback=&quot;true&quot;] .diagram-container::before,
html[data-document-hidden=&quot;true&quot;] .pulse-dot,
html[data-document-hidden=&quot;true&quot;] .diagram-container::before,
- html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-animate] {
+ html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-animate],
+ html[data-motion=&quot;still&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-motion-owner] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-embed=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-share-playback=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
animation: none !important;
}
html[data-motion=&quot;still&quot;] .diagram-container::before,
@@ -8050,12 +8122,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -9095,7 +9171,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role=&quot;automatic-crossover-underlay&quot;] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -9244,10 +9321,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed=&quot;true&quot;] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-legend-preview-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-lens-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-legend-preview-peer]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-lens-peer]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-focus-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -9258,7 +9347,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-reach-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-reach-active=&quot;upstream&quot;] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -9312,8 +9403,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-relationship-preview]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -9329,9 +9422,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship&#39;s original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-focus-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-relationship-preview]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -9427,8 +9522,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-intent-trace-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -9491,7 +9588,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -9504,6 +9603,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;past&quot;] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;future&quot;] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;current&quot;] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;past&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;future&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;current&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -9631,9 +9733,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;past&quot;] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;next&quot;] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;active&quot;] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;past&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;next&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;active&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state=&quot;past&quot;] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state=&quot;next&quot;] { opacity: 0.2; }
@@ -9662,7 +9771,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -9695,6 +9805,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion=&quot;running&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion=&quot;running&quot;] svg[data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
transform-box: fill-box;
transform-origin: center;
@@ -9706,6 +9820,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset=&quot;signal-flow&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 1.75s; }
svg[data-preset=&quot;signal-flow&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-duration: 3.1s;
}
@@ -9714,6 +9829,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset=&quot;blueprint&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 2.15s; }
svg[data-preset=&quot;blueprint&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -9722,6 +9838,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset=&quot;editorial&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 2.2s; }
svg[data-preset=&quot;editorial&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -9734,6 +9851,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-share-playback=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -9823,6 +9945,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -9841,7 +9967,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role=&quot;automatic-crossover-underlay&quot;] { transition: none !important; }
svg[data-story-playing=&quot;true&quot;] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -10031,7 +10158,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;!-- Main Diagram --&gt;
&lt;div class=&quot;diagram-container&quot; data-detail-level=&quot;read&quot;
data-preset-badge-editorial-plate=&quot;ARCHIFY / PLATE 04&quot;&gt;
- &lt;svg viewBox=&quot;0 0 1020 548&quot; role=&quot;img&quot; lang=&quot;en&quot; aria-labelledby=&quot;archify-diagram-title archify-diagram-description&quot; data-preset=&quot;signal-flow&quot; data-quality-profile=&quot;showcase&quot; data-reader-fit=&quot;intrinsic-height&quot;&gt;
+ &lt;svg viewBox=&quot;0 0 1020 548&quot; role=&quot;img&quot; lang=&quot;en&quot; aria-labelledby=&quot;archify-diagram-title archify-diagram-description&quot; data-preset=&quot;signal-flow&quot; data-quality-profile=&quot;showcase&quot; data-reader-fit=&quot;intrinsic-height&quot; data-reader-min-text=&quot;7.5&quot;&gt;
&lt;title id=&quot;archify-diagram-title&quot;&gt;Checkout Platform — Baseline&lt;/title&gt;
&lt;desc id=&quot;archify-diagram-description&quot;&gt;An architecture diagram generated by Archify.&lt;/desc&gt;
&lt;!-- Definitions --&gt;
@@ -10062,13 +10189,34 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;rect data-graph-role=&quot;structural-frame&quot; data-composition-frame-kind=&quot;security-group&quot; data-composition-frame-id=&quot;1&quot; data-composition-frame-label=&quot;Checkout trust zone&quot; x=&quot;400&quot; y=&quot;220&quot; width=&quot;400&quot; height=&quot;110&quot; rx=&quot;8&quot; class=&quot;c-security-group&quot; stroke-width=&quot;1&quot;/&gt;
&lt;!-- Connection paths (before components for correct z-order) --&gt;
- &lt;path data-edge-from=&quot;orders&quot; data-edge-to=&quot;payments&quot; data-edge-label=&quot;authorize&quot; data-edge-key=&quot;0&quot; data-edge-id=&quot;authorize-payment&quot; data-composition-points=&quot;770,280;850,280&quot; d=&quot;M 770 280 L 850 280&quot; class=&quot;a-security&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-security)&quot;/&gt;
- &lt;path data-edge-from=&quot;buyers&quot; data-edge-to=&quot;edge&quot; data-edge-label=&quot;HTTPS&quot; data-edge-key=&quot;1&quot; data-edge-id=&quot;buyer-request&quot; data-composition-points=&quot;160,280;220,280&quot; d=&quot;M 160 280 L 220 280&quot; class=&quot;a-emphasis&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#arrowhead-emphasis)&quot;/&gt;
- &lt;path data-edge-from=&quot;queue&quot; data-edge-to=&quot;worker&quot; data-edge-key=&quot;2&quot; data-edge-id=&quot;consume-order&quot; data-composition-points=&quot;560,430;640,430&quot; d=&quot;M 560 430 L 640 430&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;edge&quot; data-edge-to=&quot;checkout&quot; data-edge-key=&quot;3&quot; data-edge-id=&quot;edge-checkout&quot; data-composition-points=&quot;350,280;430,280&quot; d=&quot;M 350 280 L 430 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;orders&quot; data-edge-label=&quot;SQL&quot; data-edge-key=&quot;4&quot; data-edge-id=&quot;persist-order&quot; data-composition-points=&quot;560,280;640,280&quot; d=&quot;M 560 280 L 640 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;queue&quot; data-edge-label=&quot;accepted&quot; data-edge-key=&quot;5&quot; data-edge-id=&quot;publish-order&quot; data-composition-points=&quot;495,310;495,400&quot; d=&quot;M 495 310 L 495 400&quot; class=&quot;a-dashed&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-dashed)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;cache&quot; data-edge-label=&quot;session&quot; data-edge-key=&quot;6&quot; data-edge-id=&quot;session-read&quot; data-composition-points=&quot;495,250;495,160&quot; d=&quot;M 495 250 L 495 160&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:0&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 770 280 L 850 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;orders&quot; data-edge-to=&quot;payments&quot; data-edge-label=&quot;authorize&quot; data-edge-key=&quot;0&quot; data-edge-id=&quot;authorize-payment&quot; data-composition-points=&quot;770,280;850,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 770 280 L 850 280&quot; class=&quot;a-security&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-security)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:1&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 160 280 L 220 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.8&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;buyers&quot; data-edge-to=&quot;edge&quot; data-edge-label=&quot;HTTPS&quot; data-edge-key=&quot;1&quot; data-edge-id=&quot;buyer-request&quot; data-composition-points=&quot;160,280;220,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 160 280 L 220 280&quot; class=&quot;a-emphasis&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#arrowhead-emphasis)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:2&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 560 430 L 640 430&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;queue&quot; data-edge-to=&quot;worker&quot; data-edge-key=&quot;2&quot; data-edge-id=&quot;consume-order&quot; data-composition-points=&quot;560,430;640,430&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 560 430 L 640 430&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:3&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 350 280 L 430 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;edge&quot; data-edge-to=&quot;checkout&quot; data-edge-key=&quot;3&quot; data-edge-id=&quot;edge-checkout&quot; data-composition-points=&quot;350,280;430,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 350 280 L 430 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:4&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 560 280 L 640 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;orders&quot; data-edge-label=&quot;SQL&quot; data-edge-key=&quot;4&quot; data-edge-id=&quot;persist-order&quot; data-composition-points=&quot;560,280;640,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 560 280 L 640 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:5&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 495 310 L 495 400&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;queue&quot; data-edge-label=&quot;accepted&quot; data-edge-key=&quot;5&quot; data-edge-id=&quot;publish-order&quot; data-composition-points=&quot;495,310;495,400&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 495 310 L 495 400&quot; class=&quot;a-dashed&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-dashed)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:6&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 495 250 L 495 160&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;cache&quot; data-edge-label=&quot;session&quot; data-edge-key=&quot;6&quot; data-edge-id=&quot;session-read&quot; data-composition-points=&quot;495,250;495,160&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 495 250 L 495 160&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
&lt;!-- Components --&gt;
&lt;g id=&quot;node-buyers&quot; data-node-id=&quot;buyers&quot; data-node-label=&quot;Buyers&quot; tabindex=&quot;0&quot; role=&quot;button&quot; aria-label=&quot;Focus Buyers, Web + mobile, Architecture component&quot; aria-pressed=&quot;false&quot; data-node-kind=&quot;external&quot; data-node-sublabel=&quot;Web + mobile&quot; data-node-context=&quot;Architecture component&quot;&gt;
@@ -11201,15 +11349,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += &quot;\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n&quot; +
- &quot;svg[data-share-route] [data-share-route-match] { opacity: 1; }\n&quot; +
+ style.textContent += &quot;\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 0.18; }\n&quot; +
+ &quot;svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\&quot;automatic-crossover\&quot;]:has(&gt; [data-share-route-match]) &gt; [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 1; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-start] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-middle] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-end] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n&quot;;
}
if (opts.reachSnapshot) {
- style.textContent += &quot;\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n&quot; +
- &quot;svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n&quot; +
+ style.textContent += &quot;\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 0.14; }\n&quot; +
+ &quot;svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\&quot;automatic-crossover\&quot;]:has(&gt; [data-share-reach-match]) &gt; [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 1; }\n&quot; +
&quot;svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n&quot; +
&quot;svg[data-share-reach=\&quot;upstream\&quot;] [data-share-reach-origin] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n&quot; +
&quot;svg[data-share-reach=\&quot;downstream\&quot;] [data-share-reach-origin] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n&quot; +
@@ -12113,6 +12261,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -16010,6 +16159,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -16070,6 +16221,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute(&#39;data-reader-min-text&#39;) || &#39;&#39;) : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram &amp;&amp; ratio &gt;= WIDE_RATIO) {
@@ -16091,9 +16246,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
&#39;text[data-node-label], text[data-boundary-label], text[data-detail=&quot;context&quot;]&#39;
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)) {
+ selectors.push(&#39;g[data-detail=&quot;context&quot;][data-edge-from][data-edge-to] &gt; text&#39;);
+ }
+ Array.from(svg.querySelectorAll(selectors.join(&#39;, &#39;))).forEach(function (text) {
if (text.getAttribute(&#39;data-detail&#39;) === &#39;context&#39; &amp;&amp; !text.closest(&#39;[data-node-id]&#39;)) return;
var sourceFontPx = parseFloat(text.getAttribute(&#39;font-size&#39;) || &#39;&#39;);
if (Number.isFinite(sourceFontPx)) {
@@ -16101,7 +16260,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -16169,11 +16328,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox &amp;&amp; viewBox.width &gt; 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -16209,14 +16377,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join(&#39;|&#39;);
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: &#39;Adaptive reader layout did not reach stable dimensions.&#39;
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener(&#39;resize&#39;, schedule, { passive: true });
window.addEventListener(&#39;load&#39;, schedule, { once: true });
@@ -16511,14 +16681,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : &#39;&#39;
].join(&#39;|&#39;);
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: &#39;Viewer chrome layout did not reach stable dimensions.&#39;
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener(&#39;resize&#39;, reprobe, { passive: true });
window.addEventListener(&#39;load&#39;, schedule, { once: true });
@@ -16554,6 +16726,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error(&#39;Joint layout owners are unavailable.&#39;));
+ }
+ var observedFontsReady = document.fonts &amp;&amp; document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts &amp;&amp; fonts.ready;
+ if (ready &amp;&amp; (ready !== observedFontsReady || (fonts.status === &#39;loading&#39; &amp;&amp; !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts &amp;&amp; fonts.status === &#39;loading&#39;);
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ [&#39;reader&#39;, reader.snapshot()],
+ [&#39;viewerChrome&#39;, chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: &#39;Joint reader and viewer chrome layout did not reach stable dimensions.&#39;
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector(&#39;.diagram-container&#39;);
var svg = container.querySelector(&#39;svg&#39;);
@@ -20038,7 +20253,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
-"></iframe></section><section class="canvas" data-view="delta"><svg viewBox="0 0 1044 592" role="img" lang="en" aria-labelledby="delta-head-archify-diagram-title delta-head-archify-diagram-description" data-preset="signal-flow" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+"></iframe></section><section class="canvas" data-view="delta"><svg viewBox="0 0 1044 592" role="img" lang="en" aria-labelledby="delta-head-archify-diagram-title delta-head-archify-diagram-description" data-preset="signal-flow" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="delta-head-archify-diagram-title">Checkout Platform — Fraud Gate</title>
<desc id="delta-head-archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -20089,18 +20304,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="Checkout trust zone" x="400" y="70" width="400" height="260" rx="8" class="c-security-group" stroke-width="1" data-delta-state="changed" data-delta-classifications="scope" data-delta-boundary-key="security-group:Checkout trust zone"/>
<!-- Baseline relationship phantoms -->
-<path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-security)" data-delta-state="removed" data-delta-classifications="geometry,topology"/>
+<path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" data-composition-crossover="halo" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-security)" data-delta-state="removed" data-delta-classifications="geometry,topology"/>
<g data-detail="context" data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-delta-state="removed" data-delta-classifications="geometry,topology">
<rect x="783.4" y="260" width="53.199999999999996" height="14" rx="3" class="c-mask"/>
<text x="810" y="270" class="t-edge-security" font-size="8" text-anchor="middle">authorize</text>
</g>
-<path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-dashed)" data-delta-state="moved-from" data-delta-classifications="geometry"/>
+<path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" data-composition-crossover="halo" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-dashed)" data-delta-state="moved-from" data-delta-classifications="geometry"/>
<g data-detail="context" data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-delta-state="moved-from" data-delta-classifications="geometry">
<rect x="470.8" y="356" width="48.4" height="14" rx="3" class="c-mask"/>
<text x="495" y="366" class="t-edge-dashed" font-size="8" text-anchor="middle">accepted</text>
</g>
-<path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#delta-base-arrowhead)" data-delta-state="removed" data-delta-classifications="topology"/>
+<path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" data-composition-crossover="halo" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#delta-base-arrowhead)" data-delta-state="removed" data-delta-classifications="topology"/>
<g data-detail="context" data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-delta-state="removed" data-delta-classifications="topology">
<rect x="473.2" y="164" width="43.6" height="14" rx="3" class="c-mask"/>
<text x="495" y="174" class="t-edge-default" font-size="8" text-anchor="middle">session</text>
@@ -20108,12 +20323,30 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Connection paths (before components for correct z-order) -->
<path data-edge-from="fraud" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,130;820,130;915,130;915,250" d="M 770 130 L 812 130 Q 820 130 828 130 L 907 130 Q 915 130 915 138 L 915 250" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="changed" data-delta-classifications="geometry,topology"/>
- <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#delta-head-arrowhead-emphasis)" data-delta-state="same"/>
- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>
- <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>
- <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="added" data-delta-classifications="topology"/>
- <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="changed" data-delta-classifications="semantic"/>
- <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-dashed)" data-delta-state="rerouted" data-delta-classifications="geometry"/>
+ <g data-graph-role="automatic-crossover" style="--step:1">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 280 L 220 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#delta-head-arrowhead-emphasis)" data-delta-state="same"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" data-composition-crossover="halo" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 350 280 L 430 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" data-composition-crossover="halo" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="added" data-delta-classifications="topology"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 560 280 L 640 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="changed" data-delta-classifications="semantic"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 495 310 L 495 420" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" data-composition-crossover="halo" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-dashed)" data-delta-state="rerouted" data-delta-classifications="geometry"/>
+ </g>
<!-- Baseline boundary label phantoms (below current components) -->
<g data-graph-role="structural-frame-label" data-composition-frame-id="0" data-composition-frame-kind="region" data-composition-frame-label="Production region">
@@ -20340,6 +20573,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
&lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.1&quot;&gt;
+ &lt;meta name=&quot;archify-reader-contract&quot; content=&quot;declared-wide-v1&quot;&gt;
&lt;title&gt;Checkout Platform — Fraud Gate Diagram&lt;/title&gt;
&lt;script&gt;
// Resolve the theme before first paint so light-preference users don&#39;t
@@ -21278,6 +21512,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable=&quot;true&quot;]) svg[data-animation=&quot;trace&quot;] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable=&quot;true&quot;]) svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ }
html[data-motion=&quot;still&quot;] .pulse-dot,
html[data-motion=&quot;still&quot;] .diagram-container::before,
html[data-motion=&quot;still&quot;] svg[data-animation=&quot;trace&quot;] [data-animate],
@@ -21290,7 +21527,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback=&quot;true&quot;] .diagram-container::before,
html[data-document-hidden=&quot;true&quot;] .pulse-dot,
html[data-document-hidden=&quot;true&quot;] .diagram-container::before,
- html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-animate] {
+ html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-animate],
+ html[data-motion=&quot;still&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-motion-owner] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-embed=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-share-playback=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-document-hidden=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
animation: none !important;
}
html[data-motion=&quot;still&quot;] .diagram-container::before,
@@ -23522,12 +23764,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role=&quot;automatic-crossover-underlay&quot;],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -24567,7 +24813,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role=&quot;automatic-crossover-underlay&quot;] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -24716,10 +24963,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed=&quot;true&quot;] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-legend-preview-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-lens-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-legend-preview-peer]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ svg[data-lens-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-lens-peer]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-focus-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -24730,7 +24989,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-reach-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-reach-active=&quot;upstream&quot;] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -24784,8 +25045,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-relationship-preview]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -24801,9 +25064,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship&#39;s original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-focus-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-relationship-preview]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -24899,8 +25164,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-intent-trace-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -24963,7 +25230,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role=&quot;automatic-crossover&quot;] &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -24976,6 +25245,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;past&quot;] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;future&quot;] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state=&quot;current&quot;] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;past&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;future&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-route-match][data-route-journey-state=&quot;current&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -25103,9 +25375,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;past&quot;] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;next&quot;] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;active&quot;] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;past&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;next&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-edge-from][data-story-beat-step][data-story-beat-state=&quot;active&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state=&quot;past&quot;] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state=&quot;next&quot;] { opacity: 0.2; }
@@ -25134,7 +25413,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -25167,6 +25447,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion=&quot;running&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion=&quot;running&quot;] svg[data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
transform-box: fill-box;
transform-origin: center;
@@ -25178,6 +25462,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset=&quot;signal-flow&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 1.75s; }
svg[data-preset=&quot;signal-flow&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-duration: 3.1s;
}
@@ -25186,6 +25471,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset=&quot;blueprint&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 2.15s; }
svg[data-preset=&quot;blueprint&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -25194,6 +25480,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset=&quot;editorial&quot;][data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] { animation-duration: 2.2s; }
svg[data-preset=&quot;editorial&quot;][data-animation=&quot;trace&quot;] [data-animate=&quot;node&quot;] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -25206,6 +25493,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;],
+ html[data-share-playback=&quot;true&quot;] svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -25295,6 +25587,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation=&quot;trace&quot;] [data-graph-role=&quot;automatic-crossover&quot;]:has(&gt; [data-animate=&quot;edge&quot;]) &gt; [data-graph-role=&quot;automatic-crossover-underlay&quot;] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -25313,7 +25609,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role=&quot;automatic-crossover-underlay&quot;] { transition: none !important; }
svg[data-story-playing=&quot;true&quot;] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -25503,7 +25800,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;!-- Main Diagram --&gt;
&lt;div class=&quot;diagram-container&quot; data-detail-level=&quot;read&quot;
data-preset-badge-editorial-plate=&quot;ARCHIFY / PLATE 04&quot;&gt;
- &lt;svg viewBox=&quot;0 0 1020 568&quot; role=&quot;img&quot; lang=&quot;en&quot; aria-labelledby=&quot;archify-diagram-title archify-diagram-description&quot; data-preset=&quot;signal-flow&quot; data-quality-profile=&quot;showcase&quot; data-reader-fit=&quot;intrinsic-height&quot;&gt;
+ &lt;svg viewBox=&quot;0 0 1020 568&quot; role=&quot;img&quot; lang=&quot;en&quot; aria-labelledby=&quot;archify-diagram-title archify-diagram-description&quot; data-preset=&quot;signal-flow&quot; data-quality-profile=&quot;showcase&quot; data-reader-fit=&quot;intrinsic-height&quot; data-reader-min-text=&quot;7.5&quot;&gt;
&lt;title id=&quot;archify-diagram-title&quot;&gt;Checkout Platform — Fraud Gate&lt;/title&gt;
&lt;desc id=&quot;archify-diagram-description&quot;&gt;An architecture diagram generated by Archify.&lt;/desc&gt;
&lt;!-- Definitions --&gt;
@@ -25535,12 +25832,30 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
&lt;!-- Connection paths (before components for correct z-order) --&gt;
&lt;path data-edge-from=&quot;fraud&quot; data-edge-to=&quot;payments&quot; data-edge-label=&quot;authorize&quot; data-edge-key=&quot;0&quot; data-edge-id=&quot;authorize-payment&quot; data-composition-points=&quot;770,130;820,130;915,130;915,250&quot; d=&quot;M 770 130 L 812 130 Q 820 130 828 130 L 907 130 Q 915 130 915 138 L 915 250&quot; class=&quot;a-security&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-security)&quot;/&gt;
- &lt;path data-edge-from=&quot;buyers&quot; data-edge-to=&quot;edge&quot; data-edge-label=&quot;HTTPS&quot; data-edge-key=&quot;1&quot; data-edge-id=&quot;buyer-request&quot; data-composition-points=&quot;160,280;220,280&quot; d=&quot;M 160 280 L 220 280&quot; class=&quot;a-emphasis&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#arrowhead-emphasis)&quot;/&gt;
- &lt;path data-edge-from=&quot;queue&quot; data-edge-to=&quot;worker&quot; data-edge-key=&quot;2&quot; data-edge-id=&quot;consume-order&quot; data-composition-points=&quot;560,450;600,450;600,430;640,430&quot; d=&quot;M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;edge&quot; data-edge-to=&quot;checkout&quot; data-edge-key=&quot;3&quot; data-edge-id=&quot;edge-checkout&quot; data-composition-points=&quot;350,280;430,280&quot; d=&quot;M 350 280 L 430 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;fraud&quot; data-edge-label=&quot;screen&quot; data-edge-key=&quot;4&quot; data-edge-id=&quot;fraud-check&quot; data-composition-points=&quot;495,250;495,205;705,205;705,160&quot; d=&quot;M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160&quot; class=&quot;a-security&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-security)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;orders&quot; data-edge-label=&quot;SQL tx&quot; data-edge-key=&quot;5&quot; data-edge-id=&quot;persist-order&quot; data-composition-points=&quot;560,280;640,280&quot; d=&quot;M 560 280 L 640 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
- &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;queue&quot; data-edge-label=&quot;accepted&quot; data-edge-key=&quot;6&quot; data-edge-id=&quot;publish-order&quot; data-composition-points=&quot;495,310;495,420&quot; d=&quot;M 495 310 L 495 420&quot; class=&quot;a-dashed&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-dashed)&quot;/&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:1&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 160 280 L 220 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.8&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;buyers&quot; data-edge-to=&quot;edge&quot; data-edge-label=&quot;HTTPS&quot; data-edge-key=&quot;1&quot; data-edge-id=&quot;buyer-request&quot; data-composition-points=&quot;160,280;220,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 160 280 L 220 280&quot; class=&quot;a-emphasis&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#arrowhead-emphasis)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:2&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;queue&quot; data-edge-to=&quot;worker&quot; data-edge-key=&quot;2&quot; data-edge-id=&quot;consume-order&quot; data-composition-points=&quot;560,450;600,450;600,430;640,430&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:3&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 350 280 L 430 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;edge&quot; data-edge-to=&quot;checkout&quot; data-edge-key=&quot;3&quot; data-edge-id=&quot;edge-checkout&quot; data-composition-points=&quot;350,280;430,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 350 280 L 430 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:4&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;fraud&quot; data-edge-label=&quot;screen&quot; data-edge-key=&quot;4&quot; data-edge-id=&quot;fraud-check&quot; data-composition-points=&quot;495,250;495,205;705,205;705,160&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160&quot; class=&quot;a-security&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-security)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:5&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 560 280 L 640 280&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;orders&quot; data-edge-label=&quot;SQL tx&quot; data-edge-key=&quot;5&quot; data-edge-id=&quot;persist-order&quot; data-composition-points=&quot;560,280;640,280&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 560 280 L 640 280&quot; class=&quot;a-default&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead)&quot;/&gt;
+ &lt;/g&gt;
+ &lt;g data-graph-role=&quot;automatic-crossover&quot; style=&quot;--step:6&quot;&gt;
+ &lt;path data-graph-role=&quot;automatic-crossover-underlay&quot; d=&quot;M 495 310 L 495 420&quot; fill=&quot;none&quot; stroke=&quot;var(--mask)&quot; stroke-width=&quot;5.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; pointer-events=&quot;none&quot;/&gt;
+ &lt;path data-edge-from=&quot;checkout&quot; data-edge-to=&quot;queue&quot; data-edge-label=&quot;accepted&quot; data-edge-key=&quot;6&quot; data-edge-id=&quot;publish-order&quot; data-composition-points=&quot;495,310;495,420&quot; data-composition-crossover=&quot;halo&quot; d=&quot;M 495 310 L 495 420&quot; class=&quot;a-dashed&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#arrowhead-dashed)&quot;/&gt;
+ &lt;/g&gt;
&lt;!-- Components --&gt;
&lt;g id=&quot;node-buyers&quot; data-node-id=&quot;buyers&quot; data-node-label=&quot;Buyers&quot; tabindex=&quot;0&quot; role=&quot;button&quot; aria-label=&quot;Focus Buyers, Web + mobile, Architecture component&quot; aria-pressed=&quot;false&quot; data-node-kind=&quot;external&quot; data-node-sublabel=&quot;Web + mobile&quot; data-node-context=&quot;Architecture component&quot;&gt;
@@ -26678,15 +26993,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += &quot;\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n&quot; +
- &quot;svg[data-share-route] [data-share-route-match] { opacity: 1; }\n&quot; +
+ style.textContent += &quot;\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 0.18; }\n&quot; +
+ &quot;svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\&quot;automatic-crossover\&quot;]:has(&gt; [data-share-route-match]) &gt; [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 1; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-start] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-middle] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n&quot; +
&quot;svg[data-share-route] [data-share-route-end] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n&quot;;
}
if (opts.reachSnapshot) {
- style.textContent += &quot;\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n&quot; +
- &quot;svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n&quot; +
+ style.textContent += &quot;\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 0.14; }\n&quot; +
+ &quot;svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\&quot;automatic-crossover\&quot;]:has(&gt; [data-share-reach-match]) &gt; [data-graph-role=\&quot;automatic-crossover-underlay\&quot;] { opacity: 1; }\n&quot; +
&quot;svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n&quot; +
&quot;svg[data-share-reach=\&quot;upstream\&quot;] [data-share-reach-origin] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n&quot; +
&quot;svg[data-share-reach=\&quot;downstream\&quot;] [data-share-reach-origin] &gt; :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n&quot; +
@@ -27590,6 +27905,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -31487,6 +31803,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -31547,6 +31865,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute(&#39;data-reader-min-text&#39;) || &#39;&#39;) : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram &amp;&amp; ratio &gt;= WIDE_RATIO) {
@@ -31568,9 +31890,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
&#39;text[data-node-label], text[data-boundary-label], text[data-detail=&quot;context&quot;]&#39;
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)) {
+ selectors.push(&#39;g[data-detail=&quot;context&quot;][data-edge-from][data-edge-to] &gt; text&#39;);
+ }
+ Array.from(svg.querySelectorAll(selectors.join(&#39;, &#39;))).forEach(function (text) {
if (text.getAttribute(&#39;data-detail&#39;) === &#39;context&#39; &amp;&amp; !text.closest(&#39;[data-node-id]&#39;)) return;
var sourceFontPx = parseFloat(text.getAttribute(&#39;font-size&#39;) || &#39;&#39;);
if (Number.isFinite(sourceFontPx)) {
@@ -31578,7 +31904,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -31646,11 +31972,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox &amp;&amp; viewBox.width &gt; 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit &amp;&amp; ratio &lt; WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit &amp;&amp; ratio &gt;= WIDE_RATIO &amp;&amp; Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -31686,14 +32021,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join(&#39;|&#39;);
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: &#39;Adaptive reader layout did not reach stable dimensions.&#39;
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener(&#39;resize&#39;, schedule, { passive: true });
window.addEventListener(&#39;load&#39;, schedule, { once: true });
@@ -31988,14 +32325,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : &#39;&#39;
].join(&#39;|&#39;);
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: &#39;Viewer chrome layout did not reach stable dimensions.&#39;
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener(&#39;resize&#39;, reprobe, { passive: true });
window.addEventListener(&#39;load&#39;, schedule, { once: true });
@@ -32031,6 +32370,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error(&#39;Joint layout owners are unavailable.&#39;));
+ }
+ var observedFontsReady = document.fonts &amp;&amp; document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts &amp;&amp; fonts.ready;
+ if (ready &amp;&amp; (ready !== observedFontsReady || (fonts.status === &#39;loading&#39; &amp;&amp; !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts &amp;&amp; fonts.status === &#39;loading&#39;);
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ [&#39;reader&#39;, reader.snapshot()],
+ [&#39;viewerChrome&#39;, chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: &#39;Joint reader and viewer chrome layout did not reach stable dimensions.&#39;
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector(&#39;.diagram-container&#39;);
var svg = container.querySelector(&#39;svg&#39;);
@@ -35758,7 +36140,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
const status = document.querySelector('#review-status');
const receiptNode = document.querySelector('#archify-compare-receipt');
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
- const exportCss = "\n /* ==========================================================\n THEME VARIABLES — switch by toggling [data-theme] on \u003chtml\u003e\n ========================================================== */\n :root,\n [data-theme=\"dark\"] {\n --bg: #020617;\n --grid: #1e293b;\n --text: #ffffff;\n --text-muted: #94a3b8;\n --text-dim: #475569;\n /* UI chrome and menu hints need more contrast than SVG .t-dim accents */\n --text-faint: #7d8da1;\n\n --panel: rgba(15, 23, 42, 0.5);\n --panel-border: #1e293b;\n --lane-fill: rgba(15, 23, 42, 0.22);\n --lane-stroke: #334155;\n\n --arrow: #64748b;\n --arrow-emphasis: #34d399;\n\n /* Opaque mask color used behind semi-transparent component fills\n so the arrows drawn underneath are properly hidden. */\n --mask: #0f172a;\n\n --frontend-fill: rgba(8, 51, 68, 0.4);\n --frontend-stroke: #22d3ee;\n --backend-fill: rgba(6, 78, 59, 0.4);\n --backend-stroke: #34d399;\n --database-fill: rgba(76, 29, 149, 0.4);\n --database-stroke: #a78bfa;\n --cloud-fill: rgba(120, 53, 15, 0.3);\n --cloud-stroke: #fbbf24;\n --security-fill: rgba(136, 19, 55, 0.4);\n --security-stroke: #fb7185;\n --messagebus-fill: rgba(251, 146, 60, 0.3);\n --messagebus-stroke:#fb923c;\n --external-fill: rgba(30, 41, 59, 0.5);\n --external-stroke: #94a3b8;\n\n --toolbar-bg: rgba(15, 23, 42, 0.8);\n --toolbar-border: #334155;\n --toolbar-text: #e2e8f0;\n --toolbar-hover: rgba(15, 23, 42, 0.95);\n --toolbar-menu-bg: #0f172a;\n }\n\n [data-theme=\"light\"] {\n --bg: #f8fafc;\n --grid: #e2e8f0;\n --text: #0f172a;\n --text-muted: #64748b;\n --text-dim: #94a3b8;\n --text-faint: #64748b;\n\n --panel: #ffffff;\n --panel-border: #e2e8f0;\n --lane-fill: rgba(248, 250, 252, 0.65);\n --lane-stroke: #cbd5e1;\n\n --arrow: #94a3b8;\n --arrow-emphasis: #059669;\n\n --mask: #ffffff;\n\n --frontend-fill: rgba(34, 211, 238, 0.15);\n --frontend-stroke: #0891b2;\n --backend-fill: rgba(52, 211, 153, 0.18);\n --backend-stroke: #059669;\n --database-fill: rgba(167, 139, 250, 0.2);\n --database-stroke: #7c3aed;\n --cloud-fill: rgba(251, 191, 36, 0.18);\n --cloud-stroke: #d97706;\n --security-fill: rgba(251, 113, 133, 0.15);\n --security-stroke: #e11d48;\n --messagebus-fill: rgba(251, 146, 60, 0.15);\n --messagebus-stroke:#ea580c;\n --external-fill: rgba(148, 163, 184, 0.18);\n --external-stroke: #64748b;\n\n --toolbar-bg: rgba(255, 255, 255, 0.92);\n --toolbar-border: #cbd5e1;\n --toolbar-text: #334155;\n --toolbar-hover: #ffffff;\n --toolbar-menu-bg: #ffffff;\n }\n\n /* ==========================================================\n SIGNAL FLOW — an opt-in, motion-forward visual preset.\n The variables also target a standalone exported SVG, whose\n root carries data-preset and data-theme directly.\n ========================================================== */\n [data-preset=\"signal-flow\"][data-theme=\"dark\"] {\n --bg: #030711;\n --grid: #15233a;\n --panel: rgba(6, 14, 28, 0.78);\n --panel-border: #1d3350;\n --lane-fill: rgba(9, 22, 40, 0.5);\n --lane-stroke: #2c4564;\n --text: #f5fbff;\n --text-muted: #9eb0c7;\n --text-dim: #52667f;\n --text-faint: #7890ad;\n --mask: #07101e;\n --frontend-fill: rgba(6, 182, 212, 0.14);\n --frontend-stroke: #67e8f9;\n --backend-fill: rgba(16, 185, 129, 0.14);\n --backend-stroke: #5eead4;\n --database-fill: rgba(139, 92, 246, 0.16);\n --database-stroke: #c4b5fd;\n --cloud-fill: rgba(245, 158, 11, 0.13);\n --cloud-stroke: #fcd34d;\n --security-fill: rgba(244, 63, 94, 0.13);\n --security-stroke: #fda4af;\n --messagebus-fill: rgba(249, 115, 22, 0.13);\n --messagebus-stroke: #fdba74;\n --external-fill: rgba(71, 85, 105, 0.24);\n --external-stroke: #a5b4c7;\n --arrow: #7890ad;\n --arrow-emphasis: #2dd4bf;\n --toolbar-bg: rgba(7, 16, 30, 0.86);\n --toolbar-border: #29415f;\n --toolbar-menu-bg: #07101e;\n }\n\n [data-preset=\"signal-flow\"][data-theme=\"light\"] {\n --bg: #f4f9fc;\n --grid: #d4e5ee;\n --panel: rgba(255, 255, 255, 0.82);\n --panel-border: #bfd5e2;\n --lane-fill: rgba(232, 243, 248, 0.62);\n --lane-stroke: #a9c5d5;\n --text: #102638;\n --text-muted: #587287;\n --text-dim: #8aa2b4;\n --text-faint: #668397;\n --mask: #ffffff;\n --frontend-fill: rgba(6, 182, 212, 0.09);\n --frontend-stroke: #0789a1;\n --backend-fill: rgba(5, 150, 105, 0.09);\n --backend-stroke: #087f69;\n --database-fill: rgba(124, 58, 237, 0.09);\n --database-stroke: #7254c7;\n --cloud-fill: rgba(217, 119, 6, 0.08);\n --cloud-stroke: #b9670b;\n --security-fill: rgba(225, 29, 72, 0.08);\n --security-stroke: #c53a59;\n --messagebus-fill: rgba(234, 88, 12, 0.08);\n --messagebus-stroke: #c65f27;\n --external-fill: rgba(100, 116, 139, 0.1);\n --external-stroke: #607a8c;\n --arrow: #7b97aa;\n --arrow-emphasis: #0d9488;\n }\n\n /* ==========================================================\n BLUEPRINT — a review-first drafting preset for deployment,\n infrastructure, and technical design documentation. It keeps\n the same semantic palette and geometry while trading glow for\n precise grid contrast, squared materials, and drafting marks.\n ========================================================== */\n [data-preset=\"blueprint\"][data-theme=\"dark\"] {\n --bg: #06131f;\n --grid: #17425a;\n --panel: rgba(7, 27, 43, 0.9);\n --panel-border: #27627f;\n --lane-fill: rgba(10, 43, 66, 0.36);\n --lane-stroke: #34799a;\n --text: #e3f6ff;\n --text-muted: #91b8ca;\n --text-dim: #557e92;\n --text-faint: #739caf;\n --mask: #0a2031;\n --frontend-fill: rgba(26, 157, 193, 0.14);\n --frontend-stroke: #66d9ef;\n --backend-fill: rgba(31, 155, 124, 0.13);\n --backend-stroke: #69dfbd;\n --database-fill: rgba(120, 105, 196, 0.14);\n --database-stroke: #b4a8ff;\n --cloud-fill: rgba(197, 145, 43, 0.13);\n --cloud-stroke: #ffd166;\n --security-fill: rgba(199, 76, 104, 0.13);\n --security-stroke: #ff8da1;\n --messagebus-fill: rgba(207, 112, 49, 0.13);\n --messagebus-stroke: #ffad66;\n --external-fill: rgba(84, 119, 139, 0.18);\n --external-stroke: #a7cad9;\n --arrow: #78a3b7;\n --arrow-emphasis: #64dfc1;\n --toolbar-bg: rgba(7, 28, 45, 0.92);\n --toolbar-border: #34799a;\n --toolbar-text: #d8f3ff;\n --toolbar-hover: rgba(18, 58, 83, 0.95);\n --toolbar-menu-bg: #0a2031;\n }\n\n [data-preset=\"blueprint\"][data-theme=\"light\"] {\n --bg: #edf7fa;\n --grid: #b5d5e1;\n --panel: rgba(249, 253, 255, 0.94);\n --panel-border: #78aabd;\n --lane-fill: rgba(210, 232, 240, 0.42);\n --lane-stroke: #83b2c4;\n --text: #123344;\n --text-muted: #4e7486;\n --text-dim: #86a6b4;\n --text-faint: #668c9d;\n --mask: #f9fdff;\n --frontend-fill: rgba(8, 145, 178, 0.08);\n --frontend-stroke: #087f9c;\n --backend-fill: rgba(5, 128, 101, 0.08);\n --backend-stroke: #08755f;\n --database-fill: rgba(100, 75, 180, 0.08);\n --database-stroke: #6757a8;\n --cloud-fill: rgba(181, 120, 15, 0.08);\n --cloud-stroke: #a86609;\n --security-fill: rgba(190, 48, 80, 0.07);\n --security-stroke: #b32f50;\n --messagebus-fill: rgba(196, 81, 22, 0.07);\n --messagebus-stroke: #b65120;\n --external-fill: rgba(79, 112, 128, 0.08);\n --external-stroke: #506f7e;\n --arrow: #6d93a5;\n --arrow-emphasis: #087f69;\n --toolbar-bg: rgba(247, 252, 254, 0.94);\n --toolbar-border: #8ab5c5;\n --toolbar-text: #294f61;\n --toolbar-hover: #ffffff;\n --toolbar-menu-bg: #f9fdff;\n }\n\n /* ==========================================================\n EDITORIAL — a warm, publication-minded preset for design\n reviews, launch notes, and documentation. The diagram keeps\n the same semantic palette and exact geometry, but trades\n software chrome for paper, ink, ruled structure, and one\n restrained vermilion accent.\n ========================================================== */\n [data-preset=\"editorial\"][data-theme=\"dark\"] {\n --bg: #181611;\n --grid: #39342a;\n --panel: rgba(35, 31, 24, 0.96);\n --panel-border: #625a4a;\n --lane-fill: rgba(52, 46, 35, 0.46);\n --lane-stroke: #726957;\n --text: #f4eddf;\n --text-muted: #b9ae9b;\n --text-dim: #776e60;\n --text-faint: #9d917e;\n --mask: #231f18;\n --frontend-fill: rgba(43, 133, 142, 0.16);\n --frontend-stroke: #7fc6c7;\n --backend-fill: rgba(63, 132, 92, 0.16);\n --backend-stroke: #8fc29e;\n --database-fill: rgba(117, 91, 141, 0.17);\n --database-stroke: #c0a4d0;\n --cloud-fill: rgba(170, 119, 49, 0.16);\n --cloud-stroke: #d8ad68;\n --security-fill: rgba(157, 69, 65, 0.17);\n --security-stroke: #df9085;\n --messagebus-fill: rgba(174, 79, 42, 0.16);\n --messagebus-stroke: #df946f;\n --external-fill: rgba(126, 115, 96, 0.18);\n --external-stroke: #b8ad99;\n --arrow: #948978;\n --arrow-emphasis: #dd6b3d;\n --toolbar-bg: rgba(35, 31, 24, 0.92);\n --toolbar-border: #625a4a;\n --toolbar-text: #eee5d5;\n --toolbar-hover: #302a20;\n --toolbar-menu-bg: #231f18;\n }\n\n [data-preset=\"editorial\"][data-theme=\"light\"] {\n --bg: #f2eee5;\n --grid: #d8d0c2;\n --panel: rgba(251, 248, 241, 0.97);\n --panel-border: #c4b9a6;\n --lane-fill: rgba(229, 221, 207, 0.42);\n --lane-stroke: #b8aa94;\n --text: #242018;\n --text-muted: #6f6658;\n --text-dim: #a09788;\n --text-faint: #817767;\n --mask: #fbf8f1;\n --frontend-fill: rgba(31, 117, 126, 0.09);\n --frontend-stroke: #287e84;\n --backend-fill: rgba(42, 119, 75, 0.09);\n --backend-stroke: #397b53;\n --database-fill: rgba(105, 75, 130, 0.09);\n --database-stroke: #765d86;\n --cloud-fill: rgba(157, 103, 31, 0.1);\n --cloud-stroke: #9a671f;\n --security-fill: rgba(153, 58, 52, 0.09);\n --security-stroke: #9e463f;\n --messagebus-fill: rgba(182, 70, 27, 0.09);\n --messagebus-stroke: #ad4b25;\n --external-fill: rgba(101, 91, 75, 0.09);\n --external-stroke: #746b5e;\n --arrow: #8a806f;\n --arrow-emphasis: #bb4c23;\n --toolbar-bg: rgba(251, 248, 241, 0.94);\n --toolbar-border: #c4b9a6;\n --toolbar-text: #40392f;\n --toolbar-hover: #fffdf8;\n --toolbar-menu-bg: #fbf8f1;\n }\n\n * { margin: 0; padding: 0; box-sizing: border-box; }\n\n body {\n font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', 'Noto Sans Mono CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace;\n background: var(--bg);\n min-height: 100vh;\n padding: 2rem;\n color: var(--text);\n transition: background 0.2s ease, color 0.2s ease;\n }\n\n html[data-preset=\"signal-flow\"] body {\n background-image:\n radial-gradient(circle at 18% -8%, rgba(34, 211, 238, 0.14), transparent 34rem),\n radial-gradient(circle at 92% 18%, rgba(139, 92, 246, 0.12), transparent 30rem);\n background-attachment: fixed;\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] body {\n background-image:\n radial-gradient(circle at 18% -8%, rgba(6, 182, 212, 0.12), transparent 34rem),\n radial-gradient(circle at 92% 18%, rgba(139, 92, 246, 0.08), transparent 30rem);\n }\n html[data-preset=\"blueprint\"] body {\n background-image:\n linear-gradient(var(--grid) 1px, transparent 1px),\n linear-gradient(90deg, var(--grid) 1px, transparent 1px);\n background-size: 32px 32px;\n background-position: -1px -1px;\n background-attachment: fixed;\n }\n html[data-preset=\"editorial\"] body {\n background-image:\n linear-gradient(90deg, transparent 0, transparent 5.4rem, color-mix(in srgb, var(--security-stroke) 18%, transparent) 5.4rem, color-mix(in srgb, var(--security-stroke) 18%, transparent) calc(5.4rem + 1px), transparent calc(5.4rem + 1px)),\n repeating-linear-gradient(0deg, transparent 0, transparent 31px, color-mix(in srgb, var(--grid) 36%, transparent) 31px, color-mix(in srgb, var(--grid) 36%, transparent) 32px);\n background-attachment: fixed;\n }\n\n /* Gallery/embed mode keeps the generated artifact as the source of truth\n while presenting only its diagram surface inside a proof card. */\n html[data-embed=\"true\"] body {\n min-height: 0;\n padding: 0;\n overflow: hidden;\n background: var(--bg);\n background-image: none;\n }\n html[data-embed=\"true\"] .toolbar,\n html[data-embed=\"true\"] .header,\n html[data-embed=\"true\"] .cards,\n html[data-embed=\"true\"] .diagram-nav,\n html[data-embed=\"true\"] .overview-map,\n html[data-embed=\"true\"] .focus-chip,\n html[data-embed=\"true\"] .route-probe,\n html[data-embed=\"true\"] .semantic-lens,\n html[data-embed=\"true\"] .diagram-guide,\n html[data-embed=\"true\"] .node-finder,\n html[data-embed=\"true\"] .guided-views { display: none !important; }\n html[data-embed=\"true\"] .container { max-width: none; }\n html[data-embed=\"true\"] .diagram-container {\n padding: 0.5rem;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n html[data-embed=\"true\"] .diagram-container svg { min-width: 0; }\n\n /* Share Chapter Cue lives in the HTML viewer layer, not inside the SVG.\n It gives one-shot embeds a title, authored note, truthful stop order,\n and lifecycle state while canonical diagram geometry stays untouched. */\n .share-chapter-cue { display: none; }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .share-chapter-cue:not([hidden]),\n html[data-embed=\"true\"][data-share-moment=\"true\"] .share-chapter-cue:not([hidden]) {\n position: absolute;\n z-index: 18;\n top: 0.85rem;\n left: 50%;\n display: grid;\n grid-template-columns: auto minmax(9rem, 13.5rem) minmax(0, 1fr);\n align-items: center;\n gap: 0.45rem 0.85rem;\n width: min(52rem, calc(100% - 1.5rem));\n min-height: 3.35rem;\n padding: 0.55rem 0.75rem 0.65rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 42%, var(--toolbar-border));\n border-radius: 0.75rem;\n background:\n linear-gradient(115deg, color-mix(in srgb, var(--frontend-fill) 52%, transparent), transparent 45%),\n color-mix(in srgb, var(--toolbar-menu-bg) 92%, transparent);\n color: var(--toolbar-text);\n box-shadow: 0 14px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045);\n backdrop-filter: blur(16px);\n pointer-events: none;\n animation: archify-share-cue-enter 280ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n html[data-preset=\"blueprint\"] .share-chapter-cue {\n border-radius: 0.2rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--frontend-fill) 46%, transparent), transparent 36%),\n var(--toolbar-menu-bg);\n box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);\n backdrop-filter: none;\n }\n html[data-preset=\"editorial\"] .share-chapter-cue {\n border-color: var(--panel-border);\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--security-fill) 58%, transparent), transparent 42%),\n var(--toolbar-menu-bg);\n box-shadow: 0 10px 30px color-mix(in srgb, #000 18%, transparent);\n backdrop-filter: none;\n }\n html[data-preset=\"editorial\"] .share-chapter-state { color: var(--arrow-emphasis); }\n html[data-preset=\"editorial\"] .share-chapter-state::before {\n border-radius: 0;\n box-shadow: none;\n transform: rotate(45deg) scale(0.8);\n }\n .share-chapter-index {\n display: grid;\n gap: 0.12rem;\n min-width: 5rem;\n padding-right: 0.75rem;\n border-right: 1px solid var(--toolbar-border);\n }\n .share-chapter-state {\n display: inline-flex;\n align-items: center;\n gap: 0.36rem;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n }\n .share-chapter-state::before {\n width: 0.38rem;\n height: 0.38rem;\n border-radius: 50%;\n background: currentColor;\n box-shadow: 0 0 10px currentColor;\n content: '';\n }\n .share-chapter-cue[data-state=\"playing\"] .share-chapter-state::before {\n animation: archify-share-cue-pulse 1.15s ease-in-out infinite;\n }\n .share-chapter-count {\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .share-chapter-copy { min-width: 0; }\n .share-chapter-copy strong,\n .share-chapter-copy small,\n .share-chapter-route {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .share-chapter-copy strong {\n color: var(--toolbar-text);\n font-size: 0.6875rem;\n line-height: 1.35;\n }\n .share-chapter-copy small {\n margin-top: 0.08rem;\n color: var(--text-muted);\n font-size: 0.5rem;\n line-height: 1.35;\n }\n .share-chapter-route {\n color: color-mix(in srgb, var(--frontend-stroke) 76%, var(--text-muted));\n font-size: 0.5625rem;\n font-weight: 650;\n letter-spacing: 0.015em;\n text-align: right;\n }\n .share-chapter-progress {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n height: 2px;\n overflow: hidden;\n background: color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n .share-chapter-progress span {\n display: block;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, var(--frontend-stroke), var(--database-stroke));\n box-shadow: 0 0 12px var(--frontend-stroke);\n transform: scaleX(0);\n transform-origin: left center;\n }\n\n /* Presentation Stage is a viewer-only layer: it gives the live diagram\n the viewport while keeping guided views, theme, focus, and exports real.\n Embed mode wins when both query parameters are present. */\n html[data-present=\"true\"]:not([data-embed=\"true\"]) body {\n height: 100dvh;\n min-height: 0;\n padding: 1rem;\n overflow: hidden;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .container {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n width: 100%;\n max-width: none;\n height: calc(100dvh - 2rem);\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header {\n flex: none;\n min-width: 0;\n margin: 0;\n padding-right: 23rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row { margin-bottom: 0.25rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .subtitle {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views {\n flex: none;\n margin-bottom: 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n justify-content: center;\n min-height: 0;\n padding: 0.75rem;\n padding-bottom: calc(0.75rem + var(--archify-nav-reserve));\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container \u003e svg {\n flex: 1 1 auto;\n height: 100%;\n min-height: 0;\n width: 100%;\n min-width: 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .cards { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) #btn-present {\n border-color: var(--frontend-stroke);\n color: var(--frontend-stroke);\n }\n\n /* The reader owns only the outer scale. Wide diagrams and measured tall workflows keep one authored\n SVG/viewBox while the runtime chooses a desktop width from the actual\n vertical budget. This avoids device-specific files and breakpoint\n jumps between a laptop and a tall monitor. */\n .container {\n width: 100%;\n max-width: var(--archify-reader-width, 1440px);\n margin: 0 auto;\n }\n @media (min-width: 768px) and (max-height: 920px) {\n .header { margin-bottom: 1rem; }\n .diagram-container { padding: 1rem; }\n .cards { margin-top: 1rem; }\n .card { padding: 1rem; }\n }\n\n .header { margin-bottom: 1.5rem; padding-right: 29.5rem; }\n\n html[data-preset=\"signal-flow\"] .header,\n html[data-preset=\"blueprint\"] .header,\n html[data-preset=\"editorial\"] .header { padding-right: 29.5rem; }\n\n .header-row {\n display: flex;\n align-items: center;\n gap: 1rem;\n margin-bottom: 0.5rem;\n }\n\n .pulse-dot {\n width: 12px;\n height: 12px;\n background: var(--frontend-stroke);\n border-radius: 50%;\n animation: none;\n }\n\n html[data-motion-capable=\"true\"] .pulse-dot { animation: pulse 2s infinite; }\n\n @keyframes pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.5; }\n }\n\n h1 {\n font-size: 1.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n }\n\n .subtitle {\n color: var(--text-muted);\n font-size: 0.875rem;\n margin-left: 1.75rem;\n }\n\n html[data-preset=\"signal-flow\"] .header-row::after {\n content: attr(data-preset-badge-signal-flow);\n margin-left: auto;\n color: var(--frontend-stroke);\n border: 1px solid var(--frontend-stroke);\n border-radius: 999px;\n padding: 0.28rem 0.6rem;\n font-size: 0.625rem;\n letter-spacing: 0.12em;\n opacity: 0.82;\n box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);\n white-space: nowrap;\n }\n\n html[data-preset=\"blueprint\"] .pulse-dot {\n width: 10px;\n height: 10px;\n border: 1px solid var(--frontend-stroke);\n border-radius: 1px;\n background: transparent;\n box-shadow: inset 0 0 0 2px var(--bg);\n transform: rotate(45deg);\n animation: none;\n }\n html[data-preset=\"blueprint\"] .header-row::after {\n content: attr(data-preset-badge-blueprint);\n margin-left: auto;\n padding: 0.28rem 0.55rem;\n border-top: 1px solid var(--frontend-stroke);\n border-bottom: 1px solid var(--frontend-stroke);\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 700;\n letter-spacing: 0.14em;\n white-space: nowrap;\n }\n\n html[data-preset=\"editorial\"] h1,\n html[data-preset=\"editorial\"] .card h3 {\n font-family: Georgia, 'Times New Roman', 'Songti SC', STSong, serif;\n letter-spacing: -0.02em;\n }\n html[data-preset=\"editorial\"] h1 { font-size: 1.72rem; font-weight: 600; }\n html[data-preset=\"editorial\"] .pulse-dot {\n width: 9px;\n height: 9px;\n border: 1px solid var(--arrow-emphasis);\n border-radius: 0;\n background: var(--arrow-emphasis);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--arrow-emphasis) 14%, transparent);\n transform: rotate(45deg);\n animation: none;\n }\n html[data-preset=\"editorial\"] .header-row::after {\n content: attr(data-preset-badge-editorial);\n margin-left: auto;\n padding: 0.32rem 0 0.24rem;\n border-bottom: 2px solid var(--arrow-emphasis);\n color: var(--arrow-emphasis);\n font-family: Georgia, 'Times New Roman', serif;\n font-size: 0.625rem;\n font-style: italic;\n font-weight: 600;\n letter-spacing: 0.08em;\n white-space: nowrap;\n }\n\n .diagram-container {\n --archify-nav-reserve: 0px;\n background: var(--panel);\n border-radius: 1rem;\n border: 1px solid var(--panel-border);\n padding: 1.5rem;\n padding-bottom: calc(1.5rem + var(--archify-nav-reserve));\n overflow: hidden;\n position: relative;\n }\n\n html[data-preset=\"signal-flow\"] .diagram-container {\n position: relative;\n overflow: hidden;\n background: linear-gradient(180deg, rgba(8, 20, 38, 0.82), rgba(3, 8, 18, 0.94));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.34);\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] .diagram-container {\n background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 246, 250, 0.94));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 24px 60px rgba(45, 78, 99, 0.12);\n }\n html[data-preset=\"blueprint\"] .diagram-container {\n border-color: var(--panel-border);\n border-radius: 0.35rem;\n background: var(--panel);\n box-shadow:\n inset 0 0 0 1px color-mix(in srgb, var(--panel-border) 34%, transparent),\n 0 18px 48px rgba(0, 0, 0, 0.16);\n }\n html[data-preset=\"blueprint\"] .diagram-container::after {\n content: \"\";\n position: absolute;\n z-index: 10;\n inset: 0.7rem;\n pointer-events: none;\n background:\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left top / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left top / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right top / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right top / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left bottom / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left bottom / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right bottom / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right bottom / 1px 1.35rem no-repeat;\n opacity: 0.58;\n }\n html[data-preset=\"editorial\"] .diagram-container {\n overflow: hidden;\n border-color: var(--panel-border);\n border-radius: 0.38rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--security-fill) 58%, transparent), transparent 12%),\n var(--panel);\n box-shadow:\n 0 1px 0 color-mix(in srgb, var(--text) 6%, transparent),\n 0 18px 48px color-mix(in srgb, #000 19%, transparent);\n }\n html[data-preset=\"editorial\"] .diagram-container::after {\n position: absolute;\n z-index: 10;\n top: 0.72rem;\n right: 1.25rem;\n padding: 0.2rem 0.52rem;\n border: 1px solid var(--panel-border);\n background: var(--panel);\n color: var(--arrow-emphasis);\n content: attr(data-preset-badge-editorial-plate);\n font-family: Georgia, 'Times New Roman', serif;\n font-size: 0.52rem;\n font-style: italic;\n font-weight: 600;\n letter-spacing: 0.09em;\n pointer-events: none;\n }\n html[data-embed=\"true\"][data-preset=\"editorial\"] .diagram-container::after { display: none; }\n html[data-motion-capable=\"true\"][data-preset=\"signal-flow\"][data-ambient-motion=\"running\"] .diagram-container::before {\n content: \"\";\n position: absolute;\n inset: 0;\n pointer-events: none;\n background: linear-gradient(115deg, transparent 28%, rgba(103, 232, 249, 0.035) 48%, transparent 68%);\n transform: translateX(-70%);\n animation: archify-signal-scan 4.8s ease-in-out 1 both;\n }\n\n /* Motion Governor gives the reader a real static state and gives the\n strongest semantic action the only motion budget. Atmosphere resets to\n its authored base instead of freezing mid-cycle. Static artifacts never\n start a decorative pulse or scan. */\n html:not([data-motion-capable=\"true\"]) svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n }\n html[data-motion=\"still\"] .pulse-dot,\n html[data-motion=\"still\"] .diagram-container::before,\n html[data-motion=\"still\"] svg[data-animation=\"trace\"] [data-animate],\n html[data-motion-owner] .pulse-dot,\n html[data-motion-owner] .diagram-container::before,\n html[data-motion-owner] svg[data-animation=\"trace\"] [data-animate],\n html[data-embed=\"true\"] .pulse-dot,\n html[data-embed=\"true\"] .diagram-container::before,\n html[data-share-playback=\"true\"] .pulse-dot,\n html[data-share-playback=\"true\"] .diagram-container::before,\n html[data-document-hidden=\"true\"] .pulse-dot,\n html[data-document-hidden=\"true\"] .diagram-container::before,\n html[data-document-hidden=\"true\"] svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n }\n html[data-motion=\"still\"] .diagram-container::before,\n html[data-motion-owner] .diagram-container::before,\n html[data-embed=\"true\"] .diagram-container::before,\n html[data-share-playback=\"true\"] .diagram-container::before {\n opacity: 0;\n }\n html[data-motion=\"still\"] .guided-view-progress span,\n html[data-motion=\"still\"] .guided-story-caption,\n html[data-motion=\"still\"] .story-trail-flow,\n html[data-motion=\"still\"] .intent-trace-flow,\n html[data-motion=\"still\"] .route-probe-flow,\n html[data-motion=\"still\"] .route-journey-flow,\n html[data-motion=\"still\"] .semantic-lens-flow,\n html[data-motion=\"still\"] .diagram-guide,\n html[data-motion=\"still\"] [data-story-step],\n html[data-motion=\"still\"] .overview-map-live,\n html[data-motion=\"still\"] .guided-view-stop,\n html[data-motion=\"still\"] .share-chapter-cue,\n html[data-motion=\"still\"] .share-chapter-state::before,\n html[data-motion=\"still\"] .share-chapter-progress span,\n html[data-document-hidden=\"true\"] .guided-view-progress span,\n html[data-document-hidden=\"true\"] .story-trail-flow,\n html[data-document-hidden=\"true\"] .intent-trace-flow,\n html[data-document-hidden=\"true\"] .route-probe-flow,\n html[data-document-hidden=\"true\"] .route-journey-flow,\n html[data-document-hidden=\"true\"] .semantic-lens-flow,\n html[data-document-hidden=\"true\"] .diagram-guide,\n html[data-document-hidden=\"true\"] [data-story-step],\n html[data-document-hidden=\"true\"] .overview-map-live,\n html[data-document-hidden=\"true\"] .guided-view-stop,\n html[data-document-hidden=\"true\"] .share-chapter-cue,\n html[data-document-hidden=\"true\"] .share-chapter-state::before,\n html[data-document-hidden=\"true\"] .share-chapter-progress span {\n animation: none !important;\n }\n html[data-motion=\"still\"] .guided-view-progress span {\n transform: scaleX(1) !important;\n }\n html[data-motion=\"still\"] svg[data-story-playing=\"true\"] .story-trail-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.55;\n }\n html[data-motion=\"still\"] .intent-trace-flow,\n html[data-motion=\"still\"] .route-probe-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.72;\n }\n html[data-motion=\"still\"] .route-journey-overlay,\n html[data-document-hidden=\"true\"] .route-journey-overlay { display: none !important; }\n html[data-motion=\"still\"] .relationship-pulse-overlay,\n html[data-motion=\"still\"] .story-carrier-overlay,\n html[data-document-hidden=\"true\"] .story-carrier-overlay { display: none !important; }\n html[data-motion=\"still\"] .chapter-handoff-overlay { display: none !important; }\n html[data-motion=\"still\"] .chapter-handoff-anchor { animation: none !important; }\n html[data-motion=\"still\"] .guided-view-chapter,\n html[data-motion=\"still\"] svg [data-node-id],\n html[data-motion=\"still\"] svg [data-edge-from],\n html[data-motion=\"still\"] svg [data-detail],\n html[data-motion=\"still\"] svg [data-detail-anchor],\n html[data-motion=\"still\"] svg [data-legend-hit],\n html[data-motion=\"still\"] svg {\n transition: none !important;\n }\n\n svg {\n width: 100%;\n min-width: min(900px, 100%);\n display: block;\n transform-origin: 0 0;\n transition: transform 0.18s ease;\n }\n\n .diagram-container.is-camera-moving svg {\n transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .diagram-container.is-camera-transaction svg { transition: none; }\n .diagram-container.is-pannable { cursor: grab; }\n .diagram-container.is-panning { cursor: grabbing; user-select: none; }\n .diagram-container.is-panning svg { transition: none; }\n\n .diagram-nav {\n position: absolute;\n right: 1rem;\n bottom: 1rem;\n z-index: 12;\n display: inline-flex;\n align-items: center;\n max-width: calc(100% - 2rem);\n padding: 0.15rem;\n gap: 0;\n overflow-x: auto;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 48%, transparent);\n border-radius: 0.58rem;\n background: color-mix(in srgb, var(--toolbar-bg) 82%, transparent);\n box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);\n backdrop-filter: blur(10px);\n scrollbar-width: none;\n }\n .diagram-nav::-webkit-scrollbar { display: none; }\n .diagram-nav button,\n .focus-chip button,\n .guided-views button {\n border: 0;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n cursor: pointer;\n }\n .diagram-nav button {\n min-width: 2rem;\n height: 2rem;\n padding: 0 0.35rem;\n border-radius: 0.35rem;\n color: color-mix(in srgb, var(--toolbar-text) 68%, transparent);\n font-size: 0.56rem;\n font-weight: 600;\n letter-spacing: 0.02em;\n transition: background 0.15s, color 0.15s;\n }\n .diagram-nav button:hover,\n .diagram-nav button:focus-visible,\n .focus-chip button:hover,\n .focus-chip button:focus-visible,\n .guided-views button:hover,\n .guided-views button:focus-visible { background: var(--toolbar-hover); }\n .diagram-nav button:focus-visible,\n .focus-chip button:focus-visible,\n .guided-views button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .diagram-nav button:disabled { opacity: 0.38; cursor: default; }\n .diagram-nav button:disabled:hover { background: transparent; }\n .diagram-nav #btn-route-probe,\n .diagram-nav #btn-overview-map,\n .diagram-nav #btn-semantic-lens {\n min-width: auto;\n padding-inline: 0.5rem;\n color: color-mix(in srgb, var(--toolbar-text) 86%, transparent);\n font-weight: 650;\n }\n .diagram-nav #btn-node-finder,\n .diagram-nav [data-view=\"out\"] {\n position: relative;\n margin-left: 0.25rem;\n }\n .diagram-nav #btn-node-finder::before,\n .diagram-nav [data-view=\"out\"]::before {\n position: absolute;\n top: 0.4rem;\n bottom: 0.4rem;\n left: -0.13rem;\n width: 1px;\n background: color-mix(in srgb, var(--toolbar-border) 62%, transparent);\n content: \"\";\n pointer-events: none;\n }\n .diagram-nav-icon {\n display: block;\n width: 0.72rem;\n height: 0.72rem;\n margin: auto;\n background: currentColor;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .diagram-nav-icon.find {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='4.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m12 12 4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='4.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m12 12 4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.guide {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.8 7.3a2.4 2.4 0 014.6.9c0 1.8-2.4 2-2.4 3.7M10 14.9h.01' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.8 7.3a2.4 2.4 0 014.6.9c0 1.8-2.4 2-2.4 3.7M10 14.9h.01' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.minus {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.plus {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav [data-view=\"reset\"] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.2rem;\n min-width: 3.1rem;\n padding-inline: 0.35rem;\n }\n .diagram-nav [data-view=\"reset\"][data-detail-visible] {\n min-width: 3.8rem;\n }\n .diagram-nav-detail {\n color: color-mix(in srgb, var(--toolbar-text) 52%, transparent);\n font-size: 0.44rem;\n font-weight: 700;\n line-height: 1;\n letter-spacing: 0.07em;\n }\n .diagram-nav-percent {\n color: color-mix(in srgb, var(--toolbar-text) 84%, transparent);\n font-size: 0.55rem;\n font-weight: 650;\n line-height: 1;\n }\n .diagram-container[data-camera-indicator=\"true\"] .diagram-nav-detail,\n .diagram-container[data-camera-indicator=\"true\"] .diagram-nav-percent { color: var(--frontend-stroke); }\n .diagram-nav #btn-diagram-guide[aria-expanded=\"true\"] {\n color: var(--cloud-stroke);\n background: var(--toolbar-hover);\n }\n\n /* Semantic Radar is a deliberately simplified, viewer-only overview. It\n uses authored node bounds and the live camera viewport rather than\n cloning the canonical SVG, so IDs, filters, animation, and export state\n stay singular and deterministic. */\n .overview-map {\n position: absolute;\n right: 1rem;\n bottom: calc(4.15rem + var(--archify-nav-reserve));\n z-index: 12;\n width: 11.25rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n border-radius: 0.78rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.625rem;\n }\n .overview-map[hidden] { display: none; }\n .overview-map[data-docked=\"true\"] {\n position: fixed;\n right: var(--archify-radar-right, 1rem);\n top: var(--archify-radar-top, 1rem);\n bottom: auto;\n }\n .overview-map[data-docked=\"true\"][data-dock-side=\"left\"] {\n right: auto;\n left: var(--archify-radar-left, 1rem);\n }\n html[data-preset=\"blueprint\"] .overview-map { border-radius: 0.28rem; }\n .overview-map-head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.45rem;\n min-height: 2.25rem;\n padding: 0.42rem 0.48rem 0.38rem 0.55rem;\n border-bottom: 1px solid var(--toolbar-border);\n background: linear-gradient(110deg, color-mix(in srgb, var(--frontend-fill) 45%, transparent), transparent 68%);\n cursor: grab;\n touch-action: none;\n user-select: none;\n }\n .overview-map[data-panel-dragging=\"true\"] .overview-map-head { cursor: grabbing; }\n .overview-map[data-placement-invalid=\"true\"] {\n border-color: var(--security-stroke);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--security-stroke) 34%, transparent), 0 16px 42px rgba(0, 0, 0, 0.3);\n }\n .overview-map[data-compact=\"true\"] {\n width: 7.4rem;\n }\n .overview-map[data-compact=\"true\"] .overview-map-head {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.24rem;\n min-height: 1.5rem;\n padding: 0.05rem 0.16rem 0.05rem 0.32rem;\n border-bottom: 0;\n }\n .overview-map[data-compact=\"true\"] .overview-map-live,\n .overview-map[data-compact=\"true\"] .overview-map-copy,\n .overview-map[data-compact=\"true\"] .overview-map-surface,\n .overview-map[data-compact=\"true\"] .overview-map-hint {\n display: none;\n }\n .overview-map[data-compact=\"true\"] .overview-map-expand { display: inline-flex; }\n .overview-map[data-compact=\"true\"] .overview-map-close {\n width: 1.15rem;\n height: 1.15rem;\n font-size: 0.72rem;\n }\n .overview-map-live {\n width: 0.42rem;\n height: 0.42rem;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--backend-stroke) 52%, transparent);\n animation: archify-radar-live 2.4s ease-out infinite;\n }\n .overview-map-copy { min-width: 0; line-height: 1.1; }\n .overview-map-copy strong {\n display: block;\n overflow: hidden;\n color: var(--frontend-stroke);\n font-size: 0.59rem;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .overview-map-copy small {\n display: block;\n margin-top: 0.18rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.52rem;\n letter-spacing: 0.04em;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .overview-map-expand {\n display: none;\n align-items: center;\n justify-content: center;\n min-width: 0;\n height: 1.2rem;\n padding: 0 0.34rem;\n overflow: hidden;\n border: 0;\n border-radius: 0.3rem;\n background: transparent;\n color: var(--frontend-stroke);\n font: inherit;\n font-size: 0.49rem;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n white-space: nowrap;\n cursor: pointer;\n }\n .overview-map-close {\n width: 1.55rem;\n height: 1.55rem;\n padding: 0;\n border: 0;\n border-radius: 0.34rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 0.9rem;\n cursor: pointer;\n }\n .overview-map-expand:hover,\n .overview-map-expand:focus-visible,\n .overview-map-close:hover,\n .overview-map-close:focus-visible { background: var(--toolbar-hover); }\n .overview-map-expand:focus-visible,\n .overview-map-close:focus-visible,\n .overview-map-surface:focus-visible,\n .overview-map-node:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .overview-map-surface {\n position: relative;\n height: 7rem;\n margin: 0.42rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--panel-border) 72%, transparent);\n border-radius: 0.42rem;\n background:\n linear-gradient(color-mix(in srgb, var(--panel-border) 26%, transparent) 1px, transparent 1px),\n linear-gradient(90deg, color-mix(in srgb, var(--panel-border) 26%, transparent) 1px, transparent 1px),\n color-mix(in srgb, var(--bg) 86%, transparent);\n background-size: 12px 12px;\n cursor: crosshair;\n touch-action: none;\n }\n html[data-preset=\"blueprint\"] .overview-map-surface { border-radius: 0.1rem; }\n .overview-map-surface \u003e svg {\n width: 100%;\n height: 100%;\n min-width: 0;\n transform: none !important;\n transition: none !important;\n display: block;\n overflow: visible;\n }\n .overview-map-node {\n fill: var(--backend-stroke);\n fill-opacity: 0.52;\n stroke: var(--backend-stroke);\n stroke-opacity: 0.86;\n vector-effect: non-scaling-stroke;\n cursor: pointer;\n transition: fill-opacity 140ms ease, stroke-width 140ms ease, filter 140ms ease;\n }\n .overview-map-node[data-kind=\"frontend\"],\n .overview-map-node[data-kind=\"start\"] { fill: var(--frontend-stroke); stroke: var(--frontend-stroke); }\n .overview-map-node[data-kind=\"database\"],\n .overview-map-node[data-kind=\"success\"] { fill: var(--database-stroke); stroke: var(--database-stroke); }\n .overview-map-node[data-kind=\"cloud\"],\n .overview-map-node[data-kind=\"waiting\"] { fill: var(--cloud-stroke); stroke: var(--cloud-stroke); }\n .overview-map-node[data-kind=\"messagebus\"] { fill: var(--messagebus-stroke); stroke: var(--messagebus-stroke); }\n .overview-map-node[data-kind=\"security\"],\n .overview-map-node[data-kind=\"decision\"],\n .overview-map-node[data-kind=\"failure\"] { fill: var(--security-stroke); stroke: var(--security-stroke); }\n .overview-map-node[data-kind=\"external\"],\n .overview-map-node[data-kind=\"neutral\"] { fill: var(--external-stroke); stroke: var(--external-stroke); }\n .overview-map-node[data-radar-active=\"true\"],\n .overview-map-node:hover,\n .overview-map-node:focus-visible {\n fill-opacity: 0.92;\n stroke-width: 2.2;\n filter: drop-shadow(0 0 3px currentColor);\n }\n .overview-map-viewport {\n fill: color-mix(in srgb, var(--frontend-fill) 56%, transparent);\n stroke: var(--frontend-stroke);\n stroke-width: 2;\n vector-effect: non-scaling-stroke;\n pointer-events: none;\n filter: drop-shadow(0 0 3px color-mix(in srgb, var(--frontend-stroke) 54%, transparent));\n }\n .overview-map-hint {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n padding: 0 0.52rem 0.46rem;\n color: var(--text-faint);\n font-size: 0.49rem;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n }\n .diagram-nav #btn-overview-map[aria-expanded=\"true\"] {\n color: var(--frontend-stroke);\n background: var(--toolbar-hover);\n }\n .overview-map-feedback {\n position: absolute;\n right: 1rem;\n bottom: 4.15rem;\n z-index: 13;\n max-width: min(16rem, calc(100% - 2rem));\n padding: 0.38rem 0.55rem;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n border-radius: 0.5rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);\n font-size: 0.52rem;\n line-height: 1.35;\n pointer-events: none;\n }\n .overview-map-feedback[hidden] { display: none; }\n .focus-chip[data-radar-yielded=\"true\"] { display: none !important; }\n .diagram-nav #btn-route-probe[aria-pressed=\"true\"] {\n color: var(--backend-stroke);\n background: var(--toolbar-hover);\n }\n .diagram-nav #btn-semantic-lens[aria-expanded=\"true\"],\n .diagram-nav #btn-semantic-lens[aria-pressed=\"true\"] {\n color: var(--database-stroke);\n background: var(--toolbar-hover);\n }\n\n /* Semantic Lens turns the compiled node-kind palette into an analytical\n legend. One kind reveals its real traffic; two kinds compare only their\n direct authored relationships. Geometry and the canonical SVG stay put. */\n .semantic-lens {\n position: absolute;\n right: 1rem;\n bottom: calc(4.15rem + var(--archify-nav-reserve));\n z-index: 24;\n width: min(20rem, calc(100% - 2rem));\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--database-stroke) 58%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(135deg, color-mix(in srgb, var(--database-fill) 34%, transparent), transparent 48%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);\n backdrop-filter: blur(18px);\n animation: archify-lens-in 180ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n .semantic-lens[hidden] { display: none; }\n .semantic-lens[data-dock-side=\"left\"] { left: 1rem; right: auto; }\n .semantic-lens[data-dock-side=\"right\"] { left: auto; right: 1rem; }\n html[data-preset=\"blueprint\"] .semantic-lens { border-radius: 0.28rem; }\n .semantic-lens-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.75rem;\n padding: 0.72rem 0.78rem 0.62rem;\n border-bottom: 1px solid var(--toolbar-border);\n }\n .semantic-lens-eyebrow {\n display: block;\n color: var(--database-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.16em;\n text-transform: uppercase;\n }\n .semantic-lens-title {\n display: block;\n margin-top: 0.16rem;\n color: var(--text);\n font-size: 0.82rem;\n letter-spacing: -0.02em;\n }\n .semantic-lens-close {\n width: 1.75rem;\n height: 1.75rem;\n padding: 0;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .semantic-lens-close:hover,\n .semantic-lens-close:focus-visible { background: var(--toolbar-hover); }\n .semantic-lens-instruction {\n margin: 0;\n padding: 0.52rem 0.78rem 0.48rem;\n color: var(--text-faint);\n font-size: 0.55rem;\n line-height: 1.45;\n }\n .semantic-lens-kinds {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.3rem;\n max-height: min(15rem, 40vh);\n padding: 0 0.5rem 0.5rem;\n overflow-y: auto;\n scrollbar-width: thin;\n }\n .semantic-lens-kind {\n --lens-color: var(--external-stroke);\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.42rem;\n min-width: 0;\n min-height: 2.15rem;\n padding: 0.35rem 0.42rem;\n border: 1px solid color-mix(in srgb, var(--lens-color) 24%, var(--toolbar-border));\n border-radius: 0.45rem;\n background: color-mix(in srgb, var(--panel) 76%, transparent);\n color: var(--toolbar-text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;\n }\n html[data-preset=\"blueprint\"] .semantic-lens-kind { border-radius: 0.12rem; }\n .semantic-lens-kind[data-kind=\"frontend\"],\n .semantic-lens-kind[data-kind=\"start\"] { --lens-color: var(--frontend-stroke); }\n .semantic-lens-kind[data-kind=\"backend\"],\n .semantic-lens-kind[data-kind=\"active\"] { --lens-color: var(--backend-stroke); }\n .semantic-lens-kind[data-kind=\"database\"],\n .semantic-lens-kind[data-kind=\"success\"] { --lens-color: var(--database-stroke); }\n .semantic-lens-kind[data-kind=\"cloud\"],\n .semantic-lens-kind[data-kind=\"waiting\"] { --lens-color: var(--cloud-stroke); }\n .semantic-lens-kind[data-kind=\"messagebus\"] { --lens-color: var(--messagebus-stroke); }\n .semantic-lens-kind[data-kind=\"security\"],\n .semantic-lens-kind[data-kind=\"decision\"],\n .semantic-lens-kind[data-kind=\"failure\"] { --lens-color: var(--security-stroke); }\n .semantic-lens-kind:hover,\n .semantic-lens-kind:focus-visible,\n .semantic-lens-kind[aria-pressed=\"true\"] {\n border-color: color-mix(in srgb, var(--lens-color) 78%, var(--toolbar-border));\n background: color-mix(in srgb, var(--lens-color) 11%, var(--panel));\n }\n .semantic-lens-kind:focus-visible,\n .semantic-lens-close:focus-visible,\n .semantic-lens-actions button:focus-visible {\n outline: 2px solid var(--database-stroke);\n outline-offset: 1px;\n }\n .semantic-lens-kind:disabled { opacity: 0.34; cursor: default; }\n .semantic-lens-swatch {\n width: 0.48rem;\n height: 0.48rem;\n border-radius: 50%;\n background: var(--lens-color);\n box-shadow: 0 0 8px color-mix(in srgb, var(--lens-color) 58%, transparent);\n }\n .semantic-lens-kind strong {\n overflow: hidden;\n color: var(--text);\n font-size: 0.61rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-lens-kind em {\n color: var(--lens-color);\n font-size: 0.54rem;\n font-style: normal;\n font-weight: 800;\n }\n .semantic-lens-status {\n min-height: 2.5rem;\n margin: 0;\n padding: 0.55rem 0.78rem;\n border-top: 1px solid var(--toolbar-border);\n color: var(--text-faint);\n font-size: 0.55rem;\n line-height: 1.45;\n }\n .semantic-lens-status strong { color: var(--database-stroke); font-weight: 800; }\n .semantic-lens-actions {\n display: flex;\n justify-content: flex-end;\n gap: 0.28rem;\n padding: 0 0.62rem 0.62rem;\n }\n .semantic-lens-actions button {\n min-height: 1.8rem;\n padding: 0.28rem 0.48rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 0.56rem;\n cursor: pointer;\n }\n .semantic-lens-actions button:hover { background: var(--toolbar-hover); }\n .semantic-lens-actions #semantic-lens-copy { color: var(--database-stroke); }\n @keyframes archify-lens-in {\n from { opacity: 0; transform: translateY(5px) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n\n /* Route Probe answers a reader question over the compiled semantic graph:\n choose two stable nodes and reveal the shortest authored directed route.\n The receipt and signal live entirely in the viewer layer. */\n .route-probe {\n position: absolute;\n left: 1rem;\n bottom: calc(1rem + var(--archify-nav-reserve));\n z-index: 12;\n width: min(46rem, calc(100% - 25rem));\n min-width: 18rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 62%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(115deg, color-mix(in srgb, var(--backend-fill) 50%, transparent), transparent 62%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.625rem;\n }\n .route-probe[hidden] { display: none; }\n .route-probe[data-route-dock=\"top\"] {\n top: 1rem;\n bottom: auto;\n }\n html[data-preset=\"blueprint\"] .route-probe { border-radius: 0.25rem; }\n .route-probe-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.65rem;\n padding: 0.52rem 0.58rem 0.44rem;\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 80%, transparent);\n }\n .route-probe-copy { min-width: 0; }\n .route-probe-eyebrow {\n display: block;\n color: var(--backend-stroke);\n font-size: 0.48rem;\n font-weight: 800;\n letter-spacing: 0.15em;\n text-transform: uppercase;\n }\n .route-probe-title {\n display: block;\n margin-top: 0.14rem;\n overflow: hidden;\n color: var(--toolbar-text);\n font-size: 0.72rem;\n line-height: 1.25;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .route-probe-actions { display: flex; gap: 0.2rem; }\n .route-probe button {\n min-height: 1.55rem;\n padding: 0.25rem 0.42rem;\n border: 0;\n border-radius: 0.36rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n cursor: pointer;\n }\n .route-probe button:hover,\n .route-probe button:focus-visible { background: var(--toolbar-hover); }\n .route-probe button:focus-visible {\n outline: 2px solid var(--backend-stroke);\n outline-offset: 1px;\n }\n .route-probe-copy-link { color: var(--frontend-stroke) !important; }\n .route-probe-find { color: var(--backend-stroke) !important; }\n .route-probe-copy-link[hidden] { display: none; }\n .route-probe-find[hidden] { display: none; }\n .route-probe-path {\n display: flex;\n align-items: center;\n min-height: 2.2rem;\n padding: 0.42rem 0.58rem 0.24rem;\n overflow-x: auto;\n scrollbar-width: thin;\n white-space: nowrap;\n }\n .route-probe-node,\n .route-probe button.route-probe-node {\n flex: none;\n max-width: 9.5rem;\n overflow: hidden;\n min-height: 1.75rem !important;\n padding: 0.22rem 0.38rem;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 46%, var(--toolbar-border));\n border-radius: 999px;\n background: color-mix(in srgb, var(--backend-fill) 52%, transparent);\n color: var(--text);\n font-size: 0.56rem;\n font-weight: 700;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .route-probe-node[data-endpoint=\"start\"] {\n border-color: var(--frontend-stroke);\n color: var(--frontend-stroke);\n }\n .route-probe-node[data-endpoint=\"end\"] {\n border-color: var(--security-stroke);\n color: var(--security-stroke);\n }\n .route-probe-node[data-route-journey-state=\"past\"] { opacity: 0.66; }\n .route-probe-node[data-route-journey-state=\"future\"] { opacity: 0.48; }\n .route-probe-node[aria-current=\"step\"] {\n border-color: var(--backend-stroke);\n background: color-mix(in srgb, var(--backend-fill) 82%, var(--toolbar-menu-bg));\n color: var(--text);\n box-shadow: 0 0 0 1px color-mix(in srgb, var(--backend-stroke) 42%, transparent), 0 0 14px color-mix(in srgb, var(--backend-stroke) 34%, transparent);\n opacity: 1;\n }\n html[data-preset=\"blueprint\"] .route-probe-node[aria-current=\"step\"] {\n border-style: double;\n border-width: 3px;\n border-radius: 0.2rem;\n box-shadow: none;\n }\n .route-probe-arrow {\n flex: none;\n padding: 0 0.28rem;\n color: var(--text-faint);\n font-size: 0.65rem;\n }\n .route-probe-placeholder {\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.03em;\n }\n .route-probe-status {\n display: block;\n min-height: 1.45rem;\n padding: 0.08rem 0.58rem 0.44rem;\n color: var(--text-faint);\n font-size: 0.52rem;\n line-height: 1.35;\n }\n .route-journey-controls {\n display: grid;\n grid-template-columns: 2rem minmax(5.8rem, auto) 2rem minmax(4.8rem, auto);\n justify-content: start;\n gap: 0.22rem;\n padding: 0.08rem 0.58rem 0.28rem;\n }\n .route-journey-controls[hidden] { display: none; }\n .route-journey-controls button {\n min-height: 1.8rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent);\n background: color-mix(in srgb, var(--toolbar-bg) 72%, transparent);\n font-size: 0.54rem;\n font-weight: 700;\n }\n .route-journey-controls button:disabled {\n cursor: default;\n opacity: 0.34;\n }\n .route-journey-play { color: var(--backend-stroke) !important; }\n .route-journey-overview { color: var(--frontend-stroke) !important; }\n .route-journey-controls[data-playing=\"true\"] .route-journey-play {\n border-color: color-mix(in srgb, var(--backend-stroke) 64%, var(--toolbar-border));\n background: color-mix(in srgb, var(--backend-fill) 62%, transparent);\n }\n .route-probe[data-state=\"error\"] {\n border-color: color-mix(in srgb, var(--security-stroke) 72%, var(--toolbar-border));\n }\n .route-probe[data-state=\"error\"] .route-probe-status { color: var(--security-stroke); }\n\n .focus-chip {\n position: absolute;\n left: 1rem;\n top: 1rem;\n z-index: 12;\n display: block;\n width: min(22rem, calc(100% - 13rem));\n max-width: calc(100% - 13rem);\n overflow: hidden;\n border: 1px solid var(--frontend-stroke);\n border-radius: 0.85rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.6875rem;\n }\n .focus-chip[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .focus-chip { border-radius: 0.3rem; }\n .focus-chip button {\n flex: none;\n padding: 0.3rem 0.45rem;\n border-radius: 0.35rem;\n font-size: 0.625rem;\n }\n .relationship-lens-head {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.75rem;\n padding: 0.9rem 0.75rem 0.65rem;\n border-bottom: 1px solid var(--toolbar-border);\n background: linear-gradient(120deg, color-mix(in srgb, var(--frontend-fill) 34%, transparent), transparent 72%);\n }\n .relationship-lens-drag-handle {\n position: absolute;\n top: 0.12rem;\n left: 50%;\n width: 2.5rem;\n height: 0.78rem;\n padding: 0 !important;\n transform: translateX(-50%);\n color: var(--text-faint) !important;\n cursor: grab;\n touch-action: none;\n user-select: none;\n }\n .relationship-lens-drag-handle::before {\n content: \"\";\n display: block;\n width: 1.25rem;\n margin: auto;\n border-top: 2px dotted currentColor;\n opacity: 0.72;\n }\n .focus-chip[data-panel-dragging=\"true\"] .relationship-lens-drag-handle { cursor: grabbing; }\n @media (hover: none), (pointer: coarse) {\n .relationship-lens-drag-handle { display: none; }\n }\n .relationship-lens-copy { min-width: 0; }\n .relationship-lens-actions {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 0.18rem;\n }\n .relationship-lens-actions button { white-space: nowrap; }\n .relationship-lens-actions #btn-focus-clear {\n display: grid;\n width: 1.75rem;\n height: 1.75rem;\n padding: 0;\n place-items: center;\n color: var(--text-muted);\n font-size: 1rem;\n line-height: 1;\n }\n .relationship-lens-actions #btn-focus-clear:hover,\n .relationship-lens-actions #btn-focus-clear:focus-visible {\n background: var(--toolbar-hover);\n color: var(--text);\n }\n .relationship-lens-actions #btn-focus-copy { color: var(--frontend-stroke); }\n .relationship-lens-actions #btn-focus-relations { display: none; }\n .relationship-lens-eyebrow {\n display: block;\n margin-bottom: 0.18rem;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n }\n .relationship-lens-title {\n display: block;\n overflow: hidden;\n color: var(--text);\n font-size: 0.8rem;\n line-height: 1.35;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-detail {\n display: block;\n margin-top: 0.12rem;\n overflow: hidden;\n color: var(--text-muted);\n font-size: 0.625rem;\n line-height: 1.4;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-detail[hidden] { display: none; }\n .semantic-passport-meta {\n display: flex;\n flex-wrap: wrap;\n gap: 0.24rem;\n margin-top: 0.42rem;\n }\n .semantic-passport-meta span,\n .semantic-passport-meta code {\n max-width: 100%;\n overflow: hidden;\n padding: 0.14rem 0.34rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 82%, transparent);\n border-radius: 999px;\n background: color-mix(in srgb, var(--panel) 68%, transparent);\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5rem;\n letter-spacing: 0.04em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-meta [data-passport=\"kind\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 50%, var(--toolbar-border));\n color: var(--frontend-stroke);\n font-weight: 800;\n text-transform: uppercase;\n }\n .semantic-passport-meta [data-passport=\"tag\"] { color: var(--cloud-stroke); }\n .semantic-passport-meta [data-passport=\"brand\"] {\n border-color: color-mix(in srgb, var(--messagebus-stroke) 52%, var(--toolbar-border));\n color: var(--messagebus-stroke);\n font-weight: 700;\n }\n .semantic-passport-meta [hidden] { display: none; }\n html[data-preset=\"blueprint\"] .semantic-passport-meta span,\n html[data-preset=\"blueprint\"] .semantic-passport-meta code { border-radius: 0.1rem; }\n .semantic-passport-evidence {\n margin-top: 0.52rem;\n padding: 0.5rem;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 32%, var(--toolbar-border));\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--backend-fill) 18%, var(--panel));\n }\n .semantic-passport-evidence[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .semantic-passport-evidence { border-radius: 0.18rem; }\n .semantic-passport-evidence-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.55rem;\n margin-bottom: 0.35rem;\n }\n .semantic-passport-evidence-status {\n display: inline-flex;\n align-items: center;\n gap: 0.28rem;\n color: var(--backend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .semantic-passport-evidence-status::before {\n content: '';\n width: 0.38rem;\n height: 0.38rem;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--backend-stroke) 14%, transparent);\n }\n .semantic-passport-repository {\n min-width: 0;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-repository:hover,\n .semantic-passport-repository:focus-visible { color: var(--backend-stroke); }\n .semantic-passport-evidence-links { display: grid; gap: 0.22rem; }\n .semantic-passport-source {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.15rem 0.45rem;\n align-items: center;\n padding: 0.34rem 0.4rem;\n border: 1px solid transparent;\n border-radius: 0.38rem;\n color: var(--text-muted);\n text-decoration: none;\n }\n a.semantic-passport-source:hover,\n a.semantic-passport-source:focus-visible {\n border-color: color-mix(in srgb, var(--backend-stroke) 42%, transparent);\n background: color-mix(in srgb, var(--backend-fill) 32%, transparent);\n color: var(--text);\n }\n .semantic-passport-source strong {\n overflow: hidden;\n font-size: 0.5625rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-source code {\n color: var(--backend-stroke);\n font: inherit;\n font-size: 0.5rem;\n }\n .semantic-passport-source small {\n grid-column: 1 / -1;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-summary {\n display: block;\n margin-top: 0.12rem;\n color: var(--text-faint);\n font-size: 0.5625rem;\n }\n .semantic-passport-reach {\n display: grid;\n gap: 0.28rem;\n margin-top: 0.52rem;\n padding-top: 0.48rem;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 76%, transparent);\n }\n .semantic-passport-reach[hidden] { display: none; }\n .semantic-passport-reach-label {\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.1em;\n text-transform: uppercase;\n }\n .semantic-passport-reach-actions {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 0.25rem;\n }\n .semantic-passport-reach-actions button {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.5rem;\n min-width: 0;\n min-height: 2rem;\n padding: 0.32rem 0.42rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent);\n background: color-mix(in srgb, var(--panel) 70%, transparent);\n color: var(--text-muted);\n text-align: left;\n }\n .semantic-passport-reach-actions button:hover:not(:disabled),\n .semantic-passport-reach-actions button:focus-visible {\n border-color: color-mix(in srgb, var(--frontend-stroke) 62%, var(--toolbar-border));\n color: var(--text);\n }\n .semantic-passport-reach-actions button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .semantic-passport-reach-actions button:disabled {\n cursor: default;\n opacity: 0.5;\n }\n .semantic-passport-reach-actions button[aria-pressed=\"true\"] {\n border-color: color-mix(in srgb, var(--reach-color, var(--frontend-stroke)) 72%, var(--toolbar-border));\n background: color-mix(in srgb, var(--reach-fill, var(--frontend-fill)) 48%, transparent);\n color: var(--text);\n }\n #btn-reach-upstream {\n --reach-color: var(--database-stroke);\n --reach-fill: var(--database-fill);\n }\n #btn-reach-downstream {\n --reach-color: var(--backend-stroke);\n --reach-fill: var(--backend-fill);\n }\n .semantic-passport-reach-actions strong {\n color: var(--reach-color, var(--frontend-stroke));\n font-size: 0.625rem;\n }\n .semantic-passport-reach-status {\n color: var(--text-faint);\n font-size: 0.525rem;\n line-height: 1.4;\n }\n .semantic-passport-reach-status[hidden] { display: none; }\n .relationship-lens-list {\n max-height: min(18rem, 46vh);\n overflow: auto;\n padding: 0.4rem;\n scrollbar-width: thin;\n scrollbar-color: var(--frontend-stroke) transparent;\n }\n .relationship-lens-list::-webkit-scrollbar { width: 4px; }\n .relationship-lens-list::-webkit-scrollbar-thumb {\n border-radius: 999px;\n background: color-mix(in srgb, var(--frontend-stroke) 68%, transparent);\n }\n .relationship-lens-group + .relationship-lens-group { margin-top: 0.35rem; }\n .relationship-lens-group-title {\n display: block;\n padding: 0.24rem 0.38rem 0.16rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .relationship-lens-row {\n display: grid;\n grid-template-columns: 2.1rem minmax(0, 1fr);\n gap: 0.06rem 0.45rem;\n width: 100%;\n padding: 0.45rem 0.5rem !important;\n text-align: left;\n }\n .relationship-lens-row:hover,\n .relationship-lens-row:focus-visible,\n .relationship-lens-row[data-preview-active=\"true\"] {\n background: var(--toolbar-hover);\n box-shadow: inset 2px 0 0 var(--frontend-stroke);\n }\n .relationship-lens-row:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: -2px;\n }\n .relationship-lens-direction {\n grid-row: 1 / 3;\n align-self: center;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n }\n .relationship-lens-row[data-direction=\"in\"] .relationship-lens-direction { color: var(--database-stroke); }\n .relationship-lens-row[data-direction=\"loop\"] .relationship-lens-direction { color: var(--security-stroke); }\n .relationship-lens-row strong {\n overflow: hidden;\n color: var(--text);\n font-size: 0.6875rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-row small {\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5625rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-empty {\n margin: 0;\n padding: 0.75rem;\n color: var(--text-faint);\n font-size: 0.625rem;\n text-align: center;\n }\n\n /* Diagram Guide keeps the artifact's growing reader vocabulary\n discoverable without widening the permanent control bar. It derives\n honest counts at runtime and delegates every action to an existing\n production interaction instead of creating a second command system. */\n .diagram-guide {\n position: absolute;\n top: 1rem;\n right: 1rem;\n z-index: 26;\n width: min(32rem, calc(100% - 2rem));\n max-height: min(42rem, calc(100% - 2rem));\n overflow: auto;\n border: 1px solid color-mix(in srgb, var(--cloud-stroke) 58%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(135deg, color-mix(in srgb, var(--cloud-fill) 32%, transparent), transparent 42%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 22px 64px rgba(0, 0, 0, 0.4);\n backdrop-filter: blur(18px);\n animation: archify-guide-in 180ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n .diagram-guide[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .diagram-guide { border-radius: 0.28rem; }\n .diagram-guide-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 1rem;\n padding: 0.82rem 0.9rem 0.68rem;\n border-bottom: 1px solid var(--toolbar-border);\n }\n .diagram-guide-eyebrow {\n display: block;\n color: var(--cloud-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.16em;\n text-transform: uppercase;\n }\n .diagram-guide-title {\n display: block;\n margin-top: 0.16rem;\n color: var(--text);\n font-size: 0.86rem;\n letter-spacing: -0.02em;\n }\n .diagram-guide-close {\n width: 1.8rem;\n height: 1.8rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .diagram-guide-close:hover,\n .diagram-guide-close:focus-visible { background: var(--toolbar-hover); }\n .diagram-guide-stats {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n padding: 0.54rem 0.9rem;\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.025em;\n }\n .diagram-guide-stats::before {\n content: '';\n width: 0.42rem;\n height: 0.42rem;\n flex: none;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 10px color-mix(in srgb, var(--backend-stroke) 72%, transparent);\n }\n .diagram-guide-actions {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.38rem;\n padding: 0.62rem;\n }\n .diagram-guide-action {\n --guide-accent: var(--frontend-stroke);\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.55rem;\n min-height: 4.15rem;\n padding: 0.55rem 0.58rem;\n border: 1px solid color-mix(in srgb, var(--guide-accent) 22%, var(--toolbar-border));\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 78%, transparent);\n color: var(--toolbar-text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;\n }\n .diagram-guide-action[data-guide-action=\"route\"] { --guide-accent: var(--backend-stroke); }\n .diagram-guide-action[data-guide-action=\"map\"] { --guide-accent: var(--database-stroke); }\n .diagram-guide-action[data-guide-action=\"lens\"] { --guide-accent: var(--messagebus-stroke); }\n .diagram-guide-action[data-guide-action=\"story\"] { --guide-accent: var(--security-stroke); }\n .diagram-guide-action[data-guide-action=\"present\"] {\n --guide-accent: var(--cloud-stroke);\n }\n .diagram-guide-action:hover,\n .diagram-guide-action:focus-visible {\n border-color: color-mix(in srgb, var(--guide-accent) 76%, var(--toolbar-border));\n background: color-mix(in srgb, var(--guide-accent) 9%, var(--panel));\n transform: translateY(-1px);\n }\n .diagram-guide-action:focus-visible,\n .diagram-guide-close:focus-visible {\n outline: 2px solid var(--cloud-stroke);\n outline-offset: 1px;\n }\n .diagram-guide-action:disabled {\n opacity: 0.42;\n cursor: default;\n transform: none;\n }\n .diagram-guide-index {\n display: grid;\n place-items: center;\n width: 1.65rem;\n height: 1.65rem;\n border: 1px solid color-mix(in srgb, var(--guide-accent) 64%, var(--toolbar-border));\n border-radius: 0.35rem;\n color: var(--guide-accent);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.06em;\n }\n .diagram-guide-action-copy { min-width: 0; }\n .diagram-guide-action strong {\n display: block;\n overflow: hidden;\n color: var(--text);\n font-size: 0.66rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .diagram-guide-action small {\n display: -webkit-box;\n margin-top: 0.18rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n line-height: 1.35;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .diagram-guide kbd {\n align-self: start;\n min-width: 1.45rem;\n padding: 0.12rem 0.3rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.25rem;\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5rem;\n text-align: center;\n }\n .diagram-guide-shortcuts {\n display: flex;\n flex-wrap: wrap;\n gap: 0.34rem 0.62rem;\n padding: 0.58rem 0.9rem 0.68rem;\n border-top: 1px solid var(--toolbar-border);\n color: var(--text-faint);\n font-size: 0.5rem;\n }\n .diagram-guide-shortcuts span {\n display: inline-flex;\n align-items: center;\n gap: 0.28rem;\n white-space: nowrap;\n }\n .diagram-guide-feedback {\n min-height: 1rem;\n margin: -0.18rem 0.9rem 0.62rem;\n color: var(--security-stroke);\n font-size: 0.5rem;\n }\n .diagram-guide-feedback:empty { display: none; }\n @keyframes archify-guide-in {\n from { opacity: 0; transform: translateY(-5px) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n\n .node-finder {\n position: absolute;\n top: 1rem;\n left: 1rem;\n z-index: 24;\n display: flex;\n flex-direction: column;\n width: min(22rem, calc(100% - 2rem));\n max-height: calc(100% - 2rem);\n overflow: hidden;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.85rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.22);\n backdrop-filter: blur(16px);\n }\n .node-finder[hidden] { display: none; }\n .node-finder[data-context=\"route-source\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 68%, var(--toolbar-border));\n }\n .node-finder[data-context=\"route-target\"] {\n border-color: color-mix(in srgb, var(--security-stroke) 68%, var(--toolbar-border));\n }\n html[data-preset=\"blueprint\"] .node-finder { border-radius: 0.3rem; }\n .node-finder-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.7rem 0.8rem 0.45rem;\n }\n .node-finder-head strong {\n color: var(--text);\n font-size: 0.6875rem;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .node-finder[data-context=\"route-source\"] .node-finder-head strong { color: var(--frontend-stroke); }\n .node-finder[data-context=\"route-target\"] .node-finder-head strong { color: var(--security-stroke); }\n .node-finder-close {\n width: 1.75rem;\n height: 1.75rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .node-finder-close:hover,\n .node-finder-close:focus-visible { background: var(--toolbar-hover); }\n .node-finder-close:focus-visible,\n .node-finder-result:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: -2px;\n }\n .node-finder-search {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.55rem;\n margin: 0 0.55rem 0.55rem;\n padding: 0 0.7rem;\n min-height: 2.6rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 78%, transparent);\n transition: border-color 160ms ease-out, box-shadow 160ms ease-out;\n }\n html[data-preset=\"blueprint\"] .node-finder-search { border-radius: 0.18rem; }\n .node-finder-search \u003e span { color: var(--frontend-stroke); font-size: 0.875rem; }\n .node-finder-search:focus-within {\n border-color: var(--frontend-stroke);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--frontend-stroke) 20%, transparent);\n }\n .node-finder-input {\n appearance: none;\n width: 100%;\n min-width: 0;\n border: 0;\n outline: 0;\n background: transparent;\n color: var(--text);\n font: inherit;\n font-size: 0.75rem;\n }\n .node-finder-input:focus-visible { outline: none; }\n .node-finder-input::placeholder { color: var(--text-faint); }\n .node-finder kbd {\n padding: 0.1rem 0.32rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.25rem;\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5625rem;\n }\n .node-finder-results {\n display: grid;\n flex: 1 1 auto;\n gap: 0;\n min-height: 0;\n max-height: min(18rem, 48vh);\n margin: 0 0.55rem 0.45rem;\n padding: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 78%, transparent);\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 54%, transparent);\n scroll-padding-block: 0.25rem;\n scrollbar-width: thin;\n }\n html[data-preset=\"blueprint\"] .node-finder-results { border-radius: 0.18rem; }\n .node-finder-result {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.2rem 0.75rem;\n width: 100%;\n min-height: 3.25rem;\n padding: 0.58rem 0.65rem;\n border: 0;\n border-radius: 0;\n background: transparent;\n color: var(--text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: background-color 160ms ease-out;\n }\n .node-finder-result:not(:last-child) {\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 62%, transparent);\n }\n .node-finder-result:hover,\n .node-finder-result:focus-visible {\n position: relative;\n z-index: 1;\n background: color-mix(in srgb, var(--frontend-fill) 48%, var(--toolbar-hover));\n }\n .node-finder-result strong {\n overflow: hidden;\n font-size: 0.75rem;\n line-height: 1.25;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .node-finder-result small {\n grid-column: 1 / -1;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5625rem;\n letter-spacing: 0.015em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .node-finder-result em {\n align-self: center;\n color: var(--frontend-stroke);\n font-size: 0.625rem;\n font-style: normal;\n }\n .node-finder[data-context^=\"route-\"] .node-finder-result em {\n padding: 0.1rem 0.3rem;\n border: 1px solid color-mix(in srgb, currentColor 52%, transparent);\n border-radius: 999px;\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.05em;\n text-transform: uppercase;\n }\n .node-finder[data-context=\"route-target\"] .node-finder-result em { color: var(--security-stroke); }\n .node-finder-empty {\n padding: 1.1rem 0.75rem 1.25rem;\n color: var(--text-faint);\n font-size: 0.6875rem;\n text-align: center;\n }\n .node-finder-status {\n margin: 0;\n padding: 0.1rem 0.8rem 0.65rem;\n color: var(--text-faint);\n font-size: 0.5625rem;\n }\n\n .guided-views {\n display: grid;\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem auto;\n align-items: stretch;\n gap: 0.35rem;\n min-width: 0;\n margin: 0 0 0.75rem;\n padding: 0.35rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.85rem;\n background: var(--toolbar-bg);\n background: linear-gradient(120deg, var(--toolbar-bg), color-mix(in srgb, var(--toolbar-bg) 82%, var(--frontend-fill)));\n box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);\n backdrop-filter: blur(12px);\n }\n .guided-views[hidden] { display: none; }\n\n html[data-preset=\"blueprint\"] .guided-views {\n border-color: var(--panel-border);\n border-radius: 0.35rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--frontend-fill) 36%, transparent), transparent 24%),\n var(--toolbar-bg);\n box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);\n }\n html[data-preset=\"blueprint\"] .guided-views button { border-radius: 0.2rem; }\n html[data-preset=\"blueprint\"] .guided-view-progress { border-radius: 0; }\n html[data-preset=\"blueprint\"] .guided-view-progress span { border-radius: 0; }\n .guided-views button {\n min-width: 0;\n padding: 0.45rem 0.6rem;\n border-radius: 0.55rem;\n font-size: 0.75rem;\n }\n .guided-views \u003e #guided-view-prev,\n .guided-views \u003e #guided-view-next { min-width: 2.75rem; min-height: 2.75rem; }\n .guided-views button:disabled { opacity: 0.3; cursor: default; }\n .guided-view-copy {\n min-width: 0;\n padding: 0.2rem 0.5rem;\n border-left: 1px solid var(--toolbar-border);\n overflow: hidden;\n }\n .guided-view-meta {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n min-height: 1rem;\n margin-bottom: 0.12rem;\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 700;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .guided-view-handoff {\n box-sizing: border-box;\n height: 1rem;\n min-width: 0;\n max-width: 15rem;\n overflow: hidden;\n padding: 0 0.38rem;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 46%, transparent);\n border-radius: 999px;\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-fill) 44%, transparent);\n font-size: 0.5rem;\n line-height: calc(1rem - 2px);\n letter-spacing: 0.06em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-view-handoff[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .guided-view-handoff { border-radius: 0.15rem; }\n .chapter-handoff-overlay { pointer-events: none; }\n .chapter-handoff-anchor {\n fill: color-mix(in srgb, var(--frontend-fill) 10%, transparent);\n stroke: var(--frontend-stroke);\n stroke-width: 2;\n stroke-dasharray: 4 4;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n animation: archify-chapter-anchor 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"stay\"] { opacity: 1; }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"enter\"] { opacity: 0.78; }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"leave\"] { opacity: 0.26; }\n @keyframes archify-chapter-anchor {\n 0% { opacity: 0.35; stroke-dashoffset: 8; }\n 45% { opacity: 1; }\n 100% { opacity: 0.72; stroke-dashoffset: 0; }\n }\n .guided-view-progress {\n width: 3.5rem;\n height: 2px;\n overflow: hidden;\n border-radius: 999px;\n background: var(--toolbar-border);\n }\n .guided-view-progress span {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background: var(--frontend-stroke);\n transform: scaleX(0);\n transform-origin: left center;\n }\n .guided-view-copy strong,\n .guided-view-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .guided-view-copy strong { color: var(--toolbar-text); font-size: 0.75rem; line-height: 1.35; }\n .guided-view-copy small { margin-top: 0; color: var(--text-muted); font-size: 0.625rem; line-height: 1.35; }\n .guided-story-caption {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n gap: 0.12rem 0.55rem;\n align-items: center;\n min-width: 0;\n margin-top: 0.18rem;\n padding: 0.3rem 0.5rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 32%, var(--toolbar-border));\n border-radius: 0.58rem;\n background: color-mix(in srgb, var(--frontend-fill) 26%, transparent);\n animation: archify-story-caption-in 140ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n .guided-story-caption[hidden] { display: none; }\n .guided-story-caption-index {\n grid-row: 1 / span 2;\n align-self: stretch;\n display: inline-grid;\n min-width: 3.3rem;\n place-items: center;\n padding-right: 0.52rem;\n border-right: 1px solid color-mix(in srgb, var(--frontend-stroke) 28%, var(--toolbar-border));\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .guided-story-caption strong,\n .guided-story-caption small {\n display: block;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-story-caption strong { color: var(--toolbar-text); font-size: 0.6875rem; line-height: 1.3; }\n .guided-story-caption small { color: var(--text-muted); font-size: 0.5625rem; line-height: 1.35; }\n .guided-story-caption-next {\n grid-column: 3;\n grid-row: 1 / span 2;\n display: grid;\n min-width: 6.4rem;\n max-width: 9.5rem;\n align-self: stretch;\n align-content: center;\n padding-left: 0.58rem;\n border-left: 1px solid color-mix(in srgb, var(--frontend-stroke) 22%, var(--toolbar-border));\n }\n .guided-story-caption-next[hidden] { display: none; }\n .guided-story-caption-next small {\n color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--text-muted));\n font-weight: 800;\n letter-spacing: 0.09em;\n text-transform: uppercase;\n }\n .guided-story-caption-next strong { color: var(--text-muted); font-weight: 700; }\n html[data-preset=\"blueprint\"] .guided-story-caption { border-radius: 0.2rem; }\n .guided-views[data-story-beat] .guided-view-copy \u003e #guided-view-label,\n .guided-views[data-story-beat] .guided-view-copy \u003e #guided-view-note { display: none; }\n @keyframes archify-story-caption-in {\n from { opacity: 0; transform: translateY(3px); }\n to { opacity: 1; transform: translateY(0); }\n }\n .guided-view-trail {\n display: flex;\n align-items: center;\n gap: 0.28rem;\n min-width: 0;\n min-height: 1.7rem;\n margin-top: 0;\n padding: 0;\n overflow-x: auto;\n color: var(--text-faint);\n overscroll-behavior-x: contain;\n touch-action: pan-x;\n scrollbar-width: none;\n white-space: nowrap;\n }\n .guided-view-trail[hidden] { display: none; }\n .guided-view-trail::-webkit-scrollbar { display: none; }\n .guided-view-trail .guided-view-stop {\n appearance: none;\n box-sizing: border-box;\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n gap: 0.28rem;\n min-height: 1.5rem;\n padding: 0.1rem 0.3rem 0.1rem 0.18rem;\n border: 1px solid transparent;\n border-radius: 999px;\n background: transparent;\n color: var(--text-muted);\n cursor: pointer;\n font-family: inherit;\n font-size: 0.5625rem;\n font-weight: 650;\n letter-spacing: 0.02em;\n line-height: 1;\n transition: background 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease;\n }\n .guided-view-stop:hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 36%, transparent);\n background: color-mix(in srgb, var(--frontend-fill) 34%, transparent);\n }\n .guided-view-stop:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .guided-view-stop:disabled { cursor: wait; }\n .guided-view-stop::before {\n display: inline-grid;\n width: 1rem;\n height: 1rem;\n place-items: center;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 54%, var(--toolbar-border));\n border-radius: 50%;\n background: color-mix(in srgb, var(--frontend-fill) 58%, var(--toolbar-bg));\n color: var(--frontend-stroke);\n content: attr(data-story-number);\n font-size: 0.5rem;\n line-height: 1;\n }\n .guided-view-stop + .guided-view-stop::after {\n order: -1;\n color: color-mix(in srgb, var(--frontend-stroke) 58%, var(--text-faint));\n content: '\\00b7';\n font-size: 0.65rem;\n }\n .guided-view-stop[data-story-link=\"forward\"]::after { content: '\\2192'; }\n .guided-view-stop[data-story-link=\"reverse\"]::after { content: '\\2190'; }\n .guided-view-stop[data-story-link=\"multiple\"]::after { content: '\\21c4'; }\n .guided-view-stop[data-story-beat-state=\"pending\"] { opacity: 0.38; }\n .guided-view-stop[data-story-beat-state=\"next\"] {\n border-style: dashed;\n border-color: color-mix(in srgb, var(--frontend-stroke) 42%, var(--toolbar-border));\n color: color-mix(in srgb, var(--toolbar-text) 68%, var(--text-muted));\n opacity: 0.58;\n }\n .guided-view-stop[data-story-beat-state=\"past\"] { color: var(--text-muted); opacity: 0.76; }\n .guided-view-stop[data-story-beat-state=\"active\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--toolbar-border));\n background: color-mix(in srgb, var(--frontend-fill) 42%, transparent);\n color: var(--toolbar-text);\n font-weight: 800;\n opacity: 1;\n }\n .guided-view-stop[data-story-beat-state=\"active\"]::before {\n border-color: var(--frontend-stroke);\n box-shadow: 0 0 10px color-mix(in srgb, var(--frontend-stroke) 54%, transparent);\n }\n html[data-preset=\"blueprint\"] .guided-view-stop,\n html[data-preset=\"blueprint\"] .guided-view-stop::before { border-radius: 0.1rem; }\n html[data-preset=\"blueprint\"] .guided-view-stop[data-story-beat-state=\"active\"]::before { box-shadow: none; }\n .guided-view-actions { display: flex; align-items: stretch; gap: 0.2rem; }\n .guided-view-actions button { white-space: nowrap; }\n .guided-view-play {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.38rem;\n min-width: 6.25rem !important;\n color: var(--frontend-stroke) !important;\n font-size: 0.625rem !important;\n }\n .guided-view-play[aria-pressed=\"true\"] { background: var(--toolbar-hover); }\n .guided-view-all { min-width: 3.25rem !important; color: var(--text-muted) !important; font-size: 0.625rem !important; }\n .guided-view-beat-link {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.3rem;\n min-width: 5.4rem !important;\n min-height: 1.5rem;\n color: var(--text-muted) !important;\n font-size: 0.5625rem !important;\n letter-spacing: 0.025em;\n transition: background 140ms ease, border-color 140ms ease, color 140ms ease;\n }\n .guided-view-beat-link:not(:disabled):hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n color: var(--frontend-stroke) !important;\n }\n .guided-view-beat-link[data-copy-state=\"copied\"] {\n border-color: color-mix(in srgb, var(--backend-stroke) 58%, var(--toolbar-border));\n background: color-mix(in srgb, var(--backend-fill) 46%, transparent);\n color: var(--backend-stroke) !important;\n }\n .guided-view-index {\n grid-column: 1 / -1;\n min-width: 0;\n padding: 0.28rem 0.12rem 0.08rem;\n overflow: hidden;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n @media (min-width: 721px) {\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-index,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-beat-link,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-all,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-trail,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-copy \u003e #guided-view-label,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-copy \u003e #guided-view-note { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-story-caption { margin-top: 0.08rem; }\n }\n .guided-view-chapters {\n display: flex;\n gap: 0.28rem;\n min-width: 0;\n margin: 0;\n padding: 0.08rem 0.05rem 0.2rem;\n overflow-x: auto;\n list-style: none;\n scroll-padding-inline: 0.05rem;\n scroll-snap-type: x proximity;\n scrollbar-width: none;\n }\n .guided-view-chapters::-webkit-scrollbar { display: none; }\n .guided-view-chapters li {\n display: flex;\n flex: 1 1 0;\n min-width: 9.5rem;\n scroll-snap-align: center;\n }\n .guided-view-chapter {\n position: relative;\n display: grid !important;\n grid-template-columns: 1.55rem minmax(0, 1fr) auto;\n align-items: center;\n width: 100%;\n min-height: 2.75rem;\n padding: 0.36rem 0.48rem !important;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent) !important;\n border-radius: 0.48rem !important;\n background: color-mix(in srgb, var(--toolbar-bg) 88%, transparent) !important;\n color: var(--text-muted) !important;\n text-align: left;\n transition: background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;\n }\n .guided-view-chapter:hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 58%, var(--toolbar-border)) !important;\n background: color-mix(in srgb, var(--frontend-fill) 42%, var(--toolbar-bg)) !important;\n }\n .guided-view-chapter:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .guided-view-chapter-index {\n display: inline-grid;\n width: 1.32rem;\n height: 1.32rem;\n place-items: center;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 48%, var(--toolbar-border));\n border-radius: 50%;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.03em;\n }\n .guided-view-chapter-title {\n min-width: 0;\n overflow: hidden;\n color: var(--toolbar-text);\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 1.3;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-view-chapter-count {\n grid-column: 3;\n grid-row: 1;\n margin-left: 0.38rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-style: normal;\n font-weight: 650;\n white-space: nowrap;\n }\n .guided-view-chapter-delta {\n display: inline-flex;\n grid-column: 3;\n grid-row: 1;\n align-items: center;\n gap: 0.22rem;\n margin-left: 0.38rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 750;\n letter-spacing: 0.01em;\n white-space: nowrap;\n }\n .guided-view-chapter-delta[hidden] { display: none; }\n .guided-view-chapter-delta [data-delta-kind=\"stay\"] { color: var(--text-muted); }\n .guided-view-chapter-delta [data-delta-kind=\"enter\"] { color: var(--frontend-stroke); }\n .guided-view-chapter-delta [data-delta-kind=\"leave\"] { color: var(--security-stroke); }\n .guided-view-chapter[data-preview-active=\"true\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--toolbar-border)) !important;\n background: color-mix(in srgb, var(--frontend-fill) 54%, var(--toolbar-bg)) !important;\n }\n .guided-view-chapter[data-chapter-position=\"current\"] {\n border: 2px solid var(--frontend-stroke) !important;\n padding: calc(0.36rem - 1px) calc(0.48rem - 1px) !important;\n box-shadow: inset 3px 0 0 var(--frontend-stroke);\n color: var(--toolbar-text) !important;\n }\n .guided-view-chapter[data-chapter-position=\"current\"] .guided-view-chapter-index {\n background: var(--frontend-stroke);\n color: var(--bg);\n }\n .guided-view-chapter[data-chapter-position=\"before\"] {\n border-style: solid !important;\n opacity: 0.72;\n }\n .guided-view-chapter[data-chapter-position=\"after\"] { border-style: dashed !important; }\n html[data-preset=\"signal-flow\"] .guided-view-chapter[data-chapter-position=\"current\"] {\n box-shadow: inset 3px 0 0 var(--frontend-stroke), 0 0 18px color-mix(in srgb, var(--frontend-stroke) 18%, transparent);\n }\n html[data-preset=\"blueprint\"] .guided-view-chapter,\n html[data-preset=\"blueprint\"] .guided-view-chapter-index { border-radius: 0.12rem !important; }\n\n /* Story Shelf — keep every authored chapter and the Play action visible,\n but do not spend a second row on unavailable director controls before\n the reader enters a chapter. Existing data-active-view state expands\n the full guided surface without a new toggle or stored preference. */\n .guided-views[data-active-view=\"all\"] {\n grid-template-columns: minmax(11rem, .72fr) auto minmax(0, 2fr);\n align-items: center;\n padding: 0.28rem 0.35rem;\n }\n .guided-views[data-active-view=\"all\"] \u003e #guided-view-prev,\n .guided-views[data-active-view=\"all\"] \u003e #guided-view-next,\n .guided-views[data-active-view=\"all\"] .guided-view-beat-link,\n .guided-views[data-active-view=\"all\"] .guided-view-all { display: none; }\n .guided-views[data-active-view=\"all\"] .guided-view-copy {\n grid-column: 1;\n grid-row: 1;\n padding: 0.1rem 0.55rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-copy \u003e #guided-view-note { display: none; }\n .guided-views[data-active-view=\"all\"] .guided-view-actions {\n display: block;\n grid-column: 2;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-play { min-height: 2.75rem; }\n .guided-views[data-active-view=\"all\"] .guided-view-index {\n grid-column: 3;\n grid-row: 1;\n padding: 0 0.08rem 0 0.42rem;\n border-top: 0;\n border-left: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n .guided-views[data-active-view=\"all\"] .guided-view-chapters {\n gap: 0.3rem;\n padding: 0;\n }\n\n .cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 1rem;\n margin-top: 2rem;\n }\n\n .card {\n background: var(--panel);\n border-radius: 0.75rem;\n border: 1px solid var(--panel-border);\n padding: 1.25rem;\n }\n\n html[data-preset=\"signal-flow\"] .card {\n background: linear-gradient(145deg, rgba(10, 24, 43, 0.86), rgba(5, 12, 24, 0.92));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] .card {\n background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 250, 0.9));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 32px rgba(45, 78, 99, 0.08);\n }\n\n /* Preserve the one-screen guarantee on ordinary laptop displays. The\n high-screen expansion above must not trade a fuller canvas for page\n scrolling at 900–1080px heights. */\n @media (min-width: 768px) and (max-height: 1100px) {\n .header { margin-bottom: 1rem; }\n .diagram-container {\n padding: 0.875rem;\n padding-bottom: calc(0.875rem + var(--archify-nav-reserve));\n }\n .cards { margin-top: 1rem; }\n .card { padding: 1rem; }\n }\n @media (min-width: 768px) and (max-height: 920px) {\n body { padding-block: 1.25rem; }\n .header { margin-bottom: 0.875rem; }\n .cards { margin-top: 0.75rem; }\n html[data-nav-stage-rail=\"true\"] body { padding-block: 0.375rem; }\n html[data-nav-stage-rail=\"true\"] .header { margin-bottom: 0.5rem; }\n html[data-nav-stage-rail=\"true\"] .guided-views { margin-bottom: 0.375rem; }\n html[data-nav-stage-rail=\"true\"] .diagram-container[data-nav-stage-rail=\"true\"] { padding-top: 0.5rem; }\n html[data-nav-stage-rail=\"true\"] .cards { margin-top: 0.375rem; }\n }\n\n html[data-preset=\"blueprint\"] .card {\n position: relative;\n border-color: var(--panel-border);\n border-radius: 0.3rem;\n background: var(--panel);\n box-shadow: none;\n }\n html[data-preset=\"blueprint\"] .card::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 1rem;\n width: 2.5rem;\n border-top: 2px solid var(--frontend-stroke);\n }\n\n html[data-preset=\"editorial\"] .card {\n position: relative;\n border-radius: 0.28rem;\n background: var(--panel);\n box-shadow: 0 10px 28px color-mix(in srgb, #000 10%, transparent);\n }\n html[data-preset=\"editorial\"] .card::before {\n position: absolute;\n top: -1px;\n left: 1.25rem;\n width: 3.25rem;\n border-top: 3px solid var(--arrow-emphasis);\n content: \"\";\n }\n html[data-preset=\"editorial\"] .card-dot { border-radius: 0; transform: rotate(45deg) scale(0.78); }\n\n .card-header {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin-bottom: 0.75rem;\n }\n\n .card-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n }\n\n .card-dot.cyan { background: var(--frontend-stroke); }\n .card-dot.emerald { background: var(--backend-stroke); }\n .card-dot.violet { background: var(--database-stroke); }\n .card-dot.amber { background: var(--cloud-stroke); }\n .card-dot.rose { background: var(--security-stroke); }\n .card-dot.orange { background: var(--messagebus-stroke); }\n .card-dot.slate { background: var(--external-stroke); }\n\n .card h3 { font-size: 0.875rem; font-weight: 600; color: var(--text); }\n\n .card ul {\n list-style: none;\n color: var(--text-muted);\n font-size: 0.75rem;\n }\n\n .card li { margin-bottom: 0.375rem; }\n\n /* ==========================================================\n Print stylesheet — hide interactive controls, force light,\n drop the grid so the diagram doesn't waste ink, use landscape\n so wide diagrams fit, pack summary cards into 2 columns to\n avoid an orphan card on a trailing page.\n ========================================================== */\n @page { size: landscape; margin: 1.5cm; }\n\n @media print {\n /* Force the FULL light palette — including component fills/strokes and\n lane/arrow colors — so printing from dark theme doesn't put neon\n strokes and translucent dark fills on white paper. */\n :root, [data-theme=\"dark\"], [data-theme=\"light\"] {\n --bg: #ffffff;\n --grid: transparent;\n --panel: #ffffff;\n --panel-border: #e2e8f0;\n --text: #0f172a;\n --text-muted: #475569;\n --text-dim: #94a3b8;\n --text-faint: #64748b;\n --mask: #ffffff;\n --lane-fill: rgba(248, 250, 252, 0.65);\n --lane-stroke: #cbd5e1;\n --arrow: #94a3b8;\n --arrow-emphasis: #059669;\n --frontend-fill: rgba(34, 211, 238, 0.15);\n --frontend-stroke: #0891b2;\n --backend-fill: rgba(52, 211, 153, 0.18);\n --backend-stroke: #059669;\n --database-fill: rgba(167, 139, 250, 0.2);\n --database-stroke: #7c3aed;\n --cloud-fill: rgba(251, 191, 36, 0.18);\n --cloud-stroke: #d97706;\n --security-fill: rgba(251, 113, 133, 0.15);\n --security-stroke: #e11d48;\n --messagebus-fill: rgba(251, 146, 60, 0.15);\n --messagebus-stroke:#ea580c;\n --external-fill: rgba(148, 163, 184, 0.18);\n --external-stroke: #64748b;\n }\n body { background: #ffffff !important; padding: 0; }\n .container { max-width: none; }\n .toolbar, .diagram-nav, .focus-chip, .guided-views, .archify-toast, .no-print { display: none !important; }\n .chapter-handoff-overlay { display: none !important; }\n svg [data-node-id][data-chapter-role] { opacity: 1 !important; }\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from] { opacity: 1 !important; filter: none !important; }\n .diagram-container, .card { box-shadow: none; border-color: #e2e8f0; }\n .diagram-container { --archify-nav-reserve: 0px !important; }\n html[data-preset=\"signal-flow\"] .diagram-container,\n html[data-preset=\"signal-flow\"] .card { background: #ffffff; }\n .cards { grid-template-columns: 1fr 1fr; }\n /* Ensure elements break sensibly across pages */\n .card { break-inside: avoid; page-break-inside: avoid; }\n .diagram-container { break-inside: avoid; page-break-inside: avoid; }\n .diagram-container svg [data-detail] {\n opacity: 1 !important;\n pointer-events: auto !important;\n }\n .diagram-container svg [data-detail-anchor] { transform: none !important; }\n .diagram-container svg[data-lens-active] [data-node-id],\n .diagram-container svg[data-lens-active] [data-edge-from],\n .diagram-container svg[data-legend-preview-active] [data-node-id],\n .diagram-container svg[data-legend-preview-active] [data-edge-from] {\n opacity: 1 !important;\n filter: none !important;\n }\n [data-legend-bridge-runtime] { display: none !important; }\n .semantic-lens-overlay { display: none !important; }\n .relationship-hit-overlay { display: none !important; }\n .relationship-pulse-overlay { display: none !important; }\n .route-probe-overlay, .route-journey-overlay { display: none !important; }\n .story-trail-overlay,\n .story-carrier-overlay { display: none !important; }\n .diagram-container svg[data-focus-active] [data-node-id],\n .diagram-container svg[data-focus-active] [data-edge-from],\n .diagram-container svg[data-reach-active] [data-node-id],\n .diagram-container svg[data-reach-active] [data-edge-from],\n .diagram-container svg[data-story-beat] [data-story-step],\n .diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],\n .diagram-container svg[data-route-active] [data-node-id],\n .diagram-container svg[data-route-active] [data-edge-from] {\n opacity: 1 !important;\n filter: none !important;\n animation: none !important;\n }\n h1, .subtitle { color: #0f172a; }\n }\n\n /* ==========================================================\n TOOLBAR (theme toggle + export menu)\n ========================================================== */\n .toolbar {\n position: fixed;\n top: 1rem;\n right: 1rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: 0;\n background: transparent;\n box-shadow: none;\n z-index: 100;\n }\n .toolbar button {\n background: var(--toolbar-bg);\n color: var(--toolbar-text);\n border: 1px solid var(--toolbar-border);\n padding: 0.5rem 0.875rem;\n border-radius: 0.625rem;\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 500;\n cursor: pointer;\n white-space: nowrap;\n backdrop-filter: blur(10px);\n box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);\n transition: background 0.15s, border-color 0.15s, color 0.15s;\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n min-height: 2.75rem;\n }\n .toolbar button:hover {\n background: var(--toolbar-hover);\n border-color: color-mix(in srgb, var(--arrow) 62%, var(--toolbar-border));\n }\n .toolbar button[aria-expanded=\"true\"],\n .toolbar button[aria-pressed=\"true\"]:not(#btn-theme) {\n background: color-mix(in srgb, var(--frontend-stroke) 10%, var(--toolbar-hover));\n border-color: color-mix(in srgb, var(--frontend-stroke) 48%, var(--toolbar-border));\n }\n .toolbar #btn-export {\n padding-right: 0.82rem;\n padding-left: 0.82rem;\n }\n .toolbar #btn-export:hover,\n .toolbar #btn-export[aria-expanded=\"true\"] {\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-stroke) 10%, var(--toolbar-hover));\n border-color: color-mix(in srgb, var(--frontend-stroke) 54%, var(--toolbar-border));\n }\n .toolbar button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 2px;\n }\n .toolbar #btn-motion[hidden] { display: none !important; }\n .toolbar #btn-motion { min-width: 4.4rem; }\n .toolbar #btn-motion:disabled { cursor: default; opacity: 0.58; }\n .toolbar .preset-wrap,\n .toolbar .export-wrap {\n position: relative;\n }\n .toolbar-icon {\n display: inline-block;\n width: 0.95rem;\n height: 0.95rem;\n flex: 0 0 auto;\n background: currentColor;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .toolbar-chevron {\n width: 0.65rem;\n height: 0.65rem;\n transition: transform 0.15s ease;\n }\n [aria-expanded=\"true\"] \u003e .toolbar-chevron { transform: rotate(180deg); }\n [data-theme=\"light\"] #theme-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='3.1'/%3E%3Cpath d='M10 2.2v1.4M10 16.4v1.4M2.2 10h1.4M16.4 10h1.4M4.5 4.5l1 1M14.5 14.5l1 1M15.5 4.5l-1 1M5.5 14.5l-1 1'/%3E%3C/g%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='3.1'/%3E%3Cpath d='M10 2.2v1.4M10 16.4v1.4M2.2 10h1.4M16.4 10h1.4M4.5 4.5l1 1M14.5 14.5l1 1M15.5 4.5l-1 1M5.5 14.5l-1 1'/%3E%3C/g%3E%3C/svg%3E\");\n }\n [data-theme=\"dark\"] #theme-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15.2 12.7A6.3 6.3 0 017.3 4.8a6.3 6.3 0 107.9 7.9Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15.2 12.7A6.3 6.3 0 017.3 4.8a6.3 6.3 0 107.9 7.9Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E\");\n }\n #btn-present[aria-pressed=\"false\"] #present-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 3.2h-4v4M12.8 3.2h4v4M7.2 16.8h-4v-4M12.8 16.8h4v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 3.2h-4v4M12.8 3.2h4v4M7.2 16.8h-4v-4M12.8 16.8h4v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n #btn-present[aria-pressed=\"true\"] #present-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 7.2h-4v-4M12.8 7.2h4v-4M7.2 12.8h-4v4M12.8 12.8h4v4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 7.2h-4v-4M12.8 7.2h4v-4M7.2 12.8h-4v4M12.8 12.8h4v4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .toolbar-chevron {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n }\n .toolbar #btn-preset { min-width: 5.4rem; }\n .preset-control-mark {\n width: 0.58rem;\n height: 0.58rem;\n flex: 0 0 auto;\n border: 1px solid var(--frontend-stroke);\n border-radius: 0.2rem;\n background: color-mix(in srgb, var(--frontend-stroke) 28%, transparent);\n transition: border-radius 0.15s, box-shadow 0.15s, transform 0.15s;\n }\n #btn-preset[data-preset-option=\"signal-flow\"] .preset-control-mark {\n border-radius: 50%;\n box-shadow: 0 0 10px color-mix(in srgb, var(--frontend-stroke) 78%, transparent);\n }\n #btn-preset[data-preset-option=\"blueprint\"] .preset-control-mark {\n border-radius: 0.06rem;\n background: transparent;\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--frontend-stroke) 32%, transparent);\n transform: rotate(45deg) scale(0.84);\n }\n #btn-preset[data-preset-option=\"editorial\"] .preset-control-mark {\n border-color: var(--arrow-emphasis);\n border-radius: 0;\n background: var(--arrow-emphasis);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--arrow-emphasis) 14%, transparent);\n transform: rotate(45deg) scale(0.72);\n }\n .toolbar .preset-menu {\n position: absolute;\n top: calc(100% + 0.375rem);\n right: 0;\n display: none;\n width: 18.5rem;\n max-width: calc(100vw - 2rem);\n padding: 0.45rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.875rem;\n background: var(--toolbar-menu-bg);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);\n }\n .toolbar .preset-menu.open { display: block; }\n .toolbar .preset-menu.open,\n .toolbar .export-menu.open {\n animation: toolbar-menu-in 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);\n transform-origin: top right;\n }\n @keyframes toolbar-menu-in {\n from { opacity: 0; transform: translateY(-0.25rem) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n .preset-menu-heading {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.42rem 0.6rem 0.55rem;\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.13em;\n text-transform: uppercase;\n }\n .preset-menu-heading span:last-child {\n font-size: 0.52rem;\n letter-spacing: 0.04em;\n text-transform: none;\n }\n .toolbar .preset-option {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) 1rem;\n align-items: center;\n gap: 0.68rem;\n width: 100%;\n min-height: 3.35rem;\n padding: 0.5rem 0.62rem;\n border: 0;\n border-radius: 0.5rem;\n background: transparent;\n box-shadow: none;\n backdrop-filter: none;\n text-align: left;\n }\n .toolbar .preset-option:hover,\n .toolbar .preset-option:focus-visible { background: var(--toolbar-hover); }\n .toolbar .preset-option[aria-checked=\"true\"] {\n background: color-mix(in srgb, var(--frontend-stroke) 9%, transparent);\n border-color: color-mix(in srgb, var(--frontend-stroke) 36%, transparent);\n }\n .preset-option-swatch {\n position: relative;\n width: 2rem;\n height: 1.55rem;\n overflow: hidden;\n border: 1px solid #64748b;\n border-radius: 0.24rem;\n background: #0f172a;\n box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);\n }\n .preset-option-swatch::before,\n .preset-option-swatch::after { position: absolute; content: \"\"; }\n .preset-option-swatch.classic::before {\n top: 0.42rem;\n right: 0.35rem;\n bottom: 0.42rem;\n left: 0.35rem;\n border: 1px solid #22d3ee;\n border-radius: 0.16rem;\n background: rgba(34, 211, 238, 0.14);\n }\n .preset-option-swatch.signal-flow {\n border-color: #29415f;\n background: linear-gradient(135deg, #07101e 10%, #10243c 100%);\n }\n .preset-option-swatch.signal-flow::before {\n top: 50%;\n right: 0.2rem;\n left: 0.2rem;\n height: 1px;\n background: linear-gradient(90deg, #67e8f9, #c4b5fd);\n box-shadow: 0 0 8px #67e8f9;\n }\n .preset-option-swatch.signal-flow::after {\n top: calc(50% - 0.13rem);\n right: 0.28rem;\n width: 0.26rem;\n height: 0.26rem;\n border-radius: 50%;\n background: #67e8f9;\n box-shadow: 0 0 7px #67e8f9;\n }\n .preset-option-swatch.blueprint {\n border-color: #34799a;\n border-radius: 0.08rem;\n background-color: #0a2031;\n background-image:\n linear-gradient(rgba(102, 217, 239, 0.18) 1px, transparent 1px),\n linear-gradient(90deg, rgba(102, 217, 239, 0.18) 1px, transparent 1px);\n background-size: 0.42rem 0.42rem;\n }\n .preset-option-swatch.blueprint::before {\n top: 0.34rem;\n right: 0.38rem;\n bottom: 0.34rem;\n left: 0.38rem;\n border: 1px solid #66d9ef;\n }\n .preset-option-swatch.editorial {\n border-color: #b8aa94;\n border-radius: 0.08rem;\n background: repeating-linear-gradient(0deg, #f2eee5 0 0.34rem, #d8d0c2 0.36rem, #f2eee5 0.38rem);\n }\n .preset-option-swatch.editorial::before {\n top: 0;\n bottom: 0;\n left: 0.42rem;\n width: 1px;\n background: #c9502d;\n opacity: 0.72;\n }\n .preset-option-swatch.editorial::after {\n top: 0.52rem;\n right: 0.45rem;\n width: 0.38rem;\n height: 0.38rem;\n background: #c9502d;\n transform: rotate(45deg);\n }\n .preset-option-copy { min-width: 0; }\n .preset-option-copy strong,\n .preset-option-copy small { display: block; }\n .preset-option-copy strong {\n color: var(--toolbar-text);\n font-size: 0.72rem;\n font-weight: 600;\n }\n .preset-option-copy small {\n margin-top: 0.16rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.57rem;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .preset-option-check {\n display: inline-block;\n width: 0.9rem;\n height: 0.9rem;\n color: var(--frontend-stroke);\n background: currentColor;\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n opacity: 0;\n }\n .preset-option[aria-checked=\"true\"] .preset-option-check { opacity: 1; }\n html[data-preset=\"editorial\"] .toolbar button,\n html[data-preset=\"editorial\"] .preset-menu,\n html[data-preset=\"editorial\"] .export-menu,\n html[data-preset=\"editorial\"] .overview-map,\n html[data-preset=\"editorial\"] .semantic-lens,\n html[data-preset=\"editorial\"] .route-probe,\n html[data-preset=\"editorial\"] .focus-chip,\n html[data-preset=\"editorial\"] .diagram-guide,\n html[data-preset=\"editorial\"] .node-finder,\n html[data-preset=\"editorial\"] .guided-views,\n html[data-preset=\"editorial\"] .share-chapter-cue {\n border-radius: 0.3rem;\n }\n .motion-control-dot {\n width: 0.46rem;\n height: 0.46rem;\n flex: 0 0 auto;\n border: 1px solid var(--frontend-stroke);\n border-radius: 50%;\n background: var(--frontend-stroke);\n box-shadow: 0 0 9px color-mix(in srgb, var(--frontend-stroke) 72%, transparent);\n }\n #btn-motion[aria-pressed=\"false\"] .motion-control-dot {\n background: transparent;\n box-shadow: none;\n }\n .toolbar .export-menu {\n position: absolute;\n top: calc(100% + 0.375rem);\n right: 0;\n background: var(--toolbar-menu-bg);\n border: 1px solid var(--toolbar-border);\n width: 19rem;\n max-width: calc(100vw - 2rem);\n max-height: calc(100vh - 5.5rem);\n overflow-y: auto;\n border-radius: 0.875rem;\n padding: 0.55rem;\n display: none;\n flex-direction: column;\n box-shadow: 0 18px 48px rgba(0,0,0,0.24);\n }\n .toolbar .export-menu.open { display: flex; }\n .export-menu-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.5rem 0.55rem 0.72rem;\n }\n .export-menu-header strong,\n .export-menu-header span { display: block; }\n .export-menu-header strong {\n color: var(--toolbar-text);\n font-size: 0.78rem;\n font-weight: 650;\n letter-spacing: -0.015em;\n }\n .export-menu-header span {\n margin-top: 0.16rem;\n color: var(--text-faint);\n font-size: 0.56rem;\n }\n .export-menu-header kbd {\n padding: 0.16rem 0.36rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.3rem;\n color: var(--text-faint);\n background: color-mix(in srgb, var(--toolbar-border) 16%, transparent);\n font-family: inherit;\n font-size: 0.54rem;\n font-weight: 600;\n }\n .export-menu-section {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.18rem;\n }\n .export-menu-section + .export-menu-section {\n margin-top: 0.42rem;\n padding-top: 0.42rem;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 68%, transparent);\n }\n .export-menu-heading {\n grid-column: 1 / -1;\n display: block;\n padding: 0.24rem 0.55rem 0.2rem;\n color: var(--text-faint);\n font-size: 0.54rem;\n font-weight: 600;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .toolbar .export-menu button {\n display: grid;\n grid-template-columns: 1.15rem minmax(0, 1fr);\n align-items: center;\n column-gap: 0.52rem;\n background: transparent;\n border: 1px solid transparent;\n box-shadow: none;\n backdrop-filter: none;\n width: 100%;\n min-height: 3rem;\n text-align: left;\n padding: 0.48rem 0.55rem;\n border-radius: 0.5rem;\n white-space: nowrap;\n }\n .export-item-copy {\n display: block;\n min-width: 0;\n }\n .export-item-copy strong,\n .export-item-copy small { display: block; }\n .export-item-copy strong {\n overflow: hidden;\n color: inherit;\n font-size: 0.7rem;\n font-weight: 550;\n text-overflow: ellipsis;\n }\n .export-item-copy small {\n margin-top: 0.12rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.55rem;\n font-weight: 450;\n text-overflow: ellipsis;\n }\n .toolbar .export-menu button::before {\n width: 1rem;\n height: 1rem;\n background: currentColor;\n content: \"\";\n opacity: 0.72;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .toolbar .export-menu button[data-format=\"share-card\"]::before,\n .toolbar .export-menu button[data-action=\"route-share-card\"]::before,\n .toolbar .export-menu button[data-action=\"reach-share-card\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' d='M3 4.5h14v11H3zM6 12l2.5-2.5 2 2 1.5-1.5 2 2'/%3E%3Ccircle cx='13.8' cy='7.3' r='1.2' fill='black'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' d='M3 4.5h14v11H3zM6 12l2.5-2.5 2 2 1.5-1.5 2 2'/%3E%3Ccircle cx='13.8' cy='7.3' r='1.2' fill='black'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-action^=\"copy\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='6' y='6' width='10' height='10' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 13H3.5A1.5 1.5 0 012 11.5v-8A1.5 1.5 0 013.5 2h8A1.5 1.5 0 0113 3.5V4' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='6' y='6' width='10' height='10' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 13H3.5A1.5 1.5 0 012 11.5v-8A1.5 1.5 0 013.5 2h8A1.5 1.5 0 0113 3.5V4' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"png\"]::before,\n .toolbar .export-menu button[data-format=\"jpeg\"]::before,\n .toolbar .export-menu button[data-format=\"webp\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 2.5h7l3 3v12H5zM12 2.5v3h3' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 14l2-2 1.5 1.5 1.5-1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 2.5h7l3 3v12H5zM12 2.5v3h3' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 14l2-2 1.5 1.5 1.5-1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"svg\"]::before,\n .toolbar .export-menu button[data-format=\"webm\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2.5l7 4v7l-7 4-7-4v-7zM3 6.5l7 4 7-4M10 10.5v7' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2.5l7 4v7l-7 4-7-4v-7zM3 6.5l7 4 7-4M10 10.5v7' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"share-card\"],\n .toolbar .export-menu button[data-action=\"route-share-card\"],\n .toolbar .export-menu button[data-action=\"reach-share-card\"] {\n min-height: 3.35rem;\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-stroke) 8%, transparent);\n border-color: color-mix(in srgb, var(--frontend-stroke) 24%, var(--toolbar-border));\n }\n .toolbar .export-menu button[hidden] { display: none; }\n .toolbar .export-menu button:hover {\n background: var(--toolbar-hover);\n }\n .toolbar .export-menu button:focus-visible {\n background: var(--toolbar-hover);\n outline-offset: -2px;\n }\n .toolbar .export-menu button:disabled {\n color: var(--text-faint);\n background: color-mix(in srgb, var(--toolbar-border) 18%, transparent);\n cursor: not-allowed;\n }\n .toolbar .export-menu button:disabled:hover {\n border-color: transparent;\n }\n .toolbar .export-menu .hint {\n color: var(--text-faint);\n font-size: 0.55rem;\n }\n\n /* Toast — brief feedback for actions like \"copied\" */\n .archify-toast {\n position: fixed;\n top: 1rem;\n left: 50%;\n transform: translateX(-50%) translateY(-8px);\n background: var(--toolbar-menu-bg);\n color: var(--text);\n border: 1px solid var(--toolbar-border);\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n font-family: inherit;\n font-size: 0.75rem;\n opacity: 0;\n transition: opacity 0.2s, transform 0.2s;\n z-index: 200;\n pointer-events: none;\n box-shadow: 0 4px 20px rgba(0,0,0,0.25);\n }\n .archify-toast.show {\n opacity: 1;\n transform: translateX(-50%) translateY(0);\n }\n\n @media (max-width: 720px) {\n body { padding: 1rem; }\n .toolbar .preset-menu,\n .toolbar .export-menu {\n position: fixed;\n top: 4.5rem;\n right: 1rem;\n left: 1rem;\n width: auto;\n max-width: none;\n }\n .toolbar {\n position: relative;\n justify-content: flex-end;\n width: max-content;\n max-width: 100%;\n margin-left: auto;\n margin-bottom: 1rem;\n }\n .header { margin-bottom: 1.25rem; padding-right: 0; }\n html[data-preset=\"signal-flow\"] .header,\n html[data-preset=\"blueprint\"] .header,\n html[data-preset=\"editorial\"] .header { padding-right: 0; }\n .header-row {\n gap: 0.75rem;\n align-items: flex-start;\n }\n html[data-preset=\"signal-flow\"] .header-row,\n html[data-preset=\"blueprint\"] .header-row,\n html[data-preset=\"editorial\"] .header-row { flex-wrap: wrap; }\n html[data-preset=\"signal-flow\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n html[data-preset=\"blueprint\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n html[data-preset=\"editorial\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n h1 {\n font-size: 1.25rem;\n line-height: 1.25;\n }\n .subtitle {\n margin-left: 0;\n font-size: 0.8125rem;\n line-height: 1.55;\n }\n .diagram-container {\n padding: 0.75rem;\n border-radius: 0.75rem;\n }\n html:not([data-embed=\"true\"]) .diagram-container {\n padding: 0.75rem 0.75rem 4.25rem;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] {\n overflow-x: auto;\n overflow-y: hidden;\n overscroll-behavior-x: contain;\n scrollbar-width: thin;\n scroll-behavior: smooth;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] \u003e svg {\n min-width: 720px;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .diagram-nav,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .overview-map,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .focus-chip,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .route-probe,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .semantic-lens,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .diagram-guide,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .node-finder {\n transform: translateX(var(--archify-scroll-x, 0px));\n }\n .diagram-nav { right: 0.5rem; bottom: 0.5rem; }\n .diagram-nav button {\n min-width: 2.75rem;\n height: 2.75rem;\n }\n .diagram-nav [data-view=\"reset\"] { min-width: 3.75rem; }\n .diagram-nav [data-view=\"reset\"][data-detail-visible] { min-width: 4.35rem; }\n .overview-map {\n right: 0.5rem;\n bottom: 3.7rem;\n width: min(10.25rem, calc(100% - 1rem));\n }\n .overview-map[data-docked=\"true\"] {\n right: var(--archify-radar-right, 0.5rem);\n top: var(--archify-radar-top, 0.5rem);\n bottom: auto;\n transform: none !important;\n }\n .overview-map[data-docked=\"true\"][data-dock-side=\"left\"] {\n right: auto;\n left: var(--archify-radar-left, 0.5rem);\n }\n .overview-map-surface { height: 4rem; }\n .overview-map-feedback { right: 0.5rem; bottom: 3.7rem; }\n .semantic-lens {\n right: 0.5rem;\n bottom: 3.7rem;\n width: calc(100% - 1rem);\n max-height: calc(100% - 4.2rem);\n }\n .semantic-lens[data-dock-side] { left: auto; right: 0.5rem; }\n .semantic-lens-kinds { max-height: min(12rem, 34vh); }\n .focus-chip {\n left: 0.5rem;\n top: 0.5rem;\n width: calc(100% - 1rem);\n max-width: none;\n }\n .relationship-lens-head { padding-top: 0.7rem; }\n .relationship-lens-drag-handle { display: none; }\n .relationship-lens-list { max-height: min(12rem, 38vh); }\n .relationship-lens-actions #btn-focus-relations { display: block; color: var(--database-stroke); }\n .focus-chip:not([data-relations-expanded=\"true\"]) .relationship-lens-head { border-bottom-color: transparent; }\n .focus-chip:not([data-relations-expanded=\"true\"]) .relationship-lens-list { display: none; }\n /* While a mobile reader previews one relationship, turn the full Lens\n into a compact peek card. This keeps the exact source and target on\n canvas instead of covering them with a long, scrollable list. */\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-list {\n max-height: none;\n padding: 0.35rem;\n overflow: hidden;\n }\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-group { margin: 0; }\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-group-title,\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-row:not([data-preview-active=\"true\"]) {\n display: none;\n }\n .node-finder {\n top: 0.5rem;\n left: 0.5rem;\n width: min(22rem, calc(100% - 1rem));\n max-height: calc(100% - 1rem);\n }\n .diagram-guide {\n top: 0.5rem;\n right: 0.5rem;\n left: 0.5rem;\n width: auto;\n max-height: calc(100% - 1rem);\n }\n .diagram-guide-head { padding: 0.62rem 0.7rem 0.52rem; }\n .diagram-guide-stats { padding: 0.42rem 0.7rem; }\n .diagram-guide-actions {\n grid-template-columns: 1fr;\n gap: 0.28rem;\n padding: 0.42rem;\n }\n .diagram-guide-action {\n min-height: 3.1rem;\n padding: 0.42rem 0.48rem;\n }\n .diagram-guide-action small {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .diagram-guide-index {\n width: 1.5rem;\n height: 1.5rem;\n }\n .diagram-guide-shortcuts { padding: 0.46rem 0.7rem 0.52rem; }\n .diagram-guide-action[data-guide-action=\"present\"] { grid-column: auto; }\n .route-probe[data-guide-open=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n }\n .node-finder-results { max-height: min(16rem, 38vh); }\n .route-probe {\n left: 0.5rem;\n bottom: 3.7rem;\n width: calc(100% - 1rem);\n min-width: 0;\n }\n .route-probe[data-route-dock=\"top\"] {\n top: 0.5rem;\n bottom: auto;\n }\n .route-probe[data-finder-open=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n }\n .route-probe-head { padding: 0.45rem 0.48rem 0.38rem; }\n .route-probe-path { padding: 0.35rem 0.48rem 0.2rem; }\n .route-probe-node { min-height: 2.75rem !important; }\n .route-journey-controls {\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem minmax(0, 1fr);\n padding: 0.08rem 0.48rem 0.32rem;\n }\n .route-journey-controls button { min-height: 2.75rem; }\n .route-probe-status { padding: 0.05rem 0.48rem 0.38rem; }\n .route-probe-node { max-width: 7.5rem; }\n .guided-views {\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;\n gap: 0.2rem;\n padding: 0.25rem;\n }\n .guided-view-actions {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .guided-views \u003e #guided-view-prev,\n .guided-views \u003e #guided-view-next {\n align-self: center;\n height: 2.75rem;\n }\n .guided-view-play,\n .guided-view-all,\n .guided-view-beat-link { min-height: 2.75rem; }\n .guided-view-copy small { white-space: normal; }\n .guided-story-caption { padding: 0.32rem 0.45rem; }\n .guided-story-caption-index { min-width: 2.9rem; padding-right: 0.42rem; }\n .guided-story-caption strong,\n .guided-story-caption small { white-space: normal; }\n .guided-story-caption-next { display: none; }\n .guided-view-trail { min-height: 2rem; }\n .guided-view-trail .guided-view-stop {\n min-height: 2rem;\n padding: 0.22rem 0.42rem 0.22rem 0.28rem;\n }\n .guided-view-handoff { max-width: min(9rem, 32vw); }\n .guided-view-index { padding-top: 0.35rem; }\n .guided-view-chapters {\n gap: 0.35rem;\n scroll-padding-inline: 0.2rem;\n }\n .guided-view-chapters li {\n flex: 0 0 min(14rem, 78vw);\n min-width: 0;\n }\n .guided-view-chapter { min-height: 2.75rem; }\n .guided-views[data-active-view=\"all\"] {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.2rem;\n padding: 0.25rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-copy {\n grid-column: 1;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-actions {\n grid-column: 2;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-play {\n min-width: 6rem !important;\n min-height: 2.75rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-index {\n grid-column: 1 / -1;\n grid-row: 2;\n padding: 0.3rem 0.08rem 0;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n border-left: 0;\n }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .share-chapter-cue:not([hidden]),\n html[data-embed=\"true\"][data-share-moment=\"true\"] .share-chapter-cue:not([hidden]) {\n top: 0.5rem;\n grid-template-columns: auto minmax(0, 1fr);\n gap: 0.28rem 0.55rem;\n width: calc(100% - 1rem);\n min-height: 0;\n padding: 0.45rem 0.55rem 0.55rem;\n }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .diagram-container {\n padding-top: 4.25rem;\n }\n html[data-embed=\"true\"][data-share-moment=\"true\"] .diagram-container {\n padding-top: 4.25rem;\n }\n .share-chapter-index {\n min-width: 4.4rem;\n padding-right: 0.5rem;\n }\n .share-chapter-copy small { font-size: 0.46rem; }\n .share-chapter-route {\n grid-column: 1 / -1;\n font-size: 0.5rem;\n text-align: left;\n }\n .cards {\n grid-template-columns: 1fr;\n margin-top: 1rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) body { padding: 0.5rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .container {\n gap: 0.5rem;\n height: calc(100dvh - 1rem);\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .toolbar {\n position: fixed;\n top: 0.5rem;\n right: 0.5rem;\n margin: 0;\n gap: 0.25rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .toolbar button {\n min-height: 2.75rem;\n padding: 0.42rem 0.58rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header {\n min-height: 2.25rem;\n padding: 3.5rem 0 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row {\n min-height: 2.25rem;\n margin: 0;\n align-items: center;\n flex-wrap: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row::after,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .pulse-dot,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .subtitle { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) h1 {\n flex: 1 1 auto;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n font-size: 0.875rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views {\n padding: 0.2rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-view-copy small { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-story-caption small { display: block; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container { padding: 0.5rem 0.5rem 3.75rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] \u003e svg {\n width: 720px;\n height: auto;\n min-width: 720px;\n }\n }\n\n @media (max-width: 420px) {\n .export-menu-section { grid-template-columns: 1fr; }\n .export-menu-heading,\n .toolbar .export-menu button[data-format=\"share-card\"],\n .toolbar .export-menu button[data-action=\"route-share-card\"],\n .toolbar .export-menu button[data-action=\"reach-share-card\"] { grid-column: 1; }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .guided-story-caption { animation: none !important; }\n .toolbar .preset-menu.open,\n .toolbar .export-menu.open { animation: none; }\n .toolbar-chevron { transition: none; }\n }\n\n @media (max-width: 360px) {\n .toolbar { gap: 0.25rem; }\n .toolbar button { padding-right: 0.58rem; padding-left: 0.58rem; }\n .toolbar #btn-motion { min-width: 4.4rem; padding-right: 0.58rem; padding-left: 0.58rem; }\n #theme-label, #preset-label, #present-label { display: none; }\n .guided-view-handoff { max-width: 6.5rem; }\n }\n\n /* ==========================================================\n SVG SEMANTIC CLASSES — use these instead of inline fill/stroke\n ========================================================== */\n .c-grid { stroke: var(--grid); fill: none; }\n .c-mask { fill: var(--mask); stroke: none; }\n\n .c-frontend { fill: var(--frontend-fill); stroke: var(--frontend-stroke); }\n .c-backend { fill: var(--backend-fill); stroke: var(--backend-stroke); }\n .c-database { fill: var(--database-fill); stroke: var(--database-stroke); }\n .c-cloud { fill: var(--cloud-fill); stroke: var(--cloud-stroke); }\n .c-security { fill: var(--security-fill); stroke: var(--security-stroke); }\n .c-messagebus { fill: var(--messagebus-fill); stroke: var(--messagebus-stroke); }\n .c-external { fill: var(--external-fill); stroke: var(--external-stroke); }\n\n /* Text helpers */\n .t-primary { fill: var(--text); }\n .t-muted { fill: var(--text-muted); }\n .t-dim { fill: var(--text-dim); }\n .t-frontend { fill: var(--frontend-stroke); }\n .t-backend { fill: var(--backend-stroke); }\n .t-database { fill: var(--database-stroke); }\n .t-cloud { fill: var(--cloud-stroke); }\n .t-security { fill: var(--security-stroke); }\n .t-messagebus { fill: var(--messagebus-stroke); }\n .t-external { fill: var(--external-stroke); }\n\n /* Relationship labels share the exact color token used by their path. */\n .t-edge-default { fill: var(--arrow); }\n .t-edge-emphasis { fill: var(--arrow-emphasis); }\n .t-edge-security { fill: var(--security-stroke); }\n .t-edge-dashed { fill: var(--database-stroke); }\n\n /* Semantic Sigils are small authored role stamps, not icons from a brand\n pack and not viewer controls. Prefix selectors with svg so the canonical\n export's SVG-only stylesheet collector keeps them automatically. */\n svg .semantic-sigil {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.35;\n stroke-linecap: round;\n stroke-linejoin: round;\n opacity: 0.76;\n pointer-events: none;\n }\n svg .semantic-sigil \u003e * { vector-effect: non-scaling-stroke; }\n svg .semantic-sigil .sigil-fill { fill: currentColor; stroke: none; }\n svg .s-frontend { color: var(--frontend-stroke); }\n svg .s-backend { color: var(--backend-stroke); }\n svg .s-database { color: var(--database-stroke); }\n svg .s-cloud { color: var(--cloud-stroke); }\n svg .s-security { color: var(--security-stroke); }\n svg .s-messagebus { color: var(--messagebus-stroke); }\n svg .s-external { color: var(--external-stroke); }\n\n /* Brand Marks are authored identity badges. Their color is contained\n inside one neutral plate so vendor color never replaces Archify's\n semantic node and relationship vocabulary. */\n svg .brand-mark { pointer-events: none; }\n svg .brand-mark-badge { fill: #fff; stroke: none; }\n svg .brand-mark-frame {\n fill: none;\n stroke: #cbd5e1;\n stroke-width: 0.8;\n vector-effect: non-scaling-stroke;\n }\n svg .brand-mark-fallback {\n fill: none;\n stroke: #475569;\n stroke-width: 1.15;\n stroke-linecap: round;\n stroke-linejoin: round;\n }\n svg[data-preset=\"blueprint\"] .brand-mark-badge,\n svg[data-preset=\"blueprint\"] .brand-mark-frame { rx: 1px; }\n\n /* Reading Depth is a viewer-only level-of-detail layer. MAP preserves the\n authored structure and primary labels, READ restores relationship labels\n and node context, and FULL restores tags and fine annotations. Semantic\n intent can reveal the relevant detail without moving any geometry. */\n svg [data-detail] { transition: opacity 160ms ease; }\n svg [data-detail-anchor] {\n transform-box: fill-box;\n transform-origin: center;\n transition: transform 160ms ease;\n }\n .diagram-container[data-detail-level=\"map\"] svg [data-detail=\"context\"],\n .diagram-container[data-detail-level=\"map\"] svg [data-detail=\"fine\"],\n .diagram-container[data-detail-level=\"read\"] svg [data-detail=\"fine\"] {\n opacity: 0;\n pointer-events: none;\n }\n .diagram-container[data-detail-level=\"map\"] svg [data-detail-anchor] {\n transform: translateY(8px);\n }\n\n /* Focus, lens, preview, route, and story states are stronger reader intent than\n the global zoom level. Reveal only their exact semantic matches. */\n svg[data-focus-active] [data-focus-match][data-detail],\n svg[data-focus-active] [data-focus-match] [data-detail],\n svg[data-reach-active] [data-reach-match][data-detail],\n svg[data-reach-active] [data-reach-match] [data-detail],\n svg[data-lens-active] [data-lens-match][data-detail],\n svg[data-lens-active] [data-lens-match] [data-detail],\n svg[data-legend-preview-active] [data-legend-preview-match][data-detail],\n svg[data-legend-preview-active] [data-legend-preview-match] [data-detail],\n svg[data-intent-trace-active] [data-intent-trace-match][data-detail],\n svg[data-intent-trace-active] [data-intent-trace-match] [data-detail],\n svg[data-route-active] [data-route-match][data-detail],\n svg[data-route-active] [data-route-match] [data-detail],\n svg[data-story-active] [data-story-step][data-detail],\n svg[data-story-active] [data-story-step] [data-detail],\n svg[data-relationship-preview-active] [data-relationship-preview][data-detail],\n svg[data-relationship-preview-active] [data-relationship-preview] [data-detail],\n svg [data-node-id]:hover [data-detail],\n svg [data-node-id]:focus-visible [data-detail] {\n opacity: 1;\n pointer-events: auto;\n }\n svg[data-focus-active] [data-focus-match] [data-detail-anchor],\n svg[data-reach-active] [data-reach-match] [data-detail-anchor],\n svg[data-lens-active] [data-lens-match] [data-detail-anchor],\n svg[data-legend-preview-active] [data-legend-preview-match] [data-detail-anchor],\n svg[data-intent-trace-active] [data-intent-trace-match] [data-detail-anchor],\n svg[data-route-active] [data-route-match] [data-detail-anchor],\n svg[data-story-active] [data-story-step] [data-detail-anchor],\n svg [data-node-id]:hover [data-detail-anchor],\n svg [data-node-id]:focus-visible [data-detail-anchor] { transform: none; }\n\n /* Arrows */\n .a-default { stroke: var(--arrow); fill: none; }\n .a-emphasis { stroke: var(--arrow-emphasis); fill: none; }\n .a-security { stroke: var(--security-stroke); fill: none; stroke-dasharray: 5,5; }\n .a-dashed { stroke: var(--database-stroke); fill: none; stroke-dasharray: 4,4; }\n\n /* Arrowhead markers reference these */\n .m-default { fill: var(--arrow); }\n .m-emphasis { fill: var(--arrow-emphasis); }\n .m-security { fill: var(--security-stroke); }\n .m-dashed { fill: var(--database-stroke); }\n\n /* Stable semantic exploration hooks emitted by every renderer. */\n svg [data-node-id] {\n cursor: pointer;\n transition: opacity 0.18s ease, filter 0.18s ease;\n }\n svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }\n svg [data-node-id]:hover,\n svg [data-node-id]:focus-visible {\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n outline: none;\n }\n /* Verified Source Beacons are installed at runtime only for nodes whose\n repository evidence passed the local revision/blob/line checks. They\n live inside the owning node so every focus, route, story, and guided\n view keeps one coherent opacity state. Export serialization removes\n them before producing the canonical SVG or any derived visual. */\n .source-evidence-beacon {\n pointer-events: none;\n opacity: 0.76;\n transition: opacity 160ms ease, filter 160ms ease;\n }\n .source-evidence-beacon rect {\n fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));\n stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n }\n .source-evidence-beacon text {\n fill: var(--backend-stroke);\n font-size: 5.5px;\n font-weight: 800;\n letter-spacing: 0.06em;\n text-anchor: middle;\n text-transform: uppercase;\n }\n svg [data-node-id]:hover .source-evidence-beacon,\n svg [data-node-id]:focus-visible .source-evidence-beacon,\n svg [data-node-id][data-focus-selected] .source-evidence-beacon {\n opacity: 1;\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));\n }\n svg[data-preset=\"signal-flow\"] .source-evidence-beacon { opacity: 0.9; }\n svg[data-preset=\"blueprint\"] .source-evidence-beacon rect {\n rx: 0.8px;\n filter: none;\n }\n svg [data-legend-kind][role=\"button\"] { cursor: pointer; }\n svg [data-legend-kind]:focus { outline: none; }\n svg [data-legend-hit] {\n fill: transparent;\n stroke: transparent;\n stroke-width: 1.4;\n pointer-events: all;\n vector-effect: non-scaling-stroke;\n transition: stroke 150ms ease, stroke-width 150ms ease, filter 150ms ease;\n }\n svg [data-legend-count-badge] { pointer-events: none; }\n svg [data-legend-count-badge] rect {\n fill: var(--mask);\n stroke: var(--panel-border);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n }\n svg [data-legend-count-badge] text {\n fill: var(--text-muted);\n font-size: 8px;\n font-weight: 700;\n text-anchor: middle;\n }\n svg [data-legend-kind][role=\"button\"]:hover [data-legend-hit] {\n stroke: color-mix(in srgb, var(--database-stroke) 58%, transparent);\n }\n svg [data-legend-kind][role=\"button\"]:focus-visible [data-legend-hit] {\n stroke: var(--frontend-stroke);\n stroke-width: 1.8;\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg [data-legend-kind][data-legend-selected] [data-legend-hit] {\n stroke: var(--database-stroke);\n stroke-width: 2.2;\n stroke-dasharray: 3 2;\n }\n svg [data-legend-kind][data-legend-selected] [data-legend-count-badge] rect {\n stroke: var(--database-stroke);\n stroke-width: 1.8;\n }\n svg [data-legend-kind][data-legend-zero] { opacity: 0.44; }\n svg[data-preset=\"signal-flow\"] [data-legend-kind][data-legend-selected] [data-legend-hit] {\n filter: drop-shadow(0 0 4px var(--database-stroke));\n }\n svg[data-preset=\"blueprint\"] [data-legend-hit],\n svg[data-preset=\"blueprint\"] [data-legend-count-badge] rect { rx: 0; filter: none; }\n svg[data-legend-preview-active] [data-node-id],\n svg[data-legend-preview-active] [data-edge-from] { opacity: 0.11; }\n svg[data-legend-preview-active] [data-legend-preview-match] { opacity: 1; }\n svg[data-legend-preview-active] [data-legend-preview-peer] { opacity: 0.62; }\n svg[data-legend-preview-active] [data-legend-preview-selected] {\n filter: drop-shadow(0 0 8px var(--database-stroke));\n }\n svg[data-lens-active] [data-node-id],\n svg[data-lens-active] [data-edge-from] { opacity: 0.11; }\n svg[data-lens-active] [data-lens-match] { opacity: 1; }\n svg[data-lens-active] [data-lens-peer] { opacity: 0.62; }\n svg[data-lens-active] [data-lens-selected] {\n filter: drop-shadow(0 0 10px var(--database-stroke));\n }\n .semantic-lens-overlay { pointer-events: none; }\n .semantic-lens-flow {\n fill: none;\n stroke-width: 3.05;\n stroke-linecap: round;\n stroke-dasharray: 0.075 0.925;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.9;\n animation: archify-semantic-lens-flow 1.35s linear 1 both;\n animation-delay: var(--lens-flow-delay, 0s);\n }\n .semantic-lens-flow[data-direction=\"out\"],\n .semantic-lens-flow[data-direction=\"forward\"] {\n stroke: var(--frontend-stroke);\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n .semantic-lens-flow[data-direction=\"in\"],\n .semantic-lens-flow[data-direction=\"reverse\"] {\n stroke: var(--database-stroke);\n filter: drop-shadow(0 0 3px var(--database-stroke));\n }\n .semantic-lens-flow[data-direction=\"within\"] {\n stroke: var(--messagebus-stroke);\n filter: drop-shadow(0 0 3px var(--messagebus-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow {\n stroke-width: 3.7;\n opacity: 1;\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"out\"],\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"forward\"] {\n filter: drop-shadow(0 0 6px var(--frontend-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"in\"],\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"reverse\"] {\n filter: drop-shadow(0 0 6px var(--database-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"within\"] {\n filter: drop-shadow(0 0 6px var(--messagebus-stroke));\n }\n svg[data-preset=\"blueprint\"] .semantic-lens-flow {\n stroke-width: 2.45;\n stroke-linecap: square;\n filter: none;\n opacity: 0.78;\n }\n html[data-embed=\"true\"] .semantic-lens-overlay { display: none; }\n svg[data-focus-active] [data-node-id],\n svg[data-focus-active] [data-edge-from] { opacity: 0.13; }\n svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-focus-active] [data-focus-match] { opacity: 1; }\n svg[data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n\n /* Authored Reachability is a bounded graph query over the relationships\n already present in the artifact. Upstream walks incoming edges;\n downstream walks outgoing edges. It never claims runtime causality and\n changes only viewer emphasis, not canonical geometry or export bytes. */\n svg[data-reach-active] [data-node-id],\n svg[data-reach-active] [data-edge-from] { opacity: 0.09; }\n svg[data-reach-active] [data-reach-match] { opacity: 1; }\n svg[data-reach-active=\"upstream\"] [data-reach-origin] {\n filter: drop-shadow(0 0 11px var(--database-stroke));\n }\n svg[data-reach-active=\"downstream\"] [data-reach-origin] {\n filter: drop-shadow(0 0 11px var(--backend-stroke));\n }\n svg[data-reach-active=\"upstream\"] [data-edge-from][data-reach-match] {\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--database-stroke) 72%, transparent));\n }\n svg[data-reach-active=\"downstream\"] [data-edge-from][data-reach-match] {\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));\n }\n svg[data-preset=\"blueprint\"][data-reach-active] [data-reach-origin],\n svg[data-preset=\"blueprint\"][data-reach-active] [data-edge-from][data-reach-match] {\n filter: none;\n }\n\n /* Direct Relationship Explorer makes authored paths a real input surface\n without changing their visible stroke or canonical SVG. A transparent\n runtime rail supplies forgiving pointer geometry; the exact authored\n path and endpoints continue to carry every visible state. */\n .relationship-hit-overlay { pointer-events: none; }\n .relationship-hit-target { outline: none; }\n .relationship-hit-rail {\n fill: none;\n stroke: transparent;\n stroke-width: 24;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n pointer-events: stroke;\n cursor: pointer;\n }\n .relationship-focus-rail {\n fill: none;\n stroke: color-mix(in srgb, var(--frontend-stroke) 34%, transparent);\n stroke-width: 6;\n stroke-dasharray: 2 4;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n pointer-events: none;\n opacity: 0;\n }\n .relationship-hit-target:focus-visible .relationship-focus-rail {\n opacity: 1;\n }\n svg[data-preset=\"blueprint\"] .relationship-hit-target:focus-visible .relationship-focus-rail {\n stroke-linecap: square;\n filter: none;\n }\n svg[data-relationship-direct-active] [data-node-id],\n svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }\n svg[data-relationship-direct-active] [data-relationship-preview],\n svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }\n svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,\n svg[data-story-active] .relationship-hit-rail,\n svg[data-route-picking] .relationship-hit-rail,\n svg[data-route-active] .relationship-hit-rail,\n svg[data-lens-active] .relationship-hit-rail,\n svg[data-chapter-preview] .relationship-hit-rail { pointer-events: none; }\n html[data-embed=\"true\"] .relationship-hit-overlay { display: none; }\n @media (hover: none), (pointer: coarse) {\n .relationship-hit-rail { stroke-width: 24; }\n }\n\n /* Relationship Preview is temporary exploration state layered on top of\n neighborhood focus. It changes emphasis only; exported geometry and the\n relationship's original solid/dashed visual language stay untouched. */\n svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }\n svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-relationship-preview-active] [data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }\n svg[data-relationship-preview-active] [data-relationship-preview] {\n filter: drop-shadow(0 0 5px var(--arrow-emphasis));\n }\n svg[data-relationship-preview-active] [data-relationship-preview] path,\n svg[data-relationship-preview-active] path[data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview] line,\n svg[data-relationship-preview-active] line[data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview] polyline,\n svg[data-relationship-preview-active] polyline[data-relationship-preview] {\n stroke-width: 2.75;\n }\n svg[data-relationship-preview-active] [data-relationship-preview-source] {\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n }\n svg[data-relationship-preview-active] [data-relationship-preview-target] {\n filter: drop-shadow(0 0 7px var(--database-stroke));\n }\n .relationship-pulse-overlay { pointer-events: none; }\n .relationship-flow-pulse {\n fill: none;\n stroke: var(--arrow-emphasis);\n stroke-width: 3.35;\n stroke-linecap: round;\n stroke-dasharray: 0.085 0.915;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0;\n filter: drop-shadow(0 0 4px var(--arrow-emphasis));\n animation: archify-relationship-pulse 1.2s linear 1 both;\n }\n svg[data-preset=\"signal-flow\"] .relationship-flow-pulse {\n stroke: var(--frontend-stroke);\n stroke-width: 3.85;\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"] .relationship-flow-pulse {\n stroke-width: 2.5;\n stroke-linecap: square;\n filter: none;\n }\n svg[data-preset=\"editorial\"] .relationship-flow-pulse {\n stroke: var(--arrow-emphasis);\n stroke-width: 2.75;\n filter: none;\n }\n .semantic-flow-token {\n color: var(--frontend-stroke);\n opacity: 0;\n pointer-events: none;\n }\n .relationship-flow-token {\n animation: archify-relationship-token-life 1.2s linear 1 both;\n }\n .story-flow-token {\n animation: archify-relationship-token-life 0.78s linear 1 both;\n }\n .semantic-flow-token-halo {\n fill: var(--mask);\n stroke: currentColor;\n stroke-width: 1.1;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n }\n .relationship-flow-token-shape {\n fill: var(--mask);\n stroke: currentColor;\n stroke-width: 1.35;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n }\n .relationship-flow-token-ink {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.05;\n stroke-linecap: round;\n vector-effect: non-scaling-stroke;\n }\n .relationship-flow-token-dot { fill: currentColor; stroke: none; }\n .semantic-flow-token[data-token-kind=\"data\"] { color: var(--database-stroke); }\n .semantic-flow-token[data-token-kind=\"event\"] { color: var(--messagebus-stroke); }\n .semantic-flow-token[data-token-kind=\"security\"] { color: var(--security-stroke); }\n .semantic-flow-token[data-token-kind=\"state\"] { color: var(--cloud-stroke); }\n svg[data-preset=\"signal-flow\"] .semantic-flow-token {\n filter: drop-shadow(0 0 5px currentColor);\n }\n svg[data-preset=\"blueprint\"] .semantic-flow-token { filter: none; }\n svg[data-preset=\"editorial\"] .semantic-flow-token { filter: none; }\n html[data-embed=\"true\"] .relationship-pulse-overlay { display: none; }\n\n /* Intent Trace is a temporary, pre-click exploration layer. Related\n topology stays readable while a short viewer-only signal runs over\n cloned edge geometry; the authored edge remains untouched underneath. */\n svg[data-intent-trace-active] [data-node-id],\n svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }\n svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }\n svg[data-intent-trace-active] [data-intent-trace-selected] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n .intent-trace-overlay { pointer-events: none; }\n .intent-trace-flow {\n fill: none;\n stroke-width: 3.1;\n stroke-linecap: round;\n stroke-dasharray: 0.1 0.9;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.94;\n animation: archify-intent-trace-flow 1.15s linear 1 both;\n }\n /* Direction names describe each edge relative to the focused node only.\n The cloned geometry already runs from the authored source to target, so\n incoming and outgoing signals must share the same playback direction. */\n .intent-trace-flow[data-direction=\"out\"] {\n stroke: var(--frontend-stroke);\n filter: drop-shadow(0 0 4px var(--frontend-stroke));\n }\n .intent-trace-flow[data-direction=\"in\"] {\n stroke: var(--database-stroke);\n filter: drop-shadow(0 0 4px var(--database-stroke));\n animation-direction: normal;\n }\n .intent-trace-flow[data-direction=\"loop\"] {\n stroke: var(--security-stroke);\n filter: drop-shadow(0 0 4px var(--security-stroke));\n }\n svg[data-preset=\"blueprint\"] [data-intent-trace-selected],\n svg[data-preset=\"blueprint\"] .intent-trace-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"editorial\"] [data-intent-trace-selected],\n svg[data-preset=\"editorial\"] .intent-trace-flow { filter: none; }\n .intent-trace-status {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n }\n\n /* Route Probe separates a durable two-point query from selection and\n one-hop hover. Only the chosen shortest directed path stays prominent;\n the traveling signal is cloned viewer geometry and never authored SVG. */\n svg[data-route-picking=\"target\"] [data-node-id] { opacity: 0.24; }\n svg[data-route-picking=\"target\"] [data-route-candidate],\n svg[data-route-picking=\"target\"] [data-route-start] { opacity: 1; }\n svg[data-route-picking] [data-node-id] { cursor: crosshair; }\n svg[data-route-picking] [data-route-start] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n svg[data-route-active] [data-node-id],\n svg[data-route-active] [data-edge-from] { opacity: 0.11; }\n svg[data-route-active] [data-route-match] { opacity: 1; }\n svg[data-route-active] [data-route-start] {\n filter: drop-shadow(0 0 11px var(--frontend-stroke));\n }\n svg[data-route-active] [data-route-end] {\n filter: drop-shadow(0 0 11px var(--security-stroke));\n }\n svg[data-route-active] [data-route-step]:not([data-route-start]):not([data-route-end]) {\n filter: drop-shadow(0 0 7px var(--backend-stroke));\n }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"past\"] { opacity: 0.62; }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"future\"] { opacity: 0.34; }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"current\"] { opacity: 1; }\n svg[data-route-journey] [data-node-id][data-route-journey-current] {\n filter: drop-shadow(0 0 10px var(--backend-stroke));\n }\n svg[data-route-journey] [data-edge-from][data-route-journey-current] {\n opacity: 1;\n filter: drop-shadow(0 0 6px var(--backend-stroke));\n }\n .route-probe-overlay { pointer-events: none; }\n .route-journey-overlay { pointer-events: none; }\n .route-probe-flow {\n fill: none;\n stroke: var(--backend-stroke);\n stroke-width: 3.25;\n stroke-linecap: round;\n stroke-dasharray: 0.085 0.915;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n filter: drop-shadow(0 0 5px var(--backend-stroke));\n animation: archify-route-probe-flow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1 both;\n animation-delay: calc(var(--route-step, 0) * 0.16s);\n }\n .route-journey-flow {\n fill: none;\n stroke: var(--backend-stroke);\n stroke-width: 3.5;\n stroke-linecap: round;\n stroke-dasharray: 0.1 0.9;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0;\n filter: drop-shadow(0 0 6px var(--backend-stroke));\n animation: archify-route-journey-flow 780ms cubic-bezier(0.22, 1, 0.36, 1) 1 both;\n }\n svg[data-preset=\"blueprint\"] [data-route-start],\n svg[data-preset=\"blueprint\"] [data-route-end],\n svg[data-preset=\"blueprint\"] [data-route-step],\n svg[data-preset=\"blueprint\"] .route-probe-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"blueprint\"] .route-journey-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"editorial\"] [data-route-start],\n svg[data-preset=\"editorial\"] [data-route-end],\n svg[data-preset=\"editorial\"] [data-route-step],\n svg[data-preset=\"editorial\"] .route-probe-flow,\n svg[data-preset=\"editorial\"] .route-journey-flow { filter: none; }\n\n svg[data-preset=\"editorial\"] .c-grid {\n stroke-dasharray: 1 4;\n opacity: 0.48;\n }\n svg[data-preset=\"editorial\"] .c-region {\n fill: color-mix(in srgb, var(--cloud-fill) 48%, transparent);\n stroke-dasharray: 9 4;\n }\n svg[data-preset=\"editorial\"] [data-node-id]:hover,\n svg[data-preset=\"editorial\"] [data-node-id]:focus-visible,\n svg[data-preset=\"editorial\"][data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 18%, transparent));\n }\n\n svg[data-preset=\"blueprint\"] .c-grid {\n stroke-dasharray: 1 3;\n opacity: 0.78;\n }\n svg[data-preset=\"blueprint\"] .c-region {\n fill: color-mix(in srgb, var(--cloud-fill) 58%, transparent);\n stroke-dasharray: 12 4 2 4;\n }\n svg[data-preset=\"blueprint\"] .c-security-group,\n svg[data-preset=\"blueprint\"] .c-lane { stroke-dasharray: 7 3; }\n svg[data-preset=\"blueprint\"] [data-node-id]:hover,\n svg[data-preset=\"blueprint\"] [data-node-id]:focus-visible {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"][data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"][data-focus-active][data-reach-active] [data-focus-selected][data-reach-origin] {\n filter: none;\n }\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview],\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview-source],\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview-target] {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n\n /* Story Trail is a viewer-only overlay derived from the ordered focus IDs\n of the active guided view. The authored edge stays underneath with its\n original color, dash pattern, marker, and geometry intact. */\n .story-trail-overlay { pointer-events: none; }\n .story-carrier-overlay { pointer-events: none; }\n .story-trail-flow {\n fill: none;\n stroke: var(--frontend-stroke);\n stroke-width: 2.8;\n stroke-linecap: round;\n vector-effect: non-scaling-stroke;\n opacity: 0.34;\n filter: drop-shadow(0 0 2px var(--frontend-stroke));\n }\n svg[data-story-beat] [data-story-step] {\n opacity: 0.22;\n filter: saturate(0.42);\n transition: opacity 180ms ease, filter 180ms ease;\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"past\"] {\n opacity: 0.72;\n filter: saturate(0.82);\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"next\"] {\n opacity: 0.5;\n filter: saturate(0.66);\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n opacity: 1;\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n animation: archify-story-beat-node 360ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n svg[data-story-beat] [data-edge-from][data-story-beat-step] {\n opacity: 0.16;\n transition: opacity 160ms ease;\n }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"past\"] { opacity: 0.58; }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"next\"] { opacity: 0.34; }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"active\"] { opacity: 1; }\n svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"past\"] { opacity: 0.34; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"next\"] { opacity: 0.2; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"active\"] { opacity: 0.92; }\n svg[data-story-beat] .story-trail-flow[data-story-pulse=\"true\"] {\n stroke-dasharray: 2 13;\n stroke-dashoffset: 30;\n opacity: 0.92;\n animation: archify-story-flow 0.78s linear 1 both;\n }\n svg[data-preset=\"blueprint\"] .story-trail-flow {\n stroke-linecap: square;\n filter: none;\n opacity: 0.5;\n }\n svg[data-preset=\"blueprint\"][data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n filter: none;\n animation: none;\n }\n svg[data-preset=\"editorial\"] .story-trail-flow { filter: none; }\n svg[data-preset=\"editorial\"][data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 16%, transparent));\n }\n\n /* Chapter Delta Preview is a static, pre-commit comparison between two\n chapter focus sets. Symbols in the rail carry the meaning without color;\n these SVG rules only make exact stable-ID membership easier to scan. */\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from] {\n opacity: 0.1 !important;\n filter: none !important;\n transition: none !important;\n }\n svg[data-chapter-preview] .story-trail-overlay { opacity: 0.08 !important; }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"stay\"] {\n opacity: 0.76 !important;\n filter: saturate(0.7) !important;\n }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"enter\"] {\n opacity: 1 !important;\n filter: saturate(1.2) !important;\n }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"leave\"] {\n opacity: 0.28 !important;\n filter: grayscale(0.72) !important;\n }\n svg[data-preset=\"blueprint\"][data-chapter-preview] [data-node-id] { filter: none !important; }\n\n /* Dashed boundary variants */\n .c-security-group { fill: transparent; stroke: var(--security-stroke); stroke-dasharray: 4,4; }\n .c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }\n .c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }\n\n /* Optional trace animation, enabled only by meta.animation = \"trace\".\n The ordinary viewer performs one ambient pass and then restores the\n authored solid/security/async line language. WebM samples the same\n authored geometry into an explicit canvas timeline. */\n html[data-ambient-motion=\"running\"] svg[data-animation=\"trace\"] [data-animate=\"edge\"] {\n animation: archify-edge-flow 2.4s linear 1;\n animation-delay: calc(var(--step, 0) * 160ms);\n }\n html[data-ambient-motion=\"running\"] svg[data-animation=\"trace\"] [data-animate=\"node\"] {\n transform-box: fill-box;\n transform-origin: center;\n animation: archify-node-pulse 3.6s ease-in-out 1;\n animation-delay: calc(var(--step, 0) * 160ms);\n }\n svg[data-preset=\"signal-flow\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n stroke-linecap: round;\n filter: drop-shadow(0 0 3px var(--arrow-emphasis));\n animation-duration: 1.75s;\n }\n svg[data-preset=\"signal-flow\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-duration: 3.1s;\n }\n svg[data-preset=\"blueprint\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n stroke-linecap: square;\n filter: none;\n animation-duration: 2.15s;\n }\n svg[data-preset=\"blueprint\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-name: archify-blueprint-node-pulse;\n animation-duration: 3.8s;\n }\n svg[data-preset=\"editorial\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n filter: none;\n animation-duration: 2.2s;\n }\n svg[data-preset=\"editorial\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-name: archify-editorial-node-pulse;\n animation-duration: 3.5s;\n }\n /* Embedded proofs are static until a named Story Trail chapter is played.\n This keeps proof grids calm and ensures ?play=1 stops all viewer motion\n after one 3.2 second chapter instead of leaving ambient trace loops on. */\n html[data-embed=\"true\"] svg[data-animation=\"trace\"] [data-animate],\n html[data-share-playback=\"true\"] svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n @keyframes archify-edge-flow {\n 0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }\n 88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }\n 99.9% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }\n 100% { stroke-dashoffset: 0; opacity: 1; }\n }\n @keyframes archify-node-pulse {\n 0%, 72%, 100% { filter: none; stroke-width: 1.5; }\n 18%, 36% {\n filter: drop-shadow(0 0 8px var(--arrow-emphasis));\n stroke-width: 2.4;\n }\n }\n @keyframes archify-blueprint-node-pulse {\n 0%, 72%, 100% { opacity: 1; filter: none; }\n 18%, 36% { opacity: 0.72; filter: drop-shadow(0 0 2px var(--frontend-stroke)); }\n }\n @keyframes archify-editorial-node-pulse {\n 0%, 72%, 100% { opacity: 1; filter: none; }\n 18%, 36% { opacity: 0.78; filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 18%, transparent)); }\n }\n @keyframes archify-signal-scan {\n 0%, 18% { opacity: 1; transform: translateX(-70%); }\n 70% { opacity: 1; transform: translateX(70%); }\n 100% { opacity: 0; transform: translateX(70%); }\n }\n @keyframes archify-radar-live {\n 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--backend-stroke) 52%, transparent); }\n 55%, 100% { box-shadow: 0 0 0 0.32rem transparent; }\n }\n @keyframes archify-guided-progress {\n from { transform: scaleX(var(--guided-progress-start, 0)); }\n to { transform: scaleX(1); }\n }\n @keyframes archify-story-flow {\n to { stroke-dashoffset: 0; }\n }\n @keyframes archify-intent-trace-flow {\n 0% { opacity: 0.28; stroke-dashoffset: 0; }\n 12%, 78% { opacity: 0.94; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-route-probe-flow {\n 0% { stroke-dashoffset: 0; opacity: 0.96; }\n 78% { stroke-dashoffset: -1; opacity: 0.96; }\n 100% { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0.58; }\n }\n @keyframes archify-route-journey-flow {\n 0% { opacity: 0.16; stroke-dashoffset: 0; }\n 14%, 76% { opacity: 1; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-semantic-lens-flow {\n 0% { opacity: 0.2; stroke-dashoffset: 0; }\n 12%, 78% { opacity: 0.9; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-relationship-pulse {\n 0% { opacity: 0.18; stroke-dashoffset: 0; }\n 10%, 76% { opacity: 0.98; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-relationship-token-life {\n 0%, 7% { opacity: 0; }\n 13%, 82% { opacity: 1; }\n 100% { opacity: 0; }\n }\n @keyframes archify-story-beat-node {\n from { opacity: 0.48; filter: saturate(0.6); }\n 58% { opacity: 1; filter: drop-shadow(0 0 10px var(--frontend-stroke)); }\n to { opacity: 1; filter: drop-shadow(0 0 7px var(--frontend-stroke)); }\n }\n @keyframes archify-share-cue-enter {\n from { opacity: 0; transform: translate(-50%, -0.45rem); }\n to { opacity: 1; transform: translate(-50%, 0); }\n }\n @keyframes archify-share-cue-pulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.48; transform: scale(0.78); }\n }\n @media (prefers-reduced-motion: reduce) {\n html[data-preset=\"signal-flow\"] .diagram-container::before {\n animation: none !important;\n }\n .pulse-dot { animation: none !important; }\n svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n .guided-view-progress span {\n animation: none !important;\n transform: scaleX(1) !important;\n }\n .story-trail-flow,\n .intent-trace-flow,\n .route-probe-flow,\n .semantic-lens,\n .diagram-guide,\n [data-story-step],\n .overview-map-live,\n .guided-view-stop,\n .share-chapter-cue,\n .chapter-handoff-anchor,\n .share-chapter-state::before,\n .share-chapter-progress span { animation: none !important; }\n .guided-view-chapter,\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from] { transition: none !important; }\n svg[data-story-playing=\"true\"] .story-trail-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.55;\n }\n .intent-trace-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.72;\n }\n .route-probe-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.78;\n }\n .route-journey-overlay,\n .story-carrier-overlay { display: none !important; }\n .semantic-lens-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-width: 2.2;\n opacity: 0.34;\n filter: none;\n }\n .relationship-pulse-overlay { display: none !important; }\n .guided-view-chapter { transition: none !important; }\n .source-evidence-beacon,\n svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }\n }\n ";
+ const exportCss = "\n /* ==========================================================\n THEME VARIABLES — switch by toggling [data-theme] on \u003chtml\u003e\n ========================================================== */\n :root,\n [data-theme=\"dark\"] {\n --bg: #020617;\n --grid: #1e293b;\n --text: #ffffff;\n --text-muted: #94a3b8;\n --text-dim: #475569;\n /* UI chrome and menu hints need more contrast than SVG .t-dim accents */\n --text-faint: #7d8da1;\n\n --panel: rgba(15, 23, 42, 0.5);\n --panel-border: #1e293b;\n --lane-fill: rgba(15, 23, 42, 0.22);\n --lane-stroke: #334155;\n\n --arrow: #64748b;\n --arrow-emphasis: #34d399;\n\n /* Opaque mask color used behind semi-transparent component fills\n so the arrows drawn underneath are properly hidden. */\n --mask: #0f172a;\n\n --frontend-fill: rgba(8, 51, 68, 0.4);\n --frontend-stroke: #22d3ee;\n --backend-fill: rgba(6, 78, 59, 0.4);\n --backend-stroke: #34d399;\n --database-fill: rgba(76, 29, 149, 0.4);\n --database-stroke: #a78bfa;\n --cloud-fill: rgba(120, 53, 15, 0.3);\n --cloud-stroke: #fbbf24;\n --security-fill: rgba(136, 19, 55, 0.4);\n --security-stroke: #fb7185;\n --messagebus-fill: rgba(251, 146, 60, 0.3);\n --messagebus-stroke:#fb923c;\n --external-fill: rgba(30, 41, 59, 0.5);\n --external-stroke: #94a3b8;\n\n --toolbar-bg: rgba(15, 23, 42, 0.8);\n --toolbar-border: #334155;\n --toolbar-text: #e2e8f0;\n --toolbar-hover: rgba(15, 23, 42, 0.95);\n --toolbar-menu-bg: #0f172a;\n }\n\n [data-theme=\"light\"] {\n --bg: #f8fafc;\n --grid: #e2e8f0;\n --text: #0f172a;\n --text-muted: #64748b;\n --text-dim: #94a3b8;\n --text-faint: #64748b;\n\n --panel: #ffffff;\n --panel-border: #e2e8f0;\n --lane-fill: rgba(248, 250, 252, 0.65);\n --lane-stroke: #cbd5e1;\n\n --arrow: #94a3b8;\n --arrow-emphasis: #059669;\n\n --mask: #ffffff;\n\n --frontend-fill: rgba(34, 211, 238, 0.15);\n --frontend-stroke: #0891b2;\n --backend-fill: rgba(52, 211, 153, 0.18);\n --backend-stroke: #059669;\n --database-fill: rgba(167, 139, 250, 0.2);\n --database-stroke: #7c3aed;\n --cloud-fill: rgba(251, 191, 36, 0.18);\n --cloud-stroke: #d97706;\n --security-fill: rgba(251, 113, 133, 0.15);\n --security-stroke: #e11d48;\n --messagebus-fill: rgba(251, 146, 60, 0.15);\n --messagebus-stroke:#ea580c;\n --external-fill: rgba(148, 163, 184, 0.18);\n --external-stroke: #64748b;\n\n --toolbar-bg: rgba(255, 255, 255, 0.92);\n --toolbar-border: #cbd5e1;\n --toolbar-text: #334155;\n --toolbar-hover: #ffffff;\n --toolbar-menu-bg: #ffffff;\n }\n\n /* ==========================================================\n SIGNAL FLOW — an opt-in, motion-forward visual preset.\n The variables also target a standalone exported SVG, whose\n root carries data-preset and data-theme directly.\n ========================================================== */\n [data-preset=\"signal-flow\"][data-theme=\"dark\"] {\n --bg: #030711;\n --grid: #15233a;\n --panel: rgba(6, 14, 28, 0.78);\n --panel-border: #1d3350;\n --lane-fill: rgba(9, 22, 40, 0.5);\n --lane-stroke: #2c4564;\n --text: #f5fbff;\n --text-muted: #9eb0c7;\n --text-dim: #52667f;\n --text-faint: #7890ad;\n --mask: #07101e;\n --frontend-fill: rgba(6, 182, 212, 0.14);\n --frontend-stroke: #67e8f9;\n --backend-fill: rgba(16, 185, 129, 0.14);\n --backend-stroke: #5eead4;\n --database-fill: rgba(139, 92, 246, 0.16);\n --database-stroke: #c4b5fd;\n --cloud-fill: rgba(245, 158, 11, 0.13);\n --cloud-stroke: #fcd34d;\n --security-fill: rgba(244, 63, 94, 0.13);\n --security-stroke: #fda4af;\n --messagebus-fill: rgba(249, 115, 22, 0.13);\n --messagebus-stroke: #fdba74;\n --external-fill: rgba(71, 85, 105, 0.24);\n --external-stroke: #a5b4c7;\n --arrow: #7890ad;\n --arrow-emphasis: #2dd4bf;\n --toolbar-bg: rgba(7, 16, 30, 0.86);\n --toolbar-border: #29415f;\n --toolbar-menu-bg: #07101e;\n }\n\n [data-preset=\"signal-flow\"][data-theme=\"light\"] {\n --bg: #f4f9fc;\n --grid: #d4e5ee;\n --panel: rgba(255, 255, 255, 0.82);\n --panel-border: #bfd5e2;\n --lane-fill: rgba(232, 243, 248, 0.62);\n --lane-stroke: #a9c5d5;\n --text: #102638;\n --text-muted: #587287;\n --text-dim: #8aa2b4;\n --text-faint: #668397;\n --mask: #ffffff;\n --frontend-fill: rgba(6, 182, 212, 0.09);\n --frontend-stroke: #0789a1;\n --backend-fill: rgba(5, 150, 105, 0.09);\n --backend-stroke: #087f69;\n --database-fill: rgba(124, 58, 237, 0.09);\n --database-stroke: #7254c7;\n --cloud-fill: rgba(217, 119, 6, 0.08);\n --cloud-stroke: #b9670b;\n --security-fill: rgba(225, 29, 72, 0.08);\n --security-stroke: #c53a59;\n --messagebus-fill: rgba(234, 88, 12, 0.08);\n --messagebus-stroke: #c65f27;\n --external-fill: rgba(100, 116, 139, 0.1);\n --external-stroke: #607a8c;\n --arrow: #7b97aa;\n --arrow-emphasis: #0d9488;\n }\n\n /* ==========================================================\n BLUEPRINT — a review-first drafting preset for deployment,\n infrastructure, and technical design documentation. It keeps\n the same semantic palette and geometry while trading glow for\n precise grid contrast, squared materials, and drafting marks.\n ========================================================== */\n [data-preset=\"blueprint\"][data-theme=\"dark\"] {\n --bg: #06131f;\n --grid: #17425a;\n --panel: rgba(7, 27, 43, 0.9);\n --panel-border: #27627f;\n --lane-fill: rgba(10, 43, 66, 0.36);\n --lane-stroke: #34799a;\n --text: #e3f6ff;\n --text-muted: #91b8ca;\n --text-dim: #557e92;\n --text-faint: #739caf;\n --mask: #0a2031;\n --frontend-fill: rgba(26, 157, 193, 0.14);\n --frontend-stroke: #66d9ef;\n --backend-fill: rgba(31, 155, 124, 0.13);\n --backend-stroke: #69dfbd;\n --database-fill: rgba(120, 105, 196, 0.14);\n --database-stroke: #b4a8ff;\n --cloud-fill: rgba(197, 145, 43, 0.13);\n --cloud-stroke: #ffd166;\n --security-fill: rgba(199, 76, 104, 0.13);\n --security-stroke: #ff8da1;\n --messagebus-fill: rgba(207, 112, 49, 0.13);\n --messagebus-stroke: #ffad66;\n --external-fill: rgba(84, 119, 139, 0.18);\n --external-stroke: #a7cad9;\n --arrow: #78a3b7;\n --arrow-emphasis: #64dfc1;\n --toolbar-bg: rgba(7, 28, 45, 0.92);\n --toolbar-border: #34799a;\n --toolbar-text: #d8f3ff;\n --toolbar-hover: rgba(18, 58, 83, 0.95);\n --toolbar-menu-bg: #0a2031;\n }\n\n [data-preset=\"blueprint\"][data-theme=\"light\"] {\n --bg: #edf7fa;\n --grid: #b5d5e1;\n --panel: rgba(249, 253, 255, 0.94);\n --panel-border: #78aabd;\n --lane-fill: rgba(210, 232, 240, 0.42);\n --lane-stroke: #83b2c4;\n --text: #123344;\n --text-muted: #4e7486;\n --text-dim: #86a6b4;\n --text-faint: #668c9d;\n --mask: #f9fdff;\n --frontend-fill: rgba(8, 145, 178, 0.08);\n --frontend-stroke: #087f9c;\n --backend-fill: rgba(5, 128, 101, 0.08);\n --backend-stroke: #08755f;\n --database-fill: rgba(100, 75, 180, 0.08);\n --database-stroke: #6757a8;\n --cloud-fill: rgba(181, 120, 15, 0.08);\n --cloud-stroke: #a86609;\n --security-fill: rgba(190, 48, 80, 0.07);\n --security-stroke: #b32f50;\n --messagebus-fill: rgba(196, 81, 22, 0.07);\n --messagebus-stroke: #b65120;\n --external-fill: rgba(79, 112, 128, 0.08);\n --external-stroke: #506f7e;\n --arrow: #6d93a5;\n --arrow-emphasis: #087f69;\n --toolbar-bg: rgba(247, 252, 254, 0.94);\n --toolbar-border: #8ab5c5;\n --toolbar-text: #294f61;\n --toolbar-hover: #ffffff;\n --toolbar-menu-bg: #f9fdff;\n }\n\n /* ==========================================================\n EDITORIAL — a warm, publication-minded preset for design\n reviews, launch notes, and documentation. The diagram keeps\n the same semantic palette and exact geometry, but trades\n software chrome for paper, ink, ruled structure, and one\n restrained vermilion accent.\n ========================================================== */\n [data-preset=\"editorial\"][data-theme=\"dark\"] {\n --bg: #181611;\n --grid: #39342a;\n --panel: rgba(35, 31, 24, 0.96);\n --panel-border: #625a4a;\n --lane-fill: rgba(52, 46, 35, 0.46);\n --lane-stroke: #726957;\n --text: #f4eddf;\n --text-muted: #b9ae9b;\n --text-dim: #776e60;\n --text-faint: #9d917e;\n --mask: #231f18;\n --frontend-fill: rgba(43, 133, 142, 0.16);\n --frontend-stroke: #7fc6c7;\n --backend-fill: rgba(63, 132, 92, 0.16);\n --backend-stroke: #8fc29e;\n --database-fill: rgba(117, 91, 141, 0.17);\n --database-stroke: #c0a4d0;\n --cloud-fill: rgba(170, 119, 49, 0.16);\n --cloud-stroke: #d8ad68;\n --security-fill: rgba(157, 69, 65, 0.17);\n --security-stroke: #df9085;\n --messagebus-fill: rgba(174, 79, 42, 0.16);\n --messagebus-stroke: #df946f;\n --external-fill: rgba(126, 115, 96, 0.18);\n --external-stroke: #b8ad99;\n --arrow: #948978;\n --arrow-emphasis: #dd6b3d;\n --toolbar-bg: rgba(35, 31, 24, 0.92);\n --toolbar-border: #625a4a;\n --toolbar-text: #eee5d5;\n --toolbar-hover: #302a20;\n --toolbar-menu-bg: #231f18;\n }\n\n [data-preset=\"editorial\"][data-theme=\"light\"] {\n --bg: #f2eee5;\n --grid: #d8d0c2;\n --panel: rgba(251, 248, 241, 0.97);\n --panel-border: #c4b9a6;\n --lane-fill: rgba(229, 221, 207, 0.42);\n --lane-stroke: #b8aa94;\n --text: #242018;\n --text-muted: #6f6658;\n --text-dim: #a09788;\n --text-faint: #817767;\n --mask: #fbf8f1;\n --frontend-fill: rgba(31, 117, 126, 0.09);\n --frontend-stroke: #287e84;\n --backend-fill: rgba(42, 119, 75, 0.09);\n --backend-stroke: #397b53;\n --database-fill: rgba(105, 75, 130, 0.09);\n --database-stroke: #765d86;\n --cloud-fill: rgba(157, 103, 31, 0.1);\n --cloud-stroke: #9a671f;\n --security-fill: rgba(153, 58, 52, 0.09);\n --security-stroke: #9e463f;\n --messagebus-fill: rgba(182, 70, 27, 0.09);\n --messagebus-stroke: #ad4b25;\n --external-fill: rgba(101, 91, 75, 0.09);\n --external-stroke: #746b5e;\n --arrow: #8a806f;\n --arrow-emphasis: #bb4c23;\n --toolbar-bg: rgba(251, 248, 241, 0.94);\n --toolbar-border: #c4b9a6;\n --toolbar-text: #40392f;\n --toolbar-hover: #fffdf8;\n --toolbar-menu-bg: #fbf8f1;\n }\n\n * { margin: 0; padding: 0; box-sizing: border-box; }\n\n body {\n font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', 'Noto Sans Mono CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace;\n background: var(--bg);\n min-height: 100vh;\n padding: 2rem;\n color: var(--text);\n transition: background 0.2s ease, color 0.2s ease;\n }\n\n html[data-preset=\"signal-flow\"] body {\n background-image:\n radial-gradient(circle at 18% -8%, rgba(34, 211, 238, 0.14), transparent 34rem),\n radial-gradient(circle at 92% 18%, rgba(139, 92, 246, 0.12), transparent 30rem);\n background-attachment: fixed;\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] body {\n background-image:\n radial-gradient(circle at 18% -8%, rgba(6, 182, 212, 0.12), transparent 34rem),\n radial-gradient(circle at 92% 18%, rgba(139, 92, 246, 0.08), transparent 30rem);\n }\n html[data-preset=\"blueprint\"] body {\n background-image:\n linear-gradient(var(--grid) 1px, transparent 1px),\n linear-gradient(90deg, var(--grid) 1px, transparent 1px);\n background-size: 32px 32px;\n background-position: -1px -1px;\n background-attachment: fixed;\n }\n html[data-preset=\"editorial\"] body {\n background-image:\n linear-gradient(90deg, transparent 0, transparent 5.4rem, color-mix(in srgb, var(--security-stroke) 18%, transparent) 5.4rem, color-mix(in srgb, var(--security-stroke) 18%, transparent) calc(5.4rem + 1px), transparent calc(5.4rem + 1px)),\n repeating-linear-gradient(0deg, transparent 0, transparent 31px, color-mix(in srgb, var(--grid) 36%, transparent) 31px, color-mix(in srgb, var(--grid) 36%, transparent) 32px);\n background-attachment: fixed;\n }\n\n /* Gallery/embed mode keeps the generated artifact as the source of truth\n while presenting only its diagram surface inside a proof card. */\n html[data-embed=\"true\"] body {\n min-height: 0;\n padding: 0;\n overflow: hidden;\n background: var(--bg);\n background-image: none;\n }\n html[data-embed=\"true\"] .toolbar,\n html[data-embed=\"true\"] .header,\n html[data-embed=\"true\"] .cards,\n html[data-embed=\"true\"] .diagram-nav,\n html[data-embed=\"true\"] .overview-map,\n html[data-embed=\"true\"] .focus-chip,\n html[data-embed=\"true\"] .route-probe,\n html[data-embed=\"true\"] .semantic-lens,\n html[data-embed=\"true\"] .diagram-guide,\n html[data-embed=\"true\"] .node-finder,\n html[data-embed=\"true\"] .guided-views { display: none !important; }\n html[data-embed=\"true\"] .container { max-width: none; }\n html[data-embed=\"true\"] .diagram-container {\n padding: 0.5rem;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n }\n html[data-embed=\"true\"] .diagram-container svg { min-width: 0; }\n\n /* Share Chapter Cue lives in the HTML viewer layer, not inside the SVG.\n It gives one-shot embeds a title, authored note, truthful stop order,\n and lifecycle state while canonical diagram geometry stays untouched. */\n .share-chapter-cue { display: none; }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .share-chapter-cue:not([hidden]),\n html[data-embed=\"true\"][data-share-moment=\"true\"] .share-chapter-cue:not([hidden]) {\n position: absolute;\n z-index: 18;\n top: 0.85rem;\n left: 50%;\n display: grid;\n grid-template-columns: auto minmax(9rem, 13.5rem) minmax(0, 1fr);\n align-items: center;\n gap: 0.45rem 0.85rem;\n width: min(52rem, calc(100% - 1.5rem));\n min-height: 3.35rem;\n padding: 0.55rem 0.75rem 0.65rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 42%, var(--toolbar-border));\n border-radius: 0.75rem;\n background:\n linear-gradient(115deg, color-mix(in srgb, var(--frontend-fill) 52%, transparent), transparent 45%),\n color-mix(in srgb, var(--toolbar-menu-bg) 92%, transparent);\n color: var(--toolbar-text);\n box-shadow: 0 14px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045);\n backdrop-filter: blur(16px);\n pointer-events: none;\n animation: archify-share-cue-enter 280ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n html[data-preset=\"blueprint\"] .share-chapter-cue {\n border-radius: 0.2rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--frontend-fill) 46%, transparent), transparent 36%),\n var(--toolbar-menu-bg);\n box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);\n backdrop-filter: none;\n }\n html[data-preset=\"editorial\"] .share-chapter-cue {\n border-color: var(--panel-border);\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--security-fill) 58%, transparent), transparent 42%),\n var(--toolbar-menu-bg);\n box-shadow: 0 10px 30px color-mix(in srgb, #000 18%, transparent);\n backdrop-filter: none;\n }\n html[data-preset=\"editorial\"] .share-chapter-state { color: var(--arrow-emphasis); }\n html[data-preset=\"editorial\"] .share-chapter-state::before {\n border-radius: 0;\n box-shadow: none;\n transform: rotate(45deg) scale(0.8);\n }\n .share-chapter-index {\n display: grid;\n gap: 0.12rem;\n min-width: 5rem;\n padding-right: 0.75rem;\n border-right: 1px solid var(--toolbar-border);\n }\n .share-chapter-state {\n display: inline-flex;\n align-items: center;\n gap: 0.36rem;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n }\n .share-chapter-state::before {\n width: 0.38rem;\n height: 0.38rem;\n border-radius: 50%;\n background: currentColor;\n box-shadow: 0 0 10px currentColor;\n content: '';\n }\n .share-chapter-cue[data-state=\"playing\"] .share-chapter-state::before {\n animation: archify-share-cue-pulse 1.15s ease-in-out infinite;\n }\n .share-chapter-count {\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .share-chapter-copy { min-width: 0; }\n .share-chapter-copy strong,\n .share-chapter-copy small,\n .share-chapter-route {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .share-chapter-copy strong {\n color: var(--toolbar-text);\n font-size: 0.6875rem;\n line-height: 1.35;\n }\n .share-chapter-copy small {\n margin-top: 0.08rem;\n color: var(--text-muted);\n font-size: 0.5rem;\n line-height: 1.35;\n }\n .share-chapter-route {\n color: color-mix(in srgb, var(--frontend-stroke) 76%, var(--text-muted));\n font-size: 0.5625rem;\n font-weight: 650;\n letter-spacing: 0.015em;\n text-align: right;\n }\n .share-chapter-progress {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n height: 2px;\n overflow: hidden;\n background: color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n .share-chapter-progress span {\n display: block;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, var(--frontend-stroke), var(--database-stroke));\n box-shadow: 0 0 12px var(--frontend-stroke);\n transform: scaleX(0);\n transform-origin: left center;\n }\n\n /* Presentation Stage is a viewer-only layer: it gives the live diagram\n the viewport while keeping guided views, theme, focus, and exports real.\n Embed mode wins when both query parameters are present. */\n html[data-present=\"true\"]:not([data-embed=\"true\"]) body {\n height: 100dvh;\n min-height: 0;\n padding: 1rem;\n overflow: hidden;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .container {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n width: 100%;\n max-width: none;\n height: calc(100dvh - 2rem);\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header {\n flex: none;\n min-width: 0;\n margin: 0;\n padding-right: 23rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row { margin-bottom: 0.25rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .subtitle {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views {\n flex: none;\n margin-bottom: 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n justify-content: center;\n min-height: 0;\n padding: 0.75rem;\n padding-bottom: calc(0.75rem + var(--archify-nav-reserve));\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container \u003e svg {\n flex: 1 1 auto;\n height: 100%;\n min-height: 0;\n width: 100%;\n min-width: 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .cards { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) #btn-present {\n border-color: var(--frontend-stroke);\n color: var(--frontend-stroke);\n }\n\n /* The reader owns only the outer scale. Wide diagrams and measured tall workflows keep one authored\n SVG/viewBox while the runtime chooses a desktop width from the actual\n vertical budget. This avoids device-specific files and breakpoint\n jumps between a laptop and a tall monitor. */\n .container {\n width: 100%;\n max-width: var(--archify-reader-width, 1440px);\n margin: 0 auto;\n }\n @media (min-width: 768px) and (max-height: 920px) {\n .header { margin-bottom: 1rem; }\n .diagram-container { padding: 1rem; }\n .cards { margin-top: 1rem; }\n .card { padding: 1rem; }\n }\n\n .header { margin-bottom: 1.5rem; padding-right: 29.5rem; }\n\n html[data-preset=\"signal-flow\"] .header,\n html[data-preset=\"blueprint\"] .header,\n html[data-preset=\"editorial\"] .header { padding-right: 29.5rem; }\n\n .header-row {\n display: flex;\n align-items: center;\n gap: 1rem;\n margin-bottom: 0.5rem;\n }\n\n .pulse-dot {\n width: 12px;\n height: 12px;\n background: var(--frontend-stroke);\n border-radius: 50%;\n animation: none;\n }\n\n html[data-motion-capable=\"true\"] .pulse-dot { animation: pulse 2s infinite; }\n\n @keyframes pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.5; }\n }\n\n h1 {\n font-size: 1.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n }\n\n .subtitle {\n color: var(--text-muted);\n font-size: 0.875rem;\n margin-left: 1.75rem;\n }\n\n html[data-preset=\"signal-flow\"] .header-row::after {\n content: attr(data-preset-badge-signal-flow);\n margin-left: auto;\n color: var(--frontend-stroke);\n border: 1px solid var(--frontend-stroke);\n border-radius: 999px;\n padding: 0.28rem 0.6rem;\n font-size: 0.625rem;\n letter-spacing: 0.12em;\n opacity: 0.82;\n box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);\n white-space: nowrap;\n }\n\n html[data-preset=\"blueprint\"] .pulse-dot {\n width: 10px;\n height: 10px;\n border: 1px solid var(--frontend-stroke);\n border-radius: 1px;\n background: transparent;\n box-shadow: inset 0 0 0 2px var(--bg);\n transform: rotate(45deg);\n animation: none;\n }\n html[data-preset=\"blueprint\"] .header-row::after {\n content: attr(data-preset-badge-blueprint);\n margin-left: auto;\n padding: 0.28rem 0.55rem;\n border-top: 1px solid var(--frontend-stroke);\n border-bottom: 1px solid var(--frontend-stroke);\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 700;\n letter-spacing: 0.14em;\n white-space: nowrap;\n }\n\n html[data-preset=\"editorial\"] h1,\n html[data-preset=\"editorial\"] .card h3 {\n font-family: Georgia, 'Times New Roman', 'Songti SC', STSong, serif;\n letter-spacing: -0.02em;\n }\n html[data-preset=\"editorial\"] h1 { font-size: 1.72rem; font-weight: 600; }\n html[data-preset=\"editorial\"] .pulse-dot {\n width: 9px;\n height: 9px;\n border: 1px solid var(--arrow-emphasis);\n border-radius: 0;\n background: var(--arrow-emphasis);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--arrow-emphasis) 14%, transparent);\n transform: rotate(45deg);\n animation: none;\n }\n html[data-preset=\"editorial\"] .header-row::after {\n content: attr(data-preset-badge-editorial);\n margin-left: auto;\n padding: 0.32rem 0 0.24rem;\n border-bottom: 2px solid var(--arrow-emphasis);\n color: var(--arrow-emphasis);\n font-family: Georgia, 'Times New Roman', serif;\n font-size: 0.625rem;\n font-style: italic;\n font-weight: 600;\n letter-spacing: 0.08em;\n white-space: nowrap;\n }\n\n .diagram-container {\n --archify-nav-reserve: 0px;\n background: var(--panel);\n border-radius: 1rem;\n border: 1px solid var(--panel-border);\n padding: 1.5rem;\n padding-bottom: calc(1.5rem + var(--archify-nav-reserve));\n overflow: hidden;\n position: relative;\n }\n\n html[data-preset=\"signal-flow\"] .diagram-container {\n position: relative;\n overflow: hidden;\n background: linear-gradient(180deg, rgba(8, 20, 38, 0.82), rgba(3, 8, 18, 0.94));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.34);\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] .diagram-container {\n background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 246, 250, 0.94));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 24px 60px rgba(45, 78, 99, 0.12);\n }\n html[data-preset=\"blueprint\"] .diagram-container {\n border-color: var(--panel-border);\n border-radius: 0.35rem;\n background: var(--panel);\n box-shadow:\n inset 0 0 0 1px color-mix(in srgb, var(--panel-border) 34%, transparent),\n 0 18px 48px rgba(0, 0, 0, 0.16);\n }\n html[data-preset=\"blueprint\"] .diagram-container::after {\n content: \"\";\n position: absolute;\n z-index: 10;\n inset: 0.7rem;\n pointer-events: none;\n background:\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left top / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left top / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right top / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right top / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left bottom / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) left bottom / 1px 1.35rem no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right bottom / 1.35rem 1px no-repeat,\n linear-gradient(var(--frontend-stroke), var(--frontend-stroke)) right bottom / 1px 1.35rem no-repeat;\n opacity: 0.58;\n }\n html[data-preset=\"editorial\"] .diagram-container {\n overflow: hidden;\n border-color: var(--panel-border);\n border-radius: 0.38rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--security-fill) 58%, transparent), transparent 12%),\n var(--panel);\n box-shadow:\n 0 1px 0 color-mix(in srgb, var(--text) 6%, transparent),\n 0 18px 48px color-mix(in srgb, #000 19%, transparent);\n }\n html[data-preset=\"editorial\"] .diagram-container::after {\n position: absolute;\n z-index: 10;\n top: 0.72rem;\n right: 1.25rem;\n padding: 0.2rem 0.52rem;\n border: 1px solid var(--panel-border);\n background: var(--panel);\n color: var(--arrow-emphasis);\n content: attr(data-preset-badge-editorial-plate);\n font-family: Georgia, 'Times New Roman', serif;\n font-size: 0.52rem;\n font-style: italic;\n font-weight: 600;\n letter-spacing: 0.09em;\n pointer-events: none;\n }\n html[data-embed=\"true\"][data-preset=\"editorial\"] .diagram-container::after { display: none; }\n html[data-motion-capable=\"true\"][data-preset=\"signal-flow\"][data-ambient-motion=\"running\"] .diagram-container::before {\n content: \"\";\n position: absolute;\n inset: 0;\n pointer-events: none;\n background: linear-gradient(115deg, transparent 28%, rgba(103, 232, 249, 0.035) 48%, transparent 68%);\n transform: translateX(-70%);\n animation: archify-signal-scan 4.8s ease-in-out 1 both;\n }\n\n /* Motion Governor gives the reader a real static state and gives the\n strongest semantic action the only motion budget. Atmosphere resets to\n its authored base instead of freezing mid-cycle. Static artifacts never\n start a decorative pulse or scan. */\n html:not([data-motion-capable=\"true\"]) svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n }\n html:not([data-motion-capable=\"true\"]) svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n animation: none !important;\n }\n html[data-motion=\"still\"] .pulse-dot,\n html[data-motion=\"still\"] .diagram-container::before,\n html[data-motion=\"still\"] svg[data-animation=\"trace\"] [data-animate],\n html[data-motion-owner] .pulse-dot,\n html[data-motion-owner] .diagram-container::before,\n html[data-motion-owner] svg[data-animation=\"trace\"] [data-animate],\n html[data-embed=\"true\"] .pulse-dot,\n html[data-embed=\"true\"] .diagram-container::before,\n html[data-share-playback=\"true\"] .pulse-dot,\n html[data-share-playback=\"true\"] .diagram-container::before,\n html[data-document-hidden=\"true\"] .pulse-dot,\n html[data-document-hidden=\"true\"] .diagram-container::before,\n html[data-document-hidden=\"true\"] svg[data-animation=\"trace\"] [data-animate],\n html[data-motion=\"still\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n html[data-motion-owner] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n html[data-embed=\"true\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n html[data-share-playback=\"true\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n html[data-document-hidden=\"true\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n animation: none !important;\n }\n html[data-motion=\"still\"] .diagram-container::before,\n html[data-motion-owner] .diagram-container::before,\n html[data-embed=\"true\"] .diagram-container::before,\n html[data-share-playback=\"true\"] .diagram-container::before {\n opacity: 0;\n }\n html[data-motion=\"still\"] .guided-view-progress span,\n html[data-motion=\"still\"] .guided-story-caption,\n html[data-motion=\"still\"] .story-trail-flow,\n html[data-motion=\"still\"] .intent-trace-flow,\n html[data-motion=\"still\"] .route-probe-flow,\n html[data-motion=\"still\"] .route-journey-flow,\n html[data-motion=\"still\"] .semantic-lens-flow,\n html[data-motion=\"still\"] .diagram-guide,\n html[data-motion=\"still\"] [data-story-step],\n html[data-motion=\"still\"] .overview-map-live,\n html[data-motion=\"still\"] .guided-view-stop,\n html[data-motion=\"still\"] .share-chapter-cue,\n html[data-motion=\"still\"] .share-chapter-state::before,\n html[data-motion=\"still\"] .share-chapter-progress span,\n html[data-document-hidden=\"true\"] .guided-view-progress span,\n html[data-document-hidden=\"true\"] .story-trail-flow,\n html[data-document-hidden=\"true\"] .intent-trace-flow,\n html[data-document-hidden=\"true\"] .route-probe-flow,\n html[data-document-hidden=\"true\"] .route-journey-flow,\n html[data-document-hidden=\"true\"] .semantic-lens-flow,\n html[data-document-hidden=\"true\"] .diagram-guide,\n html[data-document-hidden=\"true\"] [data-story-step],\n html[data-document-hidden=\"true\"] .overview-map-live,\n html[data-document-hidden=\"true\"] .guided-view-stop,\n html[data-document-hidden=\"true\"] .share-chapter-cue,\n html[data-document-hidden=\"true\"] .share-chapter-state::before,\n html[data-document-hidden=\"true\"] .share-chapter-progress span {\n animation: none !important;\n }\n html[data-motion=\"still\"] .guided-view-progress span {\n transform: scaleX(1) !important;\n }\n html[data-motion=\"still\"] svg[data-story-playing=\"true\"] .story-trail-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.55;\n }\n html[data-motion=\"still\"] .intent-trace-flow,\n html[data-motion=\"still\"] .route-probe-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.72;\n }\n html[data-motion=\"still\"] .route-journey-overlay,\n html[data-document-hidden=\"true\"] .route-journey-overlay { display: none !important; }\n html[data-motion=\"still\"] .relationship-pulse-overlay,\n html[data-motion=\"still\"] .story-carrier-overlay,\n html[data-document-hidden=\"true\"] .story-carrier-overlay { display: none !important; }\n html[data-motion=\"still\"] .chapter-handoff-overlay { display: none !important; }\n html[data-motion=\"still\"] .chapter-handoff-anchor { animation: none !important; }\n html[data-motion=\"still\"] .guided-view-chapter,\n html[data-motion=\"still\"] svg [data-node-id],\n html[data-motion=\"still\"] svg [data-edge-from],\n html[data-motion=\"still\"] svg [data-detail],\n html[data-motion=\"still\"] svg [data-detail-anchor],\n html[data-motion=\"still\"] svg [data-legend-hit],\n html[data-motion=\"still\"] svg {\n transition: none !important;\n }\n\n svg {\n width: 100%;\n min-width: min(900px, 100%);\n display: block;\n transform-origin: 0 0;\n transition: transform 0.18s ease;\n }\n\n .diagram-container.is-camera-moving svg {\n transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .diagram-container.is-camera-transaction svg { transition: none; }\n .diagram-container.is-pannable { cursor: grab; }\n .diagram-container.is-panning { cursor: grabbing; user-select: none; }\n .diagram-container.is-panning svg { transition: none; }\n\n .diagram-nav {\n position: absolute;\n right: 1rem;\n bottom: 1rem;\n z-index: 12;\n display: inline-flex;\n align-items: center;\n max-width: calc(100% - 2rem);\n padding: 0.15rem;\n gap: 0;\n overflow-x: auto;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 48%, transparent);\n border-radius: 0.58rem;\n background: color-mix(in srgb, var(--toolbar-bg) 82%, transparent);\n box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);\n backdrop-filter: blur(10px);\n scrollbar-width: none;\n }\n .diagram-nav::-webkit-scrollbar { display: none; }\n .diagram-nav button,\n .focus-chip button,\n .guided-views button {\n border: 0;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n cursor: pointer;\n }\n .diagram-nav button {\n min-width: 2rem;\n height: 2rem;\n padding: 0 0.35rem;\n border-radius: 0.35rem;\n color: color-mix(in srgb, var(--toolbar-text) 68%, transparent);\n font-size: 0.56rem;\n font-weight: 600;\n letter-spacing: 0.02em;\n transition: background 0.15s, color 0.15s;\n }\n .diagram-nav button:hover,\n .diagram-nav button:focus-visible,\n .focus-chip button:hover,\n .focus-chip button:focus-visible,\n .guided-views button:hover,\n .guided-views button:focus-visible { background: var(--toolbar-hover); }\n .diagram-nav button:focus-visible,\n .focus-chip button:focus-visible,\n .guided-views button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .diagram-nav button:disabled { opacity: 0.38; cursor: default; }\n .diagram-nav button:disabled:hover { background: transparent; }\n .diagram-nav #btn-route-probe,\n .diagram-nav #btn-overview-map,\n .diagram-nav #btn-semantic-lens {\n min-width: auto;\n padding-inline: 0.5rem;\n color: color-mix(in srgb, var(--toolbar-text) 86%, transparent);\n font-weight: 650;\n }\n .diagram-nav #btn-node-finder,\n .diagram-nav [data-view=\"out\"] {\n position: relative;\n margin-left: 0.25rem;\n }\n .diagram-nav #btn-node-finder::before,\n .diagram-nav [data-view=\"out\"]::before {\n position: absolute;\n top: 0.4rem;\n bottom: 0.4rem;\n left: -0.13rem;\n width: 1px;\n background: color-mix(in srgb, var(--toolbar-border) 62%, transparent);\n content: \"\";\n pointer-events: none;\n }\n .diagram-nav-icon {\n display: block;\n width: 0.72rem;\n height: 0.72rem;\n margin: auto;\n background: currentColor;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .diagram-nav-icon.find {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='4.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m12 12 4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='4.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m12 12 4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.guide {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.8 7.3a2.4 2.4 0 014.6.9c0 1.8-2.4 2-2.4 3.7M10 14.9h.01' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.8 7.3a2.4 2.4 0 014.6.9c0 1.8-2.4 2-2.4 3.7M10 14.9h.01' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.minus {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav-icon.plus {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .diagram-nav [data-view=\"reset\"] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.2rem;\n min-width: 3.1rem;\n padding-inline: 0.35rem;\n }\n .diagram-nav [data-view=\"reset\"][data-detail-visible] {\n min-width: 3.8rem;\n }\n .diagram-nav-detail {\n color: color-mix(in srgb, var(--toolbar-text) 52%, transparent);\n font-size: 0.44rem;\n font-weight: 700;\n line-height: 1;\n letter-spacing: 0.07em;\n }\n .diagram-nav-percent {\n color: color-mix(in srgb, var(--toolbar-text) 84%, transparent);\n font-size: 0.55rem;\n font-weight: 650;\n line-height: 1;\n }\n .diagram-container[data-camera-indicator=\"true\"] .diagram-nav-detail,\n .diagram-container[data-camera-indicator=\"true\"] .diagram-nav-percent { color: var(--frontend-stroke); }\n .diagram-nav #btn-diagram-guide[aria-expanded=\"true\"] {\n color: var(--cloud-stroke);\n background: var(--toolbar-hover);\n }\n\n /* Semantic Radar is a deliberately simplified, viewer-only overview. It\n uses authored node bounds and the live camera viewport rather than\n cloning the canonical SVG, so IDs, filters, animation, and export state\n stay singular and deterministic. */\n .overview-map {\n position: absolute;\n right: 1rem;\n bottom: calc(4.15rem + var(--archify-nav-reserve));\n z-index: 12;\n width: 11.25rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n border-radius: 0.78rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.625rem;\n }\n .overview-map[hidden] { display: none; }\n .overview-map[data-docked=\"true\"] {\n position: fixed;\n right: var(--archify-radar-right, 1rem);\n top: var(--archify-radar-top, 1rem);\n bottom: auto;\n }\n .overview-map[data-docked=\"true\"][data-dock-side=\"left\"] {\n right: auto;\n left: var(--archify-radar-left, 1rem);\n }\n html[data-preset=\"blueprint\"] .overview-map { border-radius: 0.28rem; }\n .overview-map-head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.45rem;\n min-height: 2.25rem;\n padding: 0.42rem 0.48rem 0.38rem 0.55rem;\n border-bottom: 1px solid var(--toolbar-border);\n background: linear-gradient(110deg, color-mix(in srgb, var(--frontend-fill) 45%, transparent), transparent 68%);\n cursor: grab;\n touch-action: none;\n user-select: none;\n }\n .overview-map[data-panel-dragging=\"true\"] .overview-map-head { cursor: grabbing; }\n .overview-map[data-placement-invalid=\"true\"] {\n border-color: var(--security-stroke);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--security-stroke) 34%, transparent), 0 16px 42px rgba(0, 0, 0, 0.3);\n }\n .overview-map[data-compact=\"true\"] {\n width: 7.4rem;\n }\n .overview-map[data-compact=\"true\"] .overview-map-head {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.24rem;\n min-height: 1.5rem;\n padding: 0.05rem 0.16rem 0.05rem 0.32rem;\n border-bottom: 0;\n }\n .overview-map[data-compact=\"true\"] .overview-map-live,\n .overview-map[data-compact=\"true\"] .overview-map-copy,\n .overview-map[data-compact=\"true\"] .overview-map-surface,\n .overview-map[data-compact=\"true\"] .overview-map-hint {\n display: none;\n }\n .overview-map[data-compact=\"true\"] .overview-map-expand { display: inline-flex; }\n .overview-map[data-compact=\"true\"] .overview-map-close {\n width: 1.15rem;\n height: 1.15rem;\n font-size: 0.72rem;\n }\n .overview-map-live {\n width: 0.42rem;\n height: 0.42rem;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--backend-stroke) 52%, transparent);\n animation: archify-radar-live 2.4s ease-out infinite;\n }\n .overview-map-copy { min-width: 0; line-height: 1.1; }\n .overview-map-copy strong {\n display: block;\n overflow: hidden;\n color: var(--frontend-stroke);\n font-size: 0.59rem;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .overview-map-copy small {\n display: block;\n margin-top: 0.18rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.52rem;\n letter-spacing: 0.04em;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .overview-map-expand {\n display: none;\n align-items: center;\n justify-content: center;\n min-width: 0;\n height: 1.2rem;\n padding: 0 0.34rem;\n overflow: hidden;\n border: 0;\n border-radius: 0.3rem;\n background: transparent;\n color: var(--frontend-stroke);\n font: inherit;\n font-size: 0.49rem;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n white-space: nowrap;\n cursor: pointer;\n }\n .overview-map-close {\n width: 1.55rem;\n height: 1.55rem;\n padding: 0;\n border: 0;\n border-radius: 0.34rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 0.9rem;\n cursor: pointer;\n }\n .overview-map-expand:hover,\n .overview-map-expand:focus-visible,\n .overview-map-close:hover,\n .overview-map-close:focus-visible { background: var(--toolbar-hover); }\n .overview-map-expand:focus-visible,\n .overview-map-close:focus-visible,\n .overview-map-surface:focus-visible,\n .overview-map-node:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .overview-map-surface {\n position: relative;\n height: 7rem;\n margin: 0.42rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--panel-border) 72%, transparent);\n border-radius: 0.42rem;\n background:\n linear-gradient(color-mix(in srgb, var(--panel-border) 26%, transparent) 1px, transparent 1px),\n linear-gradient(90deg, color-mix(in srgb, var(--panel-border) 26%, transparent) 1px, transparent 1px),\n color-mix(in srgb, var(--bg) 86%, transparent);\n background-size: 12px 12px;\n cursor: crosshair;\n touch-action: none;\n }\n html[data-preset=\"blueprint\"] .overview-map-surface { border-radius: 0.1rem; }\n .overview-map-surface \u003e svg {\n width: 100%;\n height: 100%;\n min-width: 0;\n transform: none !important;\n transition: none !important;\n display: block;\n overflow: visible;\n }\n .overview-map-node {\n fill: var(--backend-stroke);\n fill-opacity: 0.52;\n stroke: var(--backend-stroke);\n stroke-opacity: 0.86;\n vector-effect: non-scaling-stroke;\n cursor: pointer;\n transition: fill-opacity 140ms ease, stroke-width 140ms ease, filter 140ms ease;\n }\n .overview-map-node[data-kind=\"frontend\"],\n .overview-map-node[data-kind=\"start\"] { fill: var(--frontend-stroke); stroke: var(--frontend-stroke); }\n .overview-map-node[data-kind=\"database\"],\n .overview-map-node[data-kind=\"success\"] { fill: var(--database-stroke); stroke: var(--database-stroke); }\n .overview-map-node[data-kind=\"cloud\"],\n .overview-map-node[data-kind=\"waiting\"] { fill: var(--cloud-stroke); stroke: var(--cloud-stroke); }\n .overview-map-node[data-kind=\"messagebus\"] { fill: var(--messagebus-stroke); stroke: var(--messagebus-stroke); }\n .overview-map-node[data-kind=\"security\"],\n .overview-map-node[data-kind=\"decision\"],\n .overview-map-node[data-kind=\"failure\"] { fill: var(--security-stroke); stroke: var(--security-stroke); }\n .overview-map-node[data-kind=\"external\"],\n .overview-map-node[data-kind=\"neutral\"] { fill: var(--external-stroke); stroke: var(--external-stroke); }\n .overview-map-node[data-radar-active=\"true\"],\n .overview-map-node:hover,\n .overview-map-node:focus-visible {\n fill-opacity: 0.92;\n stroke-width: 2.2;\n filter: drop-shadow(0 0 3px currentColor);\n }\n .overview-map-viewport {\n fill: color-mix(in srgb, var(--frontend-fill) 56%, transparent);\n stroke: var(--frontend-stroke);\n stroke-width: 2;\n vector-effect: non-scaling-stroke;\n pointer-events: none;\n filter: drop-shadow(0 0 3px color-mix(in srgb, var(--frontend-stroke) 54%, transparent));\n }\n .overview-map-hint {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n padding: 0 0.52rem 0.46rem;\n color: var(--text-faint);\n font-size: 0.49rem;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n }\n .diagram-nav #btn-overview-map[aria-expanded=\"true\"] {\n color: var(--frontend-stroke);\n background: var(--toolbar-hover);\n }\n .overview-map-feedback {\n position: absolute;\n right: 1rem;\n bottom: 4.15rem;\n z-index: 13;\n max-width: min(16rem, calc(100% - 2rem));\n padding: 0.38rem 0.55rem;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n border-radius: 0.5rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);\n font-size: 0.52rem;\n line-height: 1.35;\n pointer-events: none;\n }\n .overview-map-feedback[hidden] { display: none; }\n .focus-chip[data-radar-yielded=\"true\"] { display: none !important; }\n .diagram-nav #btn-route-probe[aria-pressed=\"true\"] {\n color: var(--backend-stroke);\n background: var(--toolbar-hover);\n }\n .diagram-nav #btn-semantic-lens[aria-expanded=\"true\"],\n .diagram-nav #btn-semantic-lens[aria-pressed=\"true\"] {\n color: var(--database-stroke);\n background: var(--toolbar-hover);\n }\n\n /* Semantic Lens turns the compiled node-kind palette into an analytical\n legend. One kind reveals its real traffic; two kinds compare only their\n direct authored relationships. Geometry and the canonical SVG stay put. */\n .semantic-lens {\n position: absolute;\n right: 1rem;\n bottom: calc(4.15rem + var(--archify-nav-reserve));\n z-index: 24;\n width: min(20rem, calc(100% - 2rem));\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--database-stroke) 58%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(135deg, color-mix(in srgb, var(--database-fill) 34%, transparent), transparent 48%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);\n backdrop-filter: blur(18px);\n animation: archify-lens-in 180ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n .semantic-lens[hidden] { display: none; }\n .semantic-lens[data-dock-side=\"left\"] { left: 1rem; right: auto; }\n .semantic-lens[data-dock-side=\"right\"] { left: auto; right: 1rem; }\n html[data-preset=\"blueprint\"] .semantic-lens { border-radius: 0.28rem; }\n .semantic-lens-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.75rem;\n padding: 0.72rem 0.78rem 0.62rem;\n border-bottom: 1px solid var(--toolbar-border);\n }\n .semantic-lens-eyebrow {\n display: block;\n color: var(--database-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.16em;\n text-transform: uppercase;\n }\n .semantic-lens-title {\n display: block;\n margin-top: 0.16rem;\n color: var(--text);\n font-size: 0.82rem;\n letter-spacing: -0.02em;\n }\n .semantic-lens-close {\n width: 1.75rem;\n height: 1.75rem;\n padding: 0;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .semantic-lens-close:hover,\n .semantic-lens-close:focus-visible { background: var(--toolbar-hover); }\n .semantic-lens-instruction {\n margin: 0;\n padding: 0.52rem 0.78rem 0.48rem;\n color: var(--text-faint);\n font-size: 0.55rem;\n line-height: 1.45;\n }\n .semantic-lens-kinds {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.3rem;\n max-height: min(15rem, 40vh);\n padding: 0 0.5rem 0.5rem;\n overflow-y: auto;\n scrollbar-width: thin;\n }\n .semantic-lens-kind {\n --lens-color: var(--external-stroke);\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.42rem;\n min-width: 0;\n min-height: 2.15rem;\n padding: 0.35rem 0.42rem;\n border: 1px solid color-mix(in srgb, var(--lens-color) 24%, var(--toolbar-border));\n border-radius: 0.45rem;\n background: color-mix(in srgb, var(--panel) 76%, transparent);\n color: var(--toolbar-text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;\n }\n html[data-preset=\"blueprint\"] .semantic-lens-kind { border-radius: 0.12rem; }\n .semantic-lens-kind[data-kind=\"frontend\"],\n .semantic-lens-kind[data-kind=\"start\"] { --lens-color: var(--frontend-stroke); }\n .semantic-lens-kind[data-kind=\"backend\"],\n .semantic-lens-kind[data-kind=\"active\"] { --lens-color: var(--backend-stroke); }\n .semantic-lens-kind[data-kind=\"database\"],\n .semantic-lens-kind[data-kind=\"success\"] { --lens-color: var(--database-stroke); }\n .semantic-lens-kind[data-kind=\"cloud\"],\n .semantic-lens-kind[data-kind=\"waiting\"] { --lens-color: var(--cloud-stroke); }\n .semantic-lens-kind[data-kind=\"messagebus\"] { --lens-color: var(--messagebus-stroke); }\n .semantic-lens-kind[data-kind=\"security\"],\n .semantic-lens-kind[data-kind=\"decision\"],\n .semantic-lens-kind[data-kind=\"failure\"] { --lens-color: var(--security-stroke); }\n .semantic-lens-kind:hover,\n .semantic-lens-kind:focus-visible,\n .semantic-lens-kind[aria-pressed=\"true\"] {\n border-color: color-mix(in srgb, var(--lens-color) 78%, var(--toolbar-border));\n background: color-mix(in srgb, var(--lens-color) 11%, var(--panel));\n }\n .semantic-lens-kind:focus-visible,\n .semantic-lens-close:focus-visible,\n .semantic-lens-actions button:focus-visible {\n outline: 2px solid var(--database-stroke);\n outline-offset: 1px;\n }\n .semantic-lens-kind:disabled { opacity: 0.34; cursor: default; }\n .semantic-lens-swatch {\n width: 0.48rem;\n height: 0.48rem;\n border-radius: 50%;\n background: var(--lens-color);\n box-shadow: 0 0 8px color-mix(in srgb, var(--lens-color) 58%, transparent);\n }\n .semantic-lens-kind strong {\n overflow: hidden;\n color: var(--text);\n font-size: 0.61rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-lens-kind em {\n color: var(--lens-color);\n font-size: 0.54rem;\n font-style: normal;\n font-weight: 800;\n }\n .semantic-lens-status {\n min-height: 2.5rem;\n margin: 0;\n padding: 0.55rem 0.78rem;\n border-top: 1px solid var(--toolbar-border);\n color: var(--text-faint);\n font-size: 0.55rem;\n line-height: 1.45;\n }\n .semantic-lens-status strong { color: var(--database-stroke); font-weight: 800; }\n .semantic-lens-actions {\n display: flex;\n justify-content: flex-end;\n gap: 0.28rem;\n padding: 0 0.62rem 0.62rem;\n }\n .semantic-lens-actions button {\n min-height: 1.8rem;\n padding: 0.28rem 0.48rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 0.56rem;\n cursor: pointer;\n }\n .semantic-lens-actions button:hover { background: var(--toolbar-hover); }\n .semantic-lens-actions #semantic-lens-copy { color: var(--database-stroke); }\n @keyframes archify-lens-in {\n from { opacity: 0; transform: translateY(5px) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n\n /* Route Probe answers a reader question over the compiled semantic graph:\n choose two stable nodes and reveal the shortest authored directed route.\n The receipt and signal live entirely in the viewer layer. */\n .route-probe {\n position: absolute;\n left: 1rem;\n bottom: calc(1rem + var(--archify-nav-reserve));\n z-index: 12;\n width: min(46rem, calc(100% - 25rem));\n min-width: 18rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 62%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(115deg, color-mix(in srgb, var(--backend-fill) 50%, transparent), transparent 62%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.625rem;\n }\n .route-probe[hidden] { display: none; }\n .route-probe[data-route-dock=\"top\"] {\n top: 1rem;\n bottom: auto;\n }\n html[data-preset=\"blueprint\"] .route-probe { border-radius: 0.25rem; }\n .route-probe-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.65rem;\n padding: 0.52rem 0.58rem 0.44rem;\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 80%, transparent);\n }\n .route-probe-copy { min-width: 0; }\n .route-probe-eyebrow {\n display: block;\n color: var(--backend-stroke);\n font-size: 0.48rem;\n font-weight: 800;\n letter-spacing: 0.15em;\n text-transform: uppercase;\n }\n .route-probe-title {\n display: block;\n margin-top: 0.14rem;\n overflow: hidden;\n color: var(--toolbar-text);\n font-size: 0.72rem;\n line-height: 1.25;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .route-probe-actions { display: flex; gap: 0.2rem; }\n .route-probe button {\n min-height: 1.55rem;\n padding: 0.25rem 0.42rem;\n border: 0;\n border-radius: 0.36rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n cursor: pointer;\n }\n .route-probe button:hover,\n .route-probe button:focus-visible { background: var(--toolbar-hover); }\n .route-probe button:focus-visible {\n outline: 2px solid var(--backend-stroke);\n outline-offset: 1px;\n }\n .route-probe-copy-link { color: var(--frontend-stroke) !important; }\n .route-probe-find { color: var(--backend-stroke) !important; }\n .route-probe-copy-link[hidden] { display: none; }\n .route-probe-find[hidden] { display: none; }\n .route-probe-path {\n display: flex;\n align-items: center;\n min-height: 2.2rem;\n padding: 0.42rem 0.58rem 0.24rem;\n overflow-x: auto;\n scrollbar-width: thin;\n white-space: nowrap;\n }\n .route-probe-node,\n .route-probe button.route-probe-node {\n flex: none;\n max-width: 9.5rem;\n overflow: hidden;\n min-height: 1.75rem !important;\n padding: 0.22rem 0.38rem;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 46%, var(--toolbar-border));\n border-radius: 999px;\n background: color-mix(in srgb, var(--backend-fill) 52%, transparent);\n color: var(--text);\n font-size: 0.56rem;\n font-weight: 700;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .route-probe-node[data-endpoint=\"start\"] {\n border-color: var(--frontend-stroke);\n color: var(--frontend-stroke);\n }\n .route-probe-node[data-endpoint=\"end\"] {\n border-color: var(--security-stroke);\n color: var(--security-stroke);\n }\n .route-probe-node[data-route-journey-state=\"past\"] { opacity: 0.66; }\n .route-probe-node[data-route-journey-state=\"future\"] { opacity: 0.48; }\n .route-probe-node[aria-current=\"step\"] {\n border-color: var(--backend-stroke);\n background: color-mix(in srgb, var(--backend-fill) 82%, var(--toolbar-menu-bg));\n color: var(--text);\n box-shadow: 0 0 0 1px color-mix(in srgb, var(--backend-stroke) 42%, transparent), 0 0 14px color-mix(in srgb, var(--backend-stroke) 34%, transparent);\n opacity: 1;\n }\n html[data-preset=\"blueprint\"] .route-probe-node[aria-current=\"step\"] {\n border-style: double;\n border-width: 3px;\n border-radius: 0.2rem;\n box-shadow: none;\n }\n .route-probe-arrow {\n flex: none;\n padding: 0 0.28rem;\n color: var(--text-faint);\n font-size: 0.65rem;\n }\n .route-probe-placeholder {\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.03em;\n }\n .route-probe-status {\n display: block;\n min-height: 1.45rem;\n padding: 0.08rem 0.58rem 0.44rem;\n color: var(--text-faint);\n font-size: 0.52rem;\n line-height: 1.35;\n }\n .route-journey-controls {\n display: grid;\n grid-template-columns: 2rem minmax(5.8rem, auto) 2rem minmax(4.8rem, auto);\n justify-content: start;\n gap: 0.22rem;\n padding: 0.08rem 0.58rem 0.28rem;\n }\n .route-journey-controls[hidden] { display: none; }\n .route-journey-controls button {\n min-height: 1.8rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent);\n background: color-mix(in srgb, var(--toolbar-bg) 72%, transparent);\n font-size: 0.54rem;\n font-weight: 700;\n }\n .route-journey-controls button:disabled {\n cursor: default;\n opacity: 0.34;\n }\n .route-journey-play { color: var(--backend-stroke) !important; }\n .route-journey-overview { color: var(--frontend-stroke) !important; }\n .route-journey-controls[data-playing=\"true\"] .route-journey-play {\n border-color: color-mix(in srgb, var(--backend-stroke) 64%, var(--toolbar-border));\n background: color-mix(in srgb, var(--backend-fill) 62%, transparent);\n }\n .route-probe[data-state=\"error\"] {\n border-color: color-mix(in srgb, var(--security-stroke) 72%, var(--toolbar-border));\n }\n .route-probe[data-state=\"error\"] .route-probe-status { color: var(--security-stroke); }\n\n .focus-chip {\n position: absolute;\n left: 1rem;\n top: 1rem;\n z-index: 12;\n display: block;\n width: min(22rem, calc(100% - 13rem));\n max-width: calc(100% - 13rem);\n overflow: hidden;\n border: 1px solid var(--frontend-stroke);\n border-radius: 0.85rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);\n backdrop-filter: blur(16px);\n font-size: 0.6875rem;\n }\n .focus-chip[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .focus-chip { border-radius: 0.3rem; }\n .focus-chip button {\n flex: none;\n padding: 0.3rem 0.45rem;\n border-radius: 0.35rem;\n font-size: 0.625rem;\n }\n .relationship-lens-head {\n position: relative;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 0.75rem;\n padding: 0.9rem 0.75rem 0.65rem;\n border-bottom: 1px solid var(--toolbar-border);\n background: linear-gradient(120deg, color-mix(in srgb, var(--frontend-fill) 34%, transparent), transparent 72%);\n }\n .relationship-lens-drag-handle {\n position: absolute;\n top: 0.12rem;\n left: 50%;\n width: 2.5rem;\n height: 0.78rem;\n padding: 0 !important;\n transform: translateX(-50%);\n color: var(--text-faint) !important;\n cursor: grab;\n touch-action: none;\n user-select: none;\n }\n .relationship-lens-drag-handle::before {\n content: \"\";\n display: block;\n width: 1.25rem;\n margin: auto;\n border-top: 2px dotted currentColor;\n opacity: 0.72;\n }\n .focus-chip[data-panel-dragging=\"true\"] .relationship-lens-drag-handle { cursor: grabbing; }\n @media (hover: none), (pointer: coarse) {\n .relationship-lens-drag-handle { display: none; }\n }\n .relationship-lens-copy { min-width: 0; }\n .relationship-lens-actions {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 0.18rem;\n }\n .relationship-lens-actions button { white-space: nowrap; }\n .relationship-lens-actions #btn-focus-clear {\n display: grid;\n width: 1.75rem;\n height: 1.75rem;\n padding: 0;\n place-items: center;\n color: var(--text-muted);\n font-size: 1rem;\n line-height: 1;\n }\n .relationship-lens-actions #btn-focus-clear:hover,\n .relationship-lens-actions #btn-focus-clear:focus-visible {\n background: var(--toolbar-hover);\n color: var(--text);\n }\n .relationship-lens-actions #btn-focus-copy { color: var(--frontend-stroke); }\n .relationship-lens-actions #btn-focus-relations { display: none; }\n .relationship-lens-eyebrow {\n display: block;\n margin-bottom: 0.18rem;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n }\n .relationship-lens-title {\n display: block;\n overflow: hidden;\n color: var(--text);\n font-size: 0.8rem;\n line-height: 1.35;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-detail {\n display: block;\n margin-top: 0.12rem;\n overflow: hidden;\n color: var(--text-muted);\n font-size: 0.625rem;\n line-height: 1.4;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-detail[hidden] { display: none; }\n .semantic-passport-meta {\n display: flex;\n flex-wrap: wrap;\n gap: 0.24rem;\n margin-top: 0.42rem;\n }\n .semantic-passport-meta span,\n .semantic-passport-meta code {\n max-width: 100%;\n overflow: hidden;\n padding: 0.14rem 0.34rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 82%, transparent);\n border-radius: 999px;\n background: color-mix(in srgb, var(--panel) 68%, transparent);\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5rem;\n letter-spacing: 0.04em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-meta [data-passport=\"kind\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 50%, var(--toolbar-border));\n color: var(--frontend-stroke);\n font-weight: 800;\n text-transform: uppercase;\n }\n .semantic-passport-meta [data-passport=\"tag\"] { color: var(--cloud-stroke); }\n .semantic-passport-meta [data-passport=\"brand\"] {\n border-color: color-mix(in srgb, var(--messagebus-stroke) 52%, var(--toolbar-border));\n color: var(--messagebus-stroke);\n font-weight: 700;\n }\n .semantic-passport-meta [hidden] { display: none; }\n html[data-preset=\"blueprint\"] .semantic-passport-meta span,\n html[data-preset=\"blueprint\"] .semantic-passport-meta code { border-radius: 0.1rem; }\n .semantic-passport-evidence {\n margin-top: 0.52rem;\n padding: 0.5rem;\n border: 1px solid color-mix(in srgb, var(--backend-stroke) 32%, var(--toolbar-border));\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--backend-fill) 18%, var(--panel));\n }\n .semantic-passport-evidence[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .semantic-passport-evidence { border-radius: 0.18rem; }\n .semantic-passport-evidence-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.55rem;\n margin-bottom: 0.35rem;\n }\n .semantic-passport-evidence-status {\n display: inline-flex;\n align-items: center;\n gap: 0.28rem;\n color: var(--backend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .semantic-passport-evidence-status::before {\n content: '';\n width: 0.38rem;\n height: 0.38rem;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--backend-stroke) 14%, transparent);\n }\n .semantic-passport-repository {\n min-width: 0;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-repository:hover,\n .semantic-passport-repository:focus-visible { color: var(--backend-stroke); }\n .semantic-passport-evidence-links { display: grid; gap: 0.22rem; }\n .semantic-passport-source {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.15rem 0.45rem;\n align-items: center;\n padding: 0.34rem 0.4rem;\n border: 1px solid transparent;\n border-radius: 0.38rem;\n color: var(--text-muted);\n text-decoration: none;\n }\n a.semantic-passport-source:hover,\n a.semantic-passport-source:focus-visible {\n border-color: color-mix(in srgb, var(--backend-stroke) 42%, transparent);\n background: color-mix(in srgb, var(--backend-fill) 32%, transparent);\n color: var(--text);\n }\n .semantic-passport-source strong {\n overflow: hidden;\n font-size: 0.5625rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .semantic-passport-source code {\n color: var(--backend-stroke);\n font: inherit;\n font-size: 0.5rem;\n }\n .semantic-passport-source small {\n grid-column: 1 / -1;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-summary {\n display: block;\n margin-top: 0.12rem;\n color: var(--text-faint);\n font-size: 0.5625rem;\n }\n .semantic-passport-reach {\n display: grid;\n gap: 0.28rem;\n margin-top: 0.52rem;\n padding-top: 0.48rem;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 76%, transparent);\n }\n .semantic-passport-reach[hidden] { display: none; }\n .semantic-passport-reach-label {\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.1em;\n text-transform: uppercase;\n }\n .semantic-passport-reach-actions {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 0.25rem;\n }\n .semantic-passport-reach-actions button {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.5rem;\n min-width: 0;\n min-height: 2rem;\n padding: 0.32rem 0.42rem;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent);\n background: color-mix(in srgb, var(--panel) 70%, transparent);\n color: var(--text-muted);\n text-align: left;\n }\n .semantic-passport-reach-actions button:hover:not(:disabled),\n .semantic-passport-reach-actions button:focus-visible {\n border-color: color-mix(in srgb, var(--frontend-stroke) 62%, var(--toolbar-border));\n color: var(--text);\n }\n .semantic-passport-reach-actions button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .semantic-passport-reach-actions button:disabled {\n cursor: default;\n opacity: 0.5;\n }\n .semantic-passport-reach-actions button[aria-pressed=\"true\"] {\n border-color: color-mix(in srgb, var(--reach-color, var(--frontend-stroke)) 72%, var(--toolbar-border));\n background: color-mix(in srgb, var(--reach-fill, var(--frontend-fill)) 48%, transparent);\n color: var(--text);\n }\n #btn-reach-upstream {\n --reach-color: var(--database-stroke);\n --reach-fill: var(--database-fill);\n }\n #btn-reach-downstream {\n --reach-color: var(--backend-stroke);\n --reach-fill: var(--backend-fill);\n }\n .semantic-passport-reach-actions strong {\n color: var(--reach-color, var(--frontend-stroke));\n font-size: 0.625rem;\n }\n .semantic-passport-reach-status {\n color: var(--text-faint);\n font-size: 0.525rem;\n line-height: 1.4;\n }\n .semantic-passport-reach-status[hidden] { display: none; }\n .relationship-lens-list {\n max-height: min(18rem, 46vh);\n overflow: auto;\n padding: 0.4rem;\n scrollbar-width: thin;\n scrollbar-color: var(--frontend-stroke) transparent;\n }\n .relationship-lens-list::-webkit-scrollbar { width: 4px; }\n .relationship-lens-list::-webkit-scrollbar-thumb {\n border-radius: 999px;\n background: color-mix(in srgb, var(--frontend-stroke) 68%, transparent);\n }\n .relationship-lens-group + .relationship-lens-group { margin-top: 0.35rem; }\n .relationship-lens-group-title {\n display: block;\n padding: 0.24rem 0.38rem 0.16rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .relationship-lens-row {\n display: grid;\n grid-template-columns: 2.1rem minmax(0, 1fr);\n gap: 0.06rem 0.45rem;\n width: 100%;\n padding: 0.45rem 0.5rem !important;\n text-align: left;\n }\n .relationship-lens-row:hover,\n .relationship-lens-row:focus-visible,\n .relationship-lens-row[data-preview-active=\"true\"] {\n background: var(--toolbar-hover);\n box-shadow: inset 2px 0 0 var(--frontend-stroke);\n }\n .relationship-lens-row:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: -2px;\n }\n .relationship-lens-direction {\n grid-row: 1 / 3;\n align-self: center;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n }\n .relationship-lens-row[data-direction=\"in\"] .relationship-lens-direction { color: var(--database-stroke); }\n .relationship-lens-row[data-direction=\"loop\"] .relationship-lens-direction { color: var(--security-stroke); }\n .relationship-lens-row strong {\n overflow: hidden;\n color: var(--text);\n font-size: 0.6875rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-row small {\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5625rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .relationship-lens-empty {\n margin: 0;\n padding: 0.75rem;\n color: var(--text-faint);\n font-size: 0.625rem;\n text-align: center;\n }\n\n /* Diagram Guide keeps the artifact's growing reader vocabulary\n discoverable without widening the permanent control bar. It derives\n honest counts at runtime and delegates every action to an existing\n production interaction instead of creating a second command system. */\n .diagram-guide {\n position: absolute;\n top: 1rem;\n right: 1rem;\n z-index: 26;\n width: min(32rem, calc(100% - 2rem));\n max-height: min(42rem, calc(100% - 2rem));\n overflow: auto;\n border: 1px solid color-mix(in srgb, var(--cloud-stroke) 58%, var(--toolbar-border));\n border-radius: 0.82rem;\n background:\n linear-gradient(135deg, color-mix(in srgb, var(--cloud-fill) 32%, transparent), transparent 42%),\n var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 22px 64px rgba(0, 0, 0, 0.4);\n backdrop-filter: blur(18px);\n animation: archify-guide-in 180ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n .diagram-guide[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .diagram-guide { border-radius: 0.28rem; }\n .diagram-guide-head {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: start;\n gap: 1rem;\n padding: 0.82rem 0.9rem 0.68rem;\n border-bottom: 1px solid var(--toolbar-border);\n }\n .diagram-guide-eyebrow {\n display: block;\n color: var(--cloud-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.16em;\n text-transform: uppercase;\n }\n .diagram-guide-title {\n display: block;\n margin-top: 0.16rem;\n color: var(--text);\n font-size: 0.86rem;\n letter-spacing: -0.02em;\n }\n .diagram-guide-close {\n width: 1.8rem;\n height: 1.8rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .diagram-guide-close:hover,\n .diagram-guide-close:focus-visible { background: var(--toolbar-hover); }\n .diagram-guide-stats {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n padding: 0.54rem 0.9rem;\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.025em;\n }\n .diagram-guide-stats::before {\n content: '';\n width: 0.42rem;\n height: 0.42rem;\n flex: none;\n border-radius: 50%;\n background: var(--backend-stroke);\n box-shadow: 0 0 10px color-mix(in srgb, var(--backend-stroke) 72%, transparent);\n }\n .diagram-guide-actions {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.38rem;\n padding: 0.62rem;\n }\n .diagram-guide-action {\n --guide-accent: var(--frontend-stroke);\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.55rem;\n min-height: 4.15rem;\n padding: 0.55rem 0.58rem;\n border: 1px solid color-mix(in srgb, var(--guide-accent) 22%, var(--toolbar-border));\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 78%, transparent);\n color: var(--toolbar-text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;\n }\n .diagram-guide-action[data-guide-action=\"route\"] { --guide-accent: var(--backend-stroke); }\n .diagram-guide-action[data-guide-action=\"map\"] { --guide-accent: var(--database-stroke); }\n .diagram-guide-action[data-guide-action=\"lens\"] { --guide-accent: var(--messagebus-stroke); }\n .diagram-guide-action[data-guide-action=\"story\"] { --guide-accent: var(--security-stroke); }\n .diagram-guide-action[data-guide-action=\"present\"] {\n --guide-accent: var(--cloud-stroke);\n }\n .diagram-guide-action:hover,\n .diagram-guide-action:focus-visible {\n border-color: color-mix(in srgb, var(--guide-accent) 76%, var(--toolbar-border));\n background: color-mix(in srgb, var(--guide-accent) 9%, var(--panel));\n transform: translateY(-1px);\n }\n .diagram-guide-action:focus-visible,\n .diagram-guide-close:focus-visible {\n outline: 2px solid var(--cloud-stroke);\n outline-offset: 1px;\n }\n .diagram-guide-action:disabled {\n opacity: 0.42;\n cursor: default;\n transform: none;\n }\n .diagram-guide-index {\n display: grid;\n place-items: center;\n width: 1.65rem;\n height: 1.65rem;\n border: 1px solid color-mix(in srgb, var(--guide-accent) 64%, var(--toolbar-border));\n border-radius: 0.35rem;\n color: var(--guide-accent);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.06em;\n }\n .diagram-guide-action-copy { min-width: 0; }\n .diagram-guide-action strong {\n display: block;\n overflow: hidden;\n color: var(--text);\n font-size: 0.66rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .diagram-guide-action small {\n display: -webkit-box;\n margin-top: 0.18rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5rem;\n line-height: 1.35;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .diagram-guide kbd {\n align-self: start;\n min-width: 1.45rem;\n padding: 0.12rem 0.3rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.25rem;\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5rem;\n text-align: center;\n }\n .diagram-guide-shortcuts {\n display: flex;\n flex-wrap: wrap;\n gap: 0.34rem 0.62rem;\n padding: 0.58rem 0.9rem 0.68rem;\n border-top: 1px solid var(--toolbar-border);\n color: var(--text-faint);\n font-size: 0.5rem;\n }\n .diagram-guide-shortcuts span {\n display: inline-flex;\n align-items: center;\n gap: 0.28rem;\n white-space: nowrap;\n }\n .diagram-guide-feedback {\n min-height: 1rem;\n margin: -0.18rem 0.9rem 0.62rem;\n color: var(--security-stroke);\n font-size: 0.5rem;\n }\n .diagram-guide-feedback:empty { display: none; }\n @keyframes archify-guide-in {\n from { opacity: 0; transform: translateY(-5px) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n\n .node-finder {\n position: absolute;\n top: 1rem;\n left: 1rem;\n z-index: 24;\n display: flex;\n flex-direction: column;\n width: min(22rem, calc(100% - 2rem));\n max-height: calc(100% - 2rem);\n overflow: hidden;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.85rem;\n background: var(--toolbar-menu-bg);\n color: var(--toolbar-text);\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.22);\n backdrop-filter: blur(16px);\n }\n .node-finder[hidden] { display: none; }\n .node-finder[data-context=\"route-source\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 68%, var(--toolbar-border));\n }\n .node-finder[data-context=\"route-target\"] {\n border-color: color-mix(in srgb, var(--security-stroke) 68%, var(--toolbar-border));\n }\n html[data-preset=\"blueprint\"] .node-finder { border-radius: 0.3rem; }\n .node-finder-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.7rem 0.8rem 0.45rem;\n }\n .node-finder-head strong {\n color: var(--text);\n font-size: 0.6875rem;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .node-finder[data-context=\"route-source\"] .node-finder-head strong { color: var(--frontend-stroke); }\n .node-finder[data-context=\"route-target\"] .node-finder-head strong { color: var(--security-stroke); }\n .node-finder-close {\n width: 1.75rem;\n height: 1.75rem;\n border: 0;\n border-radius: 0.35rem;\n background: transparent;\n color: var(--toolbar-text);\n font: inherit;\n font-size: 1rem;\n cursor: pointer;\n }\n .node-finder-close:hover,\n .node-finder-close:focus-visible { background: var(--toolbar-hover); }\n .node-finder-close:focus-visible,\n .node-finder-result:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: -2px;\n }\n .node-finder-search {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 0.55rem;\n margin: 0 0.55rem 0.55rem;\n padding: 0 0.7rem;\n min-height: 2.6rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 78%, transparent);\n transition: border-color 160ms ease-out, box-shadow 160ms ease-out;\n }\n html[data-preset=\"blueprint\"] .node-finder-search { border-radius: 0.18rem; }\n .node-finder-search \u003e span { color: var(--frontend-stroke); font-size: 0.875rem; }\n .node-finder-search:focus-within {\n border-color: var(--frontend-stroke);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--frontend-stroke) 20%, transparent);\n }\n .node-finder-input {\n appearance: none;\n width: 100%;\n min-width: 0;\n border: 0;\n outline: 0;\n background: transparent;\n color: var(--text);\n font: inherit;\n font-size: 0.75rem;\n }\n .node-finder-input:focus-visible { outline: none; }\n .node-finder-input::placeholder { color: var(--text-faint); }\n .node-finder kbd {\n padding: 0.1rem 0.32rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.25rem;\n color: var(--text-faint);\n font: inherit;\n font-size: 0.5625rem;\n }\n .node-finder-results {\n display: grid;\n flex: 1 1 auto;\n gap: 0;\n min-height: 0;\n max-height: min(18rem, 48vh);\n margin: 0 0.55rem 0.45rem;\n padding: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 78%, transparent);\n border-radius: 0.55rem;\n background: color-mix(in srgb, var(--panel) 54%, transparent);\n scroll-padding-block: 0.25rem;\n scrollbar-width: thin;\n }\n html[data-preset=\"blueprint\"] .node-finder-results { border-radius: 0.18rem; }\n .node-finder-result {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.2rem 0.75rem;\n width: 100%;\n min-height: 3.25rem;\n padding: 0.58rem 0.65rem;\n border: 0;\n border-radius: 0;\n background: transparent;\n color: var(--text);\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: background-color 160ms ease-out;\n }\n .node-finder-result:not(:last-child) {\n border-bottom: 1px solid color-mix(in srgb, var(--toolbar-border) 62%, transparent);\n }\n .node-finder-result:hover,\n .node-finder-result:focus-visible {\n position: relative;\n z-index: 1;\n background: color-mix(in srgb, var(--frontend-fill) 48%, var(--toolbar-hover));\n }\n .node-finder-result strong {\n overflow: hidden;\n font-size: 0.75rem;\n line-height: 1.25;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .node-finder-result small {\n grid-column: 1 / -1;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.5625rem;\n letter-spacing: 0.015em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .node-finder-result em {\n align-self: center;\n color: var(--frontend-stroke);\n font-size: 0.625rem;\n font-style: normal;\n }\n .node-finder[data-context^=\"route-\"] .node-finder-result em {\n padding: 0.1rem 0.3rem;\n border: 1px solid color-mix(in srgb, currentColor 52%, transparent);\n border-radius: 999px;\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.05em;\n text-transform: uppercase;\n }\n .node-finder[data-context=\"route-target\"] .node-finder-result em { color: var(--security-stroke); }\n .node-finder-empty {\n padding: 1.1rem 0.75rem 1.25rem;\n color: var(--text-faint);\n font-size: 0.6875rem;\n text-align: center;\n }\n .node-finder-status {\n margin: 0;\n padding: 0.1rem 0.8rem 0.65rem;\n color: var(--text-faint);\n font-size: 0.5625rem;\n }\n\n .guided-views {\n display: grid;\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem auto;\n align-items: stretch;\n gap: 0.35rem;\n min-width: 0;\n margin: 0 0 0.75rem;\n padding: 0.35rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.85rem;\n background: var(--toolbar-bg);\n background: linear-gradient(120deg, var(--toolbar-bg), color-mix(in srgb, var(--toolbar-bg) 82%, var(--frontend-fill)));\n box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);\n backdrop-filter: blur(12px);\n }\n .guided-views[hidden] { display: none; }\n\n html[data-preset=\"blueprint\"] .guided-views {\n border-color: var(--panel-border);\n border-radius: 0.35rem;\n background:\n linear-gradient(90deg, color-mix(in srgb, var(--frontend-fill) 36%, transparent), transparent 24%),\n var(--toolbar-bg);\n box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);\n }\n html[data-preset=\"blueprint\"] .guided-views button { border-radius: 0.2rem; }\n html[data-preset=\"blueprint\"] .guided-view-progress { border-radius: 0; }\n html[data-preset=\"blueprint\"] .guided-view-progress span { border-radius: 0; }\n .guided-views button {\n min-width: 0;\n padding: 0.45rem 0.6rem;\n border-radius: 0.55rem;\n font-size: 0.75rem;\n }\n .guided-views \u003e #guided-view-prev,\n .guided-views \u003e #guided-view-next { min-width: 2.75rem; min-height: 2.75rem; }\n .guided-views button:disabled { opacity: 0.3; cursor: default; }\n .guided-view-copy {\n min-width: 0;\n padding: 0.2rem 0.5rem;\n border-left: 1px solid var(--toolbar-border);\n overflow: hidden;\n }\n .guided-view-meta {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n min-height: 1rem;\n margin-bottom: 0.12rem;\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 700;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .guided-view-handoff {\n box-sizing: border-box;\n height: 1rem;\n min-width: 0;\n max-width: 15rem;\n overflow: hidden;\n padding: 0 0.38rem;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 46%, transparent);\n border-radius: 999px;\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-fill) 44%, transparent);\n font-size: 0.5rem;\n line-height: calc(1rem - 2px);\n letter-spacing: 0.06em;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-view-handoff[hidden] { display: none; }\n html[data-preset=\"blueprint\"] .guided-view-handoff { border-radius: 0.15rem; }\n .chapter-handoff-overlay { pointer-events: none; }\n .chapter-handoff-anchor {\n fill: color-mix(in srgb, var(--frontend-fill) 10%, transparent);\n stroke: var(--frontend-stroke);\n stroke-width: 2;\n stroke-dasharray: 4 4;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n animation: archify-chapter-anchor 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"stay\"] { opacity: 1; }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"enter\"] { opacity: 0.78; }\n svg[data-chapter-handoff] [data-node-id][data-chapter-role=\"leave\"] { opacity: 0.26; }\n @keyframes archify-chapter-anchor {\n 0% { opacity: 0.35; stroke-dashoffset: 8; }\n 45% { opacity: 1; }\n 100% { opacity: 0.72; stroke-dashoffset: 0; }\n }\n .guided-view-progress {\n width: 3.5rem;\n height: 2px;\n overflow: hidden;\n border-radius: 999px;\n background: var(--toolbar-border);\n }\n .guided-view-progress span {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background: var(--frontend-stroke);\n transform: scaleX(0);\n transform-origin: left center;\n }\n .guided-view-copy strong,\n .guided-view-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .guided-view-copy strong { color: var(--toolbar-text); font-size: 0.75rem; line-height: 1.35; }\n .guided-view-copy small { margin-top: 0; color: var(--text-muted); font-size: 0.625rem; line-height: 1.35; }\n .guided-story-caption {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n gap: 0.12rem 0.55rem;\n align-items: center;\n min-width: 0;\n margin-top: 0.18rem;\n padding: 0.3rem 0.5rem;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 32%, var(--toolbar-border));\n border-radius: 0.58rem;\n background: color-mix(in srgb, var(--frontend-fill) 26%, transparent);\n animation: archify-story-caption-in 140ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n .guided-story-caption[hidden] { display: none; }\n .guided-story-caption-index {\n grid-row: 1 / span 2;\n align-self: stretch;\n display: inline-grid;\n min-width: 3.3rem;\n place-items: center;\n padding-right: 0.52rem;\n border-right: 1px solid color-mix(in srgb, var(--frontend-stroke) 28%, var(--toolbar-border));\n color: var(--frontend-stroke);\n font-size: 0.5625rem;\n font-weight: 800;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n }\n .guided-story-caption strong,\n .guided-story-caption small {\n display: block;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-story-caption strong { color: var(--toolbar-text); font-size: 0.6875rem; line-height: 1.3; }\n .guided-story-caption small { color: var(--text-muted); font-size: 0.5625rem; line-height: 1.35; }\n .guided-story-caption-next {\n grid-column: 3;\n grid-row: 1 / span 2;\n display: grid;\n min-width: 6.4rem;\n max-width: 9.5rem;\n align-self: stretch;\n align-content: center;\n padding-left: 0.58rem;\n border-left: 1px solid color-mix(in srgb, var(--frontend-stroke) 22%, var(--toolbar-border));\n }\n .guided-story-caption-next[hidden] { display: none; }\n .guided-story-caption-next small {\n color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--text-muted));\n font-weight: 800;\n letter-spacing: 0.09em;\n text-transform: uppercase;\n }\n .guided-story-caption-next strong { color: var(--text-muted); font-weight: 700; }\n html[data-preset=\"blueprint\"] .guided-story-caption { border-radius: 0.2rem; }\n .guided-views[data-story-beat] .guided-view-copy \u003e #guided-view-label,\n .guided-views[data-story-beat] .guided-view-copy \u003e #guided-view-note { display: none; }\n @keyframes archify-story-caption-in {\n from { opacity: 0; transform: translateY(3px); }\n to { opacity: 1; transform: translateY(0); }\n }\n .guided-view-trail {\n display: flex;\n align-items: center;\n gap: 0.28rem;\n min-width: 0;\n min-height: 1.7rem;\n margin-top: 0;\n padding: 0;\n overflow-x: auto;\n color: var(--text-faint);\n overscroll-behavior-x: contain;\n touch-action: pan-x;\n scrollbar-width: none;\n white-space: nowrap;\n }\n .guided-view-trail[hidden] { display: none; }\n .guided-view-trail::-webkit-scrollbar { display: none; }\n .guided-view-trail .guided-view-stop {\n appearance: none;\n box-sizing: border-box;\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n gap: 0.28rem;\n min-height: 1.5rem;\n padding: 0.1rem 0.3rem 0.1rem 0.18rem;\n border: 1px solid transparent;\n border-radius: 999px;\n background: transparent;\n color: var(--text-muted);\n cursor: pointer;\n font-family: inherit;\n font-size: 0.5625rem;\n font-weight: 650;\n letter-spacing: 0.02em;\n line-height: 1;\n transition: background 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease;\n }\n .guided-view-stop:hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 36%, transparent);\n background: color-mix(in srgb, var(--frontend-fill) 34%, transparent);\n }\n .guided-view-stop:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .guided-view-stop:disabled { cursor: wait; }\n .guided-view-stop::before {\n display: inline-grid;\n width: 1rem;\n height: 1rem;\n place-items: center;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 54%, var(--toolbar-border));\n border-radius: 50%;\n background: color-mix(in srgb, var(--frontend-fill) 58%, var(--toolbar-bg));\n color: var(--frontend-stroke);\n content: attr(data-story-number);\n font-size: 0.5rem;\n line-height: 1;\n }\n .guided-view-stop + .guided-view-stop::after {\n order: -1;\n color: color-mix(in srgb, var(--frontend-stroke) 58%, var(--text-faint));\n content: '\\00b7';\n font-size: 0.65rem;\n }\n .guided-view-stop[data-story-link=\"forward\"]::after { content: '\\2192'; }\n .guided-view-stop[data-story-link=\"reverse\"]::after { content: '\\2190'; }\n .guided-view-stop[data-story-link=\"multiple\"]::after { content: '\\21c4'; }\n .guided-view-stop[data-story-beat-state=\"pending\"] { opacity: 0.38; }\n .guided-view-stop[data-story-beat-state=\"next\"] {\n border-style: dashed;\n border-color: color-mix(in srgb, var(--frontend-stroke) 42%, var(--toolbar-border));\n color: color-mix(in srgb, var(--toolbar-text) 68%, var(--text-muted));\n opacity: 0.58;\n }\n .guided-view-stop[data-story-beat-state=\"past\"] { color: var(--text-muted); opacity: 0.76; }\n .guided-view-stop[data-story-beat-state=\"active\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--toolbar-border));\n background: color-mix(in srgb, var(--frontend-fill) 42%, transparent);\n color: var(--toolbar-text);\n font-weight: 800;\n opacity: 1;\n }\n .guided-view-stop[data-story-beat-state=\"active\"]::before {\n border-color: var(--frontend-stroke);\n box-shadow: 0 0 10px color-mix(in srgb, var(--frontend-stroke) 54%, transparent);\n }\n html[data-preset=\"blueprint\"] .guided-view-stop,\n html[data-preset=\"blueprint\"] .guided-view-stop::before { border-radius: 0.1rem; }\n html[data-preset=\"blueprint\"] .guided-view-stop[data-story-beat-state=\"active\"]::before { box-shadow: none; }\n .guided-view-actions { display: flex; align-items: stretch; gap: 0.2rem; }\n .guided-view-actions button { white-space: nowrap; }\n .guided-view-play {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.38rem;\n min-width: 6.25rem !important;\n color: var(--frontend-stroke) !important;\n font-size: 0.625rem !important;\n }\n .guided-view-play[aria-pressed=\"true\"] { background: var(--toolbar-hover); }\n .guided-view-all { min-width: 3.25rem !important; color: var(--text-muted) !important; font-size: 0.625rem !important; }\n .guided-view-beat-link {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.3rem;\n min-width: 5.4rem !important;\n min-height: 1.5rem;\n color: var(--text-muted) !important;\n font-size: 0.5625rem !important;\n letter-spacing: 0.025em;\n transition: background 140ms ease, border-color 140ms ease, color 140ms ease;\n }\n .guided-view-beat-link:not(:disabled):hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 52%, var(--toolbar-border));\n color: var(--frontend-stroke) !important;\n }\n .guided-view-beat-link[data-copy-state=\"copied\"] {\n border-color: color-mix(in srgb, var(--backend-stroke) 58%, var(--toolbar-border));\n background: color-mix(in srgb, var(--backend-fill) 46%, transparent);\n color: var(--backend-stroke) !important;\n }\n .guided-view-index {\n grid-column: 1 / -1;\n min-width: 0;\n padding: 0.28rem 0.12rem 0.08rem;\n overflow: hidden;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n @media (min-width: 721px) {\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-index,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-beat-link,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-all,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-trail,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-copy \u003e #guided-view-label,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-view-copy \u003e #guided-view-note { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views[data-playing=\"true\"] .guided-story-caption { margin-top: 0.08rem; }\n }\n .guided-view-chapters {\n display: flex;\n gap: 0.28rem;\n min-width: 0;\n margin: 0;\n padding: 0.08rem 0.05rem 0.2rem;\n overflow-x: auto;\n list-style: none;\n scroll-padding-inline: 0.05rem;\n scroll-snap-type: x proximity;\n scrollbar-width: none;\n }\n .guided-view-chapters::-webkit-scrollbar { display: none; }\n .guided-view-chapters li {\n display: flex;\n flex: 1 1 0;\n min-width: 9.5rem;\n scroll-snap-align: center;\n }\n .guided-view-chapter {\n position: relative;\n display: grid !important;\n grid-template-columns: 1.55rem minmax(0, 1fr) auto;\n align-items: center;\n width: 100%;\n min-height: 2.75rem;\n padding: 0.36rem 0.48rem !important;\n overflow: hidden;\n border: 1px solid color-mix(in srgb, var(--toolbar-border) 86%, transparent) !important;\n border-radius: 0.48rem !important;\n background: color-mix(in srgb, var(--toolbar-bg) 88%, transparent) !important;\n color: var(--text-muted) !important;\n text-align: left;\n transition: background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;\n }\n .guided-view-chapter:hover {\n border-color: color-mix(in srgb, var(--frontend-stroke) 58%, var(--toolbar-border)) !important;\n background: color-mix(in srgb, var(--frontend-fill) 42%, var(--toolbar-bg)) !important;\n }\n .guided-view-chapter:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 1px;\n }\n .guided-view-chapter-index {\n display: inline-grid;\n width: 1.32rem;\n height: 1.32rem;\n place-items: center;\n border: 1px solid color-mix(in srgb, var(--frontend-stroke) 48%, var(--toolbar-border));\n border-radius: 50%;\n color: var(--frontend-stroke);\n font-size: 0.5rem;\n font-weight: 800;\n letter-spacing: 0.03em;\n }\n .guided-view-chapter-title {\n min-width: 0;\n overflow: hidden;\n color: var(--toolbar-text);\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 1.3;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .guided-view-chapter-count {\n grid-column: 3;\n grid-row: 1;\n margin-left: 0.38rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-style: normal;\n font-weight: 650;\n white-space: nowrap;\n }\n .guided-view-chapter-delta {\n display: inline-flex;\n grid-column: 3;\n grid-row: 1;\n align-items: center;\n gap: 0.22rem;\n margin-left: 0.38rem;\n color: var(--text-faint);\n font-size: 0.5rem;\n font-weight: 750;\n letter-spacing: 0.01em;\n white-space: nowrap;\n }\n .guided-view-chapter-delta[hidden] { display: none; }\n .guided-view-chapter-delta [data-delta-kind=\"stay\"] { color: var(--text-muted); }\n .guided-view-chapter-delta [data-delta-kind=\"enter\"] { color: var(--frontend-stroke); }\n .guided-view-chapter-delta [data-delta-kind=\"leave\"] { color: var(--security-stroke); }\n .guided-view-chapter[data-preview-active=\"true\"] {\n border-color: color-mix(in srgb, var(--frontend-stroke) 72%, var(--toolbar-border)) !important;\n background: color-mix(in srgb, var(--frontend-fill) 54%, var(--toolbar-bg)) !important;\n }\n .guided-view-chapter[data-chapter-position=\"current\"] {\n border: 2px solid var(--frontend-stroke) !important;\n padding: calc(0.36rem - 1px) calc(0.48rem - 1px) !important;\n box-shadow: inset 3px 0 0 var(--frontend-stroke);\n color: var(--toolbar-text) !important;\n }\n .guided-view-chapter[data-chapter-position=\"current\"] .guided-view-chapter-index {\n background: var(--frontend-stroke);\n color: var(--bg);\n }\n .guided-view-chapter[data-chapter-position=\"before\"] {\n border-style: solid !important;\n opacity: 0.72;\n }\n .guided-view-chapter[data-chapter-position=\"after\"] { border-style: dashed !important; }\n html[data-preset=\"signal-flow\"] .guided-view-chapter[data-chapter-position=\"current\"] {\n box-shadow: inset 3px 0 0 var(--frontend-stroke), 0 0 18px color-mix(in srgb, var(--frontend-stroke) 18%, transparent);\n }\n html[data-preset=\"blueprint\"] .guided-view-chapter,\n html[data-preset=\"blueprint\"] .guided-view-chapter-index { border-radius: 0.12rem !important; }\n\n /* Story Shelf — keep every authored chapter and the Play action visible,\n but do not spend a second row on unavailable director controls before\n the reader enters a chapter. Existing data-active-view state expands\n the full guided surface without a new toggle or stored preference. */\n .guided-views[data-active-view=\"all\"] {\n grid-template-columns: minmax(11rem, .72fr) auto minmax(0, 2fr);\n align-items: center;\n padding: 0.28rem 0.35rem;\n }\n .guided-views[data-active-view=\"all\"] \u003e #guided-view-prev,\n .guided-views[data-active-view=\"all\"] \u003e #guided-view-next,\n .guided-views[data-active-view=\"all\"] .guided-view-beat-link,\n .guided-views[data-active-view=\"all\"] .guided-view-all { display: none; }\n .guided-views[data-active-view=\"all\"] .guided-view-copy {\n grid-column: 1;\n grid-row: 1;\n padding: 0.1rem 0.55rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-copy \u003e #guided-view-note { display: none; }\n .guided-views[data-active-view=\"all\"] .guided-view-actions {\n display: block;\n grid-column: 2;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-play { min-height: 2.75rem; }\n .guided-views[data-active-view=\"all\"] .guided-view-index {\n grid-column: 3;\n grid-row: 1;\n padding: 0 0.08rem 0 0.42rem;\n border-top: 0;\n border-left: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n }\n .guided-views[data-active-view=\"all\"] .guided-view-chapters {\n gap: 0.3rem;\n padding: 0;\n }\n\n .cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 1rem;\n margin-top: 2rem;\n }\n\n .card {\n background: var(--panel);\n border-radius: 0.75rem;\n border: 1px solid var(--panel-border);\n padding: 1.25rem;\n }\n\n html[data-preset=\"signal-flow\"] .card {\n background: linear-gradient(145deg, rgba(10, 24, 43, 0.86), rgba(5, 12, 24, 0.92));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);\n }\n html[data-preset=\"signal-flow\"][data-theme=\"light\"] .card {\n background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 250, 0.9));\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 32px rgba(45, 78, 99, 0.08);\n }\n\n /* Preserve the one-screen guarantee on ordinary laptop displays. The\n high-screen expansion above must not trade a fuller canvas for page\n scrolling at 900–1080px heights. */\n @media (min-width: 768px) and (max-height: 1100px) {\n .header { margin-bottom: 1rem; }\n .diagram-container {\n padding: 0.875rem;\n padding-bottom: calc(0.875rem + var(--archify-nav-reserve));\n }\n .cards { margin-top: 1rem; }\n .card { padding: 1rem; }\n }\n @media (min-width: 768px) and (max-height: 920px) {\n body { padding-block: 1.25rem; }\n .header { margin-bottom: 0.875rem; }\n .cards { margin-top: 0.75rem; }\n html[data-nav-stage-rail=\"true\"] body { padding-block: 0.375rem; }\n html[data-nav-stage-rail=\"true\"] .header { margin-bottom: 0.5rem; }\n html[data-nav-stage-rail=\"true\"] .guided-views { margin-bottom: 0.375rem; }\n html[data-nav-stage-rail=\"true\"] .diagram-container[data-nav-stage-rail=\"true\"] { padding-top: 0.5rem; }\n html[data-nav-stage-rail=\"true\"] .cards { margin-top: 0.375rem; }\n }\n\n html[data-preset=\"blueprint\"] .card {\n position: relative;\n border-color: var(--panel-border);\n border-radius: 0.3rem;\n background: var(--panel);\n box-shadow: none;\n }\n html[data-preset=\"blueprint\"] .card::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 1rem;\n width: 2.5rem;\n border-top: 2px solid var(--frontend-stroke);\n }\n\n html[data-preset=\"editorial\"] .card {\n position: relative;\n border-radius: 0.28rem;\n background: var(--panel);\n box-shadow: 0 10px 28px color-mix(in srgb, #000 10%, transparent);\n }\n html[data-preset=\"editorial\"] .card::before {\n position: absolute;\n top: -1px;\n left: 1.25rem;\n width: 3.25rem;\n border-top: 3px solid var(--arrow-emphasis);\n content: \"\";\n }\n html[data-preset=\"editorial\"] .card-dot { border-radius: 0; transform: rotate(45deg) scale(0.78); }\n\n .card-header {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin-bottom: 0.75rem;\n }\n\n .card-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n }\n\n .card-dot.cyan { background: var(--frontend-stroke); }\n .card-dot.emerald { background: var(--backend-stroke); }\n .card-dot.violet { background: var(--database-stroke); }\n .card-dot.amber { background: var(--cloud-stroke); }\n .card-dot.rose { background: var(--security-stroke); }\n .card-dot.orange { background: var(--messagebus-stroke); }\n .card-dot.slate { background: var(--external-stroke); }\n\n .card h3 { font-size: 0.875rem; font-weight: 600; color: var(--text); }\n\n .card ul {\n list-style: none;\n color: var(--text-muted);\n font-size: 0.75rem;\n }\n\n .card li { margin-bottom: 0.375rem; }\n\n /* ==========================================================\n Print stylesheet — hide interactive controls, force light,\n drop the grid so the diagram doesn't waste ink, use landscape\n so wide diagrams fit, pack summary cards into 2 columns to\n avoid an orphan card on a trailing page.\n ========================================================== */\n @page { size: landscape; margin: 1.5cm; }\n\n @media print {\n /* Force the FULL light palette — including component fills/strokes and\n lane/arrow colors — so printing from dark theme doesn't put neon\n strokes and translucent dark fills on white paper. */\n :root, [data-theme=\"dark\"], [data-theme=\"light\"] {\n --bg: #ffffff;\n --grid: transparent;\n --panel: #ffffff;\n --panel-border: #e2e8f0;\n --text: #0f172a;\n --text-muted: #475569;\n --text-dim: #94a3b8;\n --text-faint: #64748b;\n --mask: #ffffff;\n --lane-fill: rgba(248, 250, 252, 0.65);\n --lane-stroke: #cbd5e1;\n --arrow: #94a3b8;\n --arrow-emphasis: #059669;\n --frontend-fill: rgba(34, 211, 238, 0.15);\n --frontend-stroke: #0891b2;\n --backend-fill: rgba(52, 211, 153, 0.18);\n --backend-stroke: #059669;\n --database-fill: rgba(167, 139, 250, 0.2);\n --database-stroke: #7c3aed;\n --cloud-fill: rgba(251, 191, 36, 0.18);\n --cloud-stroke: #d97706;\n --security-fill: rgba(251, 113, 133, 0.15);\n --security-stroke: #e11d48;\n --messagebus-fill: rgba(251, 146, 60, 0.15);\n --messagebus-stroke:#ea580c;\n --external-fill: rgba(148, 163, 184, 0.18);\n --external-stroke: #64748b;\n }\n body { background: #ffffff !important; padding: 0; }\n .container { max-width: none; }\n .toolbar, .diagram-nav, .focus-chip, .guided-views, .archify-toast, .no-print { display: none !important; }\n .chapter-handoff-overlay { display: none !important; }\n svg [data-node-id][data-chapter-role] { opacity: 1 !important; }\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from] { opacity: 1 !important; filter: none !important; }\n .diagram-container, .card { box-shadow: none; border-color: #e2e8f0; }\n .diagram-container { --archify-nav-reserve: 0px !important; }\n html[data-preset=\"signal-flow\"] .diagram-container,\n html[data-preset=\"signal-flow\"] .card { background: #ffffff; }\n .cards { grid-template-columns: 1fr 1fr; }\n /* Ensure elements break sensibly across pages */\n .card { break-inside: avoid; page-break-inside: avoid; }\n .diagram-container { break-inside: avoid; page-break-inside: avoid; }\n .diagram-container svg [data-detail] {\n opacity: 1 !important;\n pointer-events: auto !important;\n }\n .diagram-container svg [data-detail-anchor] { transform: none !important; }\n .diagram-container svg[data-lens-active] [data-node-id],\n .diagram-container svg[data-lens-active] [data-edge-from],\n .diagram-container svg[data-legend-preview-active] [data-node-id],\n .diagram-container svg[data-legend-preview-active] [data-edge-from] {\n opacity: 1 !important;\n filter: none !important;\n }\n [data-legend-bridge-runtime] { display: none !important; }\n .semantic-lens-overlay { display: none !important; }\n .relationship-hit-overlay { display: none !important; }\n .relationship-pulse-overlay { display: none !important; }\n .route-probe-overlay, .route-journey-overlay { display: none !important; }\n .story-trail-overlay,\n .story-carrier-overlay { display: none !important; }\n .diagram-container svg[data-focus-active] [data-node-id],\n .diagram-container svg[data-focus-active] [data-edge-from],\n .diagram-container svg[data-focus-active] [data-graph-role=\"automatic-crossover-underlay\"],\n .diagram-container svg[data-reach-active] [data-node-id],\n .diagram-container svg[data-reach-active] [data-edge-from],\n .diagram-container svg[data-reach-active] [data-graph-role=\"automatic-crossover-underlay\"],\n .diagram-container svg[data-story-beat] [data-story-step],\n .diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],\n .diagram-container svg[data-story-beat] [data-graph-role=\"automatic-crossover-underlay\"],\n .diagram-container svg[data-route-active] [data-node-id],\n .diagram-container svg[data-route-active] [data-edge-from],\n .diagram-container svg[data-route-active] [data-graph-role=\"automatic-crossover-underlay\"] {\n opacity: 1 !important;\n filter: none !important;\n animation: none !important;\n }\n h1, .subtitle { color: #0f172a; }\n }\n\n /* ==========================================================\n TOOLBAR (theme toggle + export menu)\n ========================================================== */\n .toolbar {\n position: fixed;\n top: 1rem;\n right: 1rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: 0;\n background: transparent;\n box-shadow: none;\n z-index: 100;\n }\n .toolbar button {\n background: var(--toolbar-bg);\n color: var(--toolbar-text);\n border: 1px solid var(--toolbar-border);\n padding: 0.5rem 0.875rem;\n border-radius: 0.625rem;\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 500;\n cursor: pointer;\n white-space: nowrap;\n backdrop-filter: blur(10px);\n box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);\n transition: background 0.15s, border-color 0.15s, color 0.15s;\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n min-height: 2.75rem;\n }\n .toolbar button:hover {\n background: var(--toolbar-hover);\n border-color: color-mix(in srgb, var(--arrow) 62%, var(--toolbar-border));\n }\n .toolbar button[aria-expanded=\"true\"],\n .toolbar button[aria-pressed=\"true\"]:not(#btn-theme) {\n background: color-mix(in srgb, var(--frontend-stroke) 10%, var(--toolbar-hover));\n border-color: color-mix(in srgb, var(--frontend-stroke) 48%, var(--toolbar-border));\n }\n .toolbar #btn-export {\n padding-right: 0.82rem;\n padding-left: 0.82rem;\n }\n .toolbar #btn-export:hover,\n .toolbar #btn-export[aria-expanded=\"true\"] {\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-stroke) 10%, var(--toolbar-hover));\n border-color: color-mix(in srgb, var(--frontend-stroke) 54%, var(--toolbar-border));\n }\n .toolbar button:focus-visible {\n outline: 2px solid var(--frontend-stroke);\n outline-offset: 2px;\n }\n .toolbar #btn-motion[hidden] { display: none !important; }\n .toolbar #btn-motion { min-width: 4.4rem; }\n .toolbar #btn-motion:disabled { cursor: default; opacity: 0.58; }\n .toolbar .preset-wrap,\n .toolbar .export-wrap {\n position: relative;\n }\n .toolbar-icon {\n display: inline-block;\n width: 0.95rem;\n height: 0.95rem;\n flex: 0 0 auto;\n background: currentColor;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .toolbar-chevron {\n width: 0.65rem;\n height: 0.65rem;\n transition: transform 0.15s ease;\n }\n [aria-expanded=\"true\"] \u003e .toolbar-chevron { transform: rotate(180deg); }\n [data-theme=\"light\"] #theme-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='3.1'/%3E%3Cpath d='M10 2.2v1.4M10 16.4v1.4M2.2 10h1.4M16.4 10h1.4M4.5 4.5l1 1M14.5 14.5l1 1M15.5 4.5l-1 1M5.5 14.5l-1 1'/%3E%3C/g%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='3.1'/%3E%3Cpath d='M10 2.2v1.4M10 16.4v1.4M2.2 10h1.4M16.4 10h1.4M4.5 4.5l1 1M14.5 14.5l1 1M15.5 4.5l-1 1M5.5 14.5l-1 1'/%3E%3C/g%3E%3C/svg%3E\");\n }\n [data-theme=\"dark\"] #theme-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15.2 12.7A6.3 6.3 0 017.3 4.8a6.3 6.3 0 107.9 7.9Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15.2 12.7A6.3 6.3 0 017.3 4.8a6.3 6.3 0 107.9 7.9Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E\");\n }\n #btn-present[aria-pressed=\"false\"] #present-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 3.2h-4v4M12.8 3.2h4v4M7.2 16.8h-4v-4M12.8 16.8h4v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 3.2h-4v4M12.8 3.2h4v4M7.2 16.8h-4v-4M12.8 16.8h4v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n #btn-present[aria-pressed=\"true\"] #present-icon {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 7.2h-4v-4M12.8 7.2h4v-4M7.2 12.8h-4v4M12.8 12.8h4v4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 7.2h-4v-4M12.8 7.2h4v-4M7.2 12.8h-4v4M12.8 12.8h4v4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E\");\n }\n .toolbar-chevron {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n }\n .toolbar #btn-preset { min-width: 5.4rem; }\n .preset-control-mark {\n width: 0.58rem;\n height: 0.58rem;\n flex: 0 0 auto;\n border: 1px solid var(--frontend-stroke);\n border-radius: 0.2rem;\n background: color-mix(in srgb, var(--frontend-stroke) 28%, transparent);\n transition: border-radius 0.15s, box-shadow 0.15s, transform 0.15s;\n }\n #btn-preset[data-preset-option=\"signal-flow\"] .preset-control-mark {\n border-radius: 50%;\n box-shadow: 0 0 10px color-mix(in srgb, var(--frontend-stroke) 78%, transparent);\n }\n #btn-preset[data-preset-option=\"blueprint\"] .preset-control-mark {\n border-radius: 0.06rem;\n background: transparent;\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--frontend-stroke) 32%, transparent);\n transform: rotate(45deg) scale(0.84);\n }\n #btn-preset[data-preset-option=\"editorial\"] .preset-control-mark {\n border-color: var(--arrow-emphasis);\n border-radius: 0;\n background: var(--arrow-emphasis);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--arrow-emphasis) 14%, transparent);\n transform: rotate(45deg) scale(0.72);\n }\n .toolbar .preset-menu {\n position: absolute;\n top: calc(100% + 0.375rem);\n right: 0;\n display: none;\n width: 18.5rem;\n max-width: calc(100vw - 2rem);\n padding: 0.45rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.875rem;\n background: var(--toolbar-menu-bg);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);\n }\n .toolbar .preset-menu.open { display: block; }\n .toolbar .preset-menu.open,\n .toolbar .export-menu.open {\n animation: toolbar-menu-in 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);\n transform-origin: top right;\n }\n @keyframes toolbar-menu-in {\n from { opacity: 0; transform: translateY(-0.25rem) scale(0.985); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n }\n .preset-menu-heading {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.42rem 0.6rem 0.55rem;\n color: var(--text-faint);\n font-size: 0.56rem;\n letter-spacing: 0.13em;\n text-transform: uppercase;\n }\n .preset-menu-heading span:last-child {\n font-size: 0.52rem;\n letter-spacing: 0.04em;\n text-transform: none;\n }\n .toolbar .preset-option {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) 1rem;\n align-items: center;\n gap: 0.68rem;\n width: 100%;\n min-height: 3.35rem;\n padding: 0.5rem 0.62rem;\n border: 0;\n border-radius: 0.5rem;\n background: transparent;\n box-shadow: none;\n backdrop-filter: none;\n text-align: left;\n }\n .toolbar .preset-option:hover,\n .toolbar .preset-option:focus-visible { background: var(--toolbar-hover); }\n .toolbar .preset-option[aria-checked=\"true\"] {\n background: color-mix(in srgb, var(--frontend-stroke) 9%, transparent);\n border-color: color-mix(in srgb, var(--frontend-stroke) 36%, transparent);\n }\n .preset-option-swatch {\n position: relative;\n width: 2rem;\n height: 1.55rem;\n overflow: hidden;\n border: 1px solid #64748b;\n border-radius: 0.24rem;\n background: #0f172a;\n box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);\n }\n .preset-option-swatch::before,\n .preset-option-swatch::after { position: absolute; content: \"\"; }\n .preset-option-swatch.classic::before {\n top: 0.42rem;\n right: 0.35rem;\n bottom: 0.42rem;\n left: 0.35rem;\n border: 1px solid #22d3ee;\n border-radius: 0.16rem;\n background: rgba(34, 211, 238, 0.14);\n }\n .preset-option-swatch.signal-flow {\n border-color: #29415f;\n background: linear-gradient(135deg, #07101e 10%, #10243c 100%);\n }\n .preset-option-swatch.signal-flow::before {\n top: 50%;\n right: 0.2rem;\n left: 0.2rem;\n height: 1px;\n background: linear-gradient(90deg, #67e8f9, #c4b5fd);\n box-shadow: 0 0 8px #67e8f9;\n }\n .preset-option-swatch.signal-flow::after {\n top: calc(50% - 0.13rem);\n right: 0.28rem;\n width: 0.26rem;\n height: 0.26rem;\n border-radius: 50%;\n background: #67e8f9;\n box-shadow: 0 0 7px #67e8f9;\n }\n .preset-option-swatch.blueprint {\n border-color: #34799a;\n border-radius: 0.08rem;\n background-color: #0a2031;\n background-image:\n linear-gradient(rgba(102, 217, 239, 0.18) 1px, transparent 1px),\n linear-gradient(90deg, rgba(102, 217, 239, 0.18) 1px, transparent 1px);\n background-size: 0.42rem 0.42rem;\n }\n .preset-option-swatch.blueprint::before {\n top: 0.34rem;\n right: 0.38rem;\n bottom: 0.34rem;\n left: 0.38rem;\n border: 1px solid #66d9ef;\n }\n .preset-option-swatch.editorial {\n border-color: #b8aa94;\n border-radius: 0.08rem;\n background: repeating-linear-gradient(0deg, #f2eee5 0 0.34rem, #d8d0c2 0.36rem, #f2eee5 0.38rem);\n }\n .preset-option-swatch.editorial::before {\n top: 0;\n bottom: 0;\n left: 0.42rem;\n width: 1px;\n background: #c9502d;\n opacity: 0.72;\n }\n .preset-option-swatch.editorial::after {\n top: 0.52rem;\n right: 0.45rem;\n width: 0.38rem;\n height: 0.38rem;\n background: #c9502d;\n transform: rotate(45deg);\n }\n .preset-option-copy { min-width: 0; }\n .preset-option-copy strong,\n .preset-option-copy small { display: block; }\n .preset-option-copy strong {\n color: var(--toolbar-text);\n font-size: 0.72rem;\n font-weight: 600;\n }\n .preset-option-copy small {\n margin-top: 0.16rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.57rem;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .preset-option-check {\n display: inline-block;\n width: 0.9rem;\n height: 0.9rem;\n color: var(--frontend-stroke);\n background: currentColor;\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.5 3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n opacity: 0;\n }\n .preset-option[aria-checked=\"true\"] .preset-option-check { opacity: 1; }\n html[data-preset=\"editorial\"] .toolbar button,\n html[data-preset=\"editorial\"] .preset-menu,\n html[data-preset=\"editorial\"] .export-menu,\n html[data-preset=\"editorial\"] .overview-map,\n html[data-preset=\"editorial\"] .semantic-lens,\n html[data-preset=\"editorial\"] .route-probe,\n html[data-preset=\"editorial\"] .focus-chip,\n html[data-preset=\"editorial\"] .diagram-guide,\n html[data-preset=\"editorial\"] .node-finder,\n html[data-preset=\"editorial\"] .guided-views,\n html[data-preset=\"editorial\"] .share-chapter-cue {\n border-radius: 0.3rem;\n }\n .motion-control-dot {\n width: 0.46rem;\n height: 0.46rem;\n flex: 0 0 auto;\n border: 1px solid var(--frontend-stroke);\n border-radius: 50%;\n background: var(--frontend-stroke);\n box-shadow: 0 0 9px color-mix(in srgb, var(--frontend-stroke) 72%, transparent);\n }\n #btn-motion[aria-pressed=\"false\"] .motion-control-dot {\n background: transparent;\n box-shadow: none;\n }\n .toolbar .export-menu {\n position: absolute;\n top: calc(100% + 0.375rem);\n right: 0;\n background: var(--toolbar-menu-bg);\n border: 1px solid var(--toolbar-border);\n width: 19rem;\n max-width: calc(100vw - 2rem);\n max-height: calc(100vh - 5.5rem);\n overflow-y: auto;\n border-radius: 0.875rem;\n padding: 0.55rem;\n display: none;\n flex-direction: column;\n box-shadow: 0 18px 48px rgba(0,0,0,0.24);\n }\n .toolbar .export-menu.open { display: flex; }\n .export-menu-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 1rem;\n padding: 0.5rem 0.55rem 0.72rem;\n }\n .export-menu-header strong,\n .export-menu-header span { display: block; }\n .export-menu-header strong {\n color: var(--toolbar-text);\n font-size: 0.78rem;\n font-weight: 650;\n letter-spacing: -0.015em;\n }\n .export-menu-header span {\n margin-top: 0.16rem;\n color: var(--text-faint);\n font-size: 0.56rem;\n }\n .export-menu-header kbd {\n padding: 0.16rem 0.36rem;\n border: 1px solid var(--toolbar-border);\n border-radius: 0.3rem;\n color: var(--text-faint);\n background: color-mix(in srgb, var(--toolbar-border) 16%, transparent);\n font-family: inherit;\n font-size: 0.54rem;\n font-weight: 600;\n }\n .export-menu-section {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.18rem;\n }\n .export-menu-section + .export-menu-section {\n margin-top: 0.42rem;\n padding-top: 0.42rem;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 68%, transparent);\n }\n .export-menu-heading {\n grid-column: 1 / -1;\n display: block;\n padding: 0.24rem 0.55rem 0.2rem;\n color: var(--text-faint);\n font-size: 0.54rem;\n font-weight: 600;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n }\n .toolbar .export-menu button {\n display: grid;\n grid-template-columns: 1.15rem minmax(0, 1fr);\n align-items: center;\n column-gap: 0.52rem;\n background: transparent;\n border: 1px solid transparent;\n box-shadow: none;\n backdrop-filter: none;\n width: 100%;\n min-height: 3rem;\n text-align: left;\n padding: 0.48rem 0.55rem;\n border-radius: 0.5rem;\n white-space: nowrap;\n }\n .export-item-copy {\n display: block;\n min-width: 0;\n }\n .export-item-copy strong,\n .export-item-copy small { display: block; }\n .export-item-copy strong {\n overflow: hidden;\n color: inherit;\n font-size: 0.7rem;\n font-weight: 550;\n text-overflow: ellipsis;\n }\n .export-item-copy small {\n margin-top: 0.12rem;\n overflow: hidden;\n color: var(--text-faint);\n font-size: 0.55rem;\n font-weight: 450;\n text-overflow: ellipsis;\n }\n .toolbar .export-menu button::before {\n width: 1rem;\n height: 1rem;\n background: currentColor;\n content: \"\";\n opacity: 0.72;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: contain;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-size: contain;\n }\n .toolbar .export-menu button[data-format=\"share-card\"]::before,\n .toolbar .export-menu button[data-action=\"route-share-card\"]::before,\n .toolbar .export-menu button[data-action=\"reach-share-card\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' d='M3 4.5h14v11H3zM6 12l2.5-2.5 2 2 1.5-1.5 2 2'/%3E%3Ccircle cx='13.8' cy='7.3' r='1.2' fill='black'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' d='M3 4.5h14v11H3zM6 12l2.5-2.5 2 2 1.5-1.5 2 2'/%3E%3Ccircle cx='13.8' cy='7.3' r='1.2' fill='black'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-action^=\"copy\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='6' y='6' width='10' height='10' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 13H3.5A1.5 1.5 0 012 11.5v-8A1.5 1.5 0 013.5 2h8A1.5 1.5 0 0113 3.5V4' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='6' y='6' width='10' height='10' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 13H3.5A1.5 1.5 0 012 11.5v-8A1.5 1.5 0 013.5 2h8A1.5 1.5 0 0113 3.5V4' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"png\"]::before,\n .toolbar .export-menu button[data-format=\"jpeg\"]::before,\n .toolbar .export-menu button[data-format=\"webp\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 2.5h7l3 3v12H5zM12 2.5v3h3' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 14l2-2 1.5 1.5 1.5-1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 2.5h7l3 3v12H5zM12 2.5v3h3' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 14l2-2 1.5 1.5 1.5-1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"svg\"]::before,\n .toolbar .export-menu button[data-format=\"webm\"]::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2.5l7 4v7l-7 4-7-4v-7zM3 6.5l7 4 7-4M10 10.5v7' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2.5l7 4v7l-7 4-7-4v-7zM3 6.5l7 4 7-4M10 10.5v7' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E\");\n }\n .toolbar .export-menu button[data-format=\"share-card\"],\n .toolbar .export-menu button[data-action=\"route-share-card\"],\n .toolbar .export-menu button[data-action=\"reach-share-card\"] {\n min-height: 3.35rem;\n color: var(--toolbar-text);\n background: color-mix(in srgb, var(--frontend-stroke) 8%, transparent);\n border-color: color-mix(in srgb, var(--frontend-stroke) 24%, var(--toolbar-border));\n }\n .toolbar .export-menu button[hidden] { display: none; }\n .toolbar .export-menu button:hover {\n background: var(--toolbar-hover);\n }\n .toolbar .export-menu button:focus-visible {\n background: var(--toolbar-hover);\n outline-offset: -2px;\n }\n .toolbar .export-menu button:disabled {\n color: var(--text-faint);\n background: color-mix(in srgb, var(--toolbar-border) 18%, transparent);\n cursor: not-allowed;\n }\n .toolbar .export-menu button:disabled:hover {\n border-color: transparent;\n }\n .toolbar .export-menu .hint {\n color: var(--text-faint);\n font-size: 0.55rem;\n }\n\n /* Toast — brief feedback for actions like \"copied\" */\n .archify-toast {\n position: fixed;\n top: 1rem;\n left: 50%;\n transform: translateX(-50%) translateY(-8px);\n background: var(--toolbar-menu-bg);\n color: var(--text);\n border: 1px solid var(--toolbar-border);\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n font-family: inherit;\n font-size: 0.75rem;\n opacity: 0;\n transition: opacity 0.2s, transform 0.2s;\n z-index: 200;\n pointer-events: none;\n box-shadow: 0 4px 20px rgba(0,0,0,0.25);\n }\n .archify-toast.show {\n opacity: 1;\n transform: translateX(-50%) translateY(0);\n }\n\n @media (max-width: 720px) {\n body { padding: 1rem; }\n .toolbar .preset-menu,\n .toolbar .export-menu {\n position: fixed;\n top: 4.5rem;\n right: 1rem;\n left: 1rem;\n width: auto;\n max-width: none;\n }\n .toolbar {\n position: relative;\n justify-content: flex-end;\n width: max-content;\n max-width: 100%;\n margin-left: auto;\n margin-bottom: 1rem;\n }\n .header { margin-bottom: 1.25rem; padding-right: 0; }\n html[data-preset=\"signal-flow\"] .header,\n html[data-preset=\"blueprint\"] .header,\n html[data-preset=\"editorial\"] .header { padding-right: 0; }\n .header-row {\n gap: 0.75rem;\n align-items: flex-start;\n }\n html[data-preset=\"signal-flow\"] .header-row,\n html[data-preset=\"blueprint\"] .header-row,\n html[data-preset=\"editorial\"] .header-row { flex-wrap: wrap; }\n html[data-preset=\"signal-flow\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n html[data-preset=\"blueprint\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n html[data-preset=\"editorial\"] .header-row::after {\n margin-left: 0;\n order: 3;\n }\n h1 {\n font-size: 1.25rem;\n line-height: 1.25;\n }\n .subtitle {\n margin-left: 0;\n font-size: 0.8125rem;\n line-height: 1.55;\n }\n .diagram-container {\n padding: 0.75rem;\n border-radius: 0.75rem;\n }\n html:not([data-embed=\"true\"]) .diagram-container {\n padding: 0.75rem 0.75rem 4.25rem;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] {\n overflow-x: auto;\n overflow-y: hidden;\n overscroll-behavior-x: contain;\n scrollbar-width: thin;\n scroll-behavior: smooth;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] \u003e svg {\n min-width: 720px;\n }\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .diagram-nav,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .overview-map,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .focus-chip,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .route-probe,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .semantic-lens,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .diagram-guide,\n html:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] .node-finder {\n transform: translateX(var(--archify-scroll-x, 0px));\n }\n .diagram-nav { right: 0.5rem; bottom: 0.5rem; }\n .diagram-nav button {\n min-width: 2.75rem;\n height: 2.75rem;\n }\n .diagram-nav [data-view=\"reset\"] { min-width: 3.75rem; }\n .diagram-nav [data-view=\"reset\"][data-detail-visible] { min-width: 4.35rem; }\n .overview-map {\n right: 0.5rem;\n bottom: 3.7rem;\n width: min(10.25rem, calc(100% - 1rem));\n }\n .overview-map[data-docked=\"true\"] {\n right: var(--archify-radar-right, 0.5rem);\n top: var(--archify-radar-top, 0.5rem);\n bottom: auto;\n transform: none !important;\n }\n .overview-map[data-docked=\"true\"][data-dock-side=\"left\"] {\n right: auto;\n left: var(--archify-radar-left, 0.5rem);\n }\n .overview-map-surface { height: 4rem; }\n .overview-map-feedback { right: 0.5rem; bottom: 3.7rem; }\n .semantic-lens {\n right: 0.5rem;\n bottom: 3.7rem;\n width: calc(100% - 1rem);\n max-height: calc(100% - 4.2rem);\n }\n .semantic-lens[data-dock-side] { left: auto; right: 0.5rem; }\n .semantic-lens-kinds { max-height: min(12rem, 34vh); }\n .focus-chip {\n left: 0.5rem;\n top: 0.5rem;\n width: calc(100% - 1rem);\n max-width: none;\n }\n .relationship-lens-head { padding-top: 0.7rem; }\n .relationship-lens-drag-handle { display: none; }\n .relationship-lens-list { max-height: min(12rem, 38vh); }\n .relationship-lens-actions #btn-focus-relations { display: block; color: var(--database-stroke); }\n .focus-chip:not([data-relations-expanded=\"true\"]) .relationship-lens-head { border-bottom-color: transparent; }\n .focus-chip:not([data-relations-expanded=\"true\"]) .relationship-lens-list { display: none; }\n /* While a mobile reader previews one relationship, turn the full Lens\n into a compact peek card. This keeps the exact source and target on\n canvas instead of covering them with a long, scrollable list. */\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-list {\n max-height: none;\n padding: 0.35rem;\n overflow: hidden;\n }\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-group { margin: 0; }\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-group-title,\n .focus-chip[data-relationship-previewing=\"true\"] .relationship-lens-row:not([data-preview-active=\"true\"]) {\n display: none;\n }\n .node-finder {\n top: 0.5rem;\n left: 0.5rem;\n width: min(22rem, calc(100% - 1rem));\n max-height: calc(100% - 1rem);\n }\n .diagram-guide {\n top: 0.5rem;\n right: 0.5rem;\n left: 0.5rem;\n width: auto;\n max-height: calc(100% - 1rem);\n }\n .diagram-guide-head { padding: 0.62rem 0.7rem 0.52rem; }\n .diagram-guide-stats { padding: 0.42rem 0.7rem; }\n .diagram-guide-actions {\n grid-template-columns: 1fr;\n gap: 0.28rem;\n padding: 0.42rem;\n }\n .diagram-guide-action {\n min-height: 3.1rem;\n padding: 0.42rem 0.48rem;\n }\n .diagram-guide-action small {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .diagram-guide-index {\n width: 1.5rem;\n height: 1.5rem;\n }\n .diagram-guide-shortcuts { padding: 0.46rem 0.7rem 0.52rem; }\n .diagram-guide-action[data-guide-action=\"present\"] { grid-column: auto; }\n .route-probe[data-guide-open=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n }\n .node-finder-results { max-height: min(16rem, 38vh); }\n .route-probe {\n left: 0.5rem;\n bottom: 3.7rem;\n width: calc(100% - 1rem);\n min-width: 0;\n }\n .route-probe[data-route-dock=\"top\"] {\n top: 0.5rem;\n bottom: auto;\n }\n .route-probe[data-finder-open=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n }\n .route-probe-head { padding: 0.45rem 0.48rem 0.38rem; }\n .route-probe-path { padding: 0.35rem 0.48rem 0.2rem; }\n .route-probe-node { min-height: 2.75rem !important; }\n .route-journey-controls {\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem minmax(0, 1fr);\n padding: 0.08rem 0.48rem 0.32rem;\n }\n .route-journey-controls button { min-height: 2.75rem; }\n .route-probe-status { padding: 0.05rem 0.48rem 0.38rem; }\n .route-probe-node { max-width: 7.5rem; }\n .guided-views {\n grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;\n gap: 0.2rem;\n padding: 0.25rem;\n }\n .guided-view-actions {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .guided-views \u003e #guided-view-prev,\n .guided-views \u003e #guided-view-next {\n align-self: center;\n height: 2.75rem;\n }\n .guided-view-play,\n .guided-view-all,\n .guided-view-beat-link { min-height: 2.75rem; }\n .guided-view-copy small { white-space: normal; }\n .guided-story-caption { padding: 0.32rem 0.45rem; }\n .guided-story-caption-index { min-width: 2.9rem; padding-right: 0.42rem; }\n .guided-story-caption strong,\n .guided-story-caption small { white-space: normal; }\n .guided-story-caption-next { display: none; }\n .guided-view-trail { min-height: 2rem; }\n .guided-view-trail .guided-view-stop {\n min-height: 2rem;\n padding: 0.22rem 0.42rem 0.22rem 0.28rem;\n }\n .guided-view-handoff { max-width: min(9rem, 32vw); }\n .guided-view-index { padding-top: 0.35rem; }\n .guided-view-chapters {\n gap: 0.35rem;\n scroll-padding-inline: 0.2rem;\n }\n .guided-view-chapters li {\n flex: 0 0 min(14rem, 78vw);\n min-width: 0;\n }\n .guided-view-chapter { min-height: 2.75rem; }\n .guided-views[data-active-view=\"all\"] {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 0.2rem;\n padding: 0.25rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-copy {\n grid-column: 1;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-actions {\n grid-column: 2;\n grid-row: 1;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-play {\n min-width: 6rem !important;\n min-height: 2.75rem;\n }\n .guided-views[data-active-view=\"all\"] .guided-view-index {\n grid-column: 1 / -1;\n grid-row: 2;\n padding: 0.3rem 0.08rem 0;\n border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 72%, transparent);\n border-left: 0;\n }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .share-chapter-cue:not([hidden]),\n html[data-embed=\"true\"][data-share-moment=\"true\"] .share-chapter-cue:not([hidden]) {\n top: 0.5rem;\n grid-template-columns: auto minmax(0, 1fr);\n gap: 0.28rem 0.55rem;\n width: calc(100% - 1rem);\n min-height: 0;\n padding: 0.45rem 0.55rem 0.55rem;\n }\n html[data-embed=\"true\"][data-share-playback=\"true\"] .diagram-container {\n padding-top: 4.25rem;\n }\n html[data-embed=\"true\"][data-share-moment=\"true\"] .diagram-container {\n padding-top: 4.25rem;\n }\n .share-chapter-index {\n min-width: 4.4rem;\n padding-right: 0.5rem;\n }\n .share-chapter-copy small { font-size: 0.46rem; }\n .share-chapter-route {\n grid-column: 1 / -1;\n font-size: 0.5rem;\n text-align: left;\n }\n .cards {\n grid-template-columns: 1fr;\n margin-top: 1rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) body { padding: 0.5rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .container {\n gap: 0.5rem;\n height: calc(100dvh - 1rem);\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .toolbar {\n position: fixed;\n top: 0.5rem;\n right: 0.5rem;\n margin: 0;\n gap: 0.25rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .toolbar button {\n min-height: 2.75rem;\n padding: 0.42rem 0.58rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header {\n min-height: 2.25rem;\n padding: 3.5rem 0 0;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row {\n min-height: 2.25rem;\n margin: 0;\n align-items: center;\n flex-wrap: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .header-row::after,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .pulse-dot,\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .subtitle { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) h1 {\n flex: 1 1 auto;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n font-size: 0.875rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-views {\n padding: 0.2rem;\n }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-view-copy small { display: none; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .guided-story-caption small { display: block; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container { padding: 0.5rem 0.5rem 3.75rem; }\n html[data-present=\"true\"]:not([data-embed=\"true\"]) .diagram-container[data-wide-diagram=\"true\"] \u003e svg {\n width: 720px;\n height: auto;\n min-width: 720px;\n }\n }\n\n @media (max-width: 420px) {\n .export-menu-section { grid-template-columns: 1fr; }\n .export-menu-heading,\n .toolbar .export-menu button[data-format=\"share-card\"],\n .toolbar .export-menu button[data-action=\"route-share-card\"],\n .toolbar .export-menu button[data-action=\"reach-share-card\"] { grid-column: 1; }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .guided-story-caption { animation: none !important; }\n .toolbar .preset-menu.open,\n .toolbar .export-menu.open { animation: none; }\n .toolbar-chevron { transition: none; }\n }\n\n @media (max-width: 360px) {\n .toolbar { gap: 0.25rem; }\n .toolbar button { padding-right: 0.58rem; padding-left: 0.58rem; }\n .toolbar #btn-motion { min-width: 4.4rem; padding-right: 0.58rem; padding-left: 0.58rem; }\n #theme-label, #preset-label, #present-label { display: none; }\n .guided-view-handoff { max-width: 6.5rem; }\n }\n\n /* ==========================================================\n SVG SEMANTIC CLASSES — use these instead of inline fill/stroke\n ========================================================== */\n .c-grid { stroke: var(--grid); fill: none; }\n .c-mask { fill: var(--mask); stroke: none; }\n\n .c-frontend { fill: var(--frontend-fill); stroke: var(--frontend-stroke); }\n .c-backend { fill: var(--backend-fill); stroke: var(--backend-stroke); }\n .c-database { fill: var(--database-fill); stroke: var(--database-stroke); }\n .c-cloud { fill: var(--cloud-fill); stroke: var(--cloud-stroke); }\n .c-security { fill: var(--security-fill); stroke: var(--security-stroke); }\n .c-messagebus { fill: var(--messagebus-fill); stroke: var(--messagebus-stroke); }\n .c-external { fill: var(--external-fill); stroke: var(--external-stroke); }\n\n /* Text helpers */\n .t-primary { fill: var(--text); }\n .t-muted { fill: var(--text-muted); }\n .t-dim { fill: var(--text-dim); }\n .t-frontend { fill: var(--frontend-stroke); }\n .t-backend { fill: var(--backend-stroke); }\n .t-database { fill: var(--database-stroke); }\n .t-cloud { fill: var(--cloud-stroke); }\n .t-security { fill: var(--security-stroke); }\n .t-messagebus { fill: var(--messagebus-stroke); }\n .t-external { fill: var(--external-stroke); }\n\n /* Relationship labels share the exact color token used by their path. */\n .t-edge-default { fill: var(--arrow); }\n .t-edge-emphasis { fill: var(--arrow-emphasis); }\n .t-edge-security { fill: var(--security-stroke); }\n .t-edge-dashed { fill: var(--database-stroke); }\n\n /* Semantic Sigils are small authored role stamps, not icons from a brand\n pack and not viewer controls. Prefix selectors with svg so the canonical\n export's SVG-only stylesheet collector keeps them automatically. */\n svg .semantic-sigil {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.35;\n stroke-linecap: round;\n stroke-linejoin: round;\n opacity: 0.76;\n pointer-events: none;\n }\n svg .semantic-sigil \u003e * { vector-effect: non-scaling-stroke; }\n svg .semantic-sigil .sigil-fill { fill: currentColor; stroke: none; }\n svg .s-frontend { color: var(--frontend-stroke); }\n svg .s-backend { color: var(--backend-stroke); }\n svg .s-database { color: var(--database-stroke); }\n svg .s-cloud { color: var(--cloud-stroke); }\n svg .s-security { color: var(--security-stroke); }\n svg .s-messagebus { color: var(--messagebus-stroke); }\n svg .s-external { color: var(--external-stroke); }\n\n /* Brand Marks are authored identity badges. Their color is contained\n inside one neutral plate so vendor color never replaces Archify's\n semantic node and relationship vocabulary. */\n svg .brand-mark { pointer-events: none; }\n svg .brand-mark-badge { fill: #fff; stroke: none; }\n svg .brand-mark-frame {\n fill: none;\n stroke: #cbd5e1;\n stroke-width: 0.8;\n vector-effect: non-scaling-stroke;\n }\n svg .brand-mark-fallback {\n fill: none;\n stroke: #475569;\n stroke-width: 1.15;\n stroke-linecap: round;\n stroke-linejoin: round;\n }\n svg[data-preset=\"blueprint\"] .brand-mark-badge,\n svg[data-preset=\"blueprint\"] .brand-mark-frame { rx: 1px; }\n\n /* Reading Depth is a viewer-only level-of-detail layer. MAP preserves the\n authored structure and primary labels, READ restores relationship labels\n and node context, and FULL restores tags and fine annotations. Semantic\n intent can reveal the relevant detail without moving any geometry. */\n svg [data-detail] { transition: opacity 160ms ease; }\n svg [data-detail-anchor] {\n transform-box: fill-box;\n transform-origin: center;\n transition: transform 160ms ease;\n }\n .diagram-container[data-detail-level=\"map\"] svg [data-detail=\"context\"],\n .diagram-container[data-detail-level=\"map\"] svg [data-detail=\"fine\"],\n .diagram-container[data-detail-level=\"read\"] svg [data-detail=\"fine\"] {\n opacity: 0;\n pointer-events: none;\n }\n .diagram-container[data-detail-level=\"map\"] svg [data-detail-anchor] {\n transform: translateY(8px);\n }\n\n /* Focus, lens, preview, route, and story states are stronger reader intent than\n the global zoom level. Reveal only their exact semantic matches. */\n svg[data-focus-active] [data-focus-match][data-detail],\n svg[data-focus-active] [data-focus-match] [data-detail],\n svg[data-reach-active] [data-reach-match][data-detail],\n svg[data-reach-active] [data-reach-match] [data-detail],\n svg[data-lens-active] [data-lens-match][data-detail],\n svg[data-lens-active] [data-lens-match] [data-detail],\n svg[data-legend-preview-active] [data-legend-preview-match][data-detail],\n svg[data-legend-preview-active] [data-legend-preview-match] [data-detail],\n svg[data-intent-trace-active] [data-intent-trace-match][data-detail],\n svg[data-intent-trace-active] [data-intent-trace-match] [data-detail],\n svg[data-route-active] [data-route-match][data-detail],\n svg[data-route-active] [data-route-match] [data-detail],\n svg[data-story-active] [data-story-step][data-detail],\n svg[data-story-active] [data-story-step] [data-detail],\n svg[data-relationship-preview-active] [data-relationship-preview][data-detail],\n svg[data-relationship-preview-active] [data-relationship-preview] [data-detail],\n svg [data-node-id]:hover [data-detail],\n svg [data-node-id]:focus-visible [data-detail] {\n opacity: 1;\n pointer-events: auto;\n }\n svg[data-focus-active] [data-focus-match] [data-detail-anchor],\n svg[data-reach-active] [data-reach-match] [data-detail-anchor],\n svg[data-lens-active] [data-lens-match] [data-detail-anchor],\n svg[data-legend-preview-active] [data-legend-preview-match] [data-detail-anchor],\n svg[data-intent-trace-active] [data-intent-trace-match] [data-detail-anchor],\n svg[data-route-active] [data-route-match] [data-detail-anchor],\n svg[data-story-active] [data-story-step] [data-detail-anchor],\n svg [data-node-id]:hover [data-detail-anchor],\n svg [data-node-id]:focus-visible [data-detail-anchor] { transform: none; }\n\n /* Arrows */\n .a-default { stroke: var(--arrow); fill: none; }\n .a-emphasis { stroke: var(--arrow-emphasis); fill: none; }\n .a-security { stroke: var(--security-stroke); fill: none; stroke-dasharray: 5,5; }\n .a-dashed { stroke: var(--database-stroke); fill: none; stroke-dasharray: 4,4; }\n\n /* Arrowhead markers reference these */\n .m-default { fill: var(--arrow); }\n .m-emphasis { fill: var(--arrow-emphasis); }\n .m-security { fill: var(--security-stroke); }\n .m-dashed { fill: var(--database-stroke); }\n\n /* Stable semantic exploration hooks emitted by every renderer. */\n svg [data-node-id] {\n cursor: pointer;\n transition: opacity 0.18s ease, filter 0.18s ease;\n }\n svg [data-edge-from],\n svg [data-graph-role=\"automatic-crossover-underlay\"] { transition: opacity 0.18s ease, filter 0.18s ease; }\n svg [data-node-id]:hover,\n svg [data-node-id]:focus-visible {\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n outline: none;\n }\n /* Verified Source Beacons are installed at runtime only for nodes whose\n repository evidence passed the local revision/blob/line checks. They\n live inside the owning node so every focus, route, story, and guided\n view keeps one coherent opacity state. Export serialization removes\n them before producing the canonical SVG or any derived visual. */\n .source-evidence-beacon {\n pointer-events: none;\n opacity: 0.76;\n transition: opacity 160ms ease, filter 160ms ease;\n }\n .source-evidence-beacon rect {\n fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));\n stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n }\n .source-evidence-beacon text {\n fill: var(--backend-stroke);\n font-size: 5.5px;\n font-weight: 800;\n letter-spacing: 0.06em;\n text-anchor: middle;\n text-transform: uppercase;\n }\n svg [data-node-id]:hover .source-evidence-beacon,\n svg [data-node-id]:focus-visible .source-evidence-beacon,\n svg [data-node-id][data-focus-selected] .source-evidence-beacon {\n opacity: 1;\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));\n }\n svg[data-preset=\"signal-flow\"] .source-evidence-beacon { opacity: 0.9; }\n svg[data-preset=\"blueprint\"] .source-evidence-beacon rect {\n rx: 0.8px;\n filter: none;\n }\n svg [data-legend-kind][role=\"button\"] { cursor: pointer; }\n svg [data-legend-kind]:focus { outline: none; }\n svg [data-legend-hit] {\n fill: transparent;\n stroke: transparent;\n stroke-width: 1.4;\n pointer-events: all;\n vector-effect: non-scaling-stroke;\n transition: stroke 150ms ease, stroke-width 150ms ease, filter 150ms ease;\n }\n svg [data-legend-count-badge] { pointer-events: none; }\n svg [data-legend-count-badge] rect {\n fill: var(--mask);\n stroke: var(--panel-border);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n }\n svg [data-legend-count-badge] text {\n fill: var(--text-muted);\n font-size: 8px;\n font-weight: 700;\n text-anchor: middle;\n }\n svg [data-legend-kind][role=\"button\"]:hover [data-legend-hit] {\n stroke: color-mix(in srgb, var(--database-stroke) 58%, transparent);\n }\n svg [data-legend-kind][role=\"button\"]:focus-visible [data-legend-hit] {\n stroke: var(--frontend-stroke);\n stroke-width: 1.8;\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg [data-legend-kind][data-legend-selected] [data-legend-hit] {\n stroke: var(--database-stroke);\n stroke-width: 2.2;\n stroke-dasharray: 3 2;\n }\n svg [data-legend-kind][data-legend-selected] [data-legend-count-badge] rect {\n stroke: var(--database-stroke);\n stroke-width: 1.8;\n }\n svg [data-legend-kind][data-legend-zero] { opacity: 0.44; }\n svg[data-preset=\"signal-flow\"] [data-legend-kind][data-legend-selected] [data-legend-hit] {\n filter: drop-shadow(0 0 4px var(--database-stroke));\n }\n svg[data-preset=\"blueprint\"] [data-legend-hit],\n svg[data-preset=\"blueprint\"] [data-legend-count-badge] rect { rx: 0; filter: none; }\n svg[data-legend-preview-active] [data-node-id],\n svg[data-legend-preview-active] [data-edge-from] { opacity: 0.11; }\n svg[data-legend-preview-active] [data-legend-preview-match] { opacity: 1; }\n svg[data-legend-preview-active] [data-legend-preview-peer] { opacity: 0.62; }\n svg[data-legend-preview-active] [data-legend-preview-selected] {\n filter: drop-shadow(0 0 8px var(--database-stroke));\n }\n svg[data-lens-active] [data-node-id],\n svg[data-lens-active] [data-edge-from] { opacity: 0.11; }\n svg[data-lens-active] [data-lens-match] { opacity: 1; }\n svg[data-lens-active] [data-lens-peer] { opacity: 0.62; }\n svg[data-lens-active] [data-lens-selected] {\n filter: drop-shadow(0 0 10px var(--database-stroke));\n }\n .semantic-lens-overlay { pointer-events: none; }\n .semantic-lens-flow {\n fill: none;\n stroke-width: 3.05;\n stroke-linecap: round;\n stroke-dasharray: 0.075 0.925;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.9;\n animation: archify-semantic-lens-flow 1.35s linear 1 both;\n animation-delay: var(--lens-flow-delay, 0s);\n }\n .semantic-lens-flow[data-direction=\"out\"],\n .semantic-lens-flow[data-direction=\"forward\"] {\n stroke: var(--frontend-stroke);\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n .semantic-lens-flow[data-direction=\"in\"],\n .semantic-lens-flow[data-direction=\"reverse\"] {\n stroke: var(--database-stroke);\n filter: drop-shadow(0 0 3px var(--database-stroke));\n }\n .semantic-lens-flow[data-direction=\"within\"] {\n stroke: var(--messagebus-stroke);\n filter: drop-shadow(0 0 3px var(--messagebus-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow {\n stroke-width: 3.7;\n opacity: 1;\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"out\"],\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"forward\"] {\n filter: drop-shadow(0 0 6px var(--frontend-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"in\"],\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"reverse\"] {\n filter: drop-shadow(0 0 6px var(--database-stroke));\n }\n svg[data-preset=\"signal-flow\"] .semantic-lens-flow[data-direction=\"within\"] {\n filter: drop-shadow(0 0 6px var(--messagebus-stroke));\n }\n svg[data-preset=\"blueprint\"] .semantic-lens-flow {\n stroke-width: 2.45;\n stroke-linecap: square;\n filter: none;\n opacity: 0.78;\n }\n html[data-embed=\"true\"] .semantic-lens-overlay { display: none; }\n /* Automatic crossover masks are visual companions of their one semantic\n edge. Keep the mask free of data-edge-* identity so graph traversal and\n export still observe exactly one edge, then mirror reader emphasis from\n the paired foreground path in this presentation-only wrapper. */\n svg[data-legend-preview-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n svg[data-lens-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.11; }\n svg[data-legend-preview-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-legend-preview-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n svg[data-lens-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-lens-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-legend-preview-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-legend-preview-peer]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n svg[data-lens-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-lens-peer]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.62; }\n svg[data-focus-active] [data-node-id],\n svg[data-focus-active] [data-edge-from] { opacity: 0.13; }\n svg[data-focus-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.13; }\n svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-focus-active] [data-focus-match] { opacity: 1; }\n svg[data-focus-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-focus-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n\n /* Authored Reachability is a bounded graph query over the relationships\n already present in the artifact. Upstream walks incoming edges;\n downstream walks outgoing edges. It never claims runtime causality and\n changes only viewer emphasis, not canonical geometry or export bytes. */\n svg[data-reach-active] [data-node-id],\n svg[data-reach-active] [data-edge-from] { opacity: 0.09; }\n svg[data-reach-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.09; }\n svg[data-reach-active] [data-reach-match] { opacity: 1; }\n svg[data-reach-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-reach-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-reach-active=\"upstream\"] [data-reach-origin] {\n filter: drop-shadow(0 0 11px var(--database-stroke));\n }\n svg[data-reach-active=\"downstream\"] [data-reach-origin] {\n filter: drop-shadow(0 0 11px var(--backend-stroke));\n }\n svg[data-reach-active=\"upstream\"] [data-edge-from][data-reach-match] {\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--database-stroke) 72%, transparent));\n }\n svg[data-reach-active=\"downstream\"] [data-edge-from][data-reach-match] {\n filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));\n }\n svg[data-preset=\"blueprint\"][data-reach-active] [data-reach-origin],\n svg[data-preset=\"blueprint\"][data-reach-active] [data-edge-from][data-reach-match] {\n filter: none;\n }\n\n /* Direct Relationship Explorer makes authored paths a real input surface\n without changing their visible stroke or canonical SVG. A transparent\n runtime rail supplies forgiving pointer geometry; the exact authored\n path and endpoints continue to carry every visible state. */\n .relationship-hit-overlay { pointer-events: none; }\n .relationship-hit-target { outline: none; }\n .relationship-hit-rail {\n fill: none;\n stroke: transparent;\n stroke-width: 24;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n pointer-events: stroke;\n cursor: pointer;\n }\n .relationship-focus-rail {\n fill: none;\n stroke: color-mix(in srgb, var(--frontend-stroke) 34%, transparent);\n stroke-width: 6;\n stroke-dasharray: 2 4;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n pointer-events: none;\n opacity: 0;\n }\n .relationship-hit-target:focus-visible .relationship-focus-rail {\n opacity: 1;\n }\n svg[data-preset=\"blueprint\"] .relationship-hit-target:focus-visible .relationship-focus-rail {\n stroke-linecap: square;\n filter: none;\n }\n svg[data-relationship-direct-active] [data-node-id],\n svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }\n svg[data-relationship-direct-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.16; }\n svg[data-relationship-direct-active] [data-relationship-preview],\n svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }\n svg[data-relationship-direct-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-relationship-preview]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,\n svg[data-story-active] .relationship-hit-rail,\n svg[data-route-picking] .relationship-hit-rail,\n svg[data-route-active] .relationship-hit-rail,\n svg[data-lens-active] .relationship-hit-rail,\n svg[data-chapter-preview] .relationship-hit-rail { pointer-events: none; }\n html[data-embed=\"true\"] .relationship-hit-overlay { display: none; }\n @media (hover: none), (pointer: coarse) {\n .relationship-hit-rail { stroke-width: 24; }\n }\n\n /* Relationship Preview is temporary exploration state layered on top of\n neighborhood focus. It changes emphasis only; exported geometry and the\n relationship's original solid/dashed visual language stay untouched. */\n svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }\n svg[data-relationship-preview-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-focus-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-relationship-preview-active] [data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }\n svg[data-relationship-preview-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-relationship-preview]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-relationship-preview-active] [data-relationship-preview] {\n filter: drop-shadow(0 0 5px var(--arrow-emphasis));\n }\n svg[data-relationship-preview-active] [data-relationship-preview] path,\n svg[data-relationship-preview-active] path[data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview] line,\n svg[data-relationship-preview-active] line[data-relationship-preview],\n svg[data-relationship-preview-active] [data-relationship-preview] polyline,\n svg[data-relationship-preview-active] polyline[data-relationship-preview] {\n stroke-width: 2.75;\n }\n svg[data-relationship-preview-active] [data-relationship-preview-source] {\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n }\n svg[data-relationship-preview-active] [data-relationship-preview-target] {\n filter: drop-shadow(0 0 7px var(--database-stroke));\n }\n .relationship-pulse-overlay { pointer-events: none; }\n .relationship-flow-pulse {\n fill: none;\n stroke: var(--arrow-emphasis);\n stroke-width: 3.35;\n stroke-linecap: round;\n stroke-dasharray: 0.085 0.915;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0;\n filter: drop-shadow(0 0 4px var(--arrow-emphasis));\n animation: archify-relationship-pulse 1.2s linear 1 both;\n }\n svg[data-preset=\"signal-flow\"] .relationship-flow-pulse {\n stroke: var(--frontend-stroke);\n stroke-width: 3.85;\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"] .relationship-flow-pulse {\n stroke-width: 2.5;\n stroke-linecap: square;\n filter: none;\n }\n svg[data-preset=\"editorial\"] .relationship-flow-pulse {\n stroke: var(--arrow-emphasis);\n stroke-width: 2.75;\n filter: none;\n }\n .semantic-flow-token {\n color: var(--frontend-stroke);\n opacity: 0;\n pointer-events: none;\n }\n .relationship-flow-token {\n animation: archify-relationship-token-life 1.2s linear 1 both;\n }\n .story-flow-token {\n animation: archify-relationship-token-life 0.78s linear 1 both;\n }\n .semantic-flow-token-halo {\n fill: var(--mask);\n stroke: currentColor;\n stroke-width: 1.1;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n }\n .relationship-flow-token-shape {\n fill: var(--mask);\n stroke: currentColor;\n stroke-width: 1.35;\n stroke-linecap: round;\n stroke-linejoin: round;\n vector-effect: non-scaling-stroke;\n }\n .relationship-flow-token-ink {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.05;\n stroke-linecap: round;\n vector-effect: non-scaling-stroke;\n }\n .relationship-flow-token-dot { fill: currentColor; stroke: none; }\n .semantic-flow-token[data-token-kind=\"data\"] { color: var(--database-stroke); }\n .semantic-flow-token[data-token-kind=\"event\"] { color: var(--messagebus-stroke); }\n .semantic-flow-token[data-token-kind=\"security\"] { color: var(--security-stroke); }\n .semantic-flow-token[data-token-kind=\"state\"] { color: var(--cloud-stroke); }\n svg[data-preset=\"signal-flow\"] .semantic-flow-token {\n filter: drop-shadow(0 0 5px currentColor);\n }\n svg[data-preset=\"blueprint\"] .semantic-flow-token { filter: none; }\n svg[data-preset=\"editorial\"] .semantic-flow-token { filter: none; }\n html[data-embed=\"true\"] .relationship-pulse-overlay { display: none; }\n\n /* Intent Trace is a temporary, pre-click exploration layer. Related\n topology stays readable while a short viewer-only signal runs over\n cloned edge geometry; the authored edge remains untouched underneath. */\n svg[data-intent-trace-active] [data-node-id],\n svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }\n svg[data-intent-trace-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.2; }\n svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }\n svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }\n svg[data-intent-trace-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-intent-trace-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-intent-trace-active] [data-intent-trace-selected] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n .intent-trace-overlay { pointer-events: none; }\n .intent-trace-flow {\n fill: none;\n stroke-width: 3.1;\n stroke-linecap: round;\n stroke-dasharray: 0.1 0.9;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.94;\n animation: archify-intent-trace-flow 1.15s linear 1 both;\n }\n /* Direction names describe each edge relative to the focused node only.\n The cloned geometry already runs from the authored source to target, so\n incoming and outgoing signals must share the same playback direction. */\n .intent-trace-flow[data-direction=\"out\"] {\n stroke: var(--frontend-stroke);\n filter: drop-shadow(0 0 4px var(--frontend-stroke));\n }\n .intent-trace-flow[data-direction=\"in\"] {\n stroke: var(--database-stroke);\n filter: drop-shadow(0 0 4px var(--database-stroke));\n animation-direction: normal;\n }\n .intent-trace-flow[data-direction=\"loop\"] {\n stroke: var(--security-stroke);\n filter: drop-shadow(0 0 4px var(--security-stroke));\n }\n svg[data-preset=\"blueprint\"] [data-intent-trace-selected],\n svg[data-preset=\"blueprint\"] .intent-trace-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"editorial\"] [data-intent-trace-selected],\n svg[data-preset=\"editorial\"] .intent-trace-flow { filter: none; }\n .intent-trace-status {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n }\n\n /* Route Probe separates a durable two-point query from selection and\n one-hop hover. Only the chosen shortest directed path stays prominent;\n the traveling signal is cloned viewer geometry and never authored SVG. */\n svg[data-route-picking=\"target\"] [data-node-id] { opacity: 0.24; }\n svg[data-route-picking=\"target\"] [data-route-candidate],\n svg[data-route-picking=\"target\"] [data-route-start] { opacity: 1; }\n svg[data-route-picking] [data-node-id] { cursor: crosshair; }\n svg[data-route-picking] [data-route-start] {\n filter: drop-shadow(0 0 10px var(--frontend-stroke));\n }\n svg[data-route-active] [data-node-id],\n svg[data-route-active] [data-edge-from] { opacity: 0.11; }\n svg[data-route-active] [data-graph-role=\"automatic-crossover\"] \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.11; }\n svg[data-route-active] [data-route-match] { opacity: 1; }\n svg[data-route-active] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-route-match]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-route-active] [data-route-start] {\n filter: drop-shadow(0 0 11px var(--frontend-stroke));\n }\n svg[data-route-active] [data-route-end] {\n filter: drop-shadow(0 0 11px var(--security-stroke));\n }\n svg[data-route-active] [data-route-step]:not([data-route-start]):not([data-route-end]) {\n filter: drop-shadow(0 0 7px var(--backend-stroke));\n }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"past\"] { opacity: 0.62; }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"future\"] { opacity: 0.34; }\n svg[data-route-journey] [data-route-match][data-route-journey-state=\"current\"] { opacity: 1; }\n svg[data-route-journey] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-route-match][data-route-journey-state=\"past\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.62; }\n svg[data-route-journey] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-route-match][data-route-journey-state=\"future\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.34; }\n svg[data-route-journey] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-route-match][data-route-journey-state=\"current\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-route-journey] [data-node-id][data-route-journey-current] {\n filter: drop-shadow(0 0 10px var(--backend-stroke));\n }\n svg[data-route-journey] [data-edge-from][data-route-journey-current] {\n opacity: 1;\n filter: drop-shadow(0 0 6px var(--backend-stroke));\n }\n .route-probe-overlay { pointer-events: none; }\n .route-journey-overlay { pointer-events: none; }\n .route-probe-flow {\n fill: none;\n stroke: var(--backend-stroke);\n stroke-width: 3.25;\n stroke-linecap: round;\n stroke-dasharray: 0.085 0.915;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0.96;\n filter: drop-shadow(0 0 5px var(--backend-stroke));\n animation: archify-route-probe-flow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1 both;\n animation-delay: calc(var(--route-step, 0) * 0.16s);\n }\n .route-journey-flow {\n fill: none;\n stroke: var(--backend-stroke);\n stroke-width: 3.5;\n stroke-linecap: round;\n stroke-dasharray: 0.1 0.9;\n stroke-dashoffset: 0;\n vector-effect: non-scaling-stroke;\n opacity: 0;\n filter: drop-shadow(0 0 6px var(--backend-stroke));\n animation: archify-route-journey-flow 780ms cubic-bezier(0.22, 1, 0.36, 1) 1 both;\n }\n svg[data-preset=\"blueprint\"] [data-route-start],\n svg[data-preset=\"blueprint\"] [data-route-end],\n svg[data-preset=\"blueprint\"] [data-route-step],\n svg[data-preset=\"blueprint\"] .route-probe-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"blueprint\"] .route-journey-flow {\n filter: none;\n stroke-linecap: square;\n }\n svg[data-preset=\"editorial\"] [data-route-start],\n svg[data-preset=\"editorial\"] [data-route-end],\n svg[data-preset=\"editorial\"] [data-route-step],\n svg[data-preset=\"editorial\"] .route-probe-flow,\n svg[data-preset=\"editorial\"] .route-journey-flow { filter: none; }\n\n svg[data-preset=\"editorial\"] .c-grid {\n stroke-dasharray: 1 4;\n opacity: 0.48;\n }\n svg[data-preset=\"editorial\"] .c-region {\n fill: color-mix(in srgb, var(--cloud-fill) 48%, transparent);\n stroke-dasharray: 9 4;\n }\n svg[data-preset=\"editorial\"] [data-node-id]:hover,\n svg[data-preset=\"editorial\"] [data-node-id]:focus-visible,\n svg[data-preset=\"editorial\"][data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 18%, transparent));\n }\n\n svg[data-preset=\"blueprint\"] .c-grid {\n stroke-dasharray: 1 3;\n opacity: 0.78;\n }\n svg[data-preset=\"blueprint\"] .c-region {\n fill: color-mix(in srgb, var(--cloud-fill) 58%, transparent);\n stroke-dasharray: 12 4 2 4;\n }\n svg[data-preset=\"blueprint\"] .c-security-group,\n svg[data-preset=\"blueprint\"] .c-lane { stroke-dasharray: 7 3; }\n svg[data-preset=\"blueprint\"] [data-node-id]:hover,\n svg[data-preset=\"blueprint\"] [data-node-id]:focus-visible {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"][data-focus-active] [data-focus-selected] {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n svg[data-preset=\"blueprint\"][data-focus-active][data-reach-active] [data-focus-selected][data-reach-origin] {\n filter: none;\n }\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview],\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview-source],\n svg[data-preset=\"blueprint\"][data-relationship-preview-active] [data-relationship-preview-target] {\n filter: drop-shadow(0 0 3px var(--frontend-stroke));\n }\n\n /* Story Trail is a viewer-only overlay derived from the ordered focus IDs\n of the active guided view. The authored edge stays underneath with its\n original color, dash pattern, marker, and geometry intact. */\n .story-trail-overlay { pointer-events: none; }\n .story-carrier-overlay { pointer-events: none; }\n .story-trail-flow {\n fill: none;\n stroke: var(--frontend-stroke);\n stroke-width: 2.8;\n stroke-linecap: round;\n vector-effect: non-scaling-stroke;\n opacity: 0.34;\n filter: drop-shadow(0 0 2px var(--frontend-stroke));\n }\n svg[data-story-beat] [data-story-step] {\n opacity: 0.22;\n filter: saturate(0.42);\n transition: opacity 180ms ease, filter 180ms ease;\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"past\"] {\n opacity: 0.72;\n filter: saturate(0.82);\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"next\"] {\n opacity: 0.5;\n filter: saturate(0.66);\n }\n svg[data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n opacity: 1;\n filter: drop-shadow(0 0 7px var(--frontend-stroke));\n animation: archify-story-beat-node 360ms cubic-bezier(0.22, 1, 0.36, 1) both;\n }\n svg[data-story-beat] [data-edge-from][data-story-beat-step] {\n opacity: 0.16;\n transition: opacity 160ms ease;\n }\n svg[data-story-beat] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-edge-from][data-story-beat-step]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n opacity: 0.16;\n transition: opacity 160ms ease;\n }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"past\"] { opacity: 0.58; }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"next\"] { opacity: 0.34; }\n svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state=\"active\"] { opacity: 1; }\n svg[data-story-beat] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-edge-from][data-story-beat-step][data-story-beat-state=\"past\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.58; }\n svg[data-story-beat] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-edge-from][data-story-beat-step][data-story-beat-state=\"next\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.34; }\n svg[data-story-beat] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-edge-from][data-story-beat-step][data-story-beat-state=\"active\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"past\"] { opacity: 0.34; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"next\"] { opacity: 0.2; }\n svg[data-story-beat] .story-trail-flow[data-story-beat-state=\"active\"] { opacity: 0.92; }\n svg[data-story-beat] .story-trail-flow[data-story-pulse=\"true\"] {\n stroke-dasharray: 2 13;\n stroke-dashoffset: 30;\n opacity: 0.92;\n animation: archify-story-flow 0.78s linear 1 both;\n }\n svg[data-preset=\"blueprint\"] .story-trail-flow {\n stroke-linecap: square;\n filter: none;\n opacity: 0.5;\n }\n svg[data-preset=\"blueprint\"][data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n filter: none;\n animation: none;\n }\n svg[data-preset=\"editorial\"] .story-trail-flow { filter: none; }\n svg[data-preset=\"editorial\"][data-story-beat] [data-story-step][data-story-beat-state=\"active\"] {\n filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 16%, transparent));\n }\n\n /* Chapter Delta Preview is a static, pre-commit comparison between two\n chapter focus sets. Symbols in the rail carry the meaning without color;\n these SVG rules only make exact stable-ID membership easier to scan. */\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from],\n svg[data-chapter-preview] [data-graph-role=\"automatic-crossover-underlay\"] {\n opacity: 0.1 !important;\n filter: none !important;\n transition: none !important;\n }\n svg[data-chapter-preview] .story-trail-overlay { opacity: 0.08 !important; }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"stay\"] {\n opacity: 0.76 !important;\n filter: saturate(0.7) !important;\n }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"enter\"] {\n opacity: 1 !important;\n filter: saturate(1.2) !important;\n }\n svg[data-chapter-preview] [data-node-id][data-chapter-preview-role=\"leave\"] {\n opacity: 0.28 !important;\n filter: grayscale(0.72) !important;\n }\n svg[data-preset=\"blueprint\"][data-chapter-preview] [data-node-id] { filter: none !important; }\n\n /* Dashed boundary variants */\n .c-security-group { fill: transparent; stroke: var(--security-stroke); stroke-dasharray: 4,4; }\n .c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }\n .c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }\n\n /* Optional trace animation, enabled only by meta.animation = \"trace\".\n The ordinary viewer performs one ambient pass and then restores the\n authored solid/security/async line language. WebM samples the same\n authored geometry into an explicit canvas timeline. */\n html[data-ambient-motion=\"running\"] svg[data-animation=\"trace\"] [data-animate=\"edge\"] {\n animation: archify-edge-flow 2.4s linear 1;\n animation-delay: calc(var(--step, 0) * 160ms);\n }\n html[data-ambient-motion=\"running\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n animation: archify-edge-flow 2.4s linear 1;\n animation-delay: calc(var(--step, 0) * 160ms);\n }\n html[data-ambient-motion=\"running\"] svg[data-animation=\"trace\"] [data-animate=\"node\"] {\n transform-box: fill-box;\n transform-origin: center;\n animation: archify-node-pulse 3.6s ease-in-out 1;\n animation-delay: calc(var(--step, 0) * 160ms);\n }\n svg[data-preset=\"signal-flow\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n stroke-linecap: round;\n filter: drop-shadow(0 0 3px var(--arrow-emphasis));\n animation-duration: 1.75s;\n }\n svg[data-preset=\"signal-flow\"][data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { animation-duration: 1.75s; }\n svg[data-preset=\"signal-flow\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-duration: 3.1s;\n }\n svg[data-preset=\"blueprint\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n stroke-linecap: square;\n filter: none;\n animation-duration: 2.15s;\n }\n svg[data-preset=\"blueprint\"][data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { animation-duration: 2.15s; }\n svg[data-preset=\"blueprint\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-name: archify-blueprint-node-pulse;\n animation-duration: 3.8s;\n }\n svg[data-preset=\"editorial\"][data-animation=\"trace\"] [data-animate=\"edge\"] {\n filter: none;\n animation-duration: 2.2s;\n }\n svg[data-preset=\"editorial\"][data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] { animation-duration: 2.2s; }\n svg[data-preset=\"editorial\"][data-animation=\"trace\"] [data-animate=\"node\"] {\n animation-name: archify-editorial-node-pulse;\n animation-duration: 3.5s;\n }\n /* Embedded proofs are static until a named Story Trail chapter is played.\n This keeps proof grids calm and ensures ?play=1 stops all viewer motion\n after one 3.2 second chapter instead of leaving ambient trace loops on. */\n html[data-embed=\"true\"] svg[data-animation=\"trace\"] [data-animate],\n html[data-share-playback=\"true\"] svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n html[data-embed=\"true\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"],\n html[data-share-playback=\"true\"] svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n @keyframes archify-edge-flow {\n 0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }\n 88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }\n 99.9% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }\n 100% { stroke-dashoffset: 0; opacity: 1; }\n }\n @keyframes archify-node-pulse {\n 0%, 72%, 100% { filter: none; stroke-width: 1.5; }\n 18%, 36% {\n filter: drop-shadow(0 0 8px var(--arrow-emphasis));\n stroke-width: 2.4;\n }\n }\n @keyframes archify-blueprint-node-pulse {\n 0%, 72%, 100% { opacity: 1; filter: none; }\n 18%, 36% { opacity: 0.72; filter: drop-shadow(0 0 2px var(--frontend-stroke)); }\n }\n @keyframes archify-editorial-node-pulse {\n 0%, 72%, 100% { opacity: 1; filter: none; }\n 18%, 36% { opacity: 0.78; filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--text) 18%, transparent)); }\n }\n @keyframes archify-signal-scan {\n 0%, 18% { opacity: 1; transform: translateX(-70%); }\n 70% { opacity: 1; transform: translateX(70%); }\n 100% { opacity: 0; transform: translateX(70%); }\n }\n @keyframes archify-radar-live {\n 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--backend-stroke) 52%, transparent); }\n 55%, 100% { box-shadow: 0 0 0 0.32rem transparent; }\n }\n @keyframes archify-guided-progress {\n from { transform: scaleX(var(--guided-progress-start, 0)); }\n to { transform: scaleX(1); }\n }\n @keyframes archify-story-flow {\n to { stroke-dashoffset: 0; }\n }\n @keyframes archify-intent-trace-flow {\n 0% { opacity: 0.28; stroke-dashoffset: 0; }\n 12%, 78% { opacity: 0.94; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-route-probe-flow {\n 0% { stroke-dashoffset: 0; opacity: 0.96; }\n 78% { stroke-dashoffset: -1; opacity: 0.96; }\n 100% { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0.58; }\n }\n @keyframes archify-route-journey-flow {\n 0% { opacity: 0.16; stroke-dashoffset: 0; }\n 14%, 76% { opacity: 1; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-semantic-lens-flow {\n 0% { opacity: 0.2; stroke-dashoffset: 0; }\n 12%, 78% { opacity: 0.9; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-relationship-pulse {\n 0% { opacity: 0.18; stroke-dashoffset: 0; }\n 10%, 76% { opacity: 0.98; }\n 100% { opacity: 0; stroke-dashoffset: -1; }\n }\n @keyframes archify-relationship-token-life {\n 0%, 7% { opacity: 0; }\n 13%, 82% { opacity: 1; }\n 100% { opacity: 0; }\n }\n @keyframes archify-story-beat-node {\n from { opacity: 0.48; filter: saturate(0.6); }\n 58% { opacity: 1; filter: drop-shadow(0 0 10px var(--frontend-stroke)); }\n to { opacity: 1; filter: drop-shadow(0 0 7px var(--frontend-stroke)); }\n }\n @keyframes archify-share-cue-enter {\n from { opacity: 0; transform: translate(-50%, -0.45rem); }\n to { opacity: 1; transform: translate(-50%, 0); }\n }\n @keyframes archify-share-cue-pulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.48; transform: scale(0.78); }\n }\n @media (prefers-reduced-motion: reduce) {\n html[data-preset=\"signal-flow\"] .diagram-container::before {\n animation: none !important;\n }\n .pulse-dot { animation: none !important; }\n svg[data-animation=\"trace\"] [data-animate] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n svg[data-animation=\"trace\"] [data-graph-role=\"automatic-crossover\"]:has(\u003e [data-animate=\"edge\"]) \u003e [data-graph-role=\"automatic-crossover-underlay\"] {\n animation: none !important;\n stroke-dashoffset: 0;\n }\n .guided-view-progress span {\n animation: none !important;\n transform: scaleX(1) !important;\n }\n .story-trail-flow,\n .intent-trace-flow,\n .route-probe-flow,\n .semantic-lens,\n .diagram-guide,\n [data-story-step],\n .overview-map-live,\n .guided-view-stop,\n .share-chapter-cue,\n .chapter-handoff-anchor,\n .share-chapter-state::before,\n .share-chapter-progress span { animation: none !important; }\n .guided-view-chapter,\n svg[data-chapter-preview] [data-node-id],\n svg[data-chapter-preview] [data-edge-from],\n svg[data-chapter-preview] [data-graph-role=\"automatic-crossover-underlay\"] { transition: none !important; }\n svg[data-story-playing=\"true\"] .story-trail-flow {\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.55;\n }\n .intent-trace-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.72;\n }\n .route-probe-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n opacity: 0.78;\n }\n .route-journey-overlay,\n .story-carrier-overlay { display: none !important; }\n .semantic-lens-flow {\n animation: none !important;\n stroke-dasharray: none;\n stroke-width: 2.2;\n opacity: 0.34;\n filter: none;\n }\n .relationship-pulse-overlay { display: none !important; }\n .guided-view-chapter { transition: none !important; }\n .source-evidence-beacon,\n svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }\n }\n ";
let activeIndex = -1;
let playbackToken = 0;
let playbackTimer = 0;
diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.json
index d4da4aab..6c2dda71 100644
--- a/examples/checkout-platform-delta.receipt.json
+++ b/examples/checkout-platform-delta.receipt.json
@@ -219,8 +219,8 @@
"Boundary identity is conservatively derived from kind + label."
],
"artifact": {
- "sha256": "7ded299cc6c5c7eb3e28fcb6c8e5768a240ec71ec62021354ef41d85d8d00c30",
- "bytes": 2244770
+ "sha256": "8a6b372b00b947da76246b6b91e6a49b3cf8189d150c51c7cb8e15219f3898b2",
+ "bytes": 2296768
},
"validation": {
"checksPassed": 28,
diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.html
index 5121ce5b..7ec78f00 100644
--- a/examples/dataflow-product-analytics.html
+++ b/examples/dataflow-product-analytics.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6440,15 +6504,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7352,6 +7416,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11249,6 +11314,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11309,6 +11376,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11330,9 +11401,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11340,7 +11415,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11408,11 +11483,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11448,14 +11532,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11750,14 +11836,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11793,6 +11881,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.html
index fe40254e..f723a96b 100644
--- a/examples/lifecycle-agent-run.html
+++ b/examples/lifecycle-agent-run.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6375,15 +6439,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7287,6 +7351,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11184,6 +11249,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11244,6 +11311,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11265,9 +11336,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11275,7 +11350,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11343,11 +11418,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11383,14 +11467,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11685,14 +11771,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11728,6 +11816,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.html
index ef9f36cc..1cd422c3 100644
--- a/examples/sequence-cache-miss-request.html
+++ b/examples/sequence-cache-miss-request.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6455,15 +6519,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7367,6 +7431,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11264,6 +11329,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11324,6 +11391,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11345,9 +11416,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11355,7 +11430,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11423,11 +11498,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11463,14 +11547,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11765,14 +11851,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11808,6 +11896,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.html
index 50afafa8..b2675a31 100644
--- a/examples/web-app-rendered.html
+++ b/examples/web-app-rendered.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5167,7 +5231,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+ <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Sample Web App</title>
<desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5198,15 +5262,39 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="sg-api :443/:8000" x="430" y="270" width="400" height="110" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:7">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
<!-- Components -->
<g id="node-users" data-node-id="users" data-node-label="Users" tabindex="0" role="button" aria-label="Focus Users, Browser / Mobile, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Browser / Mobile" data-node-context="Architecture component">
@@ -6404,15 +6492,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7316,6 +7404,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11213,6 +11302,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11273,6 +11364,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11294,9 +11389,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11304,7 +11403,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11372,11 +11471,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11412,14 +11520,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11714,14 +11824,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11757,6 +11869,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/examples/web-app.html b/examples/web-app.html
index 50afafa8..b2675a31 100644
--- a/examples/web-app.html
+++ b/examples/web-app.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -5167,7 +5231,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height">
+ <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Sample Web App</title>
<desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5198,15 +5262,39 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="sg-api :443/:8000" x="430" y="270" width="400" height="110" rx="8" class="c-security-group" stroke-width="1"/>
<!-- Connection paths (before components for correct z-order) -->
- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <g data-graph-role="automatic-crossover" style="--step:0">
+ <path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ </g>
<path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ <g data-graph-role="automatic-crossover" style="--step:2">
+ <path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:3">
+ <path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:4">
+ <path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:5">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:6">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:7">
+ <path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>
+ </g>
+ <g data-graph-role="automatic-crossover" style="--step:8">
+ <path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>
+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>
+ </g>
<!-- Components -->
<g id="node-users" data-node-id="users" data-node-label="Users" tabindex="0" role="button" aria-label="Focus Users, Browser / Mobile, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Browser / Mobile" data-node-context="Architecture component">
@@ -6404,15 +6492,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7316,6 +7404,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11213,6 +11302,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11273,6 +11364,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11294,9 +11389,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11304,7 +11403,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11372,11 +11471,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11412,14 +11520,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11714,14 +11824,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11757,6 +11869,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.html
index d0a6d66c..53bf1e7a 100644
--- a/examples/workflow-agent-tool-call-rendered.html
+++ b/examples/workflow-agent-tool-call-rendered.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -942,6 +943,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -954,7 +958,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -3186,12 +3195,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -4231,7 +4244,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4380,10 +4394,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4394,7 +4420,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4448,8 +4476,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4465,9 +4495,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4563,8 +4595,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4627,7 +4661,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4640,6 +4676,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4767,9 +4806,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4798,7 +4844,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4831,6 +4878,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4842,6 +4893,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4850,6 +4902,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4858,6 +4911,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4870,6 +4924,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4959,6 +5018,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4977,7 +5040,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -6446,15 +6510,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -7358,6 +7422,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -11255,6 +11320,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -11315,6 +11382,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -11336,9 +11407,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
function minimumReadableScale() {
var sourceMinimum = null;
- Array.from(svg.querySelectorAll(
+ var selectors = [
'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
- )).forEach(function (text) {
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
if (Number.isFinite(sourceFontPx)) {
@@ -11346,7 +11421,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
});
return sourceMinimum != null
- ? Math.min(1, MIN_PROJECTED_NODE_TEXT_PX / sourceMinimum)
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
: 1;
}
function eligible() {
@@ -11414,11 +11489,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
var readableWidth = viewBox && viewBox.width > 0
? viewBox.width * minimumReadableScale() + chrome.diagramX
: MIN_READER_WIDTH;
- var minWidth = Math.min(
- measuredHeightFit && ratio < WIDE_RATIO ? readableWidth : MIN_READER_WIDTH,
- viewportCap
- );
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
@@ -11454,14 +11538,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11756,14 +11842,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11799,6 +11887,49 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
diff --git a/experiments/mco-showcase/mco-runtime.html b/experiments/mco-showcase/mco-runtime.html
index d9fde722..4bfb3145 100644
--- a/experiments/mco-showcase/mco-runtime.html
+++ b/experiments/mco-showcase/mco-runtime.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="archify 2.17.0-dev.1">
+ <meta name="archify-reader-contract" content="declared-wide-v1">
<title>MCO Runtime Architecture Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
@@ -31,14 +32,140 @@
} catch (_) {}
})();
</script>
- <!-- Async font load: a blackholed network must not block first paint.
- The body font stack falls back to system monospace until it lands. -->
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap"
- rel="stylesheet" media="print" onload="this.media='all'">
- <noscript>
- <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
- </noscript>
+ <style id="archify-fonts">
+/*
+JetBrains Mono variable WOFF2 subsets from Google Fonts service revision v24.
+These fixed bytes are shared by the viewer and its SVG/raster exports.
+No local() source: an installed copy must not override the bundled font.
+Uncovered characters (including CJK) still use the system fallback stack.
+Upstream: https://github.com/JetBrains/JetBrainsMono
+
+cyrillic-ext 1664 bytes sha256 9343de2ca5d9549f792e7962375af8efb0f320c7643bfd36c884b5a30e5c396f
+cyrillic 8892 bytes sha256 4995a9a43ac659ec32fcd8b463755cd6a07b31a6e6b3894a6a153b661cf490e2
+greek 6800 bytes sha256 49c3da6c9a2b279b0f1f860f5cfb1f5dc38d88a5c7be9c9b1837bbc4e3db6111
+vietnamese 5872 bytes sha256 d44eb1936043a56038eb02dd70b243f379bef65783f94ec12f277550720411f1
+latin-ext 11596 bytes sha256 9c38cb2d0d2d93c1ee6e21fa78db76f13ea7e15e15cc64214c7ca89b6aaa35c4
+latin 31340 bytes sha256 2c32b9b3ee358c119e210f6f5195f9bd34894d78a785ff2e95d60e718e400af4
+
+Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
+*/
+ /* cyrillic-ext */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAAAaAABIAAAAADMwAAAYdAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoBmA/U1RBVIEgJx4AdC9MEQgKhGSEAAsgADCDOgE2AiQDOgQgBYdGB4EUGw8LIxEmZHIexT8PYyJTH6s540K0vrtCWaIRpUzRCqKVgSh/33L3iSgiBkN7EeGRTTw85UW9X5WkwZF7tJBx0g3Cac+S8lfO/UPNN4h5WrZiW1TT4nbixDB3vt1UJciEG0hoUc5XuE5OKAqYvtaSRANO3rv/tVb/oBJpOuAlQEikTDqxv3uuFVOLvC6aVeM2NBS8cplGyFpZ1RkosWs55KTlc8eza3siAl1ACKUQAiHQNt10sd4GuaWgrYCaBYG2BSwg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yuo5Ut5m+n812WtPPX1f3j+dVpxvMf596UQ+OTJw8cE9QsU6n8/++JyywnhmlHJyTGRcv8uMT4qDEJzQr540cu0xiSTHmWWpVIKad0lsb3l+Z/vrOp/vwBvcnwHyCQVlAf85sVNRjFf9NWy18C3rm8vQl45/bFz16aW+emiPwoKgkEn2Z12skn6P/wOYSJ9u20WvUMBf5uUN0zHgEAfC7Aq05gYJ5slpyeTTp6nK8bR9HC08mZwDA9FZj043fMVosnsbBYXIGlqXEcVhaJTRL7VojxmYJuNLHQj9+x1PUvVpp+xYaxPsaO5dyLXcs4DXuWsAX2rWQiDnS1/+ZQG9sgpGgyWdrQJIS4smFtkrWgCcm0ykPIEFb5AOvr0ua5EZIREk3sruRYNoeLhRBqJ+XBNpRfUAk5TouzilHr9FBRXohPoA3witRyrWIt+TU8FlcLIbk2rQIdS0gi0JFa8AXZUrrcE7Z9rvxyWEuqjyJknC1jCctY2tKFyllm49ySS1ct2WTYJedoTXV87+YpCLluLW8kODW7FLCMbEcD7sTpLVtpQfkiGDeJbW3tb20lWvzntJB3tx1I6Gdpx+lWty9CKmivAQbdPJ+PZMptjYUi3PMA87wcyWqRo4gyqmjI0YxWtKNTrb1PC+7AWu1HCIOXWzsNhawfzSf908vHlAfuLZXShddLrR2c1t3GkN63vQ3/MIvgz1kYfbtt2aVWaAAAAAA=) format('woff2');
+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
+ /* cyrillic */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAACK8ABIAAAAARmAAACJTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoE1G4JgHIFaBmA/U1RBVIEgJx4AgkwvTBEICrporgMLggoAMKw6ATYCJAOEBAQgBYdGB4kHG7Q9RQdy2DiAAS7vZkS1alhU/18T1IqxA6flgFcrUbKj5VbNnlXLwaeD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5WSByuRjAQrDnOJJELnoIGATQbXOE4yhy47hhFsI+AAA46A4NPPJKAXa5xFNOTiT/4hDgoC4FtBR6CDNPuqcoY7jA3H4AbpajlMAIF5nA4bWUIGjlBwmSQj6aoAjl9QmaXA5sxNOIujkMIFhMiNRoYlR1LIMEDQwLCR/IzicCUPd4IgiuwQQHJY4EDyPmUQEiOxIRkwHGa9EkpplF5zRro4wEq1ReJbWLxdpmHWq1MNwi7YmZ9baQvEBqed+RkMyXpWyhVkqvjIwuTfLgpmmljcVhtWM0WFAvBFjmh0ZY5yNWdasOWhJtogmhmZJ2ZtFqHbRRaEuNpjcvpxPFjmzReKg/p+0iZKpLoaqdynQxGtqWTrZh6cIqFItnFgkzHywvuUlq9EKrvg3DNgQtk9LCUt4SUkuBusBon2i2gSWUi1CXjbXfHpE7dKG9i2kZcaFL/MQSjj0siYnDK2lwV4V8iv37vwcFEPzXQUC2wzJACkL4g3mn6k+UnIoaFl8ptI9lxNPD7xVT/D8HUZIVVdMN07IdSVZUTTdMK2SHHRSJxuKJZCo9lMnm8oViqVypurX6cOORkdHmltajj23dhsZgcXgCkUSmUGl0BpPF5nB5fIFQJJZIZXKFUqUO+6fV6Q1Gk9liTfR77YU3XvBd/pdUIMHOyoShBK2SomWLlHhrlSpH2mjjerUbxDA0ugkDygRPQkrJGqd6kVSjjgHNBS6krjewhS3EMJSwVULKmvIESVKVI220cb3arUQwNLoJQ5UJnoSUkjVOWthSjbob20ZyKRdSN7osOfBGp/zbeWfb5Sv2IZTse/ye/d7w+gv/rv08vPufXPP/uL/xRy/vzPXhAAAA) format('woff2');
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
+ /* greek */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAABqQABIAAAAANggAABopAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnwbHhyBWgZgP1NUQVSBICceAIFiL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PjiD86zYfOUR6rZCC42WGp2Rr74P/2ntaI14mx90h8NW4T18/HC+ErzOJ2xnfb1Hu/LzJJ6C/g40HY9xqtYYAmrJlEsKybqgNeHDCbrq5rthkzAXbafuP620/ZELm2jHHQUmhQtPhImM0Z9ZKPBkmvhDglUC8R0/KNYW8jX00uiLnKg5WNisEz8mklcAFKeBQUTuLiXKiySyC2PPZ8UaekxY87W9XgiaVew0K9qvrECVdCYFgs+TcAnl0F4oSOHb75vWbuJ7krbIHBWfF6H29siCNkklk/eLT5Ur/3XvXTqIvrf733vVumw7TrFoj1RDrZ1tGQAAAAA=) format('woff2');
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
+ /* vietnamese */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAABbwABIAAAAAP8wAABaJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEYG4YcHIIWBmA/U1RBVIEgJx4AgwQvTBEICrBAp3ILgjgAMKEmATYCJAOEKAQgBYdGB4xOGw05JeOYFbBxAJizfwap/v9LAidj5+rgVi2AmnKs4xCdVNzZFtedQQYTHrvu9fJjcffSRGkQNsblzkX3scG0IVTkKwtieRAjQYIYSTEMHWyen+61Gx9Jw60vaxE6DsqpIySZ9eH5bf657z2M9+hFIWIMA5WBjUx4aGPSw8RGG91QWchkJcv4GeEvf3Tx8P1+7dy/5kDURCg2nSEy5E24JCqZUkjFJBE1S7W0jXlX6ayeGY3CSEgkB4GRCRdj/t/jhxD23f9+V/97pRgxZLFewVpgBoEIUPGH787svV+Szt0o4q0YhCDIhSzmNsrTVAyxi1iFhaS8ob3ndnUNSK+n8wPYtvFX7IFjYJvXAM9YQnjiuRrX0ynt3jl65pMQAQ7OC3XgBYde/n82zXb+zn6z7rxBuQvte3II+rEOy3Obl6JMddV6tLsjuJHpQDJKDtmH8hFLJpIdItIFraACWKWiLq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G5qoeWY9A3bS3NMQD+tRpXqlCXW0+LSK3BJ/S0qejnNkenoBMpVvTuV4FQqiY8pi5L08W77U65bZsy4GYHScLWBDc9hFccWejugOtwkMMwZ1KubXcvbXGJePE7rPb3ctf388fBmXUWgu7J9aVP0V5vxPhkoD1P7fy89gPif4Bwg1RE/ymS2GFab3eF0uT3e0gEQghEUw8sIklJDpdEZTBabw+XxBcImkVgilckVSlWbWqPV9ck3GE1mi9VmdzhdeKRqFmXKVahUpVpNb6hlVZdNvQaNmjSzsXNwcnHz2JSHV4tWbdp1EEIwUiuK4US0LUnRDMvxgijJiqrphmnZjuvx+vzCdpoXsctue+y1z4Ko/YP/Ar1bemPb7+eIwYTBYQUCEpVlGXQoUKFBWIPk/PJxnb9GUcMMJ4CARGUOq9CozuHMkirXfu1PK+0zPAAVEmT2ZOiWDNnO7vq4xFQTDBx0MgQlDMgOI7IjrgwJg5GCxpIwlJwb7ejxI8vN/nNue0WK4XAqN/9rYESJiBS5DfQoUaNFtNlqnOEkEJGq3GE1WtU7nD2czu2rgIgaKXKU6KeM2StapOgxIiKfUmbfqBHRoi8Vc+9SPPdH6ZG4XgADKdfPrK6XrVdPQdlqWeTEfwfvOcX58v26tSKS2CpRnCYuvDqr7q7X43xx5e1TWV1fX/DzLFvj8+/2XV67NlfMCWzISpK4GyrKa+niIpSVtxKLaLA5vfBlWaqs6Y4OC6xGCoRFFlidTBvinumYRq+w6laz1LxPCLfgVlMKAA==) format('woff2');
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
+ /* latin-ext */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAAC1MABIAAAAAdAQAACzjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoJLG4ouHIM+BmA/U1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Y0CXQigBACAYBBEBwgvMRP/Me5xP6e6wMPqEQaEUF/7yfJXYxebBAYljzdjbyeTFusYyVmX1Ya8dwgc/MvjOZWsRpiyKdvjCHM1ZS6232xGr+PZkqh0XP0ej2eAf7ZPn93+ckEiEFNfwpMlPBEfyV67F8ss2EiBE7fuj6fq3NhFEGJcjoBxj9jZvRG7RWB2JkzXGa0k2KmyAMyiBFVx3kFV+F3BrwwJOs/obXzjaMTPJNjD2pwjDZBQAAAA==) format('woff2');
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
+ /* latin */
+ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
+ src: url(data:font/woff2;base64,d09GMgABAAAAAHpsABIAAAABMqgAAHoCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoE4G4caHIGacgZgP1NUQVSBICceAIUiL0wRCAqB3DiBrC4LhhYAMIGcXgE2AiQDjBoEIAWHRgejDFtJFnGBsU2lnge5WVVyxx2bn8k4NuF2FGQmX4ZnRm0XabU42f//JyUdMjTEGqDSdar2O+SQccghITKCZESYriN72BqZaY6RUJB0uPlEx4STwvdgyWM3TuN0dmkHp1ih39djHtzlZcqjBEH+ukP3Wz2Jw710mcz4TFNrmNOowSgzl/nbXWIQYdApTKZOe7tkuslj1O5nl5Xxs02ucpl/GRe5jCSh2wdn5w+vLRqoQQaS6d12/ahE1x4WOtXW1XwVGLvMRqwTlb7w/3yd/a99zq1bSbrwIKT7UWk++xPjPwI01EzUCEbn5/nc7M+97xFCjCGFmCITMY0pRowMpimlfMpHmvIj5TNphjI0EylFDBH5lOIWaUSkacSIkV1gEFn2MtRPcUPcMhQ3xI1mKFKLqY2UobhhGkN4GZ50818CCAFBBURmCFmEBB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9lEF+k1iAM4nyWBwIEwpxODYS0qRUgMnuo2+S0bUJGj9PBNnBZeVsBozZ/wB2g69LwLrOVINXQ3jP3/Vw71ve2/7zs=) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
+ </style>
<style>
/* ==========================================================
THEME VARIABLES — switch by toggling [data-theme] on <html>
@@ -601,7 +728,7 @@
color: var(--frontend-stroke);
}
- /* The reader owns only the outer scale. Wide diagrams keep one authored
+ /* The reader owns only the outer scale. Wide diagrams and measured tall workflows keep one authored
SVG/viewBox while the runtime chooses a desktop width from the actual
vertical budget. This avoids device-specific files and breakpoint
jumps between a laptop and a tall monitor. */
@@ -816,6 +943,9 @@
html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-animate] {
animation: none !important;
}
+ html:not([data-motion-capable="true"]) svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ }
html[data-motion="still"] .pulse-dot,
html[data-motion="still"] .diagram-container::before,
html[data-motion="still"] svg[data-animation="trace"] [data-animate],
@@ -828,7 +958,12 @@
html[data-share-playback="true"] .diagram-container::before,
html[data-document-hidden="true"] .pulse-dot,
html[data-document-hidden="true"] .diagram-container::before,
- html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate] {
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-animate],
+ html[data-motion="still"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-motion-owner] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-document-hidden="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
animation: none !important;
}
html[data-motion="still"] .diagram-container::before,
@@ -1669,14 +1804,40 @@
font-size: 0.625rem;
}
.relationship-lens-head {
+ position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: 0.75rem;
- padding: 0.7rem 0.75rem 0.65rem;
+ padding: 0.9rem 0.75rem 0.65rem;
border-bottom: 1px solid var(--toolbar-border);
background: linear-gradient(120deg, color-mix(in srgb, var(--frontend-fill) 34%, transparent), transparent 72%);
}
+ .relationship-lens-drag-handle {
+ position: absolute;
+ top: 0.12rem;
+ left: 50%;
+ width: 2.5rem;
+ height: 0.78rem;
+ padding: 0 !important;
+ transform: translateX(-50%);
+ color: var(--text-faint) !important;
+ cursor: grab;
+ touch-action: none;
+ user-select: none;
+ }
+ .relationship-lens-drag-handle::before {
+ content: "";
+ display: block;
+ width: 1.25rem;
+ margin: auto;
+ border-top: 2px dotted currentColor;
+ opacity: 0.72;
+ }
+ .focus-chip[data-panel-dragging="true"] .relationship-lens-drag-handle { cursor: grabbing; }
+ @media (hover: none), (pointer: coarse) {
+ .relationship-lens-drag-handle { display: none; }
+ }
.relationship-lens-copy { min-width: 0; }
.relationship-lens-actions {
display: flex;
@@ -1824,8 +1985,8 @@
color: var(--text-muted);
text-decoration: none;
}
- .semantic-passport-source:hover,
- .semantic-passport-source:focus-visible {
+ a.semantic-passport-source:hover,
+ a.semantic-passport-source:focus-visible {
border-color: color-mix(in srgb, var(--backend-stroke) 42%, transparent);
background: color-mix(in srgb, var(--backend-fill) 32%, transparent);
color: var(--text);
@@ -3034,12 +3195,16 @@
.story-carrier-overlay { display: none !important; }
.diagram-container svg[data-focus-active] [data-node-id],
.diagram-container svg[data-focus-active] [data-edge-from],
+ .diagram-container svg[data-focus-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-reach-active] [data-node-id],
.diagram-container svg[data-reach-active] [data-edge-from],
+ .diagram-container svg[data-reach-active] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-story-beat] [data-story-step],
.diagram-container svg[data-story-beat] [data-edge-from][data-story-beat-step],
+ .diagram-container svg[data-story-beat] [data-graph-role="automatic-crossover-underlay"],
.diagram-container svg[data-route-active] [data-node-id],
- .diagram-container svg[data-route-active] [data-edge-from] {
+ .diagram-container svg[data-route-active] [data-edge-from],
+ .diagram-container svg[data-route-active] [data-graph-role="automatic-crossover-underlay"] {
opacity: 1 !important;
filter: none !important;
animation: none !important;
@@ -3683,6 +3848,8 @@
width: calc(100% - 1rem);
max-width: none;
}
+ .relationship-lens-head { padding-top: 0.7rem; }
+ .relationship-lens-drag-handle { display: none; }
.relationship-lens-list { max-height: min(12rem, 38vh); }
.relationship-lens-actions #btn-focus-relations { display: block; color: var(--database-stroke); }
.focus-chip:not([data-relations-expanded="true"]) .relationship-lens-head { border-bottom-color: transparent; }
@@ -3958,6 +4125,12 @@
.t-messagebus { fill: var(--messagebus-stroke); }
.t-external { fill: var(--external-stroke); }
+ /* Relationship labels share the exact color token used by their path. */
+ .t-edge-default { fill: var(--arrow); }
+ .t-edge-emphasis { fill: var(--arrow-emphasis); }
+ .t-edge-security { fill: var(--security-stroke); }
+ .t-edge-dashed { fill: var(--database-stroke); }
+
/* Semantic Sigils are small authored role stamps, not icons from a brand
pack and not viewer controls. Prefix selectors with svg so the canonical
export's SVG-only stylesheet collector keeps them automatically. */
@@ -4071,7 +4244,8 @@
cursor: pointer;
transition: opacity 0.18s ease, filter 0.18s ease;
}
- svg [data-edge-from] { transition: opacity 0.18s ease, filter 0.18s ease; }
+ svg [data-edge-from],
+ svg [data-graph-role="automatic-crossover-underlay"] { transition: opacity 0.18s ease, filter 0.18s ease; }
svg [data-node-id]:hover,
svg [data-node-id]:focus-visible {
filter: drop-shadow(0 0 7px var(--frontend-stroke));
@@ -4220,9 +4394,22 @@
opacity: 0.78;
}
html[data-embed="true"] .semantic-lens-overlay { display: none; }
+ /* Automatic crossover masks are visual companions of their one semantic
+ edge. Keep the mask free of data-edge-* identity so graph traversal and
+ export still observe exactly one edge, then mirror reader emphasis from
+ the paired foreground path in this presentation-only wrapper. */
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-match]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
+ svg[data-legend-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-legend-preview-peer]) > [data-graph-role="automatic-crossover-underlay"],
+ svg[data-lens-active] [data-graph-role="automatic-crossover"]:has(> [data-lens-peer]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
svg[data-focus-active] [data-node-id],
svg[data-focus-active] [data-edge-from] { opacity: 0.13; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.13; }
+ svg[data-focus-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-focus-active] [data-focus-match] { opacity: 1; }
+ svg[data-focus-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active] [data-focus-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4233,7 +4420,9 @@
changes only viewer emphasis, not canonical geometry or export bytes. */
svg[data-reach-active] [data-node-id],
svg[data-reach-active] [data-edge-from] { opacity: 0.09; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.09; }
svg[data-reach-active] [data-reach-match] { opacity: 1; }
+ svg[data-reach-active] [data-graph-role="automatic-crossover"]:has(> [data-reach-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-reach-active="upstream"] [data-reach-origin] {
filter: drop-shadow(0 0 11px var(--database-stroke));
}
@@ -4287,8 +4476,10 @@
}
svg[data-relationship-direct-active] [data-node-id],
svg[data-relationship-direct-active] [data-edge-from] { opacity: 0.16; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.16; }
svg[data-relationship-direct-active] [data-relationship-preview],
svg[data-relationship-direct-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-direct-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-focus-active]:not([data-relationship-pin-active]) .relationship-hit-rail,
svg[data-story-active] .relationship-hit-rail,
svg[data-route-picking] .relationship-hit-rail,
@@ -4304,8 +4495,11 @@
neighborhood focus. It changes emphasis only; exported geometry and the
relationship's original solid/dashed visual language stay untouched. */
svg[data-relationship-preview-active] [data-focus-match] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-focus-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.18; }
+ svg[data-relationship-preview-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-relationship-preview-active] [data-relationship-preview],
svg[data-relationship-preview-active] [data-relationship-preview-node] { opacity: 1; }
+ svg[data-relationship-preview-active] [data-graph-role="automatic-crossover"]:has(> [data-relationship-preview]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-relationship-preview-active] [data-relationship-preview] {
filter: drop-shadow(0 0 5px var(--arrow-emphasis));
}
@@ -4401,7 +4595,10 @@
cloned edge geometry; the authored edge remains untouched underneath. */
svg[data-intent-trace-active] [data-node-id],
svg[data-intent-trace-active] [data-edge-from] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.2; }
+ svg[data-intent-trace-active] [data-lifecycle-rail] { opacity: 0; }
svg[data-intent-trace-active] [data-intent-trace-match] { opacity: 1; }
+ svg[data-intent-trace-active] [data-graph-role="automatic-crossover"]:has(> [data-intent-trace-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-intent-trace-active] [data-intent-trace-selected] {
filter: drop-shadow(0 0 10px var(--frontend-stroke));
}
@@ -4464,7 +4661,9 @@
}
svg[data-route-active] [data-node-id],
svg[data-route-active] [data-edge-from] { opacity: 0.11; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"] > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.11; }
svg[data-route-active] [data-route-match] { opacity: 1; }
+ svg[data-route-active] [data-graph-role="automatic-crossover"]:has(> [data-route-match]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-active] [data-route-start] {
filter: drop-shadow(0 0 11px var(--frontend-stroke));
}
@@ -4477,6 +4676,9 @@
svg[data-route-journey] [data-route-match][data-route-journey-state="past"] { opacity: 0.62; }
svg[data-route-journey] [data-route-match][data-route-journey-state="future"] { opacity: 0.34; }
svg[data-route-journey] [data-route-match][data-route-journey-state="current"] { opacity: 1; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.62; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="future"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-route-journey] [data-graph-role="automatic-crossover"]:has(> [data-route-match][data-route-journey-state="current"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-route-journey] [data-node-id][data-route-journey-current] {
filter: drop-shadow(0 0 10px var(--backend-stroke));
}
@@ -4604,9 +4806,16 @@
opacity: 0.16;
transition: opacity 160ms ease;
}
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step]) > [data-graph-role="automatic-crossover-underlay"] {
+ opacity: 0.16;
+ transition: opacity 160ms ease;
+ }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="past"] { opacity: 0.58; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="next"] { opacity: 0.34; }
svg[data-story-beat] [data-edge-from][data-story-beat-step][data-story-beat-state="active"] { opacity: 1; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="past"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.58; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="next"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 0.34; }
+ svg[data-story-beat] [data-graph-role="automatic-crossover"]:has(> [data-edge-from][data-story-beat-step][data-story-beat-state="active"]) > [data-graph-role="automatic-crossover-underlay"] { opacity: 1; }
svg[data-story-beat] .story-trail-flow { opacity: 0; transition: opacity 160ms ease; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="past"] { opacity: 0.34; }
svg[data-story-beat] .story-trail-flow[data-story-beat-state="next"] { opacity: 0.2; }
@@ -4635,7 +4844,8 @@
chapter focus sets. Symbols in the rail carry the meaning without color;
these SVG rules only make exact stable-ID membership easier to scan. */
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] {
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] {
opacity: 0.1 !important;
filter: none !important;
transition: none !important;
@@ -4668,6 +4878,10 @@
animation: archify-edge-flow 2.4s linear 1;
animation-delay: calc(var(--step, 0) * 160ms);
}
+ html[data-ambient-motion="running"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: archify-edge-flow 2.4s linear 1;
+ animation-delay: calc(var(--step, 0) * 160ms);
+ }
html[data-ambient-motion="running"] svg[data-animation="trace"] [data-animate="node"] {
transform-box: fill-box;
transform-origin: center;
@@ -4679,6 +4893,7 @@
filter: drop-shadow(0 0 3px var(--arrow-emphasis));
animation-duration: 1.75s;
}
+ svg[data-preset="signal-flow"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 1.75s; }
svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {
animation-duration: 3.1s;
}
@@ -4687,6 +4902,7 @@
filter: none;
animation-duration: 2.15s;
}
+ svg[data-preset="blueprint"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.15s; }
svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-blueprint-node-pulse;
animation-duration: 3.8s;
@@ -4695,6 +4911,7 @@
filter: none;
animation-duration: 2.2s;
}
+ svg[data-preset="editorial"][data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] { animation-duration: 2.2s; }
svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {
animation-name: archify-editorial-node-pulse;
animation-duration: 3.5s;
@@ -4707,6 +4924,11 @@
animation: none !important;
stroke-dashoffset: 0;
}
+ html[data-embed="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"],
+ html[data-share-playback="true"] svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
@keyframes archify-edge-flow {
0% { stroke-dasharray: 10 8; stroke-dashoffset: 54; opacity: 0.42; }
88% { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 1; }
@@ -4796,6 +5018,10 @@
animation: none !important;
stroke-dashoffset: 0;
}
+ svg[data-animation="trace"] [data-graph-role="automatic-crossover"]:has(> [data-animate="edge"]) > [data-graph-role="automatic-crossover-underlay"] {
+ animation: none !important;
+ stroke-dashoffset: 0;
+ }
.guided-view-progress span {
animation: none !important;
transform: scaleX(1) !important;
@@ -4814,7 +5040,8 @@
.share-chapter-progress span { animation: none !important; }
.guided-view-chapter,
svg[data-chapter-preview] [data-node-id],
- svg[data-chapter-preview] [data-edge-from] { transition: none !important; }
+ svg[data-chapter-preview] [data-edge-from],
+ svg[data-chapter-preview] [data-graph-role="automatic-crossover-underlay"] { transition: none !important; }
svg[data-story-playing="true"] .story-trail-flow {
stroke-dasharray: none;
stroke-dashoffset: 0;
@@ -4961,8 +5188,8 @@
</div>
<script id="archify-guided-views-data" type="application/json">[{"id":"dispatch-path","label":"Dispatch one task","focus":["callers","entry","router","policy","invocation","adapters","transport","providers"],"note":"Follow an explicit task from the caller through policy resolution into the selected native provider CLIs."},{"id":"persistent-session","label":"Keep a provider session","focus":["callers","entry","router","session","session_state"],"note":"See how the CLI starts a detached daemon, exchanges requests over a local socket, and persists history."},{"id":"evidence-output","label":"Preserve raw evidence","focus":["invocation","adapters","transport","artifacts","outputs"],"note":"Provider responses stay opaque while MCO records per-invocation answers, status, usage, and run metadata."}]</script>
- <script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf"},"referenceCount":14,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"policy":[{"path":"runtime/config.py","line":24,"label":"Review policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"},{"path":"runtime/policy.py","line":34,"label":"Provider policy preview","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"invocation":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"transport":[{"path":"runtime/adapters/shim.py","line":98,"label":"Shim decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/shim.py#L98"},{"path":"runtime/acp/adapter.py","line":126,"label":"ACP decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/acp/adapter.py#L126"}],"session":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}]}}</script>
- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"S cycles","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.story":"the guided story","viewer.owner.chapter":"the active chapter","viewer.owner.chapterPreview":"the chapter delta preview","viewer.owner.handoff":"the chapter handoff","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyShareCard":"Copy Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.period":"Clipboard image write not supported by this browser.","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.copiedShare":"Copied Share Card","viewer.export.downloadedShare":"Downloaded Share Card","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Route: {source} → {target} · {count} directed hop","viewer.export.card.routeSummary.other":"Route: {source} → {target} · {count} directed hops","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.card.defaultBadge":"ARCHIFY · {preset} · {theme}","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guided.region":"Guided diagram views","viewer.guided.previous":"Previous guided view","viewer.guided.previous.title":"Previous guided view ([)","viewer.guided.next":"Next guided view","viewer.guided.next.title":"Next guided view (])","viewer.guided.views":"Guided views","viewer.guided.explore":"Explore this system","viewer.guided.intro":"Step through curated paths without changing the source diagram.","viewer.guided.trail":"Story trail","viewer.guided.beat":"Beat","viewer.guided.nextBeat":"Next","viewer.guided.play":"Play guided story","viewer.guided.play.title":"Play guided story (P)","viewer.guided.pause":"Pause guided story","viewer.guided.pause.title":"Pause guided story (P)","viewer.guided.replay":"Replay guided story","viewer.guided.replay.title":"Replay guided story (P)","viewer.guided.playStory":"Play story","viewer.guided.pauseStory":"Pause","viewer.guided.replayStory":"Replay story","viewer.guided.motionUnavailable":"Story playback unavailable while motion is Still","viewer.guided.enableMotion":"Switch motion to Live to play the guided story","viewer.guided.selectBeatLink":"Select a Story Beat to copy its exact link","viewer.guided.copyMoment":"Copy moment","viewer.guided.momentCopied":"Moment link copied","viewer.guided.momentCopyFailed":"Could not copy story moment link","viewer.guided.copied":"Copied","viewer.guided.copyFailed":"Copy failed","viewer.guided.showAll":"Show all","viewer.guided.showAll.aria":"Show entire diagram","viewer.guided.chapters":"Story chapters","viewer.guided.storyTrail":"Story trail for {label}: {count} beats","viewer.guided.chapter.open":"Open chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.current":"Current chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.selectedNodes":"{count} selected nodes","viewer.guided.chapter.stops":"{count} stops","viewer.guided.chapter.stop.one":"{count} stop","viewer.guided.chapter.stop.other":"{count} stops","viewer.guided.chapter.current.title":"{label} — current chapter, {count} stops","viewer.guided.chapter.delta.expanded":"{stay} stay, {enter} enter, {leave} leave","viewer.guided.chapter.delta.aria":"Open chapter {index} of {total}: {label}. Chapter focus delta: {delta}","viewer.guided.chapter.delta.title":"{label} — {delta} chapter focus","viewer.guided.handoff":"{from} → {to} · via {label}","viewer.guided.share.chapter":"Chapter {index} / {total}","viewer.guided.share.initial":"Chapter 01 / 01","viewer.guided.share.default":"Guided chapter","viewer.guided.state.ready":"Ready","viewer.guided.state.playing":"Playing","viewer.guided.state.settled":"Settled","viewer.guided.state.paused":"Paused","viewer.guided.state.pinned":"Pinned","viewer.guided.state.still":"Still","viewer.guided.share.step":"Step {index} / {total} · {label}","viewer.guided.share.staticMoment":"{step} · Static moment","viewer.guided.share.complete":"{count} steps complete · {note}","viewer.guided.share.settled":"Path settled for reading.","viewer.guided.share.staticPath":"{count} steps · Static path","viewer.guided.share.ready":"{count} steps · Ready","viewer.guided.share.aria":"{state} chapter {index} of {total}: {label}. {beat}. {route}","viewer.guided.beat.start":"Beat {index} / {total} · {label} · starting point","viewer.guided.beat.forward":"Beat {index} / {total} · {from} → {to}","viewer.guided.beat.reverse":"Beat {index} / {total} · {from} → {to} · reverse authored link","viewer.guided.beat.multiple":"Beat {index} / {total} · {from} ⇄ {to} · {count} authored links","viewer.guided.beat.group":"Beat {index} / {total} · {from} · {to} · grouped · no direct link","viewer.guided.beat.aria.prefix":"Story beat {index} of {total}: {label}. ","viewer.guided.beat.aria.start":"Starting point.","viewer.guided.beat.aria.forward":"From {from} through one authored forward relationship.","viewer.guided.beat.aria.reverse":"From {from}; the authored relationship points from {to} to {from}.","viewer.guided.beat.aria.multiple":"From {from} through {count} authored relationships; shown without arbitrary motion.","viewer.guided.beat.aria.group":"Grouped from {from} with no direct authored relationship.","viewer.guided.caption.start":"Starting point","viewer.guided.caption.grouped":"Grouped transition · no direct authored link","viewer.guided.caption.more":" +{count} more","viewer.guided.caption.reverse":"Reverse authored relationship","viewer.guided.caption.relationships":"{count} authored relationships","viewer.guided.caption.relationship":"Authored relationship","viewer.guided.caption.direction":"authored direction: {from} → {to}","viewer.guided.caption.starting":"Authored starting point","viewer.guided.beatLink":"Copy link to current story moment: Beat {index} of {total}: {label}","viewer.guided.noStory":"This diagram has no authored guided story.","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.story":"Play the guided story","viewer.guide.story.hint":"Walk the authored chapters and real relationships.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships} · {views}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.fact.view.one":"{count} guided view","viewer.guide.fact.view.other":"{count} guided views","viewer.guide.story.available.one":"Walk {count} authored chapter and its real relationships.","viewer.guide.story.available.other":"Walk {count} authored chapters and their real relationships.","viewer.guide.story.unavailable":"No authored guided story in this diagram.","viewer.guide.open":"Open diagram guide","viewer.guide.noStory":"This diagram has no authored guided story.","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.sourceMarker":"SRC","viewer.passport.beacon.one":"{count} verified source; focus this node to inspect","viewer.passport.beacon.other":"{count} verified sources; focus this node to inspect","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Route probe","viewer.route.start":"Choose a start node","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Traced route","viewer.route.pickTwo":"Pick two semantic nodes on the diagram","viewer.route.pickOne":"Pick a semantic node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Choose the source, then the destination. Direction matters.","viewer.route.destination":"Choose a destination from {label}","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"A route needs two distinct semantic nodes.","viewer.route.unreachable":"No directed route to {label}","viewer.route.unreachable.detail":"{target} is not reachable from {source}. Pick a highlighted destination.","viewer.route.start.instructions":"Select the source. The next step will reveal only directed destinations.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest authored route","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} directed hop","viewer.route.overview.hop.other":"{count} directed hops","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} directed destination available. Pick a highlighted node.","viewer.route.destination.count.other":"{count} directed destinations available. Pick a highlighted node.","viewer.route.noOutgoing":"No outgoing route starts here. Clear and choose another source.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"PATH","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>
+ <script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf","label":"mco-org/mco","href":"https://github.com/mco-org/mco/tree/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798"},"referenceCount":14,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"policy":[{"path":"runtime/config.py","line":24,"label":"Review policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"},{"path":"runtime/policy.py","line":34,"label":"Provider policy preview","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"invocation":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"transport":[{"path":"runtime/adapters/shim.py","line":98,"label":"Shim decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/shim.py#L98"},{"path":"runtime/acp/adapter.py","line":126,"label":"ACP decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/acp/adapter.py#L126"}],"session":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}]}}</script>
+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"S cycles","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.story":"the guided story","viewer.owner.chapter":"the active chapter","viewer.owner.chapterPreview":"the chapter delta preview","viewer.owner.handoff":"the chapter handoff","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyShareCard":"Copy Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.period":"Clipboard image write not supported by this browser.","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.copiedShare":"Copied Share Card","viewer.export.downloadedShare":"Downloaded Share Card","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Route: {source} → {target} · {count} directed hop","viewer.export.card.routeSummary.other":"Route: {source} → {target} · {count} directed hops","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.card.defaultBadge":"ARCHIFY · {preset} · {theme}","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guided.region":"Guided diagram views","viewer.guided.previous":"Previous guided view","viewer.guided.previous.title":"Previous guided view ([)","viewer.guided.next":"Next guided view","viewer.guided.next.title":"Next guided view (])","viewer.guided.views":"Guided views","viewer.guided.explore":"Explore this system","viewer.guided.intro":"Step through curated paths without changing the source diagram.","viewer.guided.trail":"Story trail","viewer.guided.beat":"Beat","viewer.guided.nextBeat":"Next","viewer.guided.play":"Play guided story","viewer.guided.play.title":"Play guided story (P)","viewer.guided.pause":"Pause guided story","viewer.guided.pause.title":"Pause guided story (P)","viewer.guided.replay":"Replay guided story","viewer.guided.replay.title":"Replay guided story (P)","viewer.guided.playStory":"Play story","viewer.guided.pauseStory":"Pause","viewer.guided.replayStory":"Replay story","viewer.guided.motionUnavailable":"Story playback unavailable while motion is Still","viewer.guided.enableMotion":"Switch motion to Live to play the guided story","viewer.guided.selectBeatLink":"Select a Story Beat to copy its exact link","viewer.guided.copyMoment":"Copy moment","viewer.guided.momentCopied":"Moment link copied","viewer.guided.momentCopyFailed":"Could not copy story moment link","viewer.guided.copied":"Copied","viewer.guided.copyFailed":"Copy failed","viewer.guided.showAll":"Show all","viewer.guided.showAll.aria":"Show entire diagram","viewer.guided.chapters":"Story chapters","viewer.guided.storyTrail":"Story trail for {label}: {count} beats","viewer.guided.chapter.open":"Open chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.current":"Current chapter {index} of {total}: {label}, {count} stops","viewer.guided.chapter.selectedNodes":"{count} selected nodes","viewer.guided.chapter.stops":"{count} stops","viewer.guided.chapter.stop.one":"{count} stop","viewer.guided.chapter.stop.other":"{count} stops","viewer.guided.chapter.current.title":"{label} — current chapter, {count} stops","viewer.guided.chapter.delta.expanded":"{stay} stay, {enter} enter, {leave} leave","viewer.guided.chapter.delta.aria":"Open chapter {index} of {total}: {label}. Chapter focus delta: {delta}","viewer.guided.chapter.delta.title":"{label} — {delta} chapter focus","viewer.guided.handoff":"{from} → {to} · via {label}","viewer.guided.share.chapter":"Chapter {index} / {total}","viewer.guided.share.initial":"Chapter 01 / 01","viewer.guided.share.default":"Guided chapter","viewer.guided.state.ready":"Ready","viewer.guided.state.playing":"Playing","viewer.guided.state.settled":"Settled","viewer.guided.state.paused":"Paused","viewer.guided.state.pinned":"Pinned","viewer.guided.state.still":"Still","viewer.guided.share.step":"Step {index} / {total} · {label}","viewer.guided.share.staticMoment":"{step} · Static moment","viewer.guided.share.complete":"{count} steps complete · {note}","viewer.guided.share.settled":"Path settled for reading.","viewer.guided.share.staticPath":"{count} steps · Static path","viewer.guided.share.ready":"{count} steps · Ready","viewer.guided.share.aria":"{state} chapter {index} of {total}: {label}. {beat}. {route}","viewer.guided.beat.start":"Beat {index} / {total} · {label} · starting point","viewer.guided.beat.forward":"Beat {index} / {total} · {from} → {to}","viewer.guided.beat.reverse":"Beat {index} / {total} · {from} → {to} · reverse authored link","viewer.guided.beat.multiple":"Beat {index} / {total} · {from} ⇄ {to} · {count} authored links","viewer.guided.beat.group":"Beat {index} / {total} · {from} · {to} · grouped · no direct link","viewer.guided.beat.aria.prefix":"Story beat {index} of {total}: {label}. ","viewer.guided.beat.aria.start":"Starting point.","viewer.guided.beat.aria.forward":"From {from} through one authored forward relationship.","viewer.guided.beat.aria.reverse":"From {from}; the authored relationship points from {to} to {from}.","viewer.guided.beat.aria.multiple":"From {from} through {count} authored relationships; shown without arbitrary motion.","viewer.guided.beat.aria.group":"Grouped from {from} with no direct authored relationship.","viewer.guided.caption.start":"Starting point","viewer.guided.caption.grouped":"Grouped transition · no direct authored link","viewer.guided.caption.more":" +{count} more","viewer.guided.caption.reverse":"Reverse authored relationship","viewer.guided.caption.relationships":"{count} authored relationships","viewer.guided.caption.relationship":"Authored relationship","viewer.guided.caption.direction":"authored direction: {from} → {to}","viewer.guided.caption.starting":"Authored starting point","viewer.guided.beatLink":"Copy link to current story moment: Beat {index} of {total}: {label}","viewer.guided.noStory":"This diagram has no authored guided story.","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.story":"Play the guided story","viewer.guide.story.hint":"Walk the authored chapters and real relationships.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships} · {views}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.fact.view.one":"{count} guided view","viewer.guide.fact.view.other":"{count} guided views","viewer.guide.story.available.one":"Walk {count} authored chapter and its real relationships.","viewer.guide.story.available.other":"Walk {count} authored chapters and their real relationships.","viewer.guide.story.unavailable":"No authored guided story in this diagram.","viewer.guide.open":"Open diagram guide","viewer.guide.noStory":"This diagram has no authored guided story.","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.sourceMarker":"SRC","viewer.passport.beacon.one":"{count} verified source; focus this node to inspect","viewer.passport.beacon.other":"{count} verified sources; focus this node to inspect","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Route probe","viewer.route.start":"Choose a start node","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Traced route","viewer.route.pickTwo":"Pick two semantic nodes on the diagram","viewer.route.pickOne":"Pick a semantic node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Choose the source, then the destination. Direction matters.","viewer.route.destination":"Choose a destination from {label}","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"A route needs two distinct semantic nodes.","viewer.route.unreachable":"No directed route to {label}","viewer.route.unreachable.detail":"{target} is not reachable from {source}. Pick a highlighted destination.","viewer.route.start.instructions":"Select the source. The next step will reveal only directed destinations.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest authored route","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} directed hop","viewer.route.overview.hop.other":"{count} directed hops","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} directed destination available. Pick a highlighted node.","viewer.route.destination.count.other":"{count} directed destinations available. Pick a highlighted node.","viewer.route.noOutgoing":"No outgoing route starts here. Clear and choose another source.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"PATH","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>
<div class="guided-views no-print" id="guided-views" hidden aria-label="Guided diagram views">
<button id="guided-view-prev" type="button" aria-label="Previous guided view" title="Previous guided view ([)">&#8592;</button>
<div class="guided-view-copy">
@@ -5207,38 +5434,38 @@
<!-- Connection labels -->
<g data-detail="context" data-edge-from="callers" data-edge-to="entry" data-edge-label="task + selected agents" data-edge-key="0" data-edge-id="submit">
<rect x="128.2" y="234" width="115.6" height="14" rx="3" class="c-mask"/>
- <text x="186" y="244" class="t-backend" font-size="8" text-anchor="middle">task + selected agents</text>
+ <text x="186" y="244" class="t-edge-emphasis" font-size="8" text-anchor="middle">task + selected agents</text>
</g>
<g data-detail="context" data-edge-from="policy" data-edge-to="invocation" data-edge-label="validated scope" data-edge-key="3" data-edge-id="authorize">
<rect x="753" y="234" width="82" height="14" rx="3" class="c-mask"/>
- <text x="794" y="244" class="t-security" font-size="8" text-anchor="middle">validated scope</text>
+ <text x="794" y="244" class="t-edge-security" font-size="8" text-anchor="middle">validated scope</text>
</g>
<g data-detail="context" data-edge-from="adapters" data-edge-to="transport" data-edge-label="provider contract" data-edge-key="5" data-edge-id="adapt">
<rect x="1173.2" y="266" width="91.6" height="14" rx="3" class="c-mask"/>
- <text x="1219" y="276" class="t-backend" font-size="8" text-anchor="middle">provider contract</text>
+ <text x="1219" y="276" class="t-edge-emphasis" font-size="8" text-anchor="middle">provider contract</text>
</g>
<g data-detail="context" data-edge-from="transport" data-edge-to="providers" data-edge-label="native CLI" data-edge-key="6" data-edge-id="execute">
<rect x="1404" y="293" width="58" height="14" rx="3" class="c-mask"/>
- <text x="1433" y="303" class="t-backend" font-size="8" text-anchor="middle">native CLI</text>
+ <text x="1433" y="303" class="t-edge-emphasis" font-size="8" text-anchor="middle">native CLI</text>
</g>
<g data-detail="context" data-edge-from="router" data-edge-to="session" data-edge-label="start · send · resume" data-edge-key="7" data-edge-id="session_start">
<rect x="434.6" y="420" width="110.8" height="14" rx="3" class="c-mask"/>
- <text x="490" y="430" class="t-messagebus" font-size="8" text-anchor="middle">start · send · resume</text>
+ <text x="490" y="430" class="t-edge-dashed" font-size="8" text-anchor="middle">start · send · resume</text>
</g>
<g data-detail="context" data-edge-from="session" data-edge-to="session_state" data-edge-label="socket + history" data-edge-key="8" data-edge-id="session_persist">
<rect x="561.6" y="486" width="86.8" height="14" rx="3" class="c-mask"/>
- <text x="605" y="496" class="t-messagebus" font-size="8" text-anchor="middle">socket + history</text>
+ <text x="605" y="496" class="t-edge-dashed" font-size="8" text-anchor="middle">socket + history</text>
</g>
<g data-detail="context" data-edge-from="transport" data-edge-to="artifacts" data-edge-label="decode + persist" data-edge-key="9" data-edge-id="persist_answers">
<rect x="1279.6" y="420" width="86.8" height="14" rx="3" class="c-mask"/>
- <text x="1323" y="430" class="t-messagebus" font-size="8" text-anchor="middle">decode + persist</text>
+ <text x="1323" y="430" class="t-edge-dashed" font-size="8" text-anchor="middle">decode + persist</text>
</g>
<g data-detail="context" data-edge-from="artifacts" data-edge-to="outputs" data-edge-label="raw evidence" data-edge-key="10" data-edge-id="publish_outputs">
<rect x="1399.2" y="570" width="67.6" height="14" rx="3" class="c-mask"/>
- <text x="1433" y="580" class="t-backend" font-size="8" text-anchor="middle">raw evidence</text>
+ <text x="1433" y="580" class="t-edge-emphasis" font-size="8" text-anchor="middle">raw evidence</text>
</g>
<!-- Boundary labels (foreground masks keep routes out of titles) -->
@@ -5356,6 +5583,7 @@
</div>
<div class="focus-chip relationship-lens no-print" id="focus-chip" hidden role="region" aria-labelledby="relationship-lens-title">
<div class="relationship-lens-head">
+ <button class="relationship-lens-drag-handle" id="btn-focus-move" type="button" data-focus-drag-handle aria-label="Move semantic passport. Drag, use arrow keys, or press Home to reset." title="Move semantic passport. Drag, use arrow keys, or press Home to reset."></button>
<div class="relationship-lens-copy">
<span class="relationship-lens-eyebrow">Semantic passport</span>
<strong class="relationship-lens-title" id="relationship-lens-title"><span id="focus-label"></span></strong>
@@ -5788,6 +6016,190 @@
return getComputedStyle(document.body).backgroundColor || '#ffffff';
}
+ function cleanExportClone(clone) {
+ // View transforms and neighborhood focus are HTML exploration state,
+ // never part of a downloaded full-diagram artifact.
+ clone.style.removeProperty('transform');
+ clone.style.removeProperty('clip-path');
+ clone.removeAttribute('data-view-scale');
+ clone.removeAttribute('data-focus-active');
+ clone.removeAttribute('data-reach-active');
+ clone.removeAttribute('data-lens-active');
+ clone.removeAttribute('data-lens-flow-count');
+ clone.removeAttribute('data-lens-flow-density');
+ clone.removeAttribute('data-legend-preview-active');
+ clone.removeAttribute('data-relationship-preview-active');
+ clone.removeAttribute('data-relationship-direct-active');
+ clone.removeAttribute('data-relationship-pin-active');
+ clone.removeAttribute('data-intent-trace-active');
+ clone.removeAttribute('data-route-picking');
+ clone.removeAttribute('data-route-active');
+ clone.removeAttribute('data-route-journey');
+ clone.removeAttribute('data-share-route');
+ clone.removeAttribute('data-share-reach');
+ clone.removeAttribute('data-story-active');
+ clone.removeAttribute('data-story-playing');
+ clone.removeAttribute('data-story-beat');
+ clone.removeAttribute('data-story-next');
+ clone.removeAttribute('data-story-follow');
+ clone.removeAttribute('data-chapter-handoff');
+ clone.removeAttribute('data-chapter-anchor');
+ clone.removeAttribute('data-chapter-preview');
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-handoff-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-role]'), function (el) {
+ el.removeAttribute('data-chapter-role');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-preview-role]'), function (el) {
+ el.removeAttribute('data-chapter-preview-role');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-probe-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-journey-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-semantic-lens-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge-runtime]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-kind]'), function (el) {
+ el.removeAttribute('data-legend-kind');
+ el.removeAttribute('data-legend-label');
+ el.removeAttribute('data-legend-count');
+ el.removeAttribute('data-legend-zero');
+ el.removeAttribute('data-legend-selected');
+ el.removeAttribute('role');
+ el.removeAttribute('tabindex');
+ el.removeAttribute('aria-label');
+ el.removeAttribute('aria-pressed');
+ el.removeAttribute('aria-haspopup');
+ el.removeAttribute('aria-controls');
+ el.removeAttribute('aria-expanded');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge]'), function (el) {
+ el.removeAttribute('data-legend-bridge');
+ el.removeAttribute('role');
+ el.removeAttribute('aria-label');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-pulse-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {
+ el.remove();
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {
+ var originalLabel = el.getAttribute('data-source-evidence-original-label');
+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');
+ else el.setAttribute('aria-label', originalLabel);
+ el.removeAttribute('data-source-evidence-count');
+ el.removeAttribute('data-source-evidence-original-label');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {
+ el.removeAttribute('data-story-step');
+ el.removeAttribute('data-story-beat-state');
+ el.removeAttribute('data-story-beat-step');
+ el.style.removeProperty('--story-step');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-focus-match], [data-focus-selected]'), function (el) {
+ el.removeAttribute('data-focus-match');
+ el.removeAttribute('data-focus-selected');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-reach-match], [data-reach-origin], [data-reach-depth]'), function (el) {
+ el.removeAttribute('data-reach-match');
+ el.removeAttribute('data-reach-origin');
+ el.removeAttribute('data-reach-depth');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-lens-match], [data-lens-selected], [data-lens-peer]'), function (el) {
+ el.removeAttribute('data-lens-match');
+ el.removeAttribute('data-lens-selected');
+ el.removeAttribute('data-lens-peer');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer]'), function (el) {
+ el.removeAttribute('data-legend-preview-match');
+ el.removeAttribute('data-legend-preview-selected');
+ el.removeAttribute('data-legend-preview-peer');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target]'), function (el) {
+ el.removeAttribute('data-relationship-preview');
+ el.removeAttribute('data-relationship-preview-node');
+ el.removeAttribute('data-relationship-preview-source');
+ el.removeAttribute('data-relationship-preview-target');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-match], [data-intent-trace-selected]'), function (el) {
+ el.removeAttribute('data-intent-trace-match');
+ el.removeAttribute('data-intent-trace-selected');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current]'), function (el) {
+ el.removeAttribute('data-route-match');
+ el.removeAttribute('data-route-start');
+ el.removeAttribute('data-route-end');
+ el.removeAttribute('data-route-step');
+ el.removeAttribute('data-route-candidate');
+ el.removeAttribute('data-route-journey-state');
+ el.removeAttribute('data-route-journey-current');
+ el.style.removeProperty('--route-step');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle]'), function (el) {
+ el.removeAttribute('data-share-route-match');
+ el.removeAttribute('data-share-route-step');
+ el.removeAttribute('data-share-route-start');
+ el.removeAttribute('data-share-route-end');
+ el.removeAttribute('data-share-route-middle');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth]'), function (el) {
+ el.removeAttribute('data-share-reach-match');
+ el.removeAttribute('data-share-reach-origin');
+ el.removeAttribute('data-share-reach-depth');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-detail], [data-detail-anchor]'), function (el) {
+ el.removeAttribute('data-detail');
+ el.removeAttribute('data-detail-anchor');
+ });
+ Array.prototype.forEach.call(clone.querySelectorAll('[data-node-id][aria-pressed]'), function (el) {
+ el.setAttribute('aria-pressed', 'false');
+ });
+ return !clone.hasAttribute('data-view-scale') &&
+ !clone.hasAttribute('data-focus-active') &&
+ !clone.hasAttribute('data-reach-active') &&
+ !clone.hasAttribute('data-lens-active') &&
+ !clone.hasAttribute('data-lens-flow-count') &&
+ !clone.hasAttribute('data-lens-flow-density') &&
+ !clone.hasAttribute('data-legend-preview-active') &&
+ !clone.hasAttribute('data-relationship-preview-active') &&
+ !clone.hasAttribute('data-relationship-direct-active') &&
+ !clone.hasAttribute('data-intent-trace-active') &&
+ !clone.hasAttribute('data-route-picking') &&
+ !clone.hasAttribute('data-route-active') &&
+ !clone.hasAttribute('data-route-journey') &&
+ !clone.hasAttribute('data-share-route') &&
+ !clone.hasAttribute('data-share-reach') &&
+ !clone.hasAttribute('data-story-active') &&
+ !clone.hasAttribute('data-story-playing') &&
+ !clone.hasAttribute('data-story-beat') &&
+ !clone.hasAttribute('data-story-next') &&
+ !clone.hasAttribute('data-story-follow') &&
+ !clone.hasAttribute('data-chapter-handoff') &&
+ !clone.hasAttribute('data-chapter-anchor') &&
+ !clone.hasAttribute('data-chapter-preview') &&
+ !clone.style.getPropertyValue('transform') &&
+ !clone.style.getPropertyValue('clip-path') &&
+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-reach-match], [data-reach-origin], [data-reach-depth], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;
+ }
+
+
/**
* Serialize the main SVG into a standalone document.
*
@@ -5973,186 +6385,7 @@
var svg = document.querySelector('.diagram-container svg');
var clone = svg.cloneNode(true);
- // View transforms and neighborhood focus are HTML exploration state,
- // never part of a downloaded full-diagram artifact.
- clone.style.removeProperty('transform');
- clone.style.removeProperty('clip-path');
- clone.removeAttribute('data-view-scale');
- clone.removeAttribute('data-focus-active');
- clone.removeAttribute('data-reach-active');
- clone.removeAttribute('data-lens-active');
- clone.removeAttribute('data-lens-flow-count');
- clone.removeAttribute('data-lens-flow-density');
- clone.removeAttribute('data-legend-preview-active');
- clone.removeAttribute('data-relationship-preview-active');
- clone.removeAttribute('data-relationship-direct-active');
- clone.removeAttribute('data-relationship-pin-active');
- clone.removeAttribute('data-intent-trace-active');
- clone.removeAttribute('data-route-picking');
- clone.removeAttribute('data-route-active');
- clone.removeAttribute('data-route-journey');
- clone.removeAttribute('data-share-route');
- clone.removeAttribute('data-share-reach');
- clone.removeAttribute('data-story-active');
- clone.removeAttribute('data-story-playing');
- clone.removeAttribute('data-story-beat');
- clone.removeAttribute('data-story-next');
- clone.removeAttribute('data-story-follow');
- clone.removeAttribute('data-chapter-handoff');
- clone.removeAttribute('data-chapter-anchor');
- clone.removeAttribute('data-chapter-preview');
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-handoff-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-role]'), function (el) {
- el.removeAttribute('data-chapter-role');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-chapter-preview-role]'), function (el) {
- el.removeAttribute('data-chapter-preview-role');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-probe-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-journey-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-semantic-lens-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge-runtime]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-kind]'), function (el) {
- el.removeAttribute('data-legend-kind');
- el.removeAttribute('data-legend-label');
- el.removeAttribute('data-legend-count');
- el.removeAttribute('data-legend-zero');
- el.removeAttribute('data-legend-selected');
- el.removeAttribute('role');
- el.removeAttribute('tabindex');
- el.removeAttribute('aria-label');
- el.removeAttribute('aria-pressed');
- el.removeAttribute('aria-haspopup');
- el.removeAttribute('aria-controls');
- el.removeAttribute('aria-expanded');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-bridge]'), function (el) {
- el.removeAttribute('data-legend-bridge');
- el.removeAttribute('role');
- el.removeAttribute('aria-label');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-pulse-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {
- el.remove();
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {
- var originalLabel = el.getAttribute('data-source-evidence-original-label');
- if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');
- else el.setAttribute('aria-label', originalLabel);
- el.removeAttribute('data-source-evidence-count');
- el.removeAttribute('data-source-evidence-original-label');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {
- el.removeAttribute('data-story-step');
- el.removeAttribute('data-story-beat-state');
- el.removeAttribute('data-story-beat-step');
- el.style.removeProperty('--story-step');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-focus-match], [data-focus-selected]'), function (el) {
- el.removeAttribute('data-focus-match');
- el.removeAttribute('data-focus-selected');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-reach-match], [data-reach-origin], [data-reach-depth]'), function (el) {
- el.removeAttribute('data-reach-match');
- el.removeAttribute('data-reach-origin');
- el.removeAttribute('data-reach-depth');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-lens-match], [data-lens-selected], [data-lens-peer]'), function (el) {
- el.removeAttribute('data-lens-match');
- el.removeAttribute('data-lens-selected');
- el.removeAttribute('data-lens-peer');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer]'), function (el) {
- el.removeAttribute('data-legend-preview-match');
- el.removeAttribute('data-legend-preview-selected');
- el.removeAttribute('data-legend-preview-peer');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target]'), function (el) {
- el.removeAttribute('data-relationship-preview');
- el.removeAttribute('data-relationship-preview-node');
- el.removeAttribute('data-relationship-preview-source');
- el.removeAttribute('data-relationship-preview-target');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-intent-trace-match], [data-intent-trace-selected]'), function (el) {
- el.removeAttribute('data-intent-trace-match');
- el.removeAttribute('data-intent-trace-selected');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current]'), function (el) {
- el.removeAttribute('data-route-match');
- el.removeAttribute('data-route-start');
- el.removeAttribute('data-route-end');
- el.removeAttribute('data-route-step');
- el.removeAttribute('data-route-candidate');
- el.removeAttribute('data-route-journey-state');
- el.removeAttribute('data-route-journey-current');
- el.style.removeProperty('--route-step');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle]'), function (el) {
- el.removeAttribute('data-share-route-match');
- el.removeAttribute('data-share-route-step');
- el.removeAttribute('data-share-route-start');
- el.removeAttribute('data-share-route-end');
- el.removeAttribute('data-share-route-middle');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth]'), function (el) {
- el.removeAttribute('data-share-reach-match');
- el.removeAttribute('data-share-reach-origin');
- el.removeAttribute('data-share-reach-depth');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-detail], [data-detail-anchor]'), function (el) {
- el.removeAttribute('data-detail');
- el.removeAttribute('data-detail-anchor');
- });
- Array.prototype.forEach.call(clone.querySelectorAll('[data-node-id][aria-pressed]'), function (el) {
- el.setAttribute('aria-pressed', 'false');
- });
- var canonicalStateClean = !clone.hasAttribute('data-view-scale') &&
- !clone.hasAttribute('data-focus-active') &&
- !clone.hasAttribute('data-reach-active') &&
- !clone.hasAttribute('data-lens-active') &&
- !clone.hasAttribute('data-lens-flow-count') &&
- !clone.hasAttribute('data-lens-flow-density') &&
- !clone.hasAttribute('data-legend-preview-active') &&
- !clone.hasAttribute('data-relationship-preview-active') &&
- !clone.hasAttribute('data-relationship-direct-active') &&
- !clone.hasAttribute('data-intent-trace-active') &&
- !clone.hasAttribute('data-route-picking') &&
- !clone.hasAttribute('data-route-active') &&
- !clone.hasAttribute('data-route-journey') &&
- !clone.hasAttribute('data-share-route') &&
- !clone.hasAttribute('data-share-reach') &&
- !clone.hasAttribute('data-story-active') &&
- !clone.hasAttribute('data-story-playing') &&
- !clone.hasAttribute('data-story-beat') &&
- !clone.hasAttribute('data-story-next') &&
- !clone.hasAttribute('data-story-follow') &&
- !clone.hasAttribute('data-chapter-handoff') &&
- !clone.hasAttribute('data-chapter-anchor') &&
- !clone.hasAttribute('data-chapter-preview') &&
- !clone.style.getPropertyValue('transform') &&
- !clone.style.getPropertyValue('clip-path') &&
- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-reach-match], [data-reach-origin], [data-reach-depth], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-share-reach-match], [data-share-reach-origin], [data-share-reach-depth], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;
+ var canonicalStateClean = cleanExportClone(clone);
var vb = svg.viewBox.baseVal;
var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&
@@ -6169,6 +6402,10 @@
// canvas upscaling.
clone.setAttribute('width', vb.width * scale);
clone.setAttribute('height', vb.height * scale);
+ // Keep copied Viewer layout rules from overriding the export's size.
+ clone.style.width = vb.width * scale + 'px';
+ clone.style.height = vb.height * scale + 'px';
+ clone.style.minWidth = '0';
clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
// Only the SVG-relevant rules: semantic classes, markers, and the
@@ -6225,16 +6462,9 @@
}
}
- // Prepend a local()-only @font-face block for each weight so that the
- // sandboxed image-rendering context used during PNG/JPEG/WebP export
- // can find JetBrains Mono if the user has it installed locally, and
- // falls through cleanly to the monospace stack otherwise. The usual
- // Google-Fonts <link> in the host document is unreachable from the
- // serialized SVG, so url()-sourced faces would just hang.
- var fontFallback = [400, 500, 600, 700].map(function (w) {
- return "@font-face { font-family: 'JetBrains Mono'; font-weight: " + w +
- "; src: local('JetBrains Mono'), local('JetBrainsMono-Regular'); }";
- }).join('\n');
+ // Keep the same font bytes, character coverage, and attribution in
+ // standalone SVGs and the SVG images used by every raster export.
+ var fontCss = document.getElementById('archify-fonts').textContent;
var style = document.createElementNS('http://www.w3.org/2000/svg', 'style');
var bgRect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
@@ -6250,7 +6480,7 @@
var lightVars = resolveVars('light');
style.textContent =
- fontFallback + "\n" +
+ fontCss + "\n" +
"svg { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', 'Noto Sans Mono CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace; }\n" +
hostStyle + "\n" +
":root, svg { " + darkVars + " }\n" +
@@ -6278,7 +6508,7 @@
// overrides our chosen theme via later-in-cascade equal-specificity.
// Keep this order.
style.textContent =
- fontFallback + "\n" +
+ fontCss + "\n" +
"svg { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', 'Noto Sans Mono CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace; }\n" +
hostStyle + "\n" +
":root, svg { " + vars + " }\n";
@@ -6287,15 +6517,15 @@
}
if (opts.routeSnapshot) {
- style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from] { opacity: 0.18; }\n" +
- "svg[data-share-route] [data-share-route-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-route] [data-node-id], svg[data-share-route] [data-edge-from], svg[data-share-route] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.18; }\n" +
+ "svg[data-share-route] [data-share-route-match], svg[data-share-route] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-route-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-route] [data-share-route-start] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3; stroke-dasharray: 5 3; }\n" +
"svg[data-share-route] [data-share-route-middle] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 2.2; }\n" +
"svg[data-share-route] [data-share-route-end] > :is(rect, circle, polygon):not(.c-mask) { stroke-width: 3.4; stroke-dasharray: 1 0; }\n";
}
if (opts.reachSnapshot) {
- style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from] { opacity: 0.14; }\n" +
- "svg[data-share-reach] [data-share-reach-match] { opacity: 1; }\n" +
+ style.textContent += "\nsvg[data-share-reach] [data-node-id], svg[data-share-reach] [data-edge-from], svg[data-share-reach] [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 0.14; }\n" +
+ "svg[data-share-reach] [data-share-reach-match], svg[data-share-reach] [data-graph-role=\"automatic-crossover\"]:has(> [data-share-reach-match]) > [data-graph-role=\"automatic-crossover-underlay\"] { opacity: 1; }\n" +
"svg[data-share-reach] [data-edge-from][data-share-reach-match] { stroke-width: 1.55; }\n" +
"svg[data-share-reach=\"upstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--database-stroke); stroke-width: 3.4; stroke-dasharray: 5 3; }\n" +
"svg[data-share-reach=\"downstream\"] [data-share-reach-origin] > :is(rect, circle, polygon):not(.c-mask) { stroke: var(--backend-stroke); stroke-width: 3.4; stroke-dasharray: 1 0; }\n" +
@@ -6305,8 +6535,11 @@
clone.insertBefore(style, clone.firstChild);
clone.insertBefore(bgRect, style.nextSibling);
+ // The XML declaration pins UTF-8: without it, consumers that guess an
+ // encoding instead of defaulting to UTF-8 mangle non-ASCII text.
return {
- svgString: new XMLSerializer().serializeToString(clone),
+ svgString: '<?xml version="1.0" encoding="UTF-8"?>\n' +
+ new XMLSerializer().serializeToString(clone),
width: vb.width * scale,
height: vb.height * scale,
canonicalStateClean: canonicalStateClean,
@@ -7196,6 +7429,7 @@
} catch (_) {}
})();
+
/* ============================================================
Motion Governor — one reader switch and one motion budget. Ambient
trace yields to the strongest semantic owner; Still also parks bounded
@@ -7562,6 +7796,7 @@
var copyBtn = document.getElementById('btn-focus-copy');
var relationsBtn = document.getElementById('btn-focus-relations');
var clearBtn = document.getElementById('btn-focus-clear');
+ var moveBtn = document.getElementById('btn-focus-move');
var activeIds = [];
var hoveredRelationship = null;
var focusedRelationship = null;
@@ -7571,6 +7806,8 @@
var relationshipHitOverlay = null;
var relationshipHitTargets = [];
var directPreviewTimer = null;
+ var lensDrag = null;
+ var manualLensPosition = null;
var reachabilityMode = null;
var activeReachability = null;
var svgNamespace = 'http://www.w3.org/2000/svg';
@@ -7765,7 +8002,7 @@
if (options.reveal !== false && Archify.view && typeof Archify.view.reveal === 'function') {
Archify.view.reveal(result.nodeIds, { includeNeighbors: false, reason: 'reachability' });
}
- requestLensPlacement();
+ placeRelationshipLens();
return true;
}
function reachabilitySnapshot() {
@@ -7868,6 +8105,7 @@
function renderSourceEvidence(id) {
evidenceLinks.textContent = '';
repositoryLink.removeAttribute('href');
+ repositoryLink.removeAttribute('aria-label');
repositoryLink.textContent = '';
var sources = Archify.sourceEvidence.node(id);
var repository = Archify.sourceEvidence.repository();
@@ -7875,24 +8113,28 @@
evidence.hidden = true;
return;
}
- var slug = repository.url.replace(/^https:\/\/github\.com\//, '').replace(/\/$/, '');
- repositoryLink.href = repository.url + '/tree/' + repository.revision;
- repositoryLink.textContent = slug + ' @ ' + repository.shortRevision;
- repositoryLink.setAttribute('aria-label', viewerText('viewer.passport.repository.open', { revision: repository.revision }));
+ repositoryLink.textContent = repository.label + ' @ ' + repository.shortRevision;
+ if (repository.href) {
+ repositoryLink.href = repository.href;
+ repositoryLink.setAttribute('aria-label', viewerText('viewer.passport.repository.open', { revision: repository.revision }));
+ }
+ evidence.title = viewerText('viewer.passport.verificationScope');
sources.forEach(function (source) {
- var link = document.createElement('a');
+ var link = document.createElement(source.href ? 'a' : 'div');
link.className = 'semantic-passport-source';
- link.href = source.href;
- link.target = '_blank';
- link.rel = 'noopener noreferrer';
- link.referrerPolicy = 'no-referrer';
- link.setAttribute('aria-label', viewerText('viewer.passport.source.open', { path: source.path, revision: repository.shortRevision }));
+ if (source.href) {
+ link.href = source.href;
+ link.target = '_blank';
+ link.rel = 'noopener noreferrer';
+ link.referrerPolicy = 'no-referrer';
+ link.setAttribute('aria-label', viewerText('viewer.passport.source.open', { path: source.path, revision: repository.shortRevision }));
+ }
var name = document.createElement('strong');
name.textContent = source.label || source.path.split('/').pop() || source.path;
var location = document.createElement('code');
location.textContent = source.line
- ? 'L' + source.line + (source.endLine && source.endLine !== source.line ? '–' + source.endLine : '') + ' ↗'
- : viewerText('viewer.passport.source.openLink');
+ ? 'L' + source.line + (source.endLine && source.endLine !== source.line ? '–' + source.endLine : '') + (source.href ? ' ↗' : '')
+ : source.href ? viewerText('viewer.passport.source.openLink') : '';
var sourcePath = document.createElement('small');
sourcePath.textContent = source.path;
link.appendChild(name);
@@ -7951,8 +8193,8 @@
}
function relationshipHitRecords() {
var recordsByKey = {};
- var recordsById = {};
- var byId = {};
+ var recordsById = Object.create(null);
+ var byId = Object.create(null);
nodes().forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var records = [];
edges().forEach(function (edge) {
@@ -8240,7 +8482,7 @@
target.removeAttribute('data-preview-active');
});
renderRelationshipCopyAction();
- requestLensPlacement();
+ placeRelationshipLens();
}
function previewRelationship(button, options) {
options = options || {};
@@ -8267,7 +8509,7 @@
if (!chip.hidden && options.direct !== true) chip.setAttribute('data-relationship-previewing', 'true');
activeRelationshipPreview = button;
renderRelationshipPulse(key);
- requestLensPlacement();
+ placeRelationshipLens();
}
function syncRelationshipPreview() {
var next = pinnedRelationship || focusedRelationship || hoveredRelationship;
@@ -8546,9 +8788,147 @@
relationshipList.appendChild(section);
});
}
+ function lensPlacementBounds() {
+ var containerRect = container.getBoundingClientRect();
+ if (containerRect.width <= 0 || containerRect.height <= 0 || chip.offsetWidth <= 0 || chip.offsetHeight <= 0) return null;
+ var padding = window.innerWidth <= 720 ? 8 : 16;
+ var visibleLeft = Math.max(padding, -containerRect.left + padding);
+ var visibleRight = Math.min(
+ container.clientWidth - padding,
+ window.innerWidth - containerRect.left - padding
+ );
+ var visibleTop = Math.max(padding, -containerRect.top + padding);
+ var visibleBottom = Math.min(
+ container.clientHeight - padding,
+ window.innerHeight - containerRect.top - padding
+ );
+ var minLeft = visibleLeft;
+ var minTop = Math.min(visibleTop, Math.max(padding, visibleBottom - chip.offsetHeight));
+ return {
+ containerRect: containerRect,
+ minLeft: minLeft,
+ maxLeft: Math.max(minLeft, visibleRight - chip.offsetWidth),
+ minTop: minTop,
+ maxTop: Math.max(minTop, visibleBottom - chip.offsetHeight)
+ };
+ }
+ function manualLensPlacementAvailable() {
+ return window.innerWidth > 720 && (!finePointerQuery || finePointerQuery.matches);
+ }
+ function clampLensPosition(position, bounds) {
+ if (!position || !bounds) return null;
+ return {
+ left: Math.max(bounds.minLeft, Math.min(bounds.maxLeft, position.left)),
+ top: Math.max(bounds.minTop, Math.min(bounds.maxTop, position.top))
+ };
+ }
+ function currentLensPosition() {
+ var bounds = lensPlacementBounds();
+ if (!bounds) return null;
+ var rect = chip.getBoundingClientRect();
+ return clampLensPosition({
+ left: rect.left - bounds.containerRect.left,
+ top: rect.top - bounds.containerRect.top
+ }, bounds);
+ }
+ function applyManualLensPosition(position) {
+ if (!manualLensPlacementAvailable()) return false;
+ var bounds = lensPlacementBounds();
+ var clamped = clampLensPosition(position, bounds);
+ if (!clamped) return false;
+ manualLensPosition = clamped;
+ chip.setAttribute('data-manual-placement', 'true');
+ chip.style.left = Math.round(clamped.left) + 'px';
+ chip.style.top = Math.round(clamped.top) + 'px';
+ if (Archify.radar && typeof Archify.radar.sync === 'function') Archify.radar.sync();
+ return true;
+ }
+ function resetLensPlacement(options) {
+ options = options || {};
+ manualLensPosition = null;
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ chip.style.removeProperty('top');
+ if (options.reposition !== false && !chip.hidden) requestLensPlacement();
+ }
+ function beginLensDrag(event) {
+ if (!manualLensPlacementAvailable() || event.button !== 0 || lensDrag) return;
+ var start = currentLensPosition();
+ if (!start) return;
+ event.preventDefault();
+ event.stopPropagation();
+ lensDrag = {
+ pointerId: event.pointerId,
+ originX: event.clientX,
+ originY: event.clientY,
+ start: start,
+ previousManual: manualLensPosition ? { left: manualLensPosition.left, top: manualLensPosition.top } : null,
+ moved: false
+ };
+ chip.setAttribute('data-panel-dragging', 'true');
+ try { moveBtn.setPointerCapture(event.pointerId); } catch (_) {}
+ }
+ function moveLensDrag(event) {
+ if (!lensDrag || lensDrag.pointerId !== event.pointerId) return;
+ var dx = event.clientX - lensDrag.originX;
+ var dy = event.clientY - lensDrag.originY;
+ if (!lensDrag.moved && Math.hypot(dx, dy) <= 3) return;
+ lensDrag.moved = true;
+ event.preventDefault();
+ event.stopPropagation();
+ applyManualLensPosition({ left: lensDrag.start.left + dx, top: lensDrag.start.top + dy });
+ }
+ function finishLensDrag(event, cancel) {
+ if (!lensDrag || lensDrag.pointerId !== event.pointerId) return;
+ event.preventDefault();
+ event.stopPropagation();
+ var activeDrag = lensDrag;
+ lensDrag = null;
+ chip.removeAttribute('data-panel-dragging');
+ try { moveBtn.releasePointerCapture(event.pointerId); } catch (_) {}
+ if (!cancel) return;
+ manualLensPosition = activeDrag.previousManual
+ ? { left: activeDrag.previousManual.left, top: activeDrag.previousManual.top }
+ : null;
+ if (manualLensPosition && manualLensPlacementAvailable()) {
+ applyManualLensPosition(manualLensPosition);
+ } else {
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ chip.style.removeProperty('top');
+ if (!chip.hidden) requestLensPlacement();
+ }
+ }
+ function moveLensWithKeyboard(event) {
+ if (event.key === 'Home') {
+ event.preventDefault();
+ resetLensPlacement();
+ return;
+ }
+ if (event.metaKey || event.ctrlKey || event.altKey || !manualLensPlacementAvailable()) return;
+ var directions = {
+ ArrowLeft: [-1, 0],
+ ArrowRight: [1, 0],
+ ArrowUp: [0, -1],
+ ArrowDown: [0, 1]
+ };
+ var direction = directions[event.key];
+ if (!direction) return;
+ event.preventDefault();
+ var current = manualLensPosition || currentLensPosition();
+ if (!current) return;
+ var distance = event.shiftKey ? 4 : 16;
+ applyManualLensPosition({
+ left: current.left + direction[0] * distance,
+ top: current.top + direction[1] * distance
+ });
+ }
var lensFrame = 0;
function placeRelationshipLens() {
- lensFrame = 0;
+ if (lensFrame) {
+ cancelAnimationFrame(lensFrame);
+ lensFrame = 0;
+ }
if (chip.hidden || activeIds.length !== 1) return;
var node = svg.querySelector('[data-node-id="' + activeIds[0] + '"]');
if (!node) return;
@@ -8560,8 +8940,15 @@
var visibleBottom = Math.min(containerRect.height - padding, window.innerHeight - containerRect.top - padding);
var maxTop = Math.max(padding, visibleBottom - chip.offsetHeight);
var minTop = Math.min(visibleTop, maxTop);
- var nodeCenter = nodeRect.top - containerRect.top + nodeRect.height / 2;
var mobile = window.innerWidth <= 720;
+ if (!manualLensPlacementAvailable()) {
+ chip.removeAttribute('data-manual-placement');
+ chip.style.removeProperty('left');
+ } else if (manualLensPosition) {
+ applyManualLensPosition(manualLensPosition);
+ return;
+ }
+ var nodeCenter = nodeRect.top - containerRect.top + nodeRect.height / 2;
var previewingOnMobile = mobile && chip.getAttribute('data-relationship-previewing') === 'true';
var compactOnMobile = mobile && chip.getAttribute('data-relations-expanded') !== 'true';
var preferred;
@@ -8632,6 +9019,12 @@
}
function clear(options) {
options = options || {};
+ if (lensDrag) {
+ var dragPointerId = lensDrag.pointerId;
+ lensDrag = null;
+ chip.removeAttribute('data-panel-dragging');
+ try { moveBtn.releasePointerCapture(dragPointerId); } catch (_) {}
+ }
var restoreNode = options.restoreFocus === true && activeIds.length === 1
? svg.querySelector('[data-node-id="' + activeIds[0] + '"]')
: null;
@@ -8679,7 +9072,7 @@
relationsBtn.setAttribute('aria-label', viewerText('viewer.passport.relations.show'));
relationsBtn.setAttribute('aria-expanded', 'false');
chip.removeAttribute('data-relations-expanded');
- chip.style.removeProperty('top');
+ if (options.preserveLensPlacement !== true) resetLensPlacement({ reposition: false });
if (options.preserveView !== true && Archify.view && typeof Archify.view.reset === 'function') {
Archify.view.reset({ automatic: true });
}
@@ -8702,7 +9095,7 @@
Archify.routeProbe.clear({ updateUrl: false, restoreFocus: false });
}
var nodeList = nodes();
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var normalized = [];
(ids || []).forEach(function (id) {
@@ -8714,10 +9107,11 @@
return true;
}
- clear({ updateUrl: false, preserveView: true });
+ var preserveLensPlacement = activeIds.length === 1 && normalized.length === 1 && !chip.hidden;
+ clear({ updateUrl: false, preserveView: true, preserveLensPlacement: preserveLensPlacement });
activeIds = normalized;
- var selected = {};
- var related = {};
+ var selected = Object.create(null);
+ var related = Object.create(null);
var seenEdges = {};
var matchedEdges = 0;
normalized.forEach(function (id) { selected[id] = true; related[id] = true; });
@@ -8749,7 +9143,7 @@
chip.hidden = options.hideChip === true || normalized.length !== 1 || selectionMode;
if (!chip.hidden) {
renderRelationshipLens(normalized[0], byId);
- requestLensPlacement();
+ placeRelationshipLens();
}
if (options.updateUrl !== false) {
var key = options.urlKey || 'focus';
@@ -8823,6 +9217,17 @@
Archify.view.reveal([id], { includeNeighbors: true, reason: 'focus' });
}
});
+ moveBtn.addEventListener('pointerdown', beginLensDrag);
+ moveBtn.addEventListener('pointermove', moveLensDrag);
+ moveBtn.addEventListener('pointerup', function (event) { finishLensDrag(event, false); });
+ moveBtn.addEventListener('pointercancel', function (event) { finishLensDrag(event, true); });
+ moveBtn.addEventListener('lostpointercapture', function (event) { finishLensDrag(event, true); });
+ moveBtn.addEventListener('dblclick', function (event) {
+ event.preventDefault();
+ event.stopPropagation();
+ resetLensPlacement();
+ });
+ moveBtn.addEventListener('keydown', moveLensWithKeyboard);
clearBtn.addEventListener('click', function () { clear({ restoreFocus: true }); });
copyBtn.addEventListener('click', copyFocusLink);
upstreamBtn.addEventListener('click', function () { applyReachability('upstream'); });
@@ -8835,7 +9240,7 @@
relationsBtn.setAttribute('aria-label', viewerText(expanded
? 'viewer.passport.relations.show'
: 'viewer.passport.relations.hide'));
- requestLensPlacement();
+ placeRelationshipLens();
});
relationshipList.addEventListener('click', function (event) {
var button = event.target.closest('[data-relationship-target]');
@@ -8951,7 +9356,7 @@
reachabilitySnapshot: reachabilitySnapshot,
inspectRelationship: inspectRelationship,
inspectRelationshipById: inspectRelationshipById,
- reposition: requestLensPlacement,
+ reposition: placeRelationshipLens,
relationship: function () {
var record = pinnedRelationshipRecord();
return record ? { id: record.id || null, key: record.key, from: record.from, to: record.to, label: record.label } : null;
@@ -9068,7 +9473,7 @@
clear({ announce: false });
var nodeList = nodes();
var edgeList = edges();
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
var selected = byId[id];
if (!selected) return false;
@@ -9077,7 +9482,7 @@
overlay.setAttribute('class', 'intent-trace-overlay');
overlay.setAttribute('data-intent-trace-overlay', '');
overlay.setAttribute('aria-hidden', 'true');
- var related = {};
+ var related = Object.create(null);
var seen = {};
var counts = { out: 0, in: 0, loop: 0 };
related[id] = true;
@@ -9248,12 +9653,12 @@
try { views = JSON.parse(data.textContent || '[]'); } catch (_) { views = []; }
if (!views.length) return { count: 0, active: function () { return null; } };
- var canonicalNodeIds = {};
+ var canonicalNodeIds = Object.create(null);
Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {
canonicalNodeIds[node.getAttribute('data-node-id')] = true;
});
views.forEach(function (view) {
- var seen = {};
+ var seen = Object.create(null);
view.focus = (view.focus || []).filter(function (id) {
if (!canonicalNodeIds[id] || seen[id]) return false;
seen[id] = true;
@@ -9282,8 +9687,8 @@
function chapterDelta(previous, destination) {
var previousFocus = previous ? previous.focus : [];
var destinationFocus = destination ? destination.focus : [];
- var previousIds = {};
- var destinationIds = {};
+ var previousIds = Object.create(null);
+ var destinationIds = Object.create(null);
previousFocus.forEach(function (id) { previousIds[id] = true; });
destinationFocus.forEach(function (id) { destinationIds[id] = true; });
return {
@@ -9295,7 +9700,7 @@
function chapterAnchor(previous, destination, outgoingBeatIndex, delta) {
if (!previous || !destination) return '';
- var stayIds = {};
+ var stayIds = Object.create(null);
delta.stay.forEach(function (id) { stayIds[id] = true; });
var activeBeat = outgoingBeatIndex >= 0 ? previous.focus[outgoingBeatIndex] : '';
if (activeBeat && stayIds[activeBeat]) return activeBeat;
@@ -9313,7 +9718,7 @@
}
function classifyHandoff(delta, anchor) {
- var roles = {};
+ var roles = Object.create(null);
delta.stay.forEach(function (id) { roles[id] = 'stay'; });
delta.enter.forEach(function (id) { roles[id] = 'enter'; });
delta.leave.forEach(function (id) { roles[id] = 'leave'; });
@@ -9630,7 +10035,7 @@
if (activePreviewIndex === index && svg.getAttribute('data-chapter-preview') === views[index].id) return true;
clearChapterPreviewPresentation();
var delta = chapterDelta(activeIndex >= 0 ? views[activeIndex] : null, views[index]);
- var roles = {};
+ var roles = Object.create(null);
delta.stay.forEach(function (id) { roles[id] = 'stay'; });
delta.enter.forEach(function (id) { roles[id] = 'enter'; });
delta.leave.forEach(function (id) { roles[id] = 'leave'; });
@@ -10284,7 +10689,7 @@
var nodeList = Array.prototype.slice.call(svg.querySelectorAll('[data-node-id]'));
var edgeList = Array.prototype.slice.call(svg.querySelectorAll('[data-edge-from][data-edge-to]'));
- var byId = {};
+ var byId = Object.create(null);
nodeList.forEach(function (node) { byId[node.getAttribute('data-node-id')] = node; });
storySteps = view.focus.map(function (_, index) { return storyStep(view, index, edgeList, byId); });
var labels = [];
@@ -10917,11 +11322,13 @@
/* ============================================================
Adaptive Reader Shell — one diagram across laptop and monitor.
The canonical SVG and viewBox never change. On ordinary desktop pages,
- wide diagrams receive only enough outer width to use the available
+ wide diagrams and measured intrinsic tall workflows receive enough outer width to use the available
height without pushing summary cards below the viewport. Mobile,
- embed, presentation, print, and non-wide diagrams retain their own
+ embed, presentation, print, and unmarked non-wide diagrams retain their own
established layout contracts.
============================================================ */
+ // Fixed script-private participants; the CLI sees only the joint wait below.
+ const archifyLayoutOwners = { reader: null, viewerChrome: null };
Archify.waitForStableLayout = function (options) {
options = options || {};
var maximumFrames = Math.max(1, Number(options.maximumFrames) || 240);
@@ -10973,6 +11380,7 @@
var cards = shell && shell.querySelector('.cards');
var viewBox = svg && svg.viewBox && svg.viewBox.baseVal;
var ratio = viewBox && viewBox.height > 0 ? viewBox.width / viewBox.height : 0;
+ var measuredHeightFit = svg && svg.getAttribute('data-reader-fit') === 'intrinsic-height';
var frame = 0;
var settleFrame = 0;
var lastWidth = 0;
@@ -10980,6 +11388,11 @@
var MIN_DESKTOP_WIDTH = 1024;
var MIN_READER_WIDTH = 960;
var MAX_READER_WIDTH = 1920;
+ var MIN_PROJECTED_NODE_TEXT_PX = 6;
+ var declaredMinimumText = svg ? parseFloat(svg.getAttribute('data-reader-min-text') || '') : null;
+ var requestedMinimumText = Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_PROJECTED_NODE_TEXT_PX, declaredMinimumText)
+ : MIN_PROJECTED_NODE_TEXT_PX;
var SAFE_BOTTOM_GAP = 12;
if (diagram && ratio >= WIDE_RATIO) {
@@ -10999,9 +11412,28 @@
var style = window.getComputedStyle(element);
return element.getBoundingClientRect().height + number(style.marginTop) + number(style.marginBottom);
}
+ function minimumReadableScale() {
+ var sourceMinimum = null;
+ var selectors = [
+ 'text[data-node-label], text[data-boundary-label], text[data-detail="context"]'
+ ];
+ if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ selectors.push('g[data-detail="context"][data-edge-from][data-edge-to] > text');
+ }
+ Array.from(svg.querySelectorAll(selectors.join(', '))).forEach(function (text) {
+ if (text.getAttribute('data-detail') === 'context' && !text.closest('[data-node-id]')) return;
+ var sourceFontPx = parseFloat(text.getAttribute('font-size') || '');
+ if (Number.isFinite(sourceFontPx)) {
+ sourceMinimum = sourceMinimum == null ? sourceFontPx : Math.min(sourceMinimum, sourceFontPx);
+ }
+ });
+ return sourceMinimum != null
+ ? Math.min(1, requestedMinimumText / sourceMinimum)
+ : 1;
+ }
function eligible() {
return Boolean(
- shell && diagram && svg && ratio >= WIDE_RATIO &&
+ shell && diagram && svg && (ratio >= WIDE_RATIO || measuredHeightFit) &&
window.innerWidth >= MIN_DESKTOP_WIDTH &&
html.getAttribute('data-embed') !== 'true' &&
html.getAttribute('data-present') !== 'true' &&
@@ -11026,8 +11458,8 @@
number(diagramStyle.borderTopWidth) + number(diagramStyle.borderBottomWidth)
};
}
- function applyWidth(width) {
- var rounded = Math.round(width);
+ function applyWidth(width, minWidth) {
+ var rounded = Math.max(Math.ceil(minWidth || 0), Math.round(width));
if (Math.abs(rounded - lastWidth) < 1) return false;
lastWidth = rounded;
html.style.setProperty('--archify-reader-width', rounded + 'px');
@@ -11043,8 +11475,8 @@
document.documentElement.scrollHeight,
document.body.scrollHeight
) - window.innerHeight;
- if (overflow > 1 && lastWidth > minWidth) {
- applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4));
+ if (overflow > 1 && lastWidth > Math.ceil(minWidth)) {
+ applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);
html.setAttribute('data-reader-overflow', 'reduced');
} else if (overflow > 1) {
html.setAttribute('data-reader-overflow', 'authored');
@@ -11061,18 +11493,33 @@
}
var chrome = chromeMetrics();
var viewportCap = Math.max(0, window.innerWidth - chrome.bodyX);
- var minWidth = Math.min(MIN_READER_WIDTH, viewportCap);
+ var readableWidth = viewBox && viewBox.width > 0
+ ? viewBox.width * minimumReadableScale() + chrome.diagramX
+ : MIN_READER_WIDTH;
var maxWidth = Math.min(MAX_READER_WIDTH, viewportCap);
+ var readableMinimumWidth = measuredHeightFit && ratio < WIDE_RATIO
+ ? readableWidth
+ : measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)
+ ? Math.max(MIN_READER_WIDTH, readableWidth)
+ : MIN_READER_WIDTH;
+ var minWidth;
+ if (measuredHeightFit && ratio < WIDE_RATIO) {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ } else if (measuredHeightFit && ratio >= WIDE_RATIO && Number.isFinite(declaredMinimumText)) {
+ minWidth = Math.min(readableMinimumWidth, maxWidth);
+ } else {
+ minWidth = Math.min(readableMinimumWidth, viewportCap);
+ }
var fixedHeight = chrome.bodyY + chrome.diagramY + SAFE_BOTTOM_GAP +
outerHeight(header) + outerHeight(guided) + outerHeight(cards);
var availableSvgHeight = Math.max(1, window.innerHeight - fixedHeight);
var desiredWidth = availableSvgHeight * ratio + chrome.diagramX;
var width = Math.max(minWidth, Math.min(maxWidth, desiredWidth));
- applyWidth(width);
+ applyWidth(width, minWidth);
settleOverflow(minWidth);
return {
ratio: ratio,
- width: Math.round(width),
+ width: lastWidth,
availableSvgHeight: Math.round(availableSvgHeight),
fixedHeight: Math.round(fixedHeight)
};
@@ -11098,14 +11545,16 @@
Math.round(diagramRect.height * 100) / 100
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Adaptive reader layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.reader = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', schedule, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11400,14 +11849,16 @@
lastReceipt ? lastReceipt.stageGap : ''
].join('|');
}
+ function layoutPending() { return Boolean(frame || settleFrame || probingBaseline); }
function whenStable() {
return Archify.waitForStableLayout({
schedule: schedule,
- pending: function () { return Boolean(frame || settleFrame || probingBaseline); },
+ pending: layoutPending,
snapshot: stableSnapshot,
timeoutMessage: 'Viewer chrome layout did not reach stable dimensions.'
});
}
+ archifyLayoutOwners.viewerChrome = { schedule: schedule, pending: layoutPending, snapshot: stableSnapshot };
window.addEventListener('resize', reprobe, { passive: true });
window.addEventListener('load', schedule, { once: true });
@@ -11443,6 +11894,49 @@
};
})();
+ Archify.layoutStability = {
+ whenStable: function () {
+ var reader = archifyLayoutOwners.reader;
+ var chrome = archifyLayoutOwners.viewerChrome;
+ if (!reader || !chrome) {
+ return Promise.reject(new Error('Joint layout owners are unavailable.'));
+ }
+ var observedFontsReady = document.fonts && document.fonts.ready;
+ var fontCyclePending = false;
+ var fontGeneration = 0;
+ function scheduleOwners() { reader.schedule(); chrome.schedule(); }
+ function fontsPending() {
+ var fonts = document.fonts;
+ var ready = fonts && fonts.ready;
+ if (ready && (ready !== observedFontsReady || (fonts.status === 'loading' && !fontCyclePending))) {
+ observedFontsReady = ready;
+ fontCyclePending = true;
+ var generation = ++fontGeneration;
+ ready.catch(function () {}).then(function () {
+ if (generation !== fontGeneration) return;
+ fontCyclePending = false;
+ scheduleOwners();
+ });
+ }
+ return fontCyclePending || Boolean(fonts && fonts.status === 'loading');
+ }
+ return Archify.waitForStableLayout({
+ maximumFrames: 960,
+ schedule: scheduleOwners,
+ pending: function () {
+ // Recapture readiness for font cycles that begin during sampling.
+ return fontsPending() || reader.pending() || chrome.pending();
+ },
+ snapshot: function () {
+ return JSON.stringify([
+ ['reader', reader.snapshot()],
+ ['viewerChrome', chrome.snapshot()]
+ ]);
+ },
+ timeoutMessage: 'Joint reader and viewer chrome layout did not reach stable dimensions.'
+ });
+ }
+ };
Archify.view = (function () {
var container = document.querySelector('.diagram-container');
var svg = container.querySelector('svg');
@@ -11735,8 +12229,8 @@
return true;
}
function semanticIds(ids, includeNeighbors) {
- var seeds = {};
- var wanted = {};
+ var seeds = Object.create(null);
+ var wanted = Object.create(null);
(ids || []).forEach(function (id) { seeds[id] = true; wanted[id] = true; });
if (includeNeighbors) {
Array.prototype.forEach.call(svg.querySelectorAll('[data-edge-from][data-edge-to]'), function (edge) {
@@ -13204,7 +13698,7 @@
}
function outgoingByNode() {
var byId = nodesById();
- var outgoing = {};
+ var outgoing = Object.create(null);
edges().forEach(function (edge) {
var from = edge.getAttribute('data-edge-from');
var to = edge.getAttribute('data-edge-to');
@@ -13216,7 +13710,7 @@
}
function reachableFrom(source) {
var outgoing = outgoingByNode();
- var reached = {};
+ var reached = Object.create(null);
var queue = [source];
reached[source] = true;
for (var cursor = 0; cursor < queue.length; cursor += 1) {
@@ -13231,7 +13725,7 @@
}
function hopDistancesFrom(source) {
var outgoing = outgoingByNode();
- var distances = {};
+ var distances = Object.create(null);
var queue = [source];
distances[source] = 0;
for (var cursor = 0; cursor < queue.length; cursor += 1) {
@@ -13247,7 +13741,7 @@
function shortestDirectedPath(source, target) {
if (source === target) return null;
var outgoing = outgoingByNode();
- var previous = {};
+ var previous = Object.create(null);
var queue = [source];
previous[source] = null;
for (var cursor = 0; cursor < queue.length && !Object.prototype.hasOwnProperty.call(previous, target); cursor += 1) {
@@ -13777,7 +14271,7 @@
var sourceIds = nodes().map(function (node) { return node.getAttribute('data-node-id'); }).filter(function (id) {
return outgoing[id] && outgoing[id].length;
});
- var sourceBadges = {};
+ var sourceBadges = Object.create(null);
sourceIds.forEach(function (id) { sourceBadges[id] = viewerText('viewer.route.finder.source.badge'); });
return {
kind: 'route-source',
@@ -13793,7 +14287,7 @@
if (mode === 'target' && startId && byId[startId]) {
var distances = hopDistancesFrom(startId);
var targetIds = Object.keys(distances).filter(function (id) { return id !== startId && byId[id]; });
- var targetBadges = {};
+ var targetBadges = Object.create(null);
targetIds.forEach(function (id) {
targetBadges[id] = viewerCount('viewer.route.hop', distances[id]);
});
@@ -14002,7 +14496,7 @@
var MAX_LENS_FLOW_EDGES = 24;
function nodesById() {
- var byId = {};
+ var byId = Object.create(null);
Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-node-kind]'), function (node) {
var id = node.getAttribute('data-node-id');
if (id && !byId[id]) byId[id] = node;
@@ -14169,7 +14663,7 @@
return (byId[id].getAttribute('data-node-kind') || 'neutral') === kind;
});
if (!matches.length) return false;
- var chosen = {};
+ var chosen = Object.create(null);
matches.forEach(function (id) {
chosen[id] = true;
byId[id].setAttribute('data-legend-preview-match', '');
@@ -14345,7 +14839,7 @@
options = options || {};
cleanSvgState();
var byId = nodesById();
- var nodeKind = {};
+ var nodeKind = Object.create(null);
Object.keys(byId).forEach(function (id) { nodeKind[id] = byId[id].getAttribute('data-node-kind') || 'neutral'; });
if (!selectedKinds.length) {
status.textContent = viewerText('viewer.lens.choose');