/* Persistent site nav + bio line (art68). Safe to load alone on app pages. */
.site-chrome,
.site-header .site-nav,
.site-header .site-bio {
  box-sizing: border-box;
}

.site-chrome {
  background: #fbf8f2;
  color: #1b2e2b;
  border-bottom: 1px solid #d9d0c2;
  padding: 0.15rem 0.6rem 0.45rem;
  font-family: "Source Sans 3", Inter, "Liberation Sans", "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

html[lang="ar"] .site-chrome {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", "Noto Naskh Arabic", sans-serif;
  line-height: 1.7;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.1rem 0.7rem;
  margin: 0.1rem 0 0;
  padding: 0.1rem 0.35rem 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.15rem 0.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-nav a[aria-current="page"] {
  color: #6e3a28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-bio {
  margin: 0 auto;
  padding: 0.15rem 0.6rem 0.45rem;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3e534d;
}

html[lang="ar"] .site-bio {
  line-height: 1.75;
}

.site-header .site-bio {
  border-bottom: 1px solid #d9d0c2;
}

.site-bio a {
  color: inherit;
  text-decoration: none;
}

.site-bio a:hover,
.site-bio a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media print {
  .site-chrome,
  .site-nav,
  .site-bio {
    display: none;
  }
}
