/**
 * ============================================================================
 * FILE: header.css
 * PURPOSE: Central edit point for the top header's size, spacing, and typography.
 *
 * CONNECTED TO (WIRING MAP):
 * - HTML Container: index.html (#topNav and #headerNav)
 * - UI State: js/app.js (account navigation and active-user state)
 * - Shared Components: css/components/ui-components.css
 * - Theme Overrides: css/theme.css
 *
 * HOW TO EDIT THIS FILE:
 * - [SECTION 1: HEADER TOKENS] -> Change height, spacing, and brand font size.
 * - [SECTION 2: PHONE TOKENS] -> Change compact header values below 600px.
 * ============================================================================
 */

/* SECTION 1: HEADER TOKENS */
:root {
  --header-padding-block: clamp(0.6rem, 1vw, 0.7rem);
  --header-padding-inline: clamp(1rem, 2vw, 2rem);
  --header-layout-gap: clamp(0.6rem, 1vw, 1rem);
  --header-brand-font-size: var(--text-brand);
  --header-control-min-height: var(--control-height);
}

/* SECTION 2: PHONE TOKENS */
@media (max-width: 600px) {
  :root {
    --header-padding-block: 0.6rem;
    --header-padding-inline: 0.75rem;
    --header-layout-gap: 0.5rem;
  }
}
