[data-library-categories] button[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-0);
  color: var(--deep);
}

.library-row-extra {
  margin-top: var(--s8);
  font-size: 13px;
  line-height: 1.47;
  color: var(--label-2);
}

.row-actions .link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.row-actions .link::after {
  content: "";
  position: absolute;
  inset: -12px -8px;
}

#L-cases {
  table-layout: fixed;
}

#L-cases th:nth-child(1) {
  width: 31%;
}

#L-cases th:nth-child(2) {
  width: 17%;
}

#L-cases th:nth-child(4) {
  width: 72px;
}

#L-cases td.t {
  line-height: 1.35;
}

.library-dialog-body,
.library-dialog-section {
  min-width: 0;
  max-width: 100%;
}

.library-dialog-body {
  overflow-x: hidden;
}

.library-dialog-section p,
.library-dialog-section li,
.library-dialog-section a,
.library-dialog-meta .pill {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.intel-mobile-cards {
  display: none;
}

.intel-mobile-cards label {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  min-height: 44px;
  font-size: 13px;
  line-height: 1.38;
}

[data-intel-summary] {
  font-size: 17px;
  line-height: 1.47;
}

@media (max-width: 900px) {
  [data-intel-table] {
    display: none;
  }

  .intel-mobile-cards {
    display: grid;
  }

  .intel-mobile-cards .tile {
    min-height: 0;
    padding-right: var(--s64);
  }

  .intel-mobile-cards .tile .foot {
    text-wrap: balance;
  }

  #L-cases {
    min-width: 760px;
  }
}

@media (max-width: 600px) {
  .seg[data-seg="lib"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s8);
    overflow: visible;
  }

  .seg[data-seg="lib"] button {
    justify-content: center;
    min-width: 0;
    padding-inline: var(--s8);
    white-space: normal;
  }
}
