/* The loupe: a continuous-zoom chart with a lens; it borrows the house desk's heading register. */
#loupe-desk{padding:18px 22px 14px;display:grid;gap:10px;background:color-mix(in srgb,var(--paper-2) 32%,transparent)}
.lp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.lp-head h3{margin:3px 0 4px;font:italic clamp(1.3rem,2.4vw,1.7rem)/1.05 var(--fell)}
.lp-head .hd-guide{max-width:62em}
.lp-controls{display:flex;gap:3px;align-items:center;flex-wrap:wrap}
.lp-controls button{min-width:30px;min-height:30px;padding:4px 9px;border:1px solid var(--rule);border-radius:999px;background:transparent;color:var(--ink-2);font:500 .68rem var(--sans);cursor:pointer}
.lp-controls button:hover{border-color:var(--ink-2);color:var(--ink)}
.lp-controls button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.lp-stage{position:relative;height:clamp(360px,52vh,640px);border:1px solid var(--rule);border-radius:6px;overflow:hidden;background:var(--paper)}
.lp-stage:fullscreen{height:100vh;border:0;border-radius:0}
#lp-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;outline:none}
#lp-canvas:focus-visible{box-shadow:inset 0 0 0 2px var(--oxblood)}
.lp-level{position:absolute;right:10px;bottom:34px;font:italic .78rem var(--fell);color:var(--ink-3);pointer-events:none;letter-spacing:.02em}
.lp-foot{margin:0}
@media(max-width:680px){#loupe-desk{padding:16px 14px 12px}.lp-stage{height:clamp(300px,48vh,460px)}}
