"""Account defpage setup — registers layouts and loads .sx pages."""
from __future__ import annotations


def setup_account_pages() -> None:
    """Register account-specific layouts and load page definitions."""
    _register_account_layouts()
    _load_account_page_files()


def _load_account_page_files() -> None:
    import os
    from shared.sx.pages import load_page_dir
    load_page_dir(os.path.dirname(__file__), "account")


def _register_account_layouts() -> None:
    from shared.sx.layouts import register_sx_layout
    register_sx_layout("account", "account-layout-full", "account-layout-oob", "account-layout-mobile")
