/* The operating-system status sites (Android, Zephyr): the same file in both.
   On top of style.css, which they share with the U-Boot and Linux sites. */

/* Boards: features × boards. Feature names stay in view while the boards
   scroll sideways on a phone. */
.os-matrix { min-width: 40rem; }
.os-matrix th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 10rem;
  text-align: left;
  font-weight: 500;
  background: var(--bg);
}
.os-matrix th.st-feat { padding-left: 22px; }
.os-matrix thead th:not(:first-child) { min-width: 7rem; }
.os-matrix td.st { font-size: 13px; text-align: left; vertical-align: top; }

/* A feature the same on every board: one cell across the row. */
.os-matrix td.os-all { text-align: center; }
.os-every { margin-left: 8px; font-size: 12px; color: var(--text-dim); }

/* Features: one board, two columns that wrap (no sideways scroll). */
.os-features { width: 100%; }
.os-features th[scope="row"] { width: 45%; text-align: left; font-weight: 500; }
.os-features th.st-feat { padding-left: 22px; }
.os-features td.st { font-size: 14px; text-align: left; }

/* The state dot beside a detail, in the detail's line. */
.os-detail { color: var(--text); margin-left: 2px; }
td.st-yes .st-dot { vertical-align: 1px; }

/* The card under a board's features: images coming, or Design-In. */
.os-cta {
  margin: 20px 0 8px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-raised);
}
.os-cta p { margin: 0 0 10px; }
.os-cta p:last-child { margin-bottom: 0; }
.os-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: #0077b0;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.os-btn:hover { background: #00669a; }
.os-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
