/*
 * Green X Arena mobile app shell.
 *
 * This is the only mobile layout layer loaded by the plugin. It deliberately
 * leaves the desktop presentation untouched and turns the existing WordPress
 * markup into a compact, single-scroll application below 900px.
 */

.gxa-mobile-profile-overview,
.gxa-mobile-profile-editor-head,
.gxa-mobile-filter-toggle,
.gxa-mobile-admin-back {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --gxa-mobile-bg: #030705;
    --gxa-mobile-surface: #0e1310;
    --gxa-mobile-surface-raised: #141a16;
    --gxa-mobile-line: rgba(172, 208, 164, .18);
    --gxa-mobile-line-active: rgba(36, 255, 0, .46);
    --gxa-mobile-text: #f5f8f3;
    --gxa-mobile-muted: #aeb9aa;
    --gxa-mobile-green: #24ff00;
    --gxa-mobile-danger: #e94678;
    --gxa-mobile-header: 72px;
    --gxa-mobile-nav: 72px;
    --gxa-mobile-gutter: 16px;
    --gxa-mobile-gap: 12px;
    --gxa-mobile-radius: 14px;
  }

  html {
    min-width: 0;
    overflow-x: hidden;
    background: var(--gxa-mobile-bg);
    scroll-behavior: auto;
  }

  html.gxa-mobile-app-mode,
  html.gxa-mobile-app-mode body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.gxa-plugin-page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    color: var(--gxa-mobile-text);
    background: var(--gxa-mobile-bg) !important;
    overscroll-behavior-y: contain;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.gxa-plugin-page *,
  body.gxa-plugin-page *::before,
  body.gxa-plugin-page *::after {
    box-sizing: border-box;
    min-width: 0;
  }

  body.gxa-plugin-page :where(
    .site,
    .site-content,
    .content-area,
    .site-main,
    .entry-content,
    .wp-site-blocks,
    main,
    article
  ) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  body.gxa-plugin-page .entry-content,
  body.gxa-plugin-page .wp-block-post-content {
    padding: 0 !important;
  }

  body.gxa-plugin-page img,
  body.gxa-plugin-page video {
    max-width: 100%;
    height: auto;
  }

  body.gxa-plugin-page :where(button, a, input, select, textarea, summary) {
    -webkit-tap-highlight-color: transparent;
  }

  body.gxa-plugin-page :where(button, a) {
    touch-action: manipulation;
  }

  /* Shared compact app header. */
  header[data-gxa-plugin-header].gxa-sitebar.gxa-top.gxa-shared-header {
    position: sticky !important;
    top: 0;
    z-index: 10040;
    width: 100%;
    min-height: var(--gxa-mobile-header) !important;
    padding: env(safe-area-inset-top) 0 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gxa-mobile-line) !important;
    border-radius: 0 !important;
    background: rgba(3, 7, 5, .96) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .34) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__inner {
    position: relative;
    width: 100% !important;
    min-height: var(--gxa-mobile-header) !important;
    margin: 0 !important;
    padding: 8px var(--gxa-mobile-gutter) !important;
    display: grid !important;
    grid-template-columns: minmax(64px, 1fr) auto 44px !important;
    grid-template-areas: "logo tools toggle";
    align-items: center !important;
    gap: 10px !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__logo {
    grid-area: logo;
    justify-self: start;
    width: auto;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__logo-custom img {
    width: auto !important;
    max-width: 82px !important;
    max-height: 50px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(36, 255, 0, .18));
  }

  header[data-gxa-plugin-header] .gxa-sitebar__brand {
    font-size: 12px;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__toggle {
    grid-area: toggle;
    justify-self: end !important;
    display: inline-grid !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid var(--gxa-mobile-line-active) !important;
    border-radius: 12px !important;
    background: #09100c !important;
    color: var(--gxa-mobile-green) !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__tools {
    grid-area: tools;
    justify-self: end !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  header[data-gxa-plugin-header] .gxa-language-switcher {
    display: inline-flex !important;
    align-items: center;
    flex: none;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    gap: 1px;
    min-height: 44px;
    padding: 3px !important;
    overflow: visible !important;
    border: 1px solid var(--gxa-mobile-line) !important;
    border-radius: 999px !important;
    background: #070c09 !important;
  }

  header[data-gxa-plugin-header] .gxa-language-switcher a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-width: 34px !important;
    min-height: 36px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    color: var(--gxa-mobile-muted) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-decoration: none;
  }

  header[data-gxa-plugin-header] .gxa-language-switcher a.is-active,
  header[data-gxa-plugin-header] .gxa-language-switcher a[aria-current="page"] {
    color: #020500 !important;
    background: var(--gxa-mobile-green) !important;
    box-shadow: 0 0 16px rgba(36, 255, 0, .28);
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account {
    display: block !important;
    flex: none;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-account--guest {
    display: inline-flex !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-button,
  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-account__trigger {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-account__trigger {
    min-width: 44px;
    padding: 4px !important;
    border-color: rgba(233, 70, 120, .74) !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-account__trigger span:last-child {
    display: none !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-button {
    padding-inline: 14px !important;
    color: var(--gxa-mobile-text) !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .09em !important;
    white-space: nowrap;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-button:last-child,
  header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-button.is-primary {
    color: #020500 !important;
    background: var(--gxa-mobile-green) !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__mobile-auth {
    display: none !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__nav {
    position: absolute !important;
    top: calc(100% + 1px);
    left: var(--gxa-mobile-gutter);
    right: var(--gxa-mobile-gutter);
    z-index: 5;
    grid-area: auto !important;
    width: auto !important;
    max-height: min(68vh, 520px);
    margin: 0 !important;
    padding: 10px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    overflow-y: auto !important;
    border: 1px solid var(--gxa-mobile-line-active) !important;
    border-radius: var(--gxa-mobile-radius) !important;
    background: rgba(5, 10, 7, .98) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .5) !important;
  }

  header[data-gxa-plugin-header].is-menu-open .gxa-sitebar__nav,
  header[data-gxa-plugin-header] .gxa-sitebar__nav.is-open {
    display: flex !important;
  }

  header[data-gxa-plugin-header] .gxa-menu-top,
  header[data-gxa-plugin-header] .gxa-submenu a {
    min-height: 48px !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }

  header[data-gxa-plugin-header] .gxa-submenu {
    padding-left: 10px !important;
  }

  /* Guest auth actions use a calm second row on narrow phones. */
  body:not(.logged-in).gxa-plugin-page {
    --gxa-mobile-header: 122px;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__inner {
    grid-template-columns: minmax(64px, 1fr) 44px !important;
    grid-template-areas:
      "logo toggle"
      "tools tools";
    grid-template-rows: 54px 52px;
    align-content: center;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__tools {
    width: 100% !important;
    justify-content: space-between !important;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__account {
    margin-left: auto;
  }

  /* One app shell, one page scroll. */
  body.gxa-dashboard-page .gxa-app.gxa-dashboard {
    position: relative !important;
    isolation: isolate;
    width: 100% !important;
    min-height: calc(100svh - var(--gxa-mobile-header)) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(3, 7, 5, .44), rgba(3, 7, 5, .88)),
      url("../img/gxa-dashboard-ice-bg.jpg") center top / cover no-repeat !important;
  }

  body.gxa-dashboard-page .gxa-app.gxa-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 7, 5, .08), rgba(3, 7, 5, .74) 45%, #030705 100%);
  }

  body.gxa-dashboard-page .gxa-portal-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  body.gxa-dashboard-page .gxa-portal-shell > .gxa-portal-nav {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-portal-main {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - var(--gxa-mobile-header)) !important;
    margin: 0 !important;
    padding: var(--gxa-mobile-gutter) var(--gxa-mobile-gutter) calc(var(--gxa-mobile-nav) + env(safe-area-inset-bottom) + 28px) !important;
    display: block !important;
    overflow: visible !important;
  }

  body.gxa-dashboard-page .gxa-dashboard-panel {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.gxa-dashboard-page .gxa-dashboard-panel[hidden],
  body.gxa-dashboard-page .gxa-admin-screen[hidden] {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-dashboard-panel.is-active,
  body.gxa-dashboard-page .gxa-admin-screen.is-active {
    display: block !important;
    animation: gxa-mobile-screen-in .22s ease both;
  }

  body.gxa-dashboard-page :where(
    .gxa-card,
    .gxa-panel,
    .gxa-hero-card,
    .gxa-admin-workbench,
    .gxa-profile-section,
    .gxa-profile-avatar-strip
  ) {
    border: 1px solid var(--gxa-mobile-line) !important;
    border-radius: var(--gxa-mobile-radius) !important;
    background: rgba(10, 15, 12, .94) !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.gxa-dashboard-page :where(h1, h2, h3, h4, p, strong, span, small, label, dt, dd) {
    max-width: 100%;
    overflow-wrap: anywhere;
    letter-spacing: 0;
  }

  body.gxa-dashboard-page :where(.gxa-eyebrow, .gxa-section-title span, .gxa-card > span) {
    color: #bce9b3 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
  }

  /* Persistent bottom app navigation. */
  body.gxa-dashboard-page .gxa-mobile-portal-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box !important;
    overflow: hidden;
    min-height: calc(var(--gxa-mobile-nav) + env(safe-area-inset-bottom));
    padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    border-top: 1px solid var(--gxa-mobile-line);
    background: rgba(3, 7, 5, .97);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .38);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar__item {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    overflow: hidden;
    min-height: 56px;
    padding: 6px 2px 5px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0 !important;
    border-radius: 12px !important;
    color: #8f9b8c !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar__item.is-active {
    color: var(--gxa-mobile-text) !important;
    background: rgba(36, 255, 0, .11) !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar__item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--gxa-mobile-green);
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar :where(.gxa-nav-icon, .gxa-mobile-icon, .gxa-mobile-portal-bar__more) {
    width: 22px !important;
    height: 22px !important;
    flex: none;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar .gxa-mobile-portal-bar__more {
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    box-shadow: 0 -6px currentColor, 0 6px currentColor !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer[hidden] {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: block !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, .64);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(82svh, 680px);
    padding: 8px var(--gxa-mobile-gutter) calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid var(--gxa-mobile-line-active);
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #07100b;
    box-shadow: 0 -22px 60px rgba(0, 0, 0, .54);
    animation: gxa-mobile-sheet-in .22s ease both;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__head {
    position: sticky;
    top: -8px;
    z-index: 2;
    min-height: 64px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #07100b;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__head span {
    display: block;
    color: var(--gxa-mobile-muted);
    font-size: 10px;
    text-transform: uppercase;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__head strong {
    display: block;
    margin-top: 3px;
    font-size: 20px;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__head button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 12px;
    color: var(--gxa-mobile-text);
    background: #0d1510;
    font-size: 24px;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__content {
    display: grid;
    gap: var(--gxa-mobile-gap);
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer__language,
  body.gxa-dashboard-page .gxa-mobile-drawer-home,
  body.gxa-dashboard-page .gxa-mobile-drawer-logout {
    min-height: 56px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 12px;
    color: var(--gxa-mobile-text);
    background: var(--gxa-mobile-surface);
    text-decoration: none;
    font-weight: 800;
  }

  body.gxa-dashboard-page .gxa-mobile-drawer-logout {
    color: #ff86a9;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav {
    position: static !important;
    width: 100% !important;
    display: grid !important;
    gap: 12px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav__group {
    display: grid;
    gap: 8px;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav__group > span {
    padding: 0 4px;
    color: var(--gxa-mobile-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav nav {
    display: grid !important;
    gap: 6px;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav__item {
    min-height: 52px !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gxa-mobile-line) !important;
    border-radius: 12px !important;
    color: var(--gxa-mobile-muted) !important;
    background: var(--gxa-mobile-surface) !important;
    text-decoration: none;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-drawer .gxa-portal-nav__item.is-active {
    color: var(--gxa-mobile-text) !important;
    border-color: var(--gxa-mobile-line-active) !important;
    background: rgba(36, 255, 0, .09) !important;
  }

  /* Member home. */
  body.gxa-dashboard-page .gxa-profile-welcome {
    min-height: 0 !important;
    padding: 18px !important;
    display: block !important;
  }

  body.gxa-dashboard-page .gxa-profile-welcome__identity {
    display: grid !important;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px !important;
  }

  body.gxa-dashboard-page .gxa-profile-avatar--dashboard {
    width: 66px !important;
    height: 66px !important;
    border-radius: 14px !important;
  }

  body.gxa-dashboard-page .gxa-profile-welcome h2 {
    margin: 4px 0 0 !important;
    font-size: clamp(23px, 7vw, 30px) !important;
    line-height: 1.06 !important;
  }

  body.gxa-dashboard-page .gxa-profile-welcome__identity > div > p:last-child {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-completion-meter {
    grid-column: 3;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }

  body.gxa-dashboard-page .gxa-completion-meter span,
  body.gxa-dashboard-page .gxa-completion-meter i {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-completion-meter strong {
    font-size: 18px !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary {
    margin-top: var(--gxa-mobile-gap) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary .gxa-card {
    min-height: 104px !important;
    padding: 13px 11px !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary .gxa-card strong {
    display: block;
    margin-top: 8px;
    color: var(--gxa-mobile-green) !important;
    font-size: clamp(15px, 4vw, 19px) !important;
    line-height: 1.08 !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary .gxa-card p {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-next-steps,
  body.gxa-dashboard-page .gxa-active-modules {
    margin-top: var(--gxa-mobile-gap) !important;
    padding: 14px !important;
  }

  body.gxa-dashboard-page .gxa-section-title {
    min-height: 32px;
    padding-bottom: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--gxa-mobile-line);
  }

  body.gxa-dashboard-page .gxa-next-steps__grid,
  body.gxa-dashboard-page .gxa-active-modules__grid {
    margin-top: 4px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.gxa-dashboard-page .gxa-next-step,
  body.gxa-dashboard-page .gxa-module-card {
    position: relative;
    min-height: 66px !important;
    padding: 12px 30px 12px 0 !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gxa-mobile-line) !important;
    border-radius: 0 !important;
    color: var(--gxa-mobile-text) !important;
    background: transparent !important;
    text-decoration: none;
  }

  body.gxa-dashboard-page .gxa-next-step::after,
  body.gxa-dashboard-page .gxa-module-card::after {
    content: "›";
    position: absolute;
    right: 3px;
    top: 50%;
    color: var(--gxa-mobile-green);
    font-size: 23px;
    transform: translateY(-50%);
  }

  body.gxa-dashboard-page .gxa-next-step strong,
  body.gxa-dashboard-page .gxa-module-card strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  body.gxa-dashboard-page .gxa-next-step p,
  body.gxa-dashboard-page .gxa-module-card p {
    grid-column: 2;
    margin: -4px 0 0 !important;
    color: var(--gxa-mobile-muted) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.gxa-dashboard-page .gxa-next-step:nth-child(n+4) {
    display: none !important;
  }

  /* Mobile profile overview and deliberate edit mode. */
  body.gxa-dashboard-page .gxa-mobile-profile-overview {
    display: grid;
    gap: var(--gxa-mobile-gap);
  }

  body.gxa-dashboard-page [data-gxa-profile-app]:not(.is-mobile-editing) > :not(.gxa-mobile-profile-overview) {
    display: none !important;
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing > .gxa-mobile-profile-overview {
    display: none !important;
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing .gxa-mobile-profile-editor-head {
    display: grid !important;
  }

  body.gxa-dashboard-page .gxa-mobile-page-heading {
    min-height: 58px;
    padding: 2px 2px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  body.gxa-dashboard-page .gxa-mobile-page-heading h2,
  body.gxa-dashboard-page .gxa-mobile-profile-editor-head h2 {
    margin: 4px 0 0 !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
  }

  body.gxa-dashboard-page .gxa-mobile-icon-button,
  body.gxa-dashboard-page .gxa-mobile-back-button {
    min-height: 44px;
    border: 1px solid var(--gxa-mobile-line-active);
    border-radius: 12px;
    color: var(--gxa-mobile-text);
    background: var(--gxa-mobile-surface);
  }

  body.gxa-dashboard-page .gxa-mobile-icon-button {
    position: relative;
    width: auto;
    min-width: 116px;
    min-height: 46px;
    padding: 0 15px 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: #041006;
    border-color: rgba(97, 255, 63, 0.92);
    background: linear-gradient(180deg, #58ff2b 0%, #2ddd0c 100%);
    box-shadow:
      0 0 0 1px rgba(61, 255, 24, 0.16),
      0 8px 22px rgba(25, 217, 0, 0.22);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  }

  body.gxa-dashboard-page .gxa-mobile-icon-button:hover,
  body.gxa-dashboard-page .gxa-mobile-icon-button:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow:
      0 0 0 2px rgba(61, 255, 24, 0.2),
      0 10px 28px rgba(25, 217, 0, 0.3);
  }

  body.gxa-dashboard-page .gxa-mobile-icon-button:active {
    transform: scale(0.98);
  }

  body.gxa-dashboard-page .gxa-mobile-edit-cta__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
  }

  body.gxa-dashboard-page .gxa-mobile-edit-cta__icon::before,
  body.gxa-dashboard-page .gxa-mobile-edit-cta__icon::after {
    content: "";
    position: absolute;
    left: 1px;
    width: 17px;
    height: 3px;
    border-radius: 2px;
    background: #061208;
    transform: rotate(-45deg);
  }

  body.gxa-dashboard-page .gxa-mobile-edit-cta__icon::before {
    top: 7px;
  }

  body.gxa-dashboard-page .gxa-mobile-edit-cta__icon::after {
    top: 12px;
    left: 6px;
    width: 11px;
  }

  body.gxa-dashboard-page .gxa-mobile-edit-cta__label {
    position: relative;
    z-index: 1;
  }

  @media (prefers-reduced-motion: no-preference) {
    body.gxa-dashboard-page .gxa-mobile-edit-cta {
      animation: gxa-mobile-edit-hint 3.2s ease-in-out 700ms 1 both;
    }
  }

  @keyframes gxa-mobile-edit-hint {
    0%, 100% {
      box-shadow:
        0 0 0 1px rgba(61, 255, 24, 0.16),
        0 8px 22px rgba(25, 217, 0, 0.22);
    }
    38% {
      box-shadow:
        0 0 0 5px rgba(61, 255, 24, 0.11),
        0 10px 32px rgba(25, 217, 0, 0.38);
    }
  }

  @media (max-width: 359px) {
    body.gxa-dashboard-page .gxa-mobile-page-heading {
      gap: 8px;
    }

    body.gxa-dashboard-page .gxa-mobile-icon-button {
      min-width: 104px;
      padding-right: 11px;
      padding-left: 38px;
      font-size: 10px;
    }

    body.gxa-dashboard-page .gxa-mobile-edit-cta__icon {
      left: 11px;
    }
  }

  body.gxa-dashboard-page .gxa-mobile-profile-identity {
    min-height: 112px;
    padding: 16px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gxa-mobile-line-active);
    border-radius: var(--gxa-mobile-radius);
    background: rgba(9, 16, 11, .96);
  }

  body.gxa-dashboard-page .gxa-profile-avatar--mobile {
    width: 70px !important;
    height: 70px !important;
    border-radius: 14px !important;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-identity__copy {
    display: grid;
    gap: 3px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-identity__copy span,
  body.gxa-dashboard-page .gxa-mobile-profile-identity__copy small {
    color: var(--gxa-mobile-muted);
    font-size: 11px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-identity__copy strong {
    font-size: 21px;
    line-height: 1.05;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-score {
    min-width: 48px;
    text-align: right;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-score strong {
    display: block;
    color: var(--gxa-mobile-green);
    font-size: 18px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-score span {
    color: var(--gxa-mobile-muted);
    font-size: 9px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-cards {
    display: grid;
    gap: var(--gxa-mobile-gap);
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card {
    padding: 15px;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: var(--gxa-mobile-radius);
    background: rgba(10, 15, 12, .94);
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card__head {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card dl {
    margin: 10px 0 0;
    display: grid;
    gap: 0;
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card dl > div {
    min-height: 48px;
    display: grid;
    grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--gxa-mobile-line);
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card dt {
    color: var(--gxa-mobile-muted);
    font-size: 12px;
  }

  body.gxa-dashboard-page .gxa-mobile-detail-card dd {
    margin: 0;
    color: var(--gxa-mobile-text);
    font-size: 13px;
    text-align: right;
  }

  body.gxa-dashboard-page .gxa-mobile-chip-row {
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  body.gxa-dashboard-page .gxa-mobile-chip-row span {
    min-height: 32px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 999px;
    color: #d7e0d4;
    background: #0c120e;
    font-size: 11px;
  }

  body.gxa-dashboard-page .gxa-mobile-text-action {
    width: 100%;
    min-height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-top: 1px solid var(--gxa-mobile-line);
    color: var(--gxa-mobile-text);
    background: transparent;
    font-weight: 800;
    text-align: left;
  }

  body.gxa-dashboard-page .gxa-mobile-text-action span {
    color: var(--gxa-mobile-green);
    font-size: 22px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-editor-head {
    position: sticky;
    top: calc(var(--gxa-mobile-header) + 1px);
    z-index: 8;
    margin: calc(var(--gxa-mobile-gutter) * -1) calc(var(--gxa-mobile-gutter) * -1) 12px;
    padding: 10px var(--gxa-mobile-gutter) 8px;
    gap: 9px;
    border-bottom: 1px solid var(--gxa-mobile-line);
    background: rgba(3, 7, 5, .98);
  }

  body.gxa-dashboard-page .gxa-mobile-back-button {
    justify-self: start;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
  }

  body.gxa-dashboard-page .gxa-mobile-back-button span {
    color: var(--gxa-mobile-green);
    font-size: 22px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-tabs button {
    min-height: 40px;
    padding: 5px 3px;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 10px;
    color: var(--gxa-mobile-muted);
    background: var(--gxa-mobile-surface);
    font-size: 10px;
    font-weight: 850;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-tabs button.is-active {
    color: #020500;
    border-color: var(--gxa-mobile-green);
    background: var(--gxa-mobile-green);
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing .gxa-profile-hero,
  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing .gxa-profile-toc {
    display: none !important;
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing .gxa-profile-form {
    display: grid !important;
    gap: var(--gxa-mobile-gap) !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing [data-gxa-profile-section-key] {
    display: none !important;
  }

  body.gxa-dashboard-page [data-gxa-profile-app].is-mobile-editing [data-gxa-profile-section-key].is-mobile-active {
    display: grid !important;
    animation: gxa-mobile-screen-in .18s ease both;
  }

  body.gxa-dashboard-page .gxa-profile-avatar-strip,
  body.gxa-dashboard-page .gxa-profile-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.gxa-dashboard-page .gxa-profile-section__meta {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
  }

  body.gxa-dashboard-page .gxa-profile-section__meta .gxa-profile-section__icon {
    grid-row: 1 / 3;
    width: 44px !important;
    height: 44px !important;
  }

  body.gxa-dashboard-page .gxa-profile-section__meta p {
    margin: 0 !important;
  }

  body.gxa-dashboard-page .gxa-profile-section__meta h3,
  body.gxa-dashboard-page .gxa-profile-avatar-strip h3 {
    margin: 2px 0 0 !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
  }

  body.gxa-dashboard-page .gxa-profile-avatar-strip__media,
  body.gxa-dashboard-page .gxa-avatar-dropzone {
    width: 100% !important;
  }

  body.gxa-dashboard-page .gxa-avatar-dropzone {
    min-height: 170px !important;
    padding: 16px !important;
    border: 1px dashed var(--gxa-mobile-line-active) !important;
    border-radius: 12px !important;
    background: #08100a !important;
  }

  body.gxa-dashboard-page .gxa-profile-avatar--edit {
    width: 88px !important;
    height: 88px !important;
  }

  body.gxa-dashboard-page .gxa-control-grid,
  body.gxa-dashboard-page .gxa-address-fields,
  body.gxa-dashboard-page .gxa-profile-security-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.gxa-dashboard-page .gxa-phone-control {
    display: grid !important;
    grid-template-columns: minmax(108px, .85fr) minmax(0, 1.45fr) !important;
    gap: 10px !important;
  }

  body.gxa-dashboard-page .gxa-form label,
  body.gxa-dashboard-page .gxa-profile-form label {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    gap: 7px !important;
    color: #cbe2c5 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  body.gxa-dashboard-page :where(input, select, textarea) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid rgba(36, 255, 0, .24) !important;
    border-radius: 10px !important;
    color: var(--gxa-mobile-text) !important;
    background-color: #070c09 !important;
    font: inherit !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
  }

  body.gxa-dashboard-page select {
    padding-right: 42px !important;
    background-image:
      linear-gradient(45deg, transparent 50%, #bfeab8 50%),
      linear-gradient(135deg, #bfeab8 50%, transparent 50%) !important;
    background-position:
      calc(100% - 18px) 22px,
      calc(100% - 13px) 22px !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    appearance: none;
    -webkit-appearance: none;
  }

  body.gxa-dashboard-page textarea {
    min-height: 120px !important;
    height: auto !important;
    padding-block: 13px !important;
    resize: vertical;
  }

  body.gxa-dashboard-page input[type="date"] {
    min-height: 52px !important;
    text-align: left !important;
  }

  body.gxa-dashboard-page :where(input, select, textarea):focus {
    outline: 2px solid rgba(36, 255, 0, .42) !important;
    outline-offset: 1px;
    border-color: var(--gxa-mobile-green) !important;
  }

  body.gxa-dashboard-page .gxa-profile-security-grid > div {
    min-height: 112px;
    padding: 14px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 12px;
    background: #0c120e;
  }

  body.gxa-dashboard-page .gxa-profile-savebar {
    position: sticky !important;
    bottom: calc(var(--gxa-mobile-nav) + env(safe-area-inset-bottom) + 8px);
    z-index: 9;
    margin-top: 0 !important;
    padding: 10px !important;
    display: grid !important;
    gap: 6px !important;
    border: 1px solid var(--gxa-mobile-line-active) !important;
    border-radius: 12px !important;
    background: rgba(4, 10, 6, .96) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35) !important;
  }

  body.gxa-dashboard-page .gxa-button,
  body.gxa-dashboard-page button.gxa-button {
    min-height: 50px !important;
    padding: 0 16px !important;
    border: 1px solid var(--gxa-mobile-green) !important;
    border-radius: 10px !important;
    color: #020500 !important;
    background: var(--gxa-mobile-green) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
  }

  /* Admin: first show decisions, then drill into one full-width screen. */
  body.gxa-dashboard-page .gxa-admin-hero {
    min-height: 0 !important;
    padding: 17px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  body.gxa-dashboard-page .gxa-admin-hero h2 {
    margin: 5px 0 0 !important;
    font-size: 26px !important;
    line-height: 1.05 !important;
  }

  body.gxa-dashboard-page .gxa-admin-hero p:not(.gxa-eyebrow),
  body.gxa-dashboard-page .gxa-admin-badges {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-admin-meter {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }

  body.gxa-dashboard-page .gxa-admin-meter span,
  body.gxa-dashboard-page .gxa-admin-meter i {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-admin-meter strong {
    font-size: 20px !important;
  }

  body.gxa-dashboard-page .gxa-admin-kpi-grid {
    margin-top: var(--gxa-mobile-gap) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.gxa-dashboard-page .gxa-admin-kpi {
    min-height: 108px !important;
    padding: 13px !important;
  }

  body.gxa-dashboard-page .gxa-admin-kpi strong {
    display: block;
    margin-top: 8px;
    color: var(--gxa-mobile-green) !important;
    font-size: 29px !important;
    line-height: 1 !important;
  }

  body.gxa-dashboard-page .gxa-admin-kpi p {
    margin: 7px 0 0 !important;
    color: var(--gxa-mobile-muted) !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  body.gxa-dashboard-page [data-gxa-admin-screen="overview"] .gxa-admin-layout {
    margin-top: var(--gxa-mobile-gap) !important;
    display: block !important;
  }

  body.gxa-dashboard-page [data-gxa-admin-screen="overview"] .gxa-admin-layout > section:not(:nth-child(2)),
  body.gxa-dashboard-page [data-gxa-admin-screen="overview"] .gxa-admin-ops-grid {
    display: none !important;
  }

  body.gxa-dashboard-page [data-gxa-admin-screen="overview"] .gxa-admin-layout > section:nth-child(2) {
    width: 100% !important;
    padding: 14px !important;
  }

  body.gxa-dashboard-page .gxa-admin-action-list {
    margin-top: 4px;
    display: grid !important;
    gap: 0 !important;
  }

  body.gxa-dashboard-page .gxa-admin-action {
    position: relative;
    width: 100% !important;
    min-height: 64px !important;
    padding: 11px 34px 11px 0 !important;
    display: grid !important;
    gap: 3px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gxa-mobile-line) !important;
    border-radius: 0 !important;
    color: var(--gxa-mobile-text) !important;
    background: transparent !important;
    text-align: left !important;
  }

  body.gxa-dashboard-page .gxa-admin-action::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    color: var(--gxa-mobile-green);
    font-size: 24px;
    transform: translateY(-50%);
  }

  body.gxa-dashboard-page .gxa-admin-action strong {
    font-size: 15px !important;
  }

  body.gxa-dashboard-page .gxa-admin-action span {
    color: var(--gxa-mobile-muted) !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  body.gxa-dashboard-page .gxa-admin-screen {
    width: 100% !important;
    margin-top: var(--gxa-mobile-gap) !important;
  }

  body.gxa-dashboard-page .gxa-admin-screen > .gxa-card,
  body.gxa-dashboard-page .gxa-admin-workbench {
    width: 100% !important;
    padding: 14px !important;
  }

  body.gxa-dashboard-page .gxa-admin-screen .gxa-section-title {
    margin-bottom: 10px;
  }

  body.gxa-dashboard-page .gxa-mobile-admin-back {
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 10px;
    color: var(--gxa-mobile-text);
    background: var(--gxa-mobile-surface);
    font-weight: 800;
  }

  body.gxa-dashboard-page .gxa-mobile-admin-back span {
    color: var(--gxa-mobile-green);
    font-size: 22px;
  }

  body.gxa-dashboard-page .gxa-mobile-filter-toggle {
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--gxa-mobile-line);
    border-radius: 10px;
    color: var(--gxa-mobile-text);
    background: var(--gxa-mobile-surface);
    font-weight: 800;
  }

  body.gxa-dashboard-page .gxa-mobile-filter-toggle::after {
    content: "+";
    color: var(--gxa-mobile-green);
    font-size: 22px;
  }

  body.gxa-dashboard-page .gxa-mobile-filter-toggle[aria-expanded="true"]::after {
    content: "−";
  }

  body.gxa-dashboard-page .gxa-admin-filterbar {
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.gxa-dashboard-page .gxa-admin-filterbar.is-mobile-open {
    margin-bottom: 12px;
    display: grid !important;
  }

  body.gxa-dashboard-page :where(
    .gxa-admin-users-layout,
    .gxa-admin-location-layout,
    .gxa-admin-settings-layout,
    .gxa-admin-operations-layout,
    .gxa-admin-grid,
    .gxa-admin-form-grid,
    .gxa-admin-module-control-grid,
    .gxa-admin-ops-grid
  ) {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--gxa-mobile-gap) !important;
  }

  body.gxa-dashboard-page .gxa-admin-users-list,
  body.gxa-dashboard-page .gxa-admin-user-detail {
    width: 100% !important;
    max-width: none !important;
  }

  body.gxa-dashboard-page .gxa-admin-user-detail {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-admin-users-layout.is-mobile-admin-detail .gxa-admin-users-list {
    display: none !important;
  }

  body.gxa-dashboard-page .gxa-admin-users-layout.is-mobile-admin-detail .gxa-admin-user-detail {
    display: block !important;
  }

  body.gxa-dashboard-page .gxa-admin-user-row,
  body.gxa-dashboard-page .gxa-admin-users-list button,
  body.gxa-dashboard-page .gxa-admin-location-row {
    width: 100% !important;
    min-height: 64px !important;
  }

  body.gxa-dashboard-page .gxa-admin-user-detail :where(h2, h3) {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  body.gxa-dashboard-page .gxa-admin-workbench :where(input, select, textarea) {
    width: 100% !important;
    min-height: 52px !important;
  }

  body.gxa-dashboard-page :where(
    .gxa-profile-form,
    .gxa-profile-section,
    .gxa-admin-screen,
    .gxa-admin-workbench,
    .gxa-admin-layout
  ) {
    max-height: none !important;
    overflow: visible !important;
  }

  body.gxa-dashboard-page .gxa-site-footer {
    display: none !important;
  }

  /* Authentication: same app shell, no duplicate mobile navigation. */
  body.gxa-auth-page .gxa-mobile-public-nav {
    display: none !important;
  }

  body.gxa-auth-page .gxa-app {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - var(--gxa-mobile-header)) !important;
    margin: 0 !important;
    padding: var(--gxa-mobile-gutter) !important;
    border: 0 !important;
    background: var(--gxa-mobile-bg) !important;
  }

  body.gxa-auth-page .gxa-auth {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--gxa-mobile-gap) !important;
  }

  body.gxa-auth-page .gxa-auth__visual,
  body.gxa-auth-page .gxa-auth__forms,
  body.gxa-auth-page .gxa-auth .gxa-panel {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: var(--gxa-mobile-radius) !important;
  }

  body.gxa-auth-page .gxa-auth__visual {
    order: 2;
    padding: 20px !important;
    text-align: left !important;
  }

  body.gxa-auth-page .gxa-auth__forms {
    order: 1;
  }

  body.gxa-auth-page .gxa-auth__visual::before {
    opacity: .16 !important;
  }

  body.gxa-auth-page .gxa-auth__mark {
    font-size: 12px !important;
  }

  body.gxa-auth-page .gxa-auth__visual h2 {
    margin: 12px 0 6px !important;
    font-size: 30px !important;
    line-height: 1.04 !important;
  }

  body.gxa-auth-page .gxa-auth__visual p {
    margin: 0 !important;
    color: var(--gxa-mobile-muted) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.gxa-auth-page .gxa-auth__chips {
    margin-top: 14px !important;
    gap: 6px !important;
  }

  body.gxa-auth-page .gxa-auth__forms,
  body.gxa-auth-page .gxa-auth .gxa-panel {
    padding: 20px !important;
  }

  body.gxa-auth-page .gxa-auth__card h2,
  body.gxa-auth-page .gxa-auth__register h2 {
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  body.gxa-auth-page .gxa-auth__forms :where(input, select, textarea) {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
  }

  body.gxa-auth-page .gxa-auth__forms textarea {
    height: auto !important;
  }

  body.gxa-auth-page .gxa-site-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }

  @keyframes gxa-mobile-screen-in {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes gxa-mobile-sheet-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 620px) and (min-width: 521px) {
  header[data-gxa-plugin-header] .gxa-sitebar__logo-custom img {
    max-width: 76px !important;
  }

  header[data-gxa-plugin-header] .gxa-language-switcher a {
    min-width: 32px !important;
    padding-inline: 5px !important;
  }
}

@media (max-width: 520px) {
  :root {
    --gxa-mobile-gutter: 14px;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__inner {
    grid-template-columns: minmax(56px, 1fr) auto 42px !important;
    gap: 7px !important;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__logo-custom img {
    max-width: 68px !important;
    max-height: 45px !important;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-language-switcher {
    min-height: 40px;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-language-switcher a {
    min-width: 30px !important;
    min-height: 32px !important;
    padding-inline: 4px !important;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-account__trigger,
  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__toggle {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-language-switcher a {
    min-width: 32px !important;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__account .gxa-button {
    min-height: 40px !important;
    height: 40px !important;
    padding-inline: 12px !important;
  }

  body.gxa-dashboard-page .gxa-profile-welcome__identity {
    grid-template-columns: 58px minmax(0, 1fr) 52px;
  }

  body.gxa-dashboard-page .gxa-profile-avatar--dashboard {
    width: 58px !important;
    height: 58px !important;
  }

  body.gxa-dashboard-page .gxa-completion-meter {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  body.gxa-dashboard-page .gxa-profile-welcome h2 {
    font-size: clamp(21px, 6.3vw, 27px) !important;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-identity {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    padding: 14px;
  }

  body.gxa-dashboard-page .gxa-profile-avatar--mobile {
    width: 62px !important;
    height: 62px !important;
  }
}

@media (max-width: 359px) {
  :root {
    --gxa-mobile-gutter: 10px;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__inner {
    grid-template-columns: 52px auto 40px !important;
    gap: 5px !important;
    padding-inline: 9px !important;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__logo-custom img {
    max-width: 52px !important;
  }

  body.logged-in.gxa-plugin-page header[data-gxa-plugin-header] .gxa-language-switcher a {
    min-width: 27px !important;
    padding-inline: 2px !important;
    font-size: 9px !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary .gxa-card:last-child {
    grid-column: 1 / -1;
    min-height: 76px !important;
  }

  body.gxa-dashboard-page .gxa-profile-summary .gxa-card > span {
    overflow-wrap: normal !important;
    word-break: normal !important;
    font-size: 9px !important;
    letter-spacing: .08em !important;
  }

  body.gxa-dashboard-page .gxa-mobile-profile-tabs button {
    font-size: 9px;
  }

  body.gxa-dashboard-page .gxa-phone-control {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  :root {
    --gxa-mobile-header: 60px;
    --gxa-mobile-nav: 62px;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__inner {
    min-height: 60px !important;
    padding-block: 5px !important;
  }

  header[data-gxa-plugin-header] .gxa-sitebar__logo-custom img {
    max-height: 42px !important;
  }

  body:not(.logged-in).gxa-plugin-page {
    --gxa-mobile-header: 60px;
  }

  body:not(.logged-in).gxa-plugin-page header[data-gxa-plugin-header] .gxa-sitebar__inner {
    grid-template-columns: minmax(56px, 1fr) auto 44px !important;
    grid-template-areas: "logo tools toggle";
    grid-template-rows: 50px;
  }

  body.gxa-dashboard-page .gxa-mobile-portal-bar__item {
    min-height: 48px;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  body.gxa-plugin-page *,
  body.gxa-plugin-page *::before,
  body.gxa-plugin-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
