/* ============================================================================
   GovTheme by Doghouse — system.css
   Styling glue for Drupal system output not owned by a component.
   ========================================================================== */

/* Horizontal-scroll wrapper for wide system tables */
/* .gt-table-scroll moved to css/base.css, beside figure.table — same concern,
   and the kit now owns it there. */

/* Strip the global list styling (base.css) off Drupal's system/UI lists — local
   task tabs, inline link lists, contextual links, admin menus, pager. These are
   chrome, not body prose; content lists keep their bullets. */
.tabs, .tabs__list, .links, .action-links, .contextual-links, .menu, .pager__items,
.gt-local-tasks {
  list-style: none; margin: 0; padding-left: 0;
}

/* Status messages sit clear of what follows; stacked messages get the same gap */
.gt-highlighted [data-drupal-messages] .gt-alert { margin-bottom: var(--gt-space-4); }

/* Task tabs — underline language of the tabs organism, on Drupal's system markup */
.gt-local-tasks {
  display: flex; flex-wrap: wrap; gap: var(--gt-space-1);
  margin-bottom: var(--gt-space-6);
  border-bottom: 2px solid var(--gt-border);
}
.gt-local-tasks a {
  display: flex; align-items: center; min-height: 44px; padding: 0 var(--gt-space-4);
  font-size: var(--gt-text-sm); font-weight: var(--gt-w-semibold);
  color: var(--gt-ink-2); text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.gt-local-tasks a:hover { color: var(--gt-ink); }
.gt-local-tasks a.is-active { color: var(--gt-primary); border-bottom-color: var(--gt-primary); }
