  /* ══════════════════════════════════════
     BUTTONS — Storybook Design System
  ══════════════════════════════════════ */

  /* Base button styles */
  .btn {
    font-family: sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  }

  /* Sizes */
  .btn-sm {
    font-size: 14px;
    padding: 8px 16px;
    gap: 8px;
  }

  .btn-md, .btn {
    font-size: 16px;
    padding: 8px 16px;
    gap: 8px;
  }

  .btn-lg {
    font-size: 16px;
    padding: 12px 24px;
    gap: 12px;
  }

  .btn-xl {
    font-size: 18px;
    padding: 16px 24px;
    gap: 12px;
  }

  /* ── PRIMARY ── */
  .btn-primary {
    color: #ffffff;
    background-color: #000000;
    border: 2px solid transparent;
  }

  .btn-primary:hover {
    background-color: #d1d1d1;
    color: #000000;
  }

  .btn-primary:active {
    border-color: #A100FF;
    color: #A100FF;
  }

  .btn-primary:disabled {
    background-color: #6b6b6b;
    color: #ffffff;
    cursor: not-allowed;
  }

  /* ── SECONDARY ── */
  .btn-secondary {
    color: #000000;
    background-color: #ffffff;
    border: 2px solid #000000;
  }

  .btn-secondary:hover {
    background-color: #d1d1d1;
  }

  .btn-secondary:active {
    border-color: #A100FF;
    color: #A100FF;
  }

  .btn-secondary:disabled {
    color: #6b6b6b;
    background-color: #ffffff;
    border-color: #6b6b6b;
    cursor: not-allowed;
  }

  /* ── TERTIARY ── */
  .btn-tertiary {
    color: #A100FF;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .btn-tertiary:hover {
    border-bottom-color: #A100FF;
  }

  .btn-tertiary:active {
    color: #A100FF;
    border-bottom-color: #A100FF;
  }

  .btn-tertiary:disabled {
    color: #6b6b6b;
    border-bottom-color: transparent;
    cursor: not-allowed;
  }

  /* ── GHOST ── */
  .btn-ghost {
    color: #000000;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .btn-ghost:hover {
    color: #4a4a4a;
    border-bottom-color: #4a4a4a;
  }

  .btn-ghost:active {
    color: #A100FF;
    border-bottom-color: #A100FF;
  }

  .btn-ghost:disabled {
    color: #6b6b6b;
    border-bottom-color: transparent;
    cursor: not-allowed;
  }

  /* ── SUCCESS (keep for compute/save actions) ── */
  .btn-success {
    color: #ffffff;
    background-color: #000000;
    border: 2px solid transparent;
  }

  .btn-success:hover {
    background-color: #d1d1d1;
    color: #000000;
  }

  /* ── BUTTON ROW ── */
  .btn-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: var(--spacing-4);
    padding-top: var(--spacing-3);
    border-top: 1px solid var(--color-grey-300);
  }
