;; Account layout defcomps — fully self-contained via IO primitives.
;; Registered via register_sx_layout("account", ...) in __init__.py.

;; Full page: root header + auth header row in header-child
(defcomp ~account-layout-full ()
  (<> (~root-header-auto)
    (~header-child-sx
      :inner (~auth-header-row-auto))))

;; OOB (HTMX): auth row + root header, both with oob=true
(defcomp ~account-layout-oob ()
  (<> (~auth-header-row-auto true)
    (~root-header-auto true)))

;; Mobile menu: auth section + root nav
(defcomp ~account-layout-mobile ()
  (<> (~mobile-menu-section
        :label "account" :href "/" :level 1 :colour "sky"
        :items (~auth-nav-items-auto))
    (~root-mobile-auto)))
