:root {
  --aus-height: 72px;
  --aus-purple: #6b3fff;
  --aus-deep: #3d1ca8;
  --aus-gold: #ffc857;
  --aus-ink: #1a1a2e;
  --aus-muted: #687280;
  --aus-line: #e6e6f2;
}
#arivage-universal-shell-root {
  position: sticky;
  top: 0;
  z-index: 2147483000;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--aus-ink);
}
#arivage-universal-shell-root * {
  box-sizing: border-box;
}
/* Authenticated modules may still render a legacy page-level shell. The
   permanent ARIVAGE header owns that boundary; module content begins below it. */
body.arivage-shell-mounted > header,
body.arivage-shell-mounted > #app > header {
  display: none !important;
}
#arivage-universal-shell-root button,
#arivage-universal-shell-root a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.arivage-universal-shell {
  height: var(--aus-height);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid var(--aus-line);
  box-shadow: 0 3px 16px rgb(25 16 55/7%);
}
.aus-brand {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--aus-line);
  padding-right: 12px;
}
.aus-brand img {
  width: 46px;
  height: 52px;
  object-fit: contain;
}
.aus-main,
.aus-communications {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: 3px;
}
.aus-main a,
.aus-main button,
.aus-communications button {
  min-width: 52px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 5px 7px;
  cursor: pointer;
  position: relative;
}
.aus-icon-frame {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}
.aus-main img,
.aus-communications img,
.aus-mobile-nav img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.aus-main .aus-icon-frame--wide img,
.aus-communications .aus-icon-frame--wide img,
.aus-mobile-nav .aus-icon-frame--wide img {
  width: 36px;
  height: 28px;
}
.aus-profile > span,
.aus-mobile-nav button > span,
.aus-mobile-nav a > span {
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.aus-profile > span { display: none; }
.aus-main [aria-current='page']::after,
.aus-services-trigger[aria-expanded='true']::after {
  content: '';
  position: absolute;
  inset: auto 10px 0;
  height: 3px;
  border-radius: 4px;
  background: var(--aus-purple);
}
.aus-search {
  height: 42px;
  min-width: 190px;
  max-width: 370px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ececf4;
  border-radius: 12px;
  background: #f7f7fc;
  padding: 0 14px;
  color: var(--aus-muted);
  cursor: pointer;
}
.aus-search img {
  width: 22px;
  height: 22px;
}
.aus-search span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aus-communications {
  margin-left: auto;
}
.aus-profile b {
  display: none;
}
.aus-mobile-nav {
  display: none;
}
.aus-overlay[hidden],
.aus-utility-overlay[hidden] {
  display: none;
}
.aus-overlay,
.aus-utility-overlay {
  position: fixed;
  inset: 0;
  background: rgb(12 10 25/48%);
  backdrop-filter: blur(4px);
}
.aus-overlay {
  padding: 84px 18px 18px;
  display: grid;
  place-items: start center;
}
.aus-launcher {
  width: min(980px, calc(100vw - 36px));
  max-height: calc(100dvh - 102px);
  overflow: auto;
  border: 1px solid var(--aus-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(15 15 45/15%);
  outline: none;
}
.aus-launcher > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 12px;
}
.aus-launcher h2 {
  margin: 2px 0;
  font-size: 28px;
}
.aus-launcher h3 {
  margin: 0 0 12px;
  font-size: 12px;
}
.aus-launcher header small,
.aus-section-title small {
  color: var(--aus-muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.aus-launcher header button,
.aus-utility-panel > button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f3f2f8;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.aus-launcher svg,
.aus-utility-panel svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.aus-launcher-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
}
.aus-launcher-body > main {
  padding: 10px 22px 22px;
}
.aus-launcher-body > aside {
  padding: 18px;
  border-left: 1px solid var(--aus-line);
}
.aus-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aus-recents {
  margin-bottom: 24px;
}
.aus-recents > div:last-child {
  display: flex;
  gap: 10px;
}
.aus-service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  gap: 10px;
}
.aus-service-tile {
  min-height: 92px;
  position: relative;
  border: 1px solid #efedf5;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgb(42 27 80/5%);
  cursor: pointer;
}
.aus-service-tile.compact {
  width: 92px;
}
.aus-service-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.aus-service-tile span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.aus-service-tile small {
  position: absolute;
  right: 5px;
  top: 5px;
  color: #806e93;
  font-size: 7px;
}
.aus-service-tile:hover,
.aus-service-tile:focus-visible,
.aus-service-tile[aria-current='page'] {
  border-color: #9b7bff;
  box-shadow: 0 8px 18px rgb(107 63 255/14%);
  transform: translateY(-1px);
}
.aus-service-tile:disabled {
  filter: saturate(0.45);
  background: #f8f8fa;
  cursor: not-allowed;
}
.aus-launcher-body > aside > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 10px 4px;
  text-align: left;
}
.aus-launcher-body > aside > button small {
  color: #8b8293;
}
.aus-ioyoio-card {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--aus-deep), #6b21c9);
  color: #fff;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
}
.aus-ioyoio-card > img {
  width: 48px;
  height: 48px;
}
.aus-ioyoio-card > div {
  display: grid;
  gap: 3px;
}
.aus-ioyoio-card span {
  font-size: 10px;
}
.aus-ioyoio-card button {
  grid-column: 1/-1;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  color: var(--aus-deep);
  font-weight: 800;
}
.aus-launcher > footer {
  border-top: 1px solid var(--aus-line);
  padding: 13px 22px;
  color: var(--aus-muted);
  font-size: 10px;
}
.aus-utility-overlay {
  display: grid;
  place-items: center;
  padding: 20px;
}
.aus-utility-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  outline: none;
}
.aus-utility-panel > button {
  position: absolute;
  right: 12px;
  top: 12px;
}
.aus-utility-panel > img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.aus-utility-panel small {
  display: block;
  color: var(--aus-purple);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.aus-utility-panel h2 {
  margin: 6px;
}
.aus-utility-panel p {
  color: var(--aus-muted);
  line-height: 1.5;
}
.aus-utility-panel strong {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0ebff;
  color: var(--aus-deep);
}
.aus-open {
  overflow: hidden;
}
@media (max-width: 1180px) {
  .arivage-universal-shell {
    gap: 6px;
    padding-inline: 10px;
  }
  .aus-main span,
  .aus-communications span {
    display: none;
  }
  .aus-main a,
  .aus-main button,
  .aus-communications button {
    min-width: 42px;
  }
  .aus-call {
    display: none !important;
  }
  .aus-search {
    max-width: 280px;
  }
  .aus-service-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 700px) {
  :root {
    --aus-height: 64px;
  }
  .arivage-universal-shell {
    height: 64px;
    justify-content: space-between;
    padding: 0 14px;
  }
  .aus-brand {
    width: 54px;
    height: 58px;
    border: 0;
    padding: 0;
  }
  .aus-brand img {
    width: 44px;
    height: 50px;
  }
  .aus-main,
  .aus-search,
  .aus-communications .aus-call,
  .aus-communications [data-utility='wallet'],
  .aus-communications [data-utility='messages'] {
    display: none;
  }
  .aus-communications {
    margin: 0;
    gap: 4px;
  }
  .aus-communications button {
    display: grid;
    min-width: 42px;
  }
  .aus-communications span,
  .aus-profile b {
    display: none;
  }
  .aus-mobile-nav {
    position: fixed;
    z-index: 2147482999;
    inset: auto 0 0;
    height: 72px;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top: 1px solid var(--aus-line);
    box-shadow: 0 -8px 24px rgb(30 20 55/10%);
  }
  .aus-mobile-nav a,
  .aus-mobile-nav button {
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    font-size: 9px;
  }
  .aus-mobile-nav img {
    width: 30px;
    height: 30px;
  }
  .aus-mobile-nav .prominent img {
    width: 46px;
    height: 46px;
    margin-top: -22px;
  }
  .aus-overlay {
    padding: 0;
  }
  .aus-launcher {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .aus-launcher > header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }
  .aus-launcher-body {
    display: block;
  }
  .aus-launcher-body > main {
    padding: 12px 14px 90px;
  }
  .aus-launcher-body > aside,
  .aus-launcher > footer {
    display: none;
  }
  .aus-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .aus-service-tile {
    min-height: 88px;
    padding: 5px;
  }
  .aus-service-tile img {
    width: 42px;
    height: 42px;
  }
  .aus-recents > div:last-child {
    overflow-x: auto;
  }
  .aus-service-tile.compact {
    min-width: 80px;
    width: 80px;
  }
  body {
    padding-bottom: 72px;
  }
}
@media (max-width: 400px) {
  .aus-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aus-communications [data-utility='notifications'] {
    display: grid;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .aus-launcher {
    animation: aus-in 0.16s ease-out;
  }
  .aus-service-tile {
    transition:
      border-color 0.14s,
      box-shadow 0.14s,
      transform 0.14s;
  }
  @keyframes aus-in {
    from {
      opacity: 0.5;
      transform: translateY(7px);
    }
  }
}
