/* wireframe/tabs.css - the standard underline tab menu (contract 1.9).
   Look (owner choice, from home_theater's Settings page): a row of tabs with a thin rail under it, the
   active tab bold with a 2px accent underline sitting on the rail, a one-line description under the row.

   Markup (a host; <a> or <button> tabs both work, the active one carries aria-selected="true"):
     <nav class="hive-tabs" role="tablist" aria-label="Settings">
       <a class="hive-tab" href="/settings/general" aria-selected="true">General</a>
       <button class="hive-tab" type="button" aria-selected="false">Keys</button>
     </nav>
     <p class="hive-tabs-desc">One line about the selected tab.</p>

   Tokens only: reads --border, --text-muted, --text-head, --primary, --focus-ring and never
   declares one. It declares no bare selector, so it is safe in a shadow root: a guest (a widget inside a
   host's page) can adopt this file as a constructable stylesheet; the host's tokens inherit into the root.
   A guest follows the guest rule in README "Guests": it does not assign these token names. */
.hive-tabs {
  display: flex;
  gap: 1.6rem;
  margin: 0.8rem 0 0.9rem;
  border-bottom: 1px solid var(--border);
}
.hive-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  padding: 0.55rem 0.15rem;
  font: inherit;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}
.hive-tab:hover { color: var(--text-head); }
.hive-tab:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.hive-tab[aria-selected="true"] {
  color: var(--text-head);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
.hive-tabs-desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}
