/* Shared public shell. */
.pd-shell .site-nav.pd-header,
.pd-shell .site-nav.pd-header[data-elevated="true"] {
  background: var(--pd-surface);
  border-bottom-color: var(--pd-border);
  box-shadow: none;
  backdrop-filter: none;
}
.pd-shell .site-nav__wordmark { font-size: 1.125rem; }
.pd-shell .site-nav__links { align-self: stretch; gap: var(--pd-space-6); }
.pd-shell .site-nav__links a { color: var(--pd-secondary); font-size: var(--pd-text-sm); }
.pd-shell .site-nav__links a:hover { color: var(--pd-accent); }
.pd-shell .site-nav__links a[aria-current="page"] {
  color: var(--pd-accent);
  box-shadow: inset 0 -2px var(--pd-accent);
}
.pd-shell .site-nav__search-trigger {
  margin-left: auto;
  min-height: 36px;
  color: var(--pd-muted);
  background: var(--pd-inset);
  border-color: var(--pd-border);
}
.pd-shell .site-nav__search-trigger kbd {
  color: var(--pd-muted);
  background: var(--pd-surface);
  border-color: var(--pd-border);
}
.pd-shell .site-nav__hamburger { color: var(--pd-accent); background: var(--pd-inset); border-color: var(--pd-border); }
.pd-shell .skip-link { background: var(--pd-accent); color: var(--pd-on-accent); }
.pd-shell .app-root { color: var(--pd-text); background: var(--pd-surface); }
.pd-shell .boot { color: var(--pd-muted); }
.pd-shell .container { max-width: var(--pd-content-width); padding-inline: var(--pd-gutter); }
.pd-shell .site-foot {
  margin-top: 0;
  border-top: 1px solid var(--pd-border);
  background: var(--pd-surface);
}
.pd-shell .site-foot__inner {
  max-width: var(--pd-content-width);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: var(--pd-space-6) var(--pd-gutter);
  gap: var(--pd-space-6);
}
.pd-shell .site-foot__brand strong { color: var(--pd-text); }
.pd-shell .site-foot__brand span { color: var(--pd-muted); font-size: var(--pd-text-sm); }
.pd-shell .site-foot__links { gap: var(--pd-space-6); }
.pd-shell .site-foot__links h4 { margin-bottom: var(--pd-space-2); color: var(--pd-secondary); }
.pd-shell .site-foot__links a { color: var(--pd-secondary); padding: 3px 0; }
.pd-shell .site-foot__links a:hover { color: var(--pd-accent); }
.pd-shell .site-foot__base {
  max-width: var(--pd-content-width);
  padding: var(--pd-space-3) var(--pd-gutter) max(var(--pd-space-4), env(safe-area-inset-bottom));
  color: var(--pd-muted);
  border-top-color: var(--pd-border);
}
@media (max-width: 720px) {
  .pd-shell .site-nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; height: auto; gap: 0 var(--pd-space-3); }
  .pd-shell .site-nav__brand { min-height: var(--pd-header-height); }
  .pd-shell .site-nav__links {
    align-items: stretch;
    background: var(--pd-surface);
    border-bottom: 1px solid var(--pd-border);
    padding-inline: 0;
    box-shadow: none;
  }
  .pd-shell .site-nav__links a { border-color: var(--pd-border); justify-content: flex-start; padding-inline: var(--pd-space-3); }
  .pd-shell .site-nav__links a[aria-current="page"] { background: var(--pd-accent-soft); box-shadow: inset 2px 0 var(--pd-accent); }
  .pd-shell .site-nav__search-trigger { margin-left: 0; }
  .pd-shell .site-nav__hamburger { margin-left: auto; grid-column: 2; }
  .pd-shell .pd-appearance { grid-column: 3; grid-row: 1; }
  .pd-shell .site-foot__inner { grid-template-columns: minmax(0, 1fr); }
}
