.irp-board-library {
  margin-bottom: 14px;
  padding: 16px;
}

.irp-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.irp-board-card {
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.irp-board-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
}

.irp-board-card.selected {
  outline: 3px solid rgba(47, 123, 255, 0.18);
  border-color: #8ca0ff;
}

.irp-board-thumb {
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef2f7;
}

.irp-board-thumb svg {
  width: 100%;
  height: 100%;
  background: #f8fbfd;
}

.irp-board-info {
  padding: 12px;
}

.irp-board-info h4 {
  margin: 7px 0 11px;
}

.irp-model-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #667085;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

.irp-publication-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.irp-public-pill {
  border-color: #a9dbc7 !important;
  background: #edf9f3 !important;
  color: #0a6d4c !important;
}

.irp-publish {
  border-color: #98c9b4 !important;
  color: #08714e !important;
}

.irp-unpublish {
  border-color: #efd38e !important;
  color: #8a641a !important;
}

.irp-large-board-preview {
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  overflow: auto;
  background: #dfe5ec;
  padding: 12px;
}

.irp-large-board-preview svg {
  display: block;
  width: 100%;
  min-width: 760px;
  background: #f8fbfd;
  border-radius: 9px;
}

.public-kind {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 8px;
  border: 1px solid #d6e2ec;
  border-radius: 999px;
  background: #f8fbfd;
  color: #2f7bff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.public-model-post {
  overflow: hidden;
}

.public-model-preview {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid #d6e2ec;
  border-radius: 14px;
  background: #dce8ef;
  padding: 12px;
}

.public-model-preview svg {
  display: block;
  width: 100%;
  min-width: 620px;
  background: #fff;
  border-radius: 9px;
}

.public-model-post[data-kind='board'] .public-model-preview svg {
  background: #f8fbfd;
}

@media (max-width: 1100px) {
  .irp-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .irp-board-grid {
    grid-template-columns: 1fr;
  }

  .irp-model-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .irp-large-board-preview svg,
  .public-model-preview svg {
    min-width: 560px;
  }
}
