/* Locked Premium-only figure (store/partials/lock.html).
   Ink on paper — no saturated colour, the verdict keeps that. */

.hs-lock {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--unvalued-bg);
  color: var(--slate);
  font-size: 13px;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}
.hs-lock:hover,
.hs-lock:focus-visible { color: var(--ink); }
.hs-lock:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.hs-lock::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px 'Hanken Grotesk', sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s;
  z-index: 10;
}
.hs-lock:hover::after,
.hs-lock:focus-visible::after { opacity: 1; visibility: visible; }

/* Price trend: locked hover tooltip and table */
.hs-trend-tip-lock { display: flex; align-items: center; gap: 6px; color: var(--slate); }
.hs-trend-lock-note { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 13px; color: var(--slate); }

/* Smaller on the strip-plot axis */
.hs-mkt-axis .hs-lock { min-width: 20px; height: 16px; padding: 0 4px; font-size: 11px; }

/* Range cell: lock stacked above the sale/listing count */
.hs-mkt-range > .hs-lock + small { display: block; margin-top: 3px; }

/* Price trend: panel covering the withheld most recent months */
.hs-trend-locked {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 6px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--unvalued-bg);
  color: var(--slate);
  font: 600 12px 'Hanken Grotesk', sans-serif;
  text-align: center;
  cursor: default;
}
.hs-trend-locked i { font-size: 18px; color: var(--ink); }
.hs-trend-locked small { font-weight: 400; font-size: 11px; }
.hs-trend-ranges .js-premium-only { display: inline-flex; align-items: center; gap: 3px; }
