/* ==========================================================================
   v014 — Project OMEGA page: "Selected Archives" (final section). Loaded only by
   research/omega/index.html. The section reuses the PROMETHEUS Selected Archives styles
   (prometheus-exhibit.css + prometheus-archives.css, unchanged); this file adds only
   scoped adjustments for the OMEGA collections: the collection label in each summary,
   the small file qualifier tag, and the section's place in the OMEGA page flow.
   ========================================================================== */

.omega-archives { margin: var(--space-8) 0 0; }

/* collection summary: name, then its concise category label, chevron at the right */
.omega-arch > .prom-arch__summary { flex-wrap: wrap; justify-content: flex-start; column-gap: var(--space-5); }
.omega-arch .omega-arch__label {
  margin-right: auto; font-family: var(--font-ui); font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--charcoal-500); line-height: 1.4;
}
.omega-arch .prom-arch__icon { margin-left: auto; }
/* collection names are mixed case (PROMETHEUS entries are small caps "GENESIS nn"), so a tighter tracking */
.omega-arch .prom-arch__name { letter-spacing: 0.03em; }

/* qualifier beside a file name in the navy code bar (e.g. Deferred, Proposed method, Synthetic) */
.omega-arch__qual {
  display: inline-block; margin-left: 0.6rem; padding: 0.05rem 0.5rem; border: 1px solid rgba(214, 189, 127, 0.75);
  border-radius: 999px; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-300); vertical-align: 0.1em;
}
.omega-arch__file { margin: 0 0 var(--space-4); }
.omega-arch__file .prom-code__file { overflow-wrap: anywhere; }

@media (max-width: 40rem) {
  /* name and chevron share the first row; the label sits beneath the name */
  .omega-arch > .prom-arch__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 0.3rem; align-items: center; }
  .omega-arch .prom-arch__name { grid-column: 1; grid-row: 1; }
  .omega-arch .prom-arch__icon { grid-column: 2; grid-row: 1; margin-left: 0; }
  .omega-arch .omega-arch__label { grid-column: 1 / -1; grid-row: 2; margin-right: 0; }
  .omega-arch__qual { margin-left: 0.4rem; }
}
@media (forced-colors: active) { .omega-arch__qual { border-color: CanvasText; } }
