<style>
  #prioritiseIssuesCard {
    margin-bottom: 1.5rem;
    border-color: var(--soft-blue);
    box-shadow: 0 2px 4px 0 rgb(77, 52, 191, 10%);
  }

  #prioritiseIssuesCard .card-body {
    padding: 1.5rem;
    background: var(--light-grayish-violet);
  }

  #prioritiseIssuesCard h2 {
    color: var(--ocean-blue);
  }

  #prioritiseIssuesAccordion {
    margin-top: 1rem;
  }

  .prioritise-issues-accordion {
    max-height: 67vh;
    overflow-y: auto;
  }

  #prioritiseIssuesAccordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 0;
  }

  #prioritiseIssuesAccordion .accordion-item:last-child {
    border-bottom: none;
  }

  #prioritiseIssuesAccordion .accordion-header {
    margin: 0;
  }

  #prioritiseIssuesAccordion .accordion-button {
    padding: 1rem 1rem 0.5rem;
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid var(--chinese-silver);
  }

  #prioritiseIssuesAccordion .accordion-button:hover {
    background-color: transparent;
  }

  #prioritiseIssuesAccordion .accordion-button:focus {
    box-shadow: none !important;
    outline: none;
  }

  #prioritiseIssuesAccordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #000;
    box-shadow: none !important;
  }

  #prioritiseIssuesAccordion .accordion-button::after {
    display: none;
  }

  .accordion-icon-collapsed,
  .accordion-icon-expanded {
    margin-left: auto;
    flex-shrink: 0;
  }

  .accordion-button.collapsed .accordion-icon-collapsed {
    display: block;
  }

  .accordion-button.collapsed .accordion-icon-expanded {
    display: none;
  }

  .accordion-button:not(.collapsed) .accordion-icon-collapsed {
    display: none;
  }

  .accordion-button:not(.collapsed) .accordion-icon-expanded {
    display: block;
  }

  .wcag-score-badge {
    display: inline-block;
    background-color: var(--light-grayish-red);
    color: var(--light-carmine-pink);
    border: 1px solid var(--light-carmine-pink);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 1rem;
    margin-left: 1rem;
    white-space: nowrap;
    line-height: 1.25;
  }

  #prioritiseIssuesAccordion .accordion-collapse {
    border: none;
  }

  #prioritiseIssuesAccordion .accordion-body {
    padding: 0;
    border-radius: 8px;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }

  .priority-issues-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: issue-counter;
  }

  .priority-issue-item {
    padding: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    display: flex;
    align-items: flex-start;
  }

  .priority-issue-action {
    appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    text-align: left;
    cursor: pointer;
    color: inherit;
    line-height: 1.5;
  }

  .priority-issue-action > .w-90 {
    width: 100% !important;
  }

  .priority-issue-item::before {
    counter-increment: issue-counter;
    content: counter(issue-counter) '.';
    line-height: 1.5;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  .priority-issue-item:hover:not(.active) {
    border-radius: 5px;
    border: 1px solid var(--ocean-blue);
  }

  .priority-issue-item.active {
    background-color: rgba(77, 52, 191, 0.75);
    border-radius: 5px;
    color: white;
  }

  .priority-issue-title.active {
    color: white;
  }

  .priority-issue-title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
  }

  .priority-issue-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .disability-badge {
    background-color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    border: 1px solid var(--a11y-black-100);
    line-height: 1.5;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    #prioritiseIssuesCard .card-body {
      padding: 1rem;
    }

    #prioritiseIssuesAccordion .accordion-button {
      padding: 0.875rem 0;
      font-size: 0.9rem;
    }

    .wcag-score-badge {
      font-size: 0.7rem;
      padding: 2px 6px;
    }

    .priority-issue-item {
      padding: 0.875rem 1rem 0.875rem 2.5rem;
    }

    .priority-issue-item::before {
      left: 1rem;
    }

    .priority-issue-title {
      font-size: 0.9rem;
    }

    .disability-badge {
      font-size: 0.7rem;
      padding: 3px 10px;
    }
  }
</style>
