/* Compact, readable legends within the website's embedded viewer. */
.crystal-viewer-legends{top:10px;right:10px;gap:6px;max-height:calc(100% - 20px);font:11px/1.25 system-ui,sans-serif}
.crystal-element-legend,.crystal-cell-legend{padding:6px 8px;border-color:#dcd6d7;border-radius:5px}
.crystal-element-legend__item{gap:6px;margin:1px 0;padding:1px 2px;min-height:18px}
.crystal-element-legend__sphere{width:14px;height:14px;flex-shrink:0;box-shadow:inset -2px -2px 3px rgba(0,0,0,.2)}
.crystal-cell-legend__title{margin-bottom:5px;font-size:11px}
.crystal-cell-legend__grid{gap:3px 7px;font-size:11px}
.crystal-element-legend__item[aria-pressed=true]{background:#fcebed;border-color:#dda3a7}
.crystal-element-legend__item:focus-visible{outline-color:#c63236}
