/* Native cursor affordances shared by marketing and product surfaces. */
@media (hover: hover) and (pointer: fine) {
  :is(
    a[href],
    button:not(:disabled),
    summary,
    label[for],
    [onclick],
    [role='button'],
    [role='tab'],
    [role='option'],
    [role='checkbox'],
    [role='switch'],
    [role='menuitem'],
    [data-action],
    .nav-item,
    .hcard,
    .tool-card,
    .card,
    .gc,
    .plan-card,
    .opt-pill,
    .subject-btn,
    .choice-btn,
    .tag,
    .toggle,
    .dl-check,
    .cost-card-header,
    .sc-card-header,
    .tutor-sel-card,
    .resume-tmpl-card
  ):not(:disabled):not([aria-disabled='true']):not(.locked):not(.locked-card) {
    cursor: pointer !important;
  }

  :is(input, textarea, [contenteditable='true']):not(:disabled):not([type='button']):not([type='submit']):not([type='reset']):not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']):not([type='file']) {
    cursor: text !important;
  }

  :is(select, input[type='range'], input[type='checkbox'], input[type='radio'], input[type='color'], input[type='file']):not(:disabled) {
    cursor: pointer !important;
  }

  :is(button, input, select, textarea, [aria-disabled='true'], .locked, .locked-card):disabled,
  [aria-disabled='true'],
  .locked,
  .locked-card {
    cursor: not-allowed !important;
  }
}

/* FAQ triggers are upgraded to native buttons without changing their visual design. */
:is(.faq-q, .fq) {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
