/* /guides/shared-memory/: the diagram and the three-step loop.
   Colors are the breger.org brand sheet (/brand/): navy #062C57, blue #0B7ADB, green #60A33C,
   link blue #0A66BF, dark green #386F1C, text #12213A, pale blue #EEF4FB, gold #FEB022 (decor only). */
.sm-figure { margin: var(--pt-space-6) auto; max-inline-size: 34rem; }
.sm-figure svg { display: block; inline-size: 100%; block-size: auto; }
.sm-figure figcaption { margin-top: var(--pt-space-3); color: var(--pt-color-text-muted); font-size: var(--pt-text-sm, 0.9rem); text-align: center; }
.sm-svg { font-family: inherit; }
.sm-svg .sm-hub { fill: #EEF4FB; stroke: #0B7ADB; stroke-width: 2.5; }
.sm-svg .sm-file { fill: #FFFFFF; stroke: #B9CBE0; stroke-width: 1.2; }
.sm-svg .sm-node { fill: #FFFFFF; stroke: #0B7ADB; stroke-width: 1.5; }
.sm-svg .sm-node--you { fill: #062C57; stroke: none; }
.sm-svg .sm-node--people { fill: #EEF7E8; stroke: #60A33C; }
.sm-svg .sm-link { stroke: #0A66BF; stroke-width: 2; fill: none; }
.sm-svg .sm-loop { stroke: #386F1C; stroke-width: 2.5; fill: none; }
.sm-svg .sm-arrow { fill: #0A66BF; }
.sm-svg .sm-arrow--loop { fill: #386F1C; }
.sm-svg .sm-t { fill: #12213A; font-size: 15px; }
.sm-svg .sm-t--b { font-weight: 700; }
.sm-svg .sm-t--h { fill: #062C57; font-size: 18px; font-weight: 700; }
.sm-svg .sm-t--s { fill: #4A5B73; font-size: 13px; }
.sm-svg .sm-t--on { fill: #FFFFFF; font-weight: 700; font-size: 16px; }
.sm-svg .sm-t--loop { fill: #386F1C; font-weight: 700; font-size: 14px; }
.sm-steps { margin: var(--pt-space-5) 0; padding: 0; list-style: none; counter-reset: sm; display: grid; gap: var(--pt-space-3); }
.sm-steps li { counter-increment: sm; position: relative; padding: var(--pt-space-4) var(--pt-space-4) var(--pt-space-4) 3.6rem; background: var(--pt-color-surface); border: 1px solid var(--pt-color-border); border-radius: 14px; }
.sm-steps li::before { content: counter(sm); position: absolute; inset-inline-start: var(--pt-space-4); inset-block-start: var(--pt-space-4); inline-size: 1.9rem; block-size: 1.9rem; border-radius: 50%; background: #386F1C; color: #FFFFFF; font-weight: 700; display: grid; place-items: center; }
.sm-video { margin: var(--pt-space-5) auto; max-inline-size: 20rem; }
.sm-video figcaption { margin-top: var(--pt-space-3); color: var(--pt-color-text-muted); font-size: var(--pt-text-sm, 0.9rem); text-align: center; }
.sm-video video { display: block; inline-size: 100%; block-size: auto; border-radius: 14px; background: var(--pt-color-surface-alt); }
