/* Styles for the Version History and Technology Stack pages (pages/site/). */
.release-jump { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.4rem; font: 700 0.78rem/1.3 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.release-jump a { text-underline-offset: 0.2em; }

.history-tools { display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); margin: 1.4rem 0 2rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); background: var(--paper-light); }
.history-tools[hidden] { display: none; }
.history-tools h2 { margin: 0.3rem 0 0; font-size: 1.45rem; }
.history-tools label { display: grid; gap: 0.35rem; font: 700 0.72rem/1.3 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.history-tools input[type="search"] { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; letter-spacing: normal; text-transform: none; }
.history-family { display: flex; flex-wrap: wrap; gap: 0.5rem; grid-column: 1 / -1; }
.history-family button,
.history-tools-footer button { padding: 0.5rem 0.85rem; border: 1px solid var(--line); background: white; color: var(--navy); font: 700 0.78rem/1 "IBM Plex Mono", ui-monospace, monospace; cursor: pointer; }
.history-family button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.history-family button:focus-visible,
.history-tools-footer button:focus-visible,
.history-tools input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.history-tools-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; grid-column: 1 / -1; }
.history-tools-footer p { margin: 0; font: 700 0.78rem/1.3 "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); }
.history-empty { padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #f4ead4; }

.release { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.release[hidden] { display: none; }
.release .section-number { color: #87601e; font: 700 0.85rem/1.8 "IBM Plex Mono", ui-monospace, monospace; }
.release h3 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.release-date { margin: 0.3rem 0 0.8rem; color: var(--muted); }
.release ul { margin: 0; padding-left: 1.1rem; }
.release li { margin: 0.45rem 0; max-width: 72ch; }

.tech-contents { margin: 1rem 0 2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); background: var(--paper-light); }
.tech-contents ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.tech-section { padding: 1.6rem 0; border-top: 1px solid var(--line); max-width: 78ch; }
.tech-section h3 { margin: 0 0 0.8rem; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.tech-figure { margin: 1.4rem 0; }
.tech-figure img { display: block; width: 100%; max-width: 420px; height: auto; margin-inline: auto; }
.tech-section h4 { margin: 1.4rem 0 0.4rem; color: var(--navy); font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; }

@media (max-width: 700px) {
  .history-tools { grid-template-columns: minmax(0, 1fr); }
  .release { grid-template-columns: minmax(0, 1fr); }
  .tech-contents ol { columns: 1; }
}
