.lhg{border:1px solid var(--line,#7774);border-radius:10px;padding:16px;margin-top:12px;min-width:0}
.lhg summary{cursor:pointer;font-weight:600}
.lhg-help{font-size:.85rem;line-height:1.5;color:var(--muted,#a7a7a7);margin:.7rem 0}
.lhg-legend{display:flex;gap:.45rem;flex-wrap:wrap;margin:1rem 0}
.lhg-position{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--line,#7774);border-radius:99px;padding:.3rem .6rem;background:var(--bg-alt,#191b20);color:var(--ink,#f5f1e8);font:inherit;font-size:.8rem;cursor:pointer}
.lhg-position[aria-pressed="false"]{opacity:.45;text-decoration:line-through}
.lhg-position:focus-visible{outline:2px solid #e6bb73;outline-offset:2px}
.lhg-dot{width:.7rem;height:.7rem;border-radius:50%;flex:none}
.lhg-plot{display:grid;gap:.8rem;max-width:100%}
.lhg-day{display:grid;grid-template-columns:minmax(8rem,10rem) minmax(8rem,1fr) minmax(10rem,15rem);gap:.7rem;align-items:center}
.lhg-label{display:grid;gap:.15rem;font-size:.82rem}
.lhg-label span,.lhg-comparison{color:var(--muted,#a7a7a7);font-size:.78rem}
.lhg-track{height:1.6rem;background:#7773;border-radius:4px;position:relative;min-width:0}
.lhg-stack{display:flex;height:100%;overflow:hidden;border-radius:4px}
.lhg-segment{height:100%;min-width:0}
.lhg-target{position:absolute;top:-.18rem;bottom:-.18rem;width:3px;background:#f5f1e8;box-shadow:0 0 0 1px #222;border-radius:2px;transform:translateX(-50%)}
@media(max-width:700px){.lhg-day{grid-template-columns:1fr}.lhg-track{height:1.3rem}.lhg-comparison{margin-top:-.35rem}}
