/* ============================================================================
   frms-chrome.css — the bar every FRMS page carries
   ----------------------------------------------------------------------------
   FRMS restructure, phase 1 (2026-09-14). One line at the top of each FRMS
   page's main column: the subsystem's name on the left, linking home, and its
   strip (js/frms-nav.js, the kit's .jf-subnav) on the right. It sits above the
   page's own header, so each page keeps its title and actions.

   Every colour and size is a css/tokens.css token.
   ============================================================================ */

.frms-subsystem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 2px 0 8px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.frms-subsystem-name {
  /* The style guide's touch floor (owner, 2026-09-26, P-7); the text was
     the whole target, 18px tall. */
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}
.frms-subsystem-name:hover { color: var(--accent); }
.frms-subsystem-name:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

.frms-subsystem .jf-subnav { margin-left: auto; }

@media (max-width: 720px) {
  .frms-subsystem { align-items: flex-start; }
  .frms-subsystem .jf-subnav { margin-left: 0; width: 100%; }
}

@media print {
  .frms-subsystem { display: none; }
}
