html {
  height: 100%;
}

:root {
  --tg-color-ink: #212529;
  --tg-color-muted: #5c6870;
  --tg-color-brand: #49372c;
  --tg-color-brand-border: #a14230;
  --tg-color-accent: #a14230;
  --tg-color-link: #0069d9;
  --tg-color-focus: #007bff;
  --tg-color-paper: #fffdf8;
  --tg-color-surface: rgba(255, 253, 248, 0.9);
  --tg-color-border: rgba(114, 64, 39, 0.24);
  --tg-shadow-header: 0 3px 14px rgba(33, 37, 41, 0.14);
  --tg-shadow-raised: 0 8px 26px rgba(33, 37, 41, 0.14);
  --tg-radius-sm: 0.55rem;
  --tg-radius-md: 1rem;
  --tg-radius-pill: 999px;
  --tg-space-1: 0.25rem;
  --tg-space-2: 0.5rem;
  --tg-space-3: 0.75rem;
  --tg-space-4: 1rem;
  --tg-space-5: 1.5rem;
  --tg-motion-fast: 150ms;
  --tg-motion-standard: 240ms;
  --tg-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --tg-z-header: 1050;
  --tg-z-overlay: 1100;
}

body {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

body.site-shell {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  background: #fff;
}

body.site-shell > .navbar {
  position: sticky;
  top: 0;
  z-index: var(--tg-z-header);
  border-bottom: 1px solid #e3d4c0;
  background: #fffaf1;
  box-shadow: var(--tg-shadow-header);
}

body.site-shell .navbar-brand {
  color: #3c2b22;
  font-size: 1.45rem;
}

body.site-shell .navbar > .container {
  min-width: 0;
  flex-wrap: nowrap;
  gap: 1rem;
}

.site-account-link {
  flex: 0 0 auto;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--tg-color-brand-border);
  border-radius: var(--tg-radius-pill);
  color: var(--tg-color-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color var(--tg-motion-fast) ease,
    border-color var(--tg-motion-fast) ease,
    color var(--tg-motion-fast) ease;
}

.site-account-link:hover {
  border-color: var(--tg-color-brand);
  background: var(--tg-color-brand);
  color: #fff;
  text-decoration: none;
}

.site-account-link[aria-busy="true"] {
  opacity: 0.72;
}

.navbar-brand:focus-visible,
.site-navigation summary:focus-visible,
.site-navigation a:focus-visible,
.site-account-link:focus-visible,
.page-back-link:focus-visible,
body.site-shell footer a:focus-visible {
  outline: 3px solid var(--tg-color-focus);
  outline-offset: 3px;
}

.site-skip-link {
  position: fixed;
  top: 0.45rem;
  left: 0.65rem;
  z-index: calc(var(--tg-z-overlay) + 1);
  padding: 0.55rem 0.8rem;
  border-radius: var(--tg-radius-sm);
  background: var(--tg-color-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--tg-motion-fast) ease;
}

.site-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-navigation {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
}

.site-navigation-mobile {
  display: none;
}

.site-navigation summary {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--tg-color-border);
  border-radius: var(--tg-radius-pill);
  color: var(--tg-color-brand);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.site-navigation summary::-webkit-details-marker {
  display: none;
}

.site-navigation-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-navigation-links a {
  padding: 0.4rem 0.62rem;
  border-radius: var(--tg-radius-pill);
  color: var(--tg-color-brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.site-navigation-links a:hover,
.site-navigation-links a[aria-current="page"] {
  background: rgba(161, 66, 48, 0.1);
  color: var(--tg-color-brand);
  text-decoration: none;
}

.site-footer-navigation {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
}

.site-footer-navigation a {
  color: var(--tg-color-brand);
}

.ui-surface {
  border: 1px solid var(--tg-color-border);
  border-radius: var(--tg-radius-md);
  background: var(--tg-color-surface);
  box-shadow: var(--tg-shadow-raised);
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: var(--tg-radius-pill);
  background: rgba(169, 85, 53, 0.11);
  color: var(--tg-color-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.ui-status[aria-busy="true"] {
  color: var(--tg-color-muted);
}

.page-back-link {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 14px rgba(33, 37, 41, 0.14);
  color: #0069d9;
  font-weight: 700;
  text-decoration: none;
}

.page-back-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

body.site-shell .page-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
}

body.site-shell .page-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #fff;
  background-image: var(
    --page-background-image,
    url("/img/bg-goose-props-travel.svg")
  );
  background-repeat: repeat;
  background-position: center top;
  background-size: min(100%, 1536px) auto;
  opacity: 0.9;
  pointer-events: none;
}

body.site-shell .page-stage > * {
  position: relative;
  z-index: 1;
}

.tile-activity-icon {
  display: block;
  width: 4.6rem;
  height: 3.35rem;
  flex: 0 0 auto;
  color: #212529;
  overflow: visible;
}

body.site-shell footer.footer {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

body.site-shell footer p {
  margin-bottom: 0;
  font-size: 0.7rem;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .site-navigation-desktop {
    display: none;
  }

  .site-navigation-mobile {
    display: block;
  }

  body.site-shell .navbar-brand {
    min-width: 0;
    overflow: hidden;
    font-size: 1.12rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-account-link {
    padding: 0.38rem 0.7rem;
    font-size: 0.75rem;
  }

  .site-navigation-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(15rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    padding: 0.45rem;
    border: 1px solid var(--tg-color-border);
    border-radius: var(--tg-radius-md);
    background: var(--tg-color-paper);
    box-shadow: var(--tg-shadow-raised);
  }

  .site-navigation-links a {
    padding: 0.65rem 0.75rem;
  }

  body.site-shell footer.footer {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-skip-link,
  .site-account-link {
    transition: none;
  }
}
