.sd-stack-graph{--sg-bg:#141210;--sg-ink:#f4f4f4;--sg-muted:#9a9590;--sg-line:#5c5752;--sg-accent:#b85825;--sg-panel:#1c1916;position:relative;display:grid;grid-template-rows:auto 1fr auto;height:min(78vh,840px);min-height:480px;min-width:0;margin:1rem 0 2rem;border:1px solid var(--sg-line);background:var(--sg-bg);color:var(--sg-ink);overflow:hidden;font-family:Departure Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}html.light .sd-stack-graph,html[data-theme=light] .sd-stack-graph{--sg-bg:#f4f4f4;--sg-ink:#111111;--sg-muted:#595959;--sg-line:#b0aaa4;--sg-panel:#eceae6}.sd-stack-hud,.sd-stack-status{display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-items:center;min-width:0;padding:.55rem .75rem;background:var(--sg-panel);border-bottom:1px solid var(--sg-line)}.sd-stack-status{border-bottom:0;border-top:1px solid var(--sg-line);color:var(--sg-muted);font-size:12px}.sd-stack-hud button,.sd-stack-hud input,.sd-stack-hud select{font:inherit;color:inherit;background:var(--sg-bg);border:1px solid var(--sg-line);border-radius:0;min-height:44px;padding:0 .7rem}.sd-stack-hud input{min-width:12rem;flex:1 1 12rem}.sd-stack-hud button[aria-pressed=true]{border-color:var(--sg-accent);color:var(--sg-accent)}.sd-stack-hud button:focus-visible,.sd-stack-hud input:focus-visible,.sd-stack-hud select:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}.sd-stack-stage{position:relative;min-width:0;min-height:0}.sd-stack-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.sd-stack-stage canvas:active{cursor:grabbing}.sd-stack-inspector{position:absolute;top:.6rem;right:.6rem;width:min(22rem,calc(100% - 1.2rem));max-height:calc(100% - 1.2rem);overflow:auto;padding:.75rem;background:var(--sg-panel);border:1px solid var(--sg-line);min-width:0}.sd-stack-inspector h2{margin:0 0 .4rem;font-size:14px;font-weight:650}.sd-stack-inspector dl{display:grid;grid-template-columns:6.5rem 1fr;gap:.25rem .6rem;margin:.4rem 0}.sd-stack-inspector dt{color:var(--sg-muted)}.sd-stack-inspector dd{margin:0;min-width:0;overflow-wrap:anywhere}.sd-stack-inspector ul{margin:.3rem 0 0;padding-left:1.1rem}.sd-stack-close{float:right;min-height:44px}.sd-explorer{display:grid;grid-template-columns:11rem 17rem 1fr;min-height:0;height:100%}.sd-explorer-detail,.sd-explorer-layers,.sd-explorer-list{overflow-y:auto;min-height:0;padding:.75rem}.sd-explorer-layers,.sd-explorer-list{border-right:1px solid var(--sg-line)}.sd-explorer-layers button{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;width:100%;min-height:36px;padding:.3rem .5rem;font:inherit;color:inherit;background:transparent;border:1px solid transparent;border-radius:0;text-align:left;cursor:pointer}.sd-explorer-layers button[aria-pressed=true]{border-color:var(--sg-accent);color:var(--sg-accent)}.sd-explorer-count{color:var(--sg-muted);font-size:11px}.sd-explorer-detail h3,.sd-explorer-list h3{margin:.9rem 0 .35rem;color:var(--sg-muted);font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.08em}.sd-explorer-list section:first-child h3{margin-top:0}.sd-explorer-detail ul,.sd-explorer-list ul{list-style:none;margin:0;padding:0}.sd-explorer-list li{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.sd-explorer-kind{color:var(--sg-muted);font-size:11px}.sd-explorer-node{display:inline-flex;align-items:center;gap:.4rem;min-height:32px;padding:.15rem .35rem;font:inherit;color:inherit;background:transparent;border:1px solid transparent;border-radius:0;text-align:left;cursor:pointer}.sd-explorer-node:hover{border-color:var(--sg-line)}.sd-explorer-node-strong{border-color:var(--sg-accent);color:var(--sg-accent)}.sd-explorer-dot{flex:none;width:8px;height:8px;border-radius:50%}.sd-explorer-tag{border:1px dashed var(--sg-muted);color:var(--sg-muted);font-size:10px;padding:0 .3rem}.sd-explorer-detail h2{margin:0 0 .5rem;font-size:1.05rem}.sd-explorer-detail dl{display:grid;grid-template-columns:auto 1fr;gap:.1rem .75rem;margin:0 0 .75rem}.sd-explorer-detail dt{color:var(--sg-muted)}.sd-explorer-detail dd{margin:0}.sd-explorer-sources li{color:var(--sg-muted);font-size:12px;overflow-wrap:anywhere}.sd-explorer-hop li{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem;padding:.15rem 0}.sd-explorer-rel{color:var(--sg-muted);white-space:nowrap}.sd-explorer-dashed .sd-explorer-rel{border-bottom:1px dashed var(--sg-muted)}.sd-explorer-dashed{opacity:.75}.sd-explorer-hint{color:var(--sg-muted);max-width:42ch;padding:.5rem 0}.sd-explorer-layers button:focus-visible,.sd-explorer-node:focus-visible{outline:2px solid var(--sg-accent);outline-offset:1px}@media (max-width:900px){.sd-explorer{grid-template-columns:1fr;grid-template-rows:auto minmax(10rem,1fr) auto}.sd-explorer-layers,.sd-explorer-list{border-right:0;border-bottom:1px solid var(--sg-line)}.sd-explorer-layers{display:flex;flex-wrap:wrap;gap:.25rem}.sd-explorer-layers button{width:auto}}.sd-stack-msg{padding:1.5rem}.sd-stack-hits{display:flex;flex-wrap:wrap;gap:.35rem}.sd-stack-hits button{min-height:36px}@media (max-width:720px){.sd-stack-graph{height:min(88vh,920px)}.sd-stack-inspector{position:static;width:auto;max-height:40%;border-left:0;border-right:0}.sd-stack-stage{display:grid;grid-template-rows:1fr auto}}.sd-dag{position:relative;width:100%;height:100%}.sd-dag canvas{width:100%;height:100%;display:block;cursor:grab}.sd-dag canvas:active{cursor:grabbing}.sd-dag-tip{position:absolute;z-index:6;max-width:22rem;background:var(--sg-panel,#1c1a17);border:1px solid var(--sg-line,#3a3733);padding:.55rem .7rem;font-family:Departure Mono,ui-monospace,monospace;font-size:.72rem;line-height:1.45;color:var(--sg-ink,#f4f4f4);pointer-events:none;box-shadow:0 6px 24px rgba(0,0,0,.45)}.sd-dag-tip-flip{transform:translateX(calc(-100% - 28px))}.sd-dag-tip h3{margin:0 0 .2rem;font-size:.78rem;font-weight:600}.sd-dag-tip-ticker{margin-left:.45rem;color:var(--sg-accent,#b85825)}.sd-dag-tip-rel{color:var(--sg-accent,#b85825);font-weight:400}.sd-dag-tip-meta{color:var(--sg-muted,#9a9590);margin-bottom:.3rem}.sd-dag-tip-chips{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.3rem}.sd-dag-chip{border:1px solid var(--sg-line,#3a3733);padding:0 .35rem;color:var(--sg-muted,#9a9590)}.sd-dag-chip-concept{color:#111111;background:var(--sg-muted,#9a9590);border-color:var(--sg-muted,#9a9590)}.sd-dag-tip p{margin:.25rem 0}.sd-dag-tip-src{color:var(--sg-muted,#9a9590);word-break:break-all;margin-top:.25rem}.sd-dag-tip-hint{margin-top:.35rem;color:var(--sg-accent,#b85825)}