/* P15 — Systeminfo workspace page */
.erpel-info-page {
  margin-inline: auto;
  max-width: 40rem;
  width: 100%;
}

.erpel-info-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.erpel-info-sections {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.erpel-info-block-title {
  margin: 0 0 0.55rem;
}

.erpel-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}

.erpel-info-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.erpel-info-row dd code {
  font-family: var(--erpel-font-role-hash);
}

.erpel-info-row dt {
  margin: 0;
  font-size: var(--erpel-font-md);
  font-weight: 600;
}

.erpel-info-row dd {
  margin: 0;
  min-width: 0;
  font-size: var(--erpel-font-base);
  font-weight: 400;
  line-height: 1.35;
}

.erpel-info-row-wrap {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.erpel-info-row .tag {
  margin-left: 0.35rem;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .erpel-info-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}


.erpel-version-modal .modal-card {
  width: min(40rem, 96vw);
}

.erpel-version-modal .modal-card-foot {
  gap: 0.75rem;
}

.erpel-version-modal .modal-card-foot .buttons {
  margin-bottom: 0;
}

.erpel-version-modal .modal-card-body .erpel-detail-grid {
  margin-bottom: 1rem;
  max-width: none;
  width: 100%;
}

.erpel-stale-version-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(24rem, calc(100vw - 2rem));
}

.erpel-stale-version-notice {
  box-shadow: 0 4px 16px var(--erpel-ink-a15);
}
