.release-card {
  border: 1px solid rgba(0, 137, 150, 0.35);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0 2rem 0;
  background: linear-gradient(90deg, rgba(0, 137, 150, 0.06), rgba(255, 255, 255, 0));
}

.release-card h3 {
  margin-top: 0;
}

.md-typeset table:not([class]) {
  font-size: 0.72rem;
}

.md-typeset table:not([class]) th {
  font-weight: 700;
}

/* Product Releases overview: narrow meta columns, wider What’s New */
.replimap-releases-table .md-typeset__scrollwrap,
.replimap-releases-table .md-typeset__table {
  max-width: 52rem !important;
}

.replimap-releases-table table:not([class]) {
  table-layout: fixed !important;
  width: 100% !important;
}

.replimap-releases-table th,
.replimap-releases-table td {
  vertical-align: middle !important;
}

.replimap-releases-table th:nth-child(1),
.replimap-releases-table td:nth-child(1) {
  width: 4.75rem !important;
  white-space: nowrap;
}

.replimap-releases-table th:nth-child(2),
.replimap-releases-table td:nth-child(2) {
  width: 6.25rem !important;
  white-space: nowrap;
}

.replimap-releases-table th:nth-child(3),
.replimap-releases-table td:nth-child(3) {
  width: 3.75rem !important;
  white-space: nowrap;
}

.replimap-releases-table th:nth-child(5),
.replimap-releases-table td:nth-child(5),
.replimap-releases-table .md-typeset__table table:not([class]) th:nth-child(5),
.replimap-releases-table .md-typeset__table table:not([class]) td:nth-child(5) {
  width: 4.25rem !important;
  min-width: 4.25rem !important;
  white-space: nowrap;
  text-align: center !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
}

.replimap-releases-table th:nth-child(6),
.replimap-releases-table td:nth-child(6),
.replimap-releases-table .md-typeset__table table:not([class]) th:nth-child(6),
.replimap-releases-table .md-typeset__table table:not([class]) td:nth-child(6) {
  width: 4.25rem !important;
  min-width: 4.25rem !important;
  white-space: nowrap;
  text-align: center !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
}

.replimap-releases-table th:nth-child(4),
.replimap-releases-table td:nth-child(4) {
  width: auto !important;
  min-width: 14rem;
  white-space: normal;
}

/* Release notes page — collapsible version cards */
.replimap-release-notes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  max-width: var(--replimap-table-max-width, 44rem);
}

.replimap-release-version {
  scroll-margin-top: 5rem;
}

.replimap-release-version details.note {
  border: 2px solid rgba(29, 154, 170, 0.35);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(29, 154, 170, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0 !important;
  box-sizing: border-box;
}

.replimap-release-version details.note:not([open]) {
  border-color: rgba(29, 154, 170, 0.22);
  background: rgba(29, 154, 170, 0.07);
}

.replimap-release-version details.note:not([open]):hover {
  border-color: rgba(29, 154, 170, 0.45);
  box-shadow: 0 6px 22px rgba(29, 154, 170, 0.12);
}

.replimap-release-version--latest details.note:not([open]) {
  border-color: rgba(29, 154, 170, 0.55);
  box-shadow: 0 8px 28px rgba(29, 154, 170, 0.14);
  background: rgba(29, 154, 170, 0.1);
}

.replimap-release-version--latest details.note[open] {
  border-color: rgba(29, 154, 170, 0.55);
  box-shadow: 0 8px 28px rgba(29, 154, 170, 0.14);
  background: linear-gradient(180deg, rgba(29, 154, 170, 0.06) 0%, #ffffff 3.5rem);
}

/* No note/pencil icon — title lives in summary only */
.md-typeset .replimap-release-version details.note > .admonition-title {
  display: none !important;
}

.md-typeset .replimap-release-version details.note > summary::before {
  display: none !important;
}

.md-typeset .replimap-release-version details.note > summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 2.6rem 1rem 1.35rem;
  margin: 0 !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--replimap-teal, #1d9aaa);
  background: transparent;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}

.md-typeset .replimap-release-version details.note[open] > summary {
  border-bottom-color: rgba(29, 154, 170, 0.18);
  background: rgba(29, 154, 170, 0.1);
}

.md-typeset .replimap-release-version details.note > summary::after {
  right: 1.1rem;
}

.md-typeset .replimap-release-version details.note > .admonition-title,
.md-typeset .replimap-release-version details.note > summary + * {
  margin: 0;
}

.md-typeset .replimap-release-version details.note[open] {
  padding-bottom: 0.25rem;
}

.md-typeset .replimap-release-version details.note > .admonition-title ~ * ,
.md-typeset .replimap-release-version details.note > summary ~ *:not(.admonition-title) {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.md-typeset .replimap-release-version details.note > summary ~ *:last-child {
  padding-bottom: 1.1rem;
}

.md-typeset .replimap-release-version details.note h3 {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--replimap-teal, #1d9aaa);
  border-bottom: 1px solid rgba(29, 154, 170, 0.15);
  padding-bottom: 0.35rem;
}

.md-typeset .replimap-release-version details.note h3:first-of-type {
  margin-top: 0.75rem;
}

[data-md-color-scheme="slate"] .replimap-release-version details.note:not([open]) {
  background: rgba(29, 154, 170, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

[data-md-color-scheme="slate"] .replimap-release-version details.note[open] {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

[data-md-color-scheme="slate"] .replimap-release-version--latest details.note:not([open]) {
  background: rgba(29, 154, 170, 0.16);
}

[data-md-color-scheme="slate"] .replimap-release-version--latest details.note[open] {
  background: linear-gradient(180deg, rgba(29, 154, 170, 0.12) 0%, rgba(255, 255, 255, 0.03) 3.5rem);
}

[data-md-color-scheme="slate"] .md-typeset .replimap-release-version details.note > summary {
  background: transparent;
  color: #5ec4d4;
}

[data-md-color-scheme="slate"] .md-typeset .replimap-release-version details.note[open] > summary {
  background: rgba(29, 154, 170, 0.14);
}

@media screen and (max-width: 52em) {
  .md-typeset .replimap-release-version details.note > summary {
    padding-right: 2.5rem;
  }
}