/* NiTools pages (/nitools/, the guide, about, 404), on the TeamVanilla foundation in
   /assets/design.css: only what the product adds is here. The analyzer under /nitools/app/
   keeps its own stylesheet. */

/* NiTools' own pages, in a row under the site header: the current one is underlined in green,
   as the account pages' tabs are. */
.nt-subnav { border-bottom: 1px solid var(--rule); background: var(--bg); }
.nt-subnav .tv-wrap { display: flex; flex-wrap: wrap; align-items: stretch; }
.nt-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .9rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
}
.nt-subnav a:first-child { padding-left: 0; }
.nt-subnav a:hover { color: var(--ink); }
.nt-subnav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px var(--tv-green); }

/* Documentation tables: the first column names the row. */
.prose td:first-child { color: var(--ink); }

/* Phones: each table row becomes a short block. These pages are static, so their cells carry no
   labels the way the rendered pages' do; the first cell names the row instead. */
@media (max-width: 640px) {
  .nt-subnav a { min-height: 2.5rem; padding: 0 .6rem; font-size: .92rem; }
  .prose .scroll thead { display: none; }
  .prose .scroll table, .prose .scroll tbody, .prose .scroll tr, .prose .scroll td { display: block; width: 100%; }
  .prose .scroll tr { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
  .prose .scroll td { padding: .12rem 0; border: 0; }
  .prose .scroll td:first-child { font-family: var(--font-display); font-weight: 600; }
  .prose .nowrap { white-space: normal; }
}
