/* Office music panel post: one card per build stage, plus the timeline. */

/* Revision card */
.rev {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.75rem 0;
  background: #ffffff;
}

.rev-head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.rev-head p {
  margin: 0;
}

.revno {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #0891b2;
  border-right: 1px solid #e2e8f0;
}

.rev-name {
  padding: 0.6rem 1rem;
  min-width: 0;
}

.rev-name h3 {
  margin: 0;
  font-size: 1.2rem;
}

.rev-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #64748b;
}

.rev-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.rev-hero {
  background: #f8f8f8;
  border-right: 1px solid #e2e8f0;
}

.rev-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.rev-hero p,
.rev-hero figure {
  margin: 0;
}

.rev-notes {
  padding: 1rem 1.1rem;
  min-width: 0;
  font-size: 0.95rem;
}

.rev-notes ul {
  padding-left: 1.1em;
  margin-bottom: 0;
}

.rev-notes li + li {
  margin-top: 0.35rem;
}

.rev-notes .note {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0.75rem 0 0;
}

/* Timeline */
.timeline {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 1.25rem 0;
}

.timeline table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
}

.timeline th,
.timeline td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}

.timeline tr:last-child td {
  border-bottom: 0;
}

.timeline th {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.timeline td.when {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #334155;
}

.timeline tr.group td {
  background: #f1f5f9;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

@media (max-width: 640px) {
  .rev-body {
    grid-template-columns: 1fr;
  }

  .rev-hero {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}
