/* Shared base. Page stylesheets load after this and keep their own rules.
   h1, button, .card, and body padding are not the same on every page, so those stay page-specific. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f1f5f9;
  margin: 0;
  color: #111827;
  -webkit-tap-highlight-color: transparent;
}
.toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 56px;
  padding: 8px 12px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: #111827;
  color: #fff;
  overflow-x: auto;
}
.toolbar a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 8px;
}
.toolbar a:hover, .toolbar a[aria-current="page"] { background: #1f2937; }
.toolbar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  padding-left: 4px;
}
.toolbar .brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}
.toolbar .brand span { font-size: 15px; }
