/* Warm Editorial cursors shared with thyuuga.com and Memo Pad.
   Native 24px SVGs; no mouse tracking or changes to selection/editing behavior. */
@media (hover: hover) and (pointer: fine) {
  body {
    --editorial-arrow: url('./assets/cursors/editorial-arrow.svg') 3 3, default;
    --editorial-pointer: url('./assets/cursors/editorial-pointer.svg') 9 3, pointer;
    --editorial-text: url('./assets/cursors/editorial-text.svg') 12 12, text;
    cursor: var(--editorial-arrow);
  }

  /* Interactive labels inherit their control's cursor. */
  :where(p, h1, h2, h3, h4, h5, h6, li, dt, dd, blockquote, figcaption,
         pre, code, td, th, label):not(:where(a, button, [role='button'],
         [role='option'], [role='tab'], [draggable='true'], [aria-busy='true']) *) {
    cursor: var(--editorial-text);
  }
  :where(input:not([type]), input[type='text'], input[type='search'],
         input[type='email'], input[type='url'], input[type='tel'],
         input[type='password'], input[type='number'], textarea,
         [contenteditable=''], [contenteditable='true'], [contenteditable='plaintext-only']) {
    cursor: var(--editorial-text);
  }
  :where(a[href], button, [role='button'], [role='option'], [role='tab'],
         summary, select, input[type='checkbox'], input[type='radio']) {
    cursor: var(--editorial-pointer);
  }
  :where([contenteditable='true'] a[href], [contenteditable=''] a[href]) {
    cursor: var(--editorial-text);
  }

  /* Keep explicit resize and disabled-state rules in the existing styles. */
  :where([draggable='true']) { cursor: grab; }
  :where([draggable='true']:active) { cursor: grabbing; }
  :where([aria-busy='true']) { cursor: progress; }
  :where(:disabled, [aria-disabled='true']) { cursor: not-allowed; }
}
