/* =========================================================
   ZAR DATASETS — FOOTER STRIP

   A compact disclaimer / build / policy-links strip fixed to
   the bottom of the ZAR Datasets workspace shell.

   The semantic and link structure mirrors
   modes/zomniverse_ai_research/partials/zar_disclaimer.php
   (same policy destinations: ?mode=privacy,
   ?mode=intellectual-property, ?mode=licence). The styling is
   ZAR Datasets-owned — graphite, low contrast, more muted than
   the header — and does NOT reuse the ZAR AI stylesheet.

   Load order: AFTER Styles/shared/zomniverse-datasets.css.

   Tier 1 scope: styles only the new .zom-datasets-foot* class
   names. The <footer> element and its shell containment land
   with the markup.
========================================================= */

.zom-datasets-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;                       /* part of the shell — never scrolls with rows */
  margin-top: 8px;
  padding: 11px 2px 2px;                /* horizontal gutter comes from the card padding */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7d828c;
  font: 400 11px/1.4 ui-monospace, "Ubuntu Mono", SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.02em;
}

.zom-datasets-foot__note {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.zom-datasets-foot__note svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.zom-datasets-foot__sep {
  flex: 0 0 auto;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
}

/* Filled by JS from the same canonical version authority as the
   header pill. Until then it shows a neutral placeholder — no
   semver literal in markup. */
.zom-datasets-foot__build {
  color: #b7bcc5;
  white-space: nowrap;
}
.zom-datasets-foot__build:empty::before {
  content: "Build \2014";
  color: #7d828c;
}

.zom-datasets-foot__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.zom-datasets-foot__links a {
  color: #969ba5;
  text-decoration: none;
}
.zom-datasets-foot__links a:hover,
.zom-datasets-foot__links a:focus-visible {
  color: var(--zd-cyan, #35d0df);
}

@media (max-width: 760px) {
  .zom-datasets-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 2px 2px;
  }
  .zom-datasets-foot__links {
    align-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .zom-datasets-foot__links::-webkit-scrollbar { display: none; }
}
