.reference-panel { background: var(--banes-lab-main); border: var(--border-s) solid var(--accent-subtle); border-radius: var(--radius-md); color: var(--white-alpha-secondary); font-family: var(--font-family-mono); font-size: var(--font-xs); left: 0; line-height: var(--line-height-normal); max-height: calc(var(--vh) * 60); max-width: min(var(--width-card-lg), calc(var(--percent-full) - var(--space-lg))); opacity: 0; overflow: auto; padding: var(--space-sm) var(--space-md); pointer-events: none; position: fixed; top: 0; transition: opacity var(--transition-fast) ease; z-index: var(--z-modal); } .reference-panel.open { opacity: 1; pointer-events: auto; } .reference-title { color: var(--banes-lab-accent); font-size: var(--font-sm); font-weight: var(--font-weight-medium); } .reference-code { color: var(--white); } .reference-meta { color: var(--white-alpha-muted); margin-bottom: var(--space-xs); } .reference-summary { color: var(--white-alpha-secondary); margin: 0 0 var(--space-xs); } .reference-relation { margin-top: var(--space-xxs); } .reference-snippet { background: var(--code-block); border: var(--border-s) solid var(--accent-subtle); border-radius: var(--radius-sm); margin: var(--space-xs) 0; overflow: auto; padding: var(--space-xs) var(--space-sm); } .reference-snippet code { color: var(--text-light-gray); display: block; font-family: var(--font-family-mono); font-size: var(--font-xs); line-height: var(--line-height-normal); white-space: pre; } .reference-label { color: var(--white-alpha-muted); } .reference-panel a { color: var(--tab-accent); text-decoration: underline; text-decoration-color: var(--accent-dimmed); text-underline-offset: var(--space-xxs); } .reference-panel a:hover { color: var(--white); text-decoration-color: var(--tab-accent); } .reference-panel .pending { animation: reference-pulse var(--animate-fade) ease-in-out infinite alternate; } .reference-dial { display: inline-block; height: var(--font-xs); margin-left: var(--space-xxs); vertical-align: middle; width: var(--font-xs); } .reference-dial svg { display: block; height: var(--percent-full); width: var(--percent-full); } .reference-dial circle { animation: reference-drain var(--reference-chain) linear forwards; fill: none; stroke: currentcolor; stroke-dasharray: 100; stroke-width: 2; transform: rotate(-90deg); transform-origin: center; } .reference-arrow { animation: reference-bop var(--animate-fade) ease-in-out infinite alternate; display: inline-block; margin-left: var(--space-xxs); }