/* Both web apps use these hooks for the shared navigation. */
/* Complete location paths; long paths get a full-width second row. */
[data-momo-location] { display:flex; align-items:center; flex:1; min-width:0; color:#56636e; }
[data-momo-location] [data-location-root] { display:inline-flex; flex:0 0 auto; align-items:center; gap:6px; min-height:44px; color:#191f28; font-size:18px; font-weight:800; letter-spacing:-.035em; text-decoration:none; white-space:nowrap; }
[data-location-root] img { display:block; flex:0 0 auto; width:32px; height:32px; border-radius:8px; }
[data-momo-location] ol { display:flex; align-items:center; flex:0 0 auto; width:max-content; margin:0; padding:0; list-style:none; }
[data-momo-location] li { display:flex; flex:0 0 auto; align-items:center; white-space:nowrap; }
[data-momo-location] li a,[data-momo-location] [aria-current] { display:flex; align-items:center; min-height:44px; padding-inline:2px; color:inherit; font-size:13px; font-weight:550; text-decoration:none; }
[data-momo-location] [aria-current] { color:#191f28; font-weight:750; }
[data-location-separator] { width:1px; height:12px; flex:0 0 1px; margin-inline:4px; background:#cdd2cf; }
[data-momo-location] a:focus-visible { outline:2px solid #08777e; outline-offset:1px; border-radius:4px; }
header[data-momo-header]:has([data-momo-location][data-wrap]) { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; row-gap:0; }
header[data-momo-header] > div:has(> [data-momo-location][data-wrap]) { display:contents; }
[data-momo-location][data-wrap] { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-column:1/-1; grid-row:1/3; row-gap:0; }
[data-momo-location][data-wrap] [data-location-root] { grid-column:1; grid-row:1; justify-self:start; }
[data-momo-location][data-wrap] ol { grid-column:1/-1; grid-row:2; width:100%; flex-wrap:wrap; }
[data-momo-location][data-wrap] li { flex:0 1 auto; min-width:0; max-width:100%; white-space:normal; }
[data-momo-location][data-wrap] li a,[data-momo-location][data-wrap] [aria-current] { line-height:1.5; overflow-wrap:anywhere; }
[data-momo-location][data-wrap] li:first-child [data-location-separator] { display:none; }
header[data-momo-header]:has([data-momo-location][data-wrap]) > [data-momo-header-actions] { grid-row:1; grid-column:2; align-self:start; z-index:1; }
@media(max-width:350px) {
 [data-momo-location] [data-location-root] { font-size:16px; gap:4px; }
 [data-location-root] img { width:28px; height:28px; }
}
[data-momo-navigation] {
  --momo-nav-ink: #191f28;
  --momo-nav-muted: #56636e;
  --momo-nav-accent: #08777e;
  --momo-nav-border: #cdd2cf;
}

[data-momo-navigation] [data-momo-menu-control] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: var(--momo-nav-ink);
  border-color: var(--momo-nav-border);
}

[data-momo-navigation] [data-momo-menu-control] > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}

[data-momo-navigation] [data-momo-menu-control] > svg {
  width: 16px;
  height: 16px;
}

nav[data-momo-tabs][data-momo-navigation] > a {
  color: var(--momo-nav-muted);
}

nav[data-momo-tabs][data-momo-navigation] {
  height: calc(var(--tabbar-h, 62px) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

nav[data-momo-tabs][data-momo-navigation] > a[aria-current='page'] {
  color: var(--momo-nav-accent);
  font-weight: 750;
}

nav[data-momo-tabs][data-momo-navigation] > a:focus-visible {
  outline-offset: -3px;
}

@media (max-width: 300px) {
  header[data-momo-header][data-momo-navigation] {
    padding-inline: 10px;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  header[data-momo-header][data-momo-navigation] {
    min-height: 61px;
    padding: 8px 16px;
    gap: 8px;
  }

  header[data-momo-header][data-momo-navigation] [data-momo-account-control] {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
  }

  header[data-momo-header][data-momo-navigation] [data-momo-account-control] > span:not([aria-hidden]) {
    display: none;
  }

  header[data-momo-header][data-momo-navigation] [data-momo-login-control] {
    flex-basis: 58px;
    width: 58px;
    min-width: 58px;
    padding-inline: 4px;
  }

  header[data-momo-header][data-momo-navigation] [data-momo-login-control] > span {
    display: inline;
    font-size: 13px;
  }

  header[data-momo-header][data-momo-navigation] [data-momo-login-control] > svg {
    display: none;
  }
}

@media(min-width:700px){[data-location-root] img{width:36px;height:36px}}
