:root {
  --proved-header-blue: var(--brand-primary, #3568ff);
  --proved-header-text: var(--text-secondary, #697386);
  --proved-header-line: rgba(53, 104, 255, .24);
  --proved-header-surface: transparent;
  --proved-section-surface: #fff;
  --proved-page-surface: var(--page-background, #f5f6f8);
}

.proved-global-header {
  box-sizing: border-box;
  width: 100%;
  min-height: calc(80px + env(safe-area-inset-top));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: env(safe-area-inset-top) max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--proved-header-line);
  background: var(--proved-header-surface);
  font-family: "SUIT Variable", SUIT, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.proved-global-header__brand {
  color: var(--proved-header-blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  text-decoration: none;
}

.proved-global-header__nav {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 24px;
  row-gap: 0;
}

.proved-global-header__item {
  appearance: none;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--proved-header-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.proved-global-header__item:hover,
.proved-global-header__item:focus-visible,
.proved-global-header__item:active {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--proved-header-blue);
  transform: none;
}

.proved-global-header__item:focus-visible {
  outline: 1px solid var(--proved-header-blue);
  outline-offset: 5px;
}

.proved-global-header__item.is-current,
.proved-global-header__item[aria-current="page"] {
  color: var(--proved-header-blue);
  font-weight: 700;
}

.proved-global-header__item:disabled,
.proved-global-header__item[aria-disabled="true"] {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #a1a8b3 !important;
  cursor: default;
}

.proved-global-header__item.hidden {
  display: none;
}

/* One shared secondary navigation for Cat, Dog, Food and Archive. */
.proved-section-subnav {
  box-sizing: border-box;
  width: 100%;
  min-height: 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid var(--proved-header-line);
  background: transparent;
  font-family: "SUIT Variable", SUIT, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.proved-section-subnav[data-visible-items="1"] {
  display: none;
}

.proved-section-subnav[data-visible-items="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proved-section-subnav[data-visible-items="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proved-section-subnav__item {
  appearance: none;
  min-width: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(53, 104, 255, .68);
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.proved-section-subnav__item:hover,
.proved-section-subnav__item:focus-visible,
.proved-section-subnav__item:active,
.proved-section-subnav__item.is-current,
.proved-section-subnav__item.is-active,
.proved-section-subnav__item[aria-current="page"] {
  color: var(--proved-header-blue);
  background: transparent;
}

.proved-section-subnav__item.is-current,
.proved-section-subnav__item.is-active,
.proved-section-subnav__item[aria-current="page"] {
  font-weight: 800;
}

.proved-section-subnav__item:focus-visible {
  outline: 1px solid var(--proved-header-blue);
  outline-offset: -7px;
}

.proved-section-subnav__item:disabled,
.proved-section-subnav__item[aria-disabled="true"] {
  color: rgba(53, 104, 255, .48);
  cursor: default;
}

.proved-section-subnav__item.hidden {
  display: none;
}

/* Shared outer geometry: header, section navigation and page live in the same shell. */
/* One page surface for all sectioned areas; content sections may layer white surfaces on top. */
html:has(.pc-app-shell),
body:has(.pc-app-shell),
html:has(.registration-shell),
body:has(.registration-shell),
html:has(.guide-shell),
body:has(.guide-shell) {
  background: var(--proved-page-surface) !important;
}

.pc-app-shell,
.registration-shell,
.guide-shell {
  background: var(--proved-page-surface) !important;
}

.pc-app-shell {
  width: min(calc(100% - 56px), 1180px) !important;
  margin-inline: auto !important;
  background: var(--page-background, #f6f7f8) !important;
}

.pc-app-shell > .proved-global-header,
.pc-app-shell > .proved-section-subnav,
.pc-app-shell > .pc-page-container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.registration-shell > .proved-global-header,
.registration-shell > .proved-section-subnav {
  width: 100% !important;
  margin-inline: 0 !important;
}

/* The guide used to place spacing directly after the global header. Move it below Archive tabs. */
.guide-shell > .proved-global-header.has-section-subnav {
  margin-bottom: 0 !important;
}

.guide-shell > .proved-section-subnav {
  margin-bottom: 64px;
}

@media (max-width: 720px) {
  .proved-global-header {
    min-height: calc(68px + env(safe-area-inset-top));
    gap: 18px;
    padding: env(safe-area-inset-top) max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
  }

  .proved-global-header__brand {
    font-size: 18px;
  }

  .proved-global-header__nav {
    column-gap: 14px;
    row-gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .proved-global-header__nav::-webkit-scrollbar {
    display: none;
  }

  .proved-global-header__item {
    min-height: 40px;
    font-size: 12px;
  }

  .proved-section-subnav {
    min-height: 64px;
  }

  .proved-section-subnav__item {
    min-height: 62px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.25;
  }

  .pc-app-shell {
    width: calc(100% - 24px) !important;
  }
}

@media (max-width: 760px) {
  .guide-shell > .proved-section-subnav {
    margin-bottom: 44px;
  }
}

@media (max-width: 430px) {
  .proved-global-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .proved-global-header__brand {
    font-size: 16px;
  }

  .proved-global-header__nav {
    column-gap: 12px;
  }

  .proved-global-header__item {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .proved-section-subnav__item {
    font-size: 12px;
    letter-spacing: -.02em;
  }
}

/* One constrained blue footer across every page. */
.proved-site-footer {
  box-sizing: border-box !important;
  width: min(calc(100% - 40px), 1120px) !important;
  max-width: 1120px !important;
  margin: 80px auto 0 !important;
  padding: 28px 0 32px !important;
  border: 0 !important;
  border-top: 1px solid var(--proved-header-blue) !important;
  background: transparent !important;
  color: var(--proved-header-blue) !important;
  text-align: center !important;
  font-family: "SUIT Variable", SUIT, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.proved-site-footer__title,
.proved-site-footer__copyright {
  margin: 0 !important;
  color: var(--proved-header-blue) !important;
}

.proved-site-footer__title {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

.proved-site-footer__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px 28px !important;
  margin: 20px 0 !important;
}

.proved-site-footer__nav a,
.proved-site-footer__nav a:visited,
.proved-site-footer__nav a:hover,
.proved-site-footer__nav a:focus-visible,
.proved-site-footer__nav a:active {
  color: var(--proved-header-blue) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

.proved-site-footer__copyright {
  font-size: 11px !important;
  font-weight: 600 !important;
}

@media (max-width: 720px) {
  .proved-site-footer {
    width: calc(100% - 36px) !important;
    margin-top: 64px !important;
  }

  .proved-site-footer__nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 18px !important;
  }
}

@media (max-width: 430px) {
  .proved-site-footer {
    width: calc(100% - 28px) !important;
  }
}
/* Shared content geometry and restrained interaction motion. */
:root {
  --proved-content-max: 1124px;
  --proved-page-gutter: 28px;
  --proved-page-gutter-mobile: 16px;
  --proved-motion-fast: 180ms;
  --proved-motion-base: 240ms;
  --proved-motion-distance: 8px;
  --proved-motion-ease: cubic-bezier(.2, .75, .25, 1);
}

.proved-container,
.pc-app-shell,
.registration-shell,
.food-shell,
.guide-shell,
.ed-shell,
.my-site-shell,
.proved-site-footer {
  box-sizing: border-box;
  width: min(calc(100% - (2 * var(--proved-page-gutter))), var(--proved-content-max)) !important;
  margin-inline: auto !important;
}

.proved-global-header,
.proved-section-subnav {
  max-width: var(--proved-content-max);
  margin-inline: auto;
}

.proved-global-header__item,
.proved-section-subnav__item,
.proved-site-footer a {
  transition: color var(--proved-motion-fast) var(--proved-motion-ease), opacity var(--proved-motion-fast) var(--proved-motion-ease), text-decoration-color var(--proved-motion-fast) var(--proved-motion-ease);
}

.proved-site-footer a:hover { text-decoration: underline !important; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .proved-container,
  .pc-app-shell,
  .registration-shell,
  .food-shell,
  .guide-shell,
  .ed-shell,
  .my-site-shell,
  .proved-site-footer {
    width: calc(100% - (2 * var(--proved-page-gutter-mobile))) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
