/**
 * NeuraPRO — compact release footer (shared by /menu and base.html).
 * Single visible row + native <details> for technical metadata.
 */
.np-release-footer {
  text-align: center;
  color: #9e9e9e;
  font-size: 12px;
  margin: 24px 0 12px;
  padding: 0 12px;
}

.np-release-footer__inner {
  max-width: 720px;
  margin: 0 auto;
}

.np-release-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  line-height: 1.4;
}

.np-release-footer__copy {
  color: #9e9e9e;
}

.np-release-footer__sep {
  color: #bdbdbd;
  user-select: none;
}

.np-release-footer__product {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}

.np-release-footer__version-primary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
}

.np-release-footer__version-prefix {
  color: #757575;
  font-weight: 500;
}

.np-release-footer__ver {
  color: #1976d2;
  font-weight: 600;
}

.np-release-footer__pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.3;
}

/* Preproduction: warm, visible but not alarming */
.np-release-footer__pill--prep {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

/* Development: neutral cool */
.np-release-footer__pill--dev {
  background: #eceff1;
  color: #455a64;
  border: 1px solid #cfd8dc;
}

.np-release-footer__details {
  margin-top: 8px;
  border: none;
}

.np-release-footer__summary {
  cursor: pointer;
  list-style: none;
  color: #90a4ae;
  font-size: 11px;
  user-select: none;
}

.np-release-footer__summary::-webkit-details-marker {
  display: none;
}

.np-release-footer__summary::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 4px;
  border-left: 4px solid #90a4ae;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.np-release-footer__details[open] .np-release-footer__summary::before {
  transform: rotate(90deg) translateX(1px);
}

.np-release-footer__summary:hover {
  color: #607d8b;
}

.np-release-footer__panel {
  margin-top: 10px;
  padding: 10px 12px;
  text-align: left;
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.np-release-footer__dl {
  margin: 0;
}

.np-release-footer__kv {
  display: grid;
  grid-template-columns: minmax(100px, 38%) 1fr;
  gap: 4px 12px;
  font-size: 11px;
  margin-bottom: 8px;
}

.np-release-footer__kv:last-child {
  margin-bottom: 0;
}

.np-release-footer__kv dt {
  margin: 0;
  color: #78909c;
  font-weight: 600;
}

.np-release-footer__kv dd {
  margin: 0;
  color: #546e7a;
  word-break: break-word;
}

@media (max-width: 480px) {
  .np-release-footer__kv {
    grid-template-columns: 1fr;
  }
}
