{# ── Contract ────────────────────────────────────────────────────────── # # Variables expected by this partial: # # brand_accent (str, required) App-specific word displayed after # “Artifice”. Examples: “Graph”, # “Draft”, “OCR”, “Transcribe”. # # brand_tagline (str, optional) Short descriptor line rendered # beside the brand wordmark. # Omitted when empty/missing. # # nav_items (list, required) Navigation links. Each item is a dict: # • href (str) : link target # • label (str) : display text # • key (str) : identifier matched against # active_tab to set aria-current # # active_tab (str, required) The `key` of the currently-active # nav item, or an empty string if none is # active. # # show_theme_toggle (bool, required) Whether to render the theme # toggle button. The included app must # supply its own