/* Shell for certificate.html: top bar, switcher, stage, footer. Concepts never rely on this file. */
html, body.gps { margin: 0; padding: 0; background: #100f0e; }
body.gps {
  --gps-fg: #ededed; --gps-muted: #8a8a8a; --gps-line: #2f2e2d; --gps-accent: #c9b894;
  --gps-ease: cubic-bezier(.22,.61,.24,1); --gps-bar: 52px;
  color: var(--gps-fg);
  font-family: 'Libre Franklin', 'Franklin Gothic Medium', 'Helvetica Neue', Arial, sans-serif;   /* the site's UI face (fonts/site.css) */
  font-size: 13px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; min-height: 100dvh;
}
.gps-bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--gps-bar); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  background: rgba(16,15,14,.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--gps-line);
}
.gps-brand { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.gps-name { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.gps-crumb { color: var(--gps-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.gps-crumb i { font-style: normal; color: #3a3a3a; margin-right: 6px; }
.gps-switch {
  display: flex; flex: none; padding: 2px; gap: 2px;
  border: 1px solid var(--gps-line); border-radius: 8px;
}
.gps-switch button {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; margin: 0;
  font: inherit; font-size: 12px; font-weight: 500; color: var(--gps-muted);
  height: 26px; padding: 0 10px; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .18s var(--gps-ease), background-color .18s var(--gps-ease);
}
.gps-switch button b { font-weight: 500; font-variant-numeric: tabular-nums; color: #5c5c5c; transition: color .18s var(--gps-ease); }
.gps-switch button:hover { color: var(--gps-fg); }
.gps-switch button[aria-selected="true"] { color: var(--gps-fg); background: #272625; }
.gps-switch button[aria-selected="true"] b { color: var(--gps-accent); }
.gps-switch button:focus-visible { outline: 1px solid #555; outline-offset: 1px; }

#stage { display: block; background: #100f0e; }
/* :where keeps this at zero specificity so a concept's own .gpc-<id> rules always win */
:where(#stage > .gpc) {
  min-height: calc(100vh - var(--gps-bar)); min-height: calc(100dvh - var(--gps-bar));
  background: #100f0e;
}
.gps-empty {
  box-sizing: border-box;
  min-height: calc(100vh - var(--gps-bar)); min-height: calc(100dvh - var(--gps-bar));
  display: grid; place-items: center; text-align: center;
  color: #5c5c5c; font-size: 12px; letter-spacing: .01em;
}
.gps-empty span { display: block; color: var(--gps-muted); margin-bottom: 4px; }

.gps-foot {
  border-top: 1px solid var(--gps-line);
  padding: 12px max(20px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between;
  color: #6a6a6a; font-size: 11px; letter-spacing: .01em;
}
.gps-foot b { font-weight: 400; color: var(--gps-muted); }
.gps-foot i { font-style: normal; color: #333; margin: 0 7px; }

@media (max-width: 560px) {
  .gps-bar { padding-left: 14px; padding-right: 14px; }
  .gps-switch button { padding: 0 11px; }
  .gps-switch button span { display: none; }
  .gps-switch button b { color: inherit; }
  .gps-foot { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 380px) { .gps-crumb { display: none; } }
@media (prefers-reduced-motion: reduce) { .gps-switch button, .gps-switch button b { transition: none; } }