/* On dark panels the mark uses the same ink beside headings and switches. */
:where(.crowdflow-control-center--settings, .crowdflow-control-center--dashboard,
       #cw-admin, .djtk-admission--owner, .djtk-live-quota, .djtk-export-dialog,
       #djtk-analysis-modal, .cf-demo-song-info, .cf-plan-selection .am-currency-info) {
  --cf-info-ink: #f7f3ed;
}
:where(button:hover, button:focus-visible, button[aria-expanded="true"],
       summary:hover, summary:focus-visible, details[open] > summary) {
  --cf-info-ink: currentColor;
}

/* The visible mark is independent of the surrounding font and the control's hit area. */
:is(
  .cfcc-info > .cfcc-info__button,
  .cf-demo-song-info > button,
  .djtk-quota-info,
  .djtk-admission-help > summary,
  #djtk-analysis-modal .djtk-analysis-info-button,
  #djtk-analysis-modal .dje-info-button,
  .djtk-music-info > summary,
  .kmumt-feature-help,
  .saz-metric-help-toggle,
  .djtk-export-info > span:first-child[aria-hidden="true"],
  .cw-screen-switch > [data-cw-screen-toggle] + span[aria-hidden="true"],
  .am-currency-info > summary
):not([hidden]) {
  --cf-info-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8.35' fill='none' stroke='black' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='5.4' r='1.1'/%3E%3Cpath d='M9 8.3v4.4' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
  display: inline-grid !important;
  place-items: center !important;
  grid-template: 100% / 100%;
  grid-auto-rows: 0;
  gap: 0 !important;
  box-sizing: border-box;
  min-width: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0;
}
:is(
  .cfcc-info > .cfcc-info__button,
  .cf-demo-song-info > button,
  .djtk-quota-info,
  .djtk-admission-help > summary,
  #djtk-analysis-modal .djtk-analysis-info-button,
  #djtk-analysis-modal .dje-info-button,
  .djtk-music-info > summary,
  .kmumt-feature-help,
  .saz-metric-help-toggle,
  .djtk-export-info > span:first-child[aria-hidden="true"],
  .cw-screen-switch > [data-cw-screen-toggle] + span[aria-hidden="true"],
  .am-currency-info > summary
):not([hidden])::after {
  content: "";
  display: block !important;
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
  background: var(--cf-info-ink, currentColor);
  -webkit-mask: var(--cf-info-mark) center / contain no-repeat;
  mask: var(--cf-info-mark) center / contain no-repeat;
  forced-color-adjust: none;
  pointer-events: none;
}
.cfcc-toggle [data-cfcc-info] { margin-block: 0; }
.cfcc-info > .cfcc-info__button > span[aria-hidden="true"],
.am-currency-selector .am-currency-info > summary > svg.am-currency-info__icon { display: none !important; }
