:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --bg: #000; --bg-soft: #232323; --surface: #0b0b0b; --text: #f4f4f4; --muted: #9b9b9b; --muted-strong: #d0d0d0; --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .14); --accent: #fff; --brand: #ff1515; color: var(--text); background: var(--bg); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100dvh; display: flex; flex-direction: column; }
header { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 24px 32px; border-bottom: 1px solid var(--line); background: #050505; }
a { color: var(--muted); text-decoration: none; font-size: 12px; }
a:hover { color: white; }
h1 { font-size: 25px; letter-spacing: -.6px; font-weight: 600; margin: 12px 0 6px; }
header p { font-size: 13px; color: var(--muted); margin: 0; }
.question-picker { display: grid; gap: 8px; width: min(470px, 45vw); padding: 11px 13px; border: 1px solid rgba(255, 90, 90, .42); border-left: 3px solid #ff5a5a; border-radius: 8px; background: rgba(255, 90, 90, .07); }
label { font-size: 11px; color: #ff8b8b; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
select { min-width: 0; width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg-soft); color: var(--text); font: inherit; font-size: 13px; }
.question-picker > span { font-size: 11px; color: var(--muted); }
a:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 290px; flex: 1; }
.graph-panel { min-width: 0; position: relative; display: flex; flex-direction: column; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; }
.graph-hover-hint { position: absolute; z-index: 1; top: 18px; left: 24px; display: grid; gap: 4px; width: 175px; margin: 0; padding: 11px 13px; border: 1px solid rgba(255, 90, 90, .42); border-left: 3px solid #ff5a5a; border-radius: 8px; color: var(--muted-strong); background: rgba(255, 90, 90, .07); font-size: 12px; line-height: 1.5; }
.graph-hover-hint strong { color: #ff8b8b; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.graph-heading { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px 8px 220px; font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.legend { display: flex; gap: 16px; letter-spacing: 0; }
.legend span { display: flex; align-items: center; gap: 6px; }
i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #555; }
i.on { background: var(--accent); box-shadow: 0 0 8px rgba(255, 255, 255, .38); }
.graph-viewport { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
svg { display: block; width: 100%; height: calc(100dvh - 222px); min-height: 480px; cursor: grab; touch-action: none; user-select: none; }
svg.panning { cursor: grabbing; }
.graph-zoom { position: absolute; right: 24px; bottom: 12px; display: grid; gap: 6px; }
.graph-zoom button { width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted-strong); background: var(--surface); font: 15px/1 system-ui, sans-serif; cursor: pointer; }
.graph-zoom button:hover, .graph-zoom button:focus-visible { color: var(--text); border-color: var(--accent); outline: none; }
.graph-note { text-align: center; font-size: 11px; color: var(--muted); margin: 8px 16px 16px; }
.edge { fill: none; stroke: #383838; stroke-width: 1.3; }
.edge.active { stroke: var(--accent); stroke-width: 2.3; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .16)); }
/* The expanded search only runs when the user clicks: draw it as optional. */
.edge.optional { stroke-dasharray: 5 4; }
.node rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.node text { fill: var(--muted); text-anchor: middle; font-size: 14px; font-weight: 500; }
.node .subtitle { font-size: 10px; fill: #737373; font-weight: 400; }
.node.active rect { fill: var(--bg-soft); stroke: var(--accent); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .12)); }
.node.active text { fill: var(--text); }
.node.active .subtitle { fill: var(--muted-strong); }
.node.terminal rect { rx: 18px; }
/* The LLM answer generation is the step this page is about: brand red. */
.node.highlight rect { fill: rgba(255, 90, 90, .04); stroke: rgba(255, 110, 110, .45); stroke-width: 1.2; }
.node.highlight text { fill: #d99a9a; }
.node.highlight .subtitle { fill: #a07a7a; }
.node.highlight.active rect { fill: rgba(255, 90, 90, .08); stroke: rgba(255, 130, 130, .75); stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(255, 90, 90, .18)); }
.node.highlight.active text { fill: #f2c4c4; }
.node.highlight.active .subtitle { fill: #c9a2a2; }
.node.highlight .badge rect, .node.highlight.active .badge rect, .node.highlight:hover .badge rect { fill: rgba(255, 110, 110, .12); stroke: rgba(255, 140, 140, .45); stroke-width: 1; filter: none; }
.node.highlight .badge text, .node.highlight.active .badge text { font-size: 9px; font-weight: 500; fill: #ecbcbc; }
aside { padding: 26px 22px; border-left: 1px solid var(--line); background: #050505; }
.eyebrow { font-size: 10px; letter-spacing: .12em; color: #ff8b8b; text-transform: uppercase; }
aside h2 { font-size: 20px; font-weight: 550; line-height: 1.3; margin: 12px 0; }
aside p { color: var(--muted-strong); font-size: 12px; line-height: 1.7; }
.route-tag { display: inline-block; color: var(--muted-strong); border: 1px solid var(--line-strong); background: var(--bg-soft); border-radius: 5px; padding: 5px 8px; font: 11px Consolas, monospace; }
aside h3 { color: var(--muted-strong); font-size: 11px; margin: 28px 0 12px; font-weight: 500; }
ol { list-style: none; padding: 0; margin: 0; }
li { border-left: 1px solid var(--line-strong); padding: 0 0 15px 15px; margin-left: 4px; color: var(--muted-strong); font-size: 12px; line-height: 1.5; position: relative; }
li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); position: absolute; left: -3px; top: 6px; }
li:last-child { border-color: transparent; padding-bottom: 0; }
.context { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; }
.node { cursor: help; }
.node:focus-visible { outline: none; }
.node:hover rect, .node:focus-visible rect { stroke: var(--accent); stroke-width: 2; }
.step-tooltip { position: fixed; z-index: 20; width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft); box-shadow: 0 16px 48px #0009; font-size: 12px; line-height: 1.6; }
.step-tooltip[hidden] { display: none; }
.step-tooltip > strong { font-size: 14px; color: var(--text); }
.step-tooltip p { margin: 8px 0 0; color: var(--muted-strong); }
.step-tooltip pre { margin: 10px 0 0; padding: 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted-strong); background: var(--surface); white-space: pre-wrap; overflow-wrap: anywhere; font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tooltip-status { margin: 5px 0 14px; color: var(--muted); font-size: 11px; }
.step-tooltip dl { margin: 0; }
.step-tooltip dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-top: 12px; }
.step-tooltip dd { margin: 5px 0 0; color: var(--muted-strong); white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 850px) { header { padding: 20px; flex-wrap: wrap; } .question-picker { width: 100%; } .workspace { grid-template-columns: minmax(0, 1fr); } aside { border-left: 0; border-top: 1px solid var(--line); } svg { height: 70dvh; min-height: 360px; } .graph-heading { flex-wrap: wrap; padding-left: 220px; } .graph-viewport { padding: 0; } }
