/* Links from free question pages to premium topic guides and game plans
   (tools/design-export/premium-links.php): a "Premium" tag on each row, and a
   button that hides them for students who are not interested. */
.premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.premium-tag svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.premium-toggle {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: var(--text-small-size);
  line-height: var(--text-small-line);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.premium-toggle:hover {
  color: var(--ink);
}

.premium-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.tt-hide-premium [data-premium-row] {
  display: none;
}

/* A premium link inside the text, with the links turned off: plain words. */
.premium-off {
  color: inherit;
  text-decoration: none;
}
