/* One navigation style for the React shell, documents and result Functions. */
.site-header {
  position: sticky; top: 0; z-index: 5; width: 100%;
  background: var(--bg, #f5f3ee); color: var(--ink, #17211c);
  border-bottom: 1px solid var(--line, #dcdfd8);
  font: 600 14px/1.3 system-ui, sans-serif;
}
.site-header__inner {
  box-sizing: border-box; max-width: 960px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.site-header a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; white-space: nowrap; }
.site-header__brand { gap: 8px; flex: none; font-size: 16px; font-weight: 700; }
.site-header__brand img { display: block; width: 28px; height: 28px; }
.site-header__nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-header a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.site-header a:hover { color: var(--accent, #0d6b4b); }
.site-header :focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.site-header__extras { display: flex; align-items: center; min-width: 0; font-size: 12px; }
.site-header__extras .you-save { white-space: normal; padding: 6px 8px; font-size: 11px; line-height: 1.2; }
@media (max-width: 440px) {
  .site-header__inner { gap: 8px; padding-inline: 12px; }
  .site-header__nav { gap: 10px; }
}
.site-header__sections { position: relative; }
.site-header__sections summary { display: flex; align-items: center; gap: 4px; min-height: 44px; cursor: pointer; list-style: none; }
.site-header__sections summary::-webkit-details-marker { display: none; }
.site-header__sections summary::after { content: '▾'; font-size: 10px; }
.site-header__sections summary:hover { color: var(--accent, #0d6b4b); }
.site-header__section-links {
  position: absolute; top: 100%; right: 0; box-sizing: border-box; width: 220px; max-width: calc(100vw - 24px);
  display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line, #dcdfd8); border-radius: 12px;
  background: var(--bg, #f5f3ee); box-shadow: 0 8px 24px #17211c22;
}
.site-header__section-links a { padding: 0 12px; border-radius: 6px; }
.site-header__section-links a:hover { background: var(--surface, #fff); }
@media (max-width: 600px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-header__extras { flex-basis: 100%; justify-content: flex-end; }
}
@media (max-width: 440px) {
  .site-header__brand { gap: 5px; font-size: 15px; }
  .site-header__nav { gap: 8px; }
}
