/* Decorative line glyphs only. Existing button appearance and inline SVGs stay authoritative. */
:root {
  --wai-open:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --wai-back:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E");
  --wai-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  --wai-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4 5 5M4 20l5-1L21 7l-5-5L4 14Z'/%3E%3C/svg%3E");
  --wai-note:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H4v18h16V9ZM14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
  --wai-review:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v17h16V4h-4M8 3h8v4H8Zm0 11 3 3 5-6'/%3E%3C/svg%3E");
  --wai-attach:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 12 7-7a4 4 0 0 1 6 6L10 22a6 6 0 0 1-8-8L13 3m-8 14 9-9a2 2 0 0 1 3 3l-9 9'/%3E%3C/svg%3E");
  --wai-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --wai-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v16H3ZM7 2v6m10-6v6M3 10h18M8 15h8'/%3E%3C/svg%3E");
  --wai-block:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  --wai-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6l4 2'/%3E%3C/svg%3E");
  --wai-reset:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11a9 9 0 1 1 2 7M3 4v7h7'/%3E%3C/svg%3E");
  --wai-shuffle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h3c5 0 7 14 12 14h3m-4-4 4 4-4 4M3 19h3c2 0 4-3 6-7m3-5c1-1 2-2 3-2h3m-4-4 4 4-4 4'/%3E%3C/svg%3E");
  --wai-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10h14v11H5ZM8 10V6a4 4 0 0 1 8 0v4m-4 5v2'/%3E%3C/svg%3E");
  --wai-download:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v5h16v-5'/%3E%3C/svg%3E");
  --wai-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3Zm0 1 9 7 9-7'/%3E%3C/svg%3E");
  --wai-text:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18v13H9l-6 4ZM7 8h10M7 12h7'/%3E%3C/svg%3E");
  --wai-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3H2c0 11 8 19 19 19v-6l-5-2-3 3a16 16 0 0 1-6-6l3-3-2-5Z'/%3E%3C/svg%3E");
  --wai-filter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2v-9Z'/%3E%3C/svg%3E");
  --wai-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");
  --wai-remove:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V3h8v3M5 6l1 15h12l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E");
}

:where(button.btn,a.btn):not(:has(svg)):not(:is(.record-name,.student-list-name,.text-link,.copy-link,.copied-link,.icon-btn,.metric,.overview-metric,.leadership-metric,.practice-metric,.brand,.school-department-card,[data-action*="copy"],[data-action$="-category"],[data-group]))::before {
  content:"";
  display:inline-block;
  inline-size:14px;
  block-size:14px;
  flex:0 0 14px;
  background-color:currentColor;
  -webkit-mask:var(--workspace-action-glyph,var(--wai-open)) center/contain no-repeat;
  mask:var(--workspace-action-glyph,var(--wai-open)) center/contain no-repeat;
}

/* Existing data-action values and form IDs determine meaning, never visible label text. */
:where(button.btn,a.btn)[type="submit"] { --workspace-action-glyph:var(--wai-check); }
:where(button.btn,a.btn):is([data-action*="edit"],[data-action*="correct"],[data-action$="-change-grade"],[data-action$="-request-grade"],[data-action$="-update-enrollment"]) { --workspace-action-glyph:var(--wai-edit); }
:where(button.btn,a.btn):is([data-action*="review"],[data-action*="verify"],[data-action$="-decide-grade"]) { --workspace-action-glyph:var(--wai-review); }
:where(button.btn,a.btn):is([data-action*="note"]) { --workspace-action-glyph:var(--wai-note); }
:where(button.btn,a.btn)[data-action="enrollment-student-log-contact"] { --workspace-action-glyph:var(--wai-phone); }
:where(button.btn,a.btn):is([data-action*="preview"]) { --workspace-action-glyph:var(--wai-eye); }
:where(button.btn,a.btn):is([data-action*="appointment"],[data-action="enrollment-calendar-practice-period"]) { --workspace-action-glyph:var(--wai-calendar); }
:where(button.btn,a.btn)[data-action="enrollment-calendar-practice-block"] { --workspace-action-glyph:var(--wai-block); }
:where(button.btn,a.btn)[data-action="enrollment-calendar-practice-reschedule"] { --workspace-action-glyph:var(--wai-clock); }
:where(button.btn,a.btn)[data-action="enrollment-calendar-practice-unblock"] { --workspace-action-glyph:var(--wai-check); }
:where(button.btn,a.btn):is([data-action*="refresh"],[data-action*="retry"],[data-action*="clear"],[data-action*="reset"]) { --workspace-action-glyph:var(--wai-reset); }
:where(button.btn,a.btn):is([data-action*="run-draft"],[data-action*="run-draw"],[data-action="enrollment-practice-scenario"][data-id="exercise"]) { --workspace-action-glyph:var(--wai-shuffle); }
:where(button.btn,a.btn):is([data-action="enrollment-practice-review-lock"],[data-action$="-lock-draw"],[data-action$="-lock"]) { --workspace-action-glyph:var(--wai-lock); }
:where(button.btn,a.btn):is([data-action*="export"],[download]) { --workspace-action-glyph:var(--wai-download); }
:where(button.btn,a.btn):is([data-action*="-move"],[data-action*="outcome"]) { --workspace-action-glyph:var(--wai-open); }
:where(button.btn,a.btn):is([data-action*="remove"],[data-action*="delete"]) { --workspace-action-glyph:var(--wai-remove); }
:where(button.btn,a.btn):is([data-action*="message"],[data-action*="offer"],[data-action*="winner-batch"],[data-channel="EMAIL"]) { --workspace-action-glyph:var(--wai-mail); }
:where(button.btn,a.btn):is([data-channel="SMS"],[data-action="enrollment-practice-message-channel"][data-id="SMS"]) { --workspace-action-glyph:var(--wai-text); }
:where(button.btn,a.btn)[data-action="enrollment-practice-message-mode"][data-id="official"] { --workspace-action-glyph:var(--wai-note); }
:where(button.btn,a.btn)[data-action="enrollment-practice-message-mode"][data-id="custom"] { --workspace-action-glyph:var(--wai-edit); }
:where(button.btn,a.btn):is([data-action$="-previous"],[data-action$="-back"],[aria-label^="Back"],[title^="Back"]) { --workspace-action-glyph:var(--wai-back); }
:where(a.btn)[href="#home"],.enrollment-student-practice > .practice-header > .practice-action-group > a.btn,.enrollment-leadership-page > .leadership-header a.btn { --workspace-action-glyph:var(--wai-back); }
.leadership-pagination > div > button.btn:first-child { --workspace-action-glyph:var(--wai-back); }
.leadership-pagination > div > button.btn:last-child { --workspace-action-glyph:var(--wai-open); }
:where(#enrollment-search-form,#enrollment-practice-filter-form,#enrollment-student-filter-form,#enrollment-followup-filter-form,#enrollment-document-filter-form,#enrollment-leadership-filter-form) button.btn[type="submit"] { --workspace-action-glyph:var(--wai-filter); }
:where(#enrollment-leadership-search-form,#purchase-search-form) button.btn[type="submit"] { --workspace-action-glyph:var(--wai-search); }
#enrollment-practice-draw-form button.btn[type="submit"] { --workspace-action-glyph:var(--wai-shuffle); }
#enrollment-document-sample-form button.btn[type="submit"] { --workspace-action-glyph:var(--wai-attach); }
:where(#enrollment-document-review-form,#enrollment-document-checklist-form) button.btn[type="submit"] { --workspace-action-glyph:var(--wai-review); }
#enrollment-document-note-form button.btn[type="submit"] { --workspace-action-glyph:var(--wai-note); }
