@layer reset,tokens,base,layout,prose;@layer components{.sd-scene{gap:var(--space-4);font-family:var(--font-ui);border-radius:var(--radius-md);display:grid}.sd-scene:focus-visible{outline-offset:6px}.sd-scene-svg{width:100%;height:auto;overflow:visible}.sd-scene-stage{min-width:0}@media (width<=40rem){.sd-scene-stage{overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:var(--space-2);overflow-x:auto}.sd-scene-stage>.sd-scene-svg{min-width:var(--scene-min,0)}}.sd-node-shape{stroke:var(--node-stroke);fill:var(--node-fill);stroke-width:2.2px;transition:fill var(--dur-slow) var(--ease-out), stroke var(--dur-slow) var(--ease-out)}.sd-node.is-dim{--node-stroke:var(--color-border-strong)!important;--node-fill:var(--color-surface)!important}.sd-node.is-dim :is(.sd-node-label,.sd-node-sublabel,.sd-badge-text){fill:var(--color-text-faint)}.sd-node.is-dim :is(.sd-node-led,.sd-pulse,.sd-slow-ring,.sd-node-detail){opacity:.35}.sd-node :is(.sd-node-label,.sd-node-sublabel){transition:fill var(--dur-slow) var(--ease-out)}.sd-node-detail{stroke:var(--color-border-strong);stroke-width:1.6px;stroke-linecap:round}.sd-node-base{stroke:var(--node-stroke);stroke-width:2.2px;stroke-linecap:round;transition:stroke var(--dur-slow) var(--ease-out)}.sd-node-led{transition:fill var(--dur-slow) var(--ease-out)}.sd-node-cross{stroke-width:2.6px;stroke-linecap:round;fill:none}.sd-pulse,.sd-slow-ring{fill:none;stroke:var(--node-stroke);stroke-width:2.5px}.sd-slow-ring{stroke-dasharray:3 5;opacity:.85}:is(.sd-node-label,.sd-node-sublabel,.sd-region-label){paint-order:stroke;stroke:var(--color-stage);stroke-width:4px;stroke-linejoin:round}.sd-node-label.sd-in-box{stroke:none}.sd-code{font-family:var(--font-mono);border-radius:var(--radius-sm);background:color-mix(in oklab, var(--color-text) 7%, transparent);padding:.05em .35em;font-size:.86em}.sd-node-label{fill:var(--color-text);letter-spacing:.005em;font-size:13px;font-weight:600}.sd-node-label.sd-in-box{font-size:13.5px}.sd-node-sublabel{fill:var(--color-text-muted);font-size:11.5px}.sd-status-down .sd-node-label{fill:var(--color-text-faint)}.sd-badge{stroke-width:1.2px}.sd-badge-text{fill:var(--color-text);font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.sd-link{stroke:var(--color-border-strong);stroke-width:1.6px;transition:stroke var(--dur-slow) var(--ease-out)}.sd-link-cut{stroke:color-mix(in oklab, var(--color-danger) 60%, transparent);stroke-dasharray:4 6}.sd-link-hot{stroke:var(--color-accent);stroke-width:2.4px}.sd-region{stroke-width:1.2px;stroke-dasharray:5 5;transition:stroke var(--dur-slow) var(--ease-out), fill var(--dur-slow) var(--ease-out)}.sd-region-wall{stroke-width:1px}.sd-hatch{stroke:color-mix(in oklab, var(--role-partition) 55%, transparent);stroke-width:3px}.sd-region-label{letter-spacing:.08em;text-transform:uppercase;fill:var(--color-text-faint);font-size:11px;font-weight:600}.sd-msg-request{fill:var(--role-msg-request)}.sd-msg-reply{fill:var(--color-stage);stroke:var(--role-msg-reply);stroke-width:2.6px}.sd-msg-bad{fill:var(--color-danger)}.sd-msg-drop{stroke:var(--color-danger);stroke-width:2.8px;stroke-linecap:round;fill:none}.sd-figure-stage{min-width:0}.sd-figure-stage.is-scroll{overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:var(--space-2);overflow-x:auto}.sd-scene-footer{gap:var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--color-border);display:grid}.sd-caption{gap:var(--space-3);align-items:baseline;min-height:3.2em;display:flex}.sd-caption p{font-family:var(--font-prose);font-size:var(--step-0);line-height:var(--leading-snug);color:var(--color-text);text-wrap:pretty}.sd-step-count{font-size:var(--step--2);font-weight:var(--weight-semibold);color:var(--color-text-faint);flex:none;min-width:2.4em}.sd-controls{align-items:center;gap:var(--space-2);display:flex}.sd-btn{border-radius:var(--radius-pill);border:1px solid var(--color-border);background:var(--color-bg);width:2.5rem;height:2.5rem;color:var(--color-text-muted);cursor:pointer;transition:color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);place-items:center;display:grid}.sd-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.sd-btn svg .sd-fill{fill:currentColor;stroke:none}.sd-btn:hover:not(:disabled){color:var(--color-text);border-color:var(--color-border-strong)}.sd-btn:disabled{opacity:.35;cursor:default}.sd-btn-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-bg)}.sd-btn-primary:hover:not(:disabled){color:var(--color-bg);border-color:var(--color-accent);filter:brightness(1.08)}.sd-dots{margin-left:var(--space-3);flex-wrap:wrap;gap:6px;display:flex}.sd-dot{border-radius:var(--radius-pill);background:var(--color-border-strong);cursor:pointer;width:8px;height:8px;transition:width var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);border:0;padding:0}.sd-dot.is-past{background:color-mix(in oklab, var(--color-accent) 45%, var(--color-border-strong))}.sd-dot.is-active{background:var(--color-accent);width:22px}.sd-dot{position:relative}.sd-dot:after{content:"";position:absolute;inset:-8px -3px}.sd-term{font-family:var(--font-ui);color:color-mix(in oklab, var(--term) 78%, var(--color-text));font-size:.92em;font-weight:500}.sd-term-lead{white-space:nowrap}.sd-term-glyph{background:var(--term);vertical-align:.04em;border-radius:50%;width:.6em;height:.6em;margin-right:.28em;display:inline-block}.sd-recall{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));display:grid}.sd-card{perspective:1200px;cursor:pointer;text-align:left;border-radius:var(--radius-lg);background:0 0;border:0;min-height:12rem;padding:0}.sd-card-inner{height:100%;min-height:12rem;transform-style:preserve-3d;display:grid}.sd-card-face{gap:var(--space-3);padding:var(--space-5);border-radius:var(--radius-lg);border:1px solid var(--color-border);-webkit-backface-visibility:hidden;backface-visibility:hidden;flex-direction:column;grid-area:1/1;display:flex}.sd-card-front{background:var(--color-stage);box-shadow:0 14px 30px -24px color-mix(in oklab, var(--color-shadow) 60%, transparent)}.sd-card-back{background:color-mix(in oklab, var(--color-accent) 8%, var(--color-stage));border-color:color-mix(in oklab, var(--color-accent) 30%, var(--color-border));transform:rotateY(180deg)}.sd-card-kicker{font-family:var(--font-ui);font-size:var(--step--2);letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-faint);font-weight:600}.sd-card-back .sd-card-kicker{color:var(--color-accent)}.sd-card-text{font-family:var(--font-prose);font-size:var(--step-0);line-height:var(--leading-snug);color:var(--color-text)}.sd-card-hint{font-family:var(--font-ui);font-size:var(--step--2);color:var(--color-text-faint);margin-top:auto}.sd-card:hover .sd-card-front{border-color:var(--color-border-strong)}.sd-keynumber{gap:var(--space-1);display:grid}.sd-keynumber-value{font-family:var(--font-ui);font-size:var(--step-4);letter-spacing:-.035em;color:var(--color-text);font-weight:600;line-height:1}.sd-keynumber-label{font-family:var(--font-ui);font-size:var(--step--1);color:var(--color-text-muted);line-height:var(--leading-snug)}@media (width<=40rem){.sd-node-text.is-boxed .sd-node-label{font-size:15.5px}.sd-region-label{font-size:14px}}.txn-svg{width:100%;height:auto;font-family:var(--font-ui);overflow:visible}.txn-svg text{font-variant-numeric:tabular-nums}.txn-svg .is-t1{--lane:var(--role-client)}.txn-svg .is-t2{--lane:var(--role-candidate)}.txn-svg .is-t3{--lane:var(--role-leader)}.txn-lane-bg{fill:color-mix(in oklab, var(--lane) 5%, var(--color-stage));stroke:color-mix(in oklab, var(--lane) 22%, var(--color-border));stroke-width:1px}.txn-lane-label{font-size:14px;font-weight:var(--weight-semibold);fill:color-mix(in oklab, var(--lane) 75%, var(--color-text))}.txn-lane-sub{fill:var(--color-text-muted);font-size:10.5px}.txn-life{stroke:color-mix(in oklab, var(--lane) 45%, transparent);stroke-width:3px;stroke-linecap:round}.txn-axis{stroke:var(--color-border-strong);stroke-width:1.2px;fill:none}.txn-axis-label{letter-spacing:.06em;fill:var(--color-text-faint);font-size:10.5px}.txn-chip{fill:var(--color-stage);stroke:var(--lane);stroke-width:1.5px;transition:stroke var(--dur-base) var(--ease-out), fill var(--dur-base) var(--ease-out)}.txn-chip-text{font-family:var(--font-mono);fill:var(--color-text);font-size:12px}.txn-op.is-write .txn-chip{fill:color-mix(in oklab, var(--lane) 22%, var(--color-stage))}.txn-op.is-lock .txn-chip{stroke-dasharray:4 3;fill:color-mix(in oklab, var(--lane) 8%, var(--color-stage))}.txn-op.is-commit .txn-chip{stroke:var(--role-committed);fill:color-mix(in oklab, var(--role-committed) 16%, var(--color-stage))}.txn-op.is-abort .txn-chip,.txn-op.tone-danger .txn-chip{stroke:var(--color-danger);fill:color-mix(in oklab, var(--color-danger) 12%, var(--color-stage))}.txn-op.is-abort .txn-chip{stroke-dasharray:5 3}.txn-op.tone-ok .txn-chip{stroke:var(--role-committed)}.txn-note-bg{fill:color-mix(in oklab, var(--lane) 5%, var(--color-stage))}.txn-op.is-note .txn-chip-text{font-family:var(--font-ui);fill:var(--color-text-muted);font-size:11.5px;font-style:italic}.txn-op.is-note.tone-danger .txn-chip-text{fill:var(--color-danger);font-style:normal;font-weight:var(--weight-medium)}.txn-op.is-note.tone-ok .txn-chip-text{fill:color-mix(in oklab, var(--role-committed) 80%, var(--color-text));font-style:normal}.txn-op.is-hit .txn-chip{stroke:var(--color-accent);stroke-width:2.5px;filter:drop-shadow(0 0 6px color-mix(in oklab, var(--color-accent) 55%, transparent))}.txn-wait-line{stroke:var(--lane);stroke-width:2px;stroke-dasharray:3 5;stroke-linecap:round}.txn-wait-text{fill:var(--color-text-muted);font-size:11px;font-style:italic}.txn-edge{--edge:var(--color-text-muted)}.txn-edge.tone-danger{--edge:var(--color-danger)}.txn-edge.tone-accent{--edge:var(--color-accent)}.txn-edge-path{fill:none;stroke:var(--edge);stroke-width:1.8px}.txn-edge-head{fill:var(--edge)}.txn-edge-pill{fill:var(--color-stage);stroke:color-mix(in oklab, var(--edge) 60%, transparent);stroke-width:1px}.txn-edge-text{font-size:10.5px;font-weight:var(--weight-semibold);fill:var(--edge)}.txn-rows-label{font-size:10.5px;font-weight:var(--weight-semibold);letter-spacing:.08em;text-transform:uppercase;fill:var(--color-text-faint)}.txn-row-bg{fill:color-mix(in oklab, var(--color-text) 3%, var(--color-stage));stroke:var(--color-border);stroke-width:1px}.txn-row-key{font-family:var(--font-mono);font-size:12.5px;font-weight:var(--weight-semibold);fill:var(--color-text);dominant-baseline:middle}.txn-ver{--ver:var(--role-committed)}.txn-ver.is-pending{--ver:var(--role-pending)}.txn-ver.is-old{--ver:var(--role-stale)}.txn-ver.is-dead{--ver:var(--color-danger)}.txn-ver-chip{fill:color-mix(in oklab, var(--ver) 16%, var(--color-stage));stroke:var(--ver);stroke-width:1.5px}.txn-ver.is-pending .txn-ver-chip{stroke-dasharray:4 3;fill:var(--color-stage)}.txn-ver.is-dead .txn-ver-chip{stroke-dasharray:2 3}.txn-ver.is-dead .txn-ver-text{text-decoration:line-through}.txn-ver.is-hit .txn-ver-chip{stroke:var(--color-accent);stroke-width:2.5px;filter:drop-shadow(0 0 6px color-mix(in oklab, var(--color-accent) 55%, transparent))}.txn-ver-text{font-family:var(--font-mono);fill:var(--color-text);font-size:12px}.txn-ver-tag{fill:var(--color-text-muted);font-size:10.5px}.txn-ver-arrow{fill:var(--color-text-faint);font-size:12px}.txn-verdict{--v:var(--color-text-muted)}.txn-verdict.tone-ok{--v:var(--role-committed)}.txn-verdict.tone-danger{--v:var(--color-danger)}.txn-verdict-bg{fill:color-mix(in oklab, var(--v) 12%, var(--color-stage));stroke:var(--v);stroke-width:1.5px}.txn-verdict-text{font-size:13px;font-weight:var(--weight-semibold);fill:color-mix(in oklab, var(--v) 70%, var(--color-text))}@media (width<=40rem){.txn-lane-sub,.txn-axis-label,.txn-op.is-note .txn-chip-text,.txn-wait-text,.txn-edge-text,.txn-rows-label,.txn-ver-tag,.txn-chip-text,.txn-ver-text,.txn-ver-arrow{font-size:12.5px}}.txn-svg.is-phone .txn-lane-sub,.txn-svg.is-phone .txn-axis-label,.txn-svg.is-phone .txn-wait-text,.txn-svg.is-phone .txn-edge-text,.txn-svg.is-phone .txn-rows-label,.txn-svg.is-phone .txn-ver-tag{font-size:11px}.txn-svg.is-phone .txn-chip-text,.txn-svg.is-phone .txn-ver-text,.txn-svg.is-phone .txn-ver-arrow,.txn-svg.is-phone .txn-verdict-text{font-size:12px}.txn-svg.is-phone .txn-op.is-note .txn-chip-text{font-size:11.5px}.txn-wait-text.is-halo{paint-order:stroke;stroke:color-mix(in oklab, var(--lane) 5%, var(--color-stage));stroke-width:4px;stroke-linejoin:round}}
