/* Match the original title typography after turning menu card headings into labels. */
html.v3 .ds-mega-card > .ds-mega-card__title {
  margin: 12px 0 7px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
}

html.v3 .ds-mega-card--visual > .ds-mega-card__title { margin-top: 0; }
html.v3 .ds-mega-v2 .ds-mega-card > .ds-mega-card__title { color: #fff; }

/* The centered tooltip on the last item spilled outside the header. */
@media (min-width: 1181px) {
  html.v3 body header.header .account-actions > a.panel::after {
    inset-inline-start: auto;
    inset-inline-end: 0;
    transform: translateY(0);
  }
}

html.v3 .price-card .pc-more-features {
  margin-top: 11px;
  border-top: 1px solid var(--v3-line, currentColor);
}

html.v3 .price-card .pc-more-features > summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 4px;
  color: var(--v3-ink, inherit);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

html.v3 .price-card .pc-h { font-size: 12px; }

html.v3 .price-card .ds-spec-help__button,
html.v3 .price-card .pc-li--ranker small a {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 24px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
}

html.v3 .price-card .pc-li--ranker small a { padding-inline: 3px; }

.hs-rotation {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #414c67;
  border-radius: 8px;
  color: #f2f0ff;
  background: #141d35;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hs-rotation[hidden] { display: none; }
.hs-rotation:hover { background: #26284b; }

.hs-rotation:focus-visible,
html.v3 .price-card .pc-more-features > summary:focus-visible {
  outline: 2px solid #9e8bff;
  outline-offset: 2px;
}

.hs-rotation__icon {
  box-sizing: border-box;
  width: 10px;
  height: 11px;
  border-inline: 3px solid currentColor;
}

.hs-rotation[data-paused="true"] .hs-rotation__icon {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 9px solid currentColor;
}

@media (max-width: 680px) {
  html.v3 .price-card .pc-key-features .pc-list { gap: 7px; }

  html.v3 .price-card .pc-key-features .pc-li {
    margin-block: 0;
    padding-bottom: 0;
  }

  .hs-rotation { padding: 7px; }

  .hs-rotation__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
