.wz-header .wz-menu-toggle, .wz-theme-toggle { display: none; }
.wz-header #main-navigation { margin-left: auto; }
.wz-header #main-navigation a:is([aria-current], :hover, :focus-visible) {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}
.wz-header .profile-menu { margin-left: 0; }
.wz-header .wz-auth, .wz-footer .wz-theme-toggle, .wz-header .wz-menu-toggle {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: 600 0.875rem/1.25 Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.wz-header .wz-auth, .wz-interactive .wz-footer .wz-theme-toggle { display: inline-flex; }
.wz-header .wz-auth:disabled { cursor: default; }
.wz-footer-bottom { align-items: center; }
.wz-to-dark, [data-theme="light"] .wz-to-light { display: none; }
[data-theme="light"] .wz-to-dark { display: inline; }
@media (max-width: 800px) {
  .wz-interactive .wz-header {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px clamp(8px, 3vw, 20px);
    align-items: center;
    justify-content: flex-start;
  }
  .wz-header .wz-menu-toggle {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    padding: 0;
    background: transparent;
    border-color: transparent;
  }
  .wz-interactive .wz-header .wz-menu-toggle { display: inline-flex; }
  .wz-menu-toggle span, .wz-menu-toggle::before, .wz-menu-toggle::after {
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }
  .wz-menu-toggle::before, .wz-menu-toggle::after { content: ''; position: absolute; }
  .wz-menu-toggle::before { transform: translateY(-6px); }
  .wz-menu-toggle::after { transform: translateY(6px); }
  .wz-header .brand { gap: 6px; letter-spacing: 0; }
  .wz-header .brand img { width: 32px; height: 32px; }
  .wz-header .brand, .wz-header .brand .brand-name { font-size: 1.125rem; }
  .wz-header .wz-auth, .wz-header .profile-menu { margin-left: auto; }
  .wz-interactive .wz-header #main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    width: auto;
    margin: 0;
    padding: 6px 12px;
    align-items: stretch;
    flex-flow: column nowrap;
    gap: 0;
    background: var(--surface, var(--bg));
    border-block: 1px solid var(--line);
    box-shadow: 0 8px 18px #0002;
  }
  .wz-interactive .wz-menu-toggle[aria-expanded="true"] ~ #main-navigation { display: flex; }
  .wz-header #main-navigation a { padding: 12px; font-size: 1rem; line-height: 1.4; text-decoration: none; }
  .wz-header #main-navigation a:is(:focus-visible, :hover) { background: var(--bg); }
}
@media (max-width: 350px) {
  .wz-interactive .wz-header { gap: 4px; padding-inline: 6px; }
  .wz-header .wz-auth { padding-inline: 8px; }
}
