/* V26: the example prioritisation remains a semantic four-column table on
   wider screens. Narrow screens show each use case as a complete card so its
   priority is visible without discovering a horizontal scrolling region. */
.priority-cell-label { display: none; }
.board .priority-table tbody th {
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
}
.board .priority-table tbody th small {
  display: block;
  color: var(--mid);
  font-size: 12.5px;
}
.board .priority-table tbody tr:last-child th { border-bottom: 0; }

@media (max-width: 600px) {
  .board .priority-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  /* Keep column headings available to assistive technology. Explicit table,
     rowgroup, row, columnheader, rowheader and cell roles retain the semantic
     relationships when CSS changes the table's visual layout. */
  .priority-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .priority-table tbody {
    display: grid;
    gap: 12px;
  }
  .priority-table tbody tr {
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--muted-bg);
  }
  .board .priority-table tbody th {
    display: block;
    padding: 0 0 10px;
    border: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  .board .priority-table tbody th small { font-weight: 400; }
  .board .priority-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border: 0;
    min-width: 0;
  }
  .priority-table .priority-cell-label {
    display: inline;
    color: var(--mid);
    font-size: 12px;
  }
  .priority-table .score { flex: none; }
  .priority-table .prio { font-size: 11px; padding: 6px; }
}

/* Leave the same comfortable inner margin around the hub label in Chromium
   and Firefox, whose SVG text measurements differ slightly at small sizes. */
.hub-svg .core-t { font-size: 18px; }
