#site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 16px 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.8px;
  flex-shrink: 0;
}
.brand-light {
  font-weight: 400;
  margin-left: 2px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: -3px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 11px;
}
.brand-mark svg {
  width: 25px;
  height: 25px;
}
.header-inner nav {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: auto;
}
.header-inner nav a {
  font-size: 12px;
  padding: 9px 13px;
  border-radius: 7px;
  white-space: nowrap;
  color: var(--muted);
}
.header-inner nav a:hover {
  color: var(--ink);
  background: var(--bg);
}
.header-inner nav a[aria-current] {
  color: var(--accent);
  background: var(--soft);
  font-weight: 600;
}
.nav-soon {
  font: 8px var(--mono);
  margin-left: 4px;
  color: #8c9ba2;
}
.local-badge {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--muted);
}
.local-badge i,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #38a584;
  border-radius: 50%;
}
.footer-inner {
  max-width: 1200px;
  width: calc(100% - 80px);
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.footer-inner b {
  color: var(--ink);
}
.page-heading {
  padding: 36px 0 26px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.page-heading h1 {
  font-size: 36px;
  letter-spacing: -1.5px;
  font-weight: 650;
  margin: 6px 0;
}
.page-heading p.description {
  color: var(--muted);
  max-width: 700px;
}
.heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-number {
  font: 11px var(--mono);
  color: #8d9ba3;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  min-height: 38px;
}
.button:hover,
button:hover:not(:disabled) {
  border-color: #91bdbe;
  background: #f5fbfa;
}
.button.primary,
button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.button.primary:hover,
button.primary:hover:not(:disabled) {
  background: #076c77;
}
.button svg {
  width: 17px;
  height: 17px;
}
.back-link {
  color: var(--muted);
  font-size: 12px;
}
.back-link:hover {
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: white;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 30px #172b3520;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 30;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  .header-inner {
    gap: 18px;
    padding: 16px 24px;
    flex-wrap: wrap;
  }
  .header-inner nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .local-badge {
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  .header-inner {
    padding: 14px 18px;
    gap: 10px;
  }
  .header-inner nav {
    gap: 2px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .header-inner nav a {
    padding: 7px 10px;
    font-size: 11px;
  }
  .nav-soon {
    display: none;
  }
  .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .footer-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    gap: 6px;
  }
  .page-heading {
    padding-top: 24px;
  }
  .breadcrumb {
    margin-bottom: 20px;
  }
}
@media (max-width: 700px) {
  .header-inner nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .header-inner nav a {
    text-align: center;
  }
}
