body.network-shell {
  background: #f7f8fa;
  color: #0e1116;
  margin: 0;
}

body.network-shell #app {
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

.net-root {
  --sc-accent: #3d4f5f;
  --sc-text: #0e1116;
  --sc-text-muted: #5a6570;
  --sc-border: rgba(14, 17, 22, 0.08);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  font-family: Barlow, "Segoe UI", sans-serif;
}

.net-root .env-banner {
  background: #3d4f5f;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  margin: 0 -1rem 1rem;
}

.net-root .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.net-root .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.net-root .brand-sub {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--sc-text-muted);
}

.net-root .thin-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--sc-border);
  margin-bottom: 0.75rem;
}

.net-root .thin-nav a {
  color: var(--sc-text-muted);
  text-decoration: none;
  padding: 0.4rem 0;
}

.net-root .thin-nav a.on {
  color: var(--sc-text);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #3d4f5f;
}

.net-root .page-title {
  font-size: 1.75rem;
  margin: 0.25rem 0;
}

.net-root .lede,
.net-root .network-scope-note {
  color: var(--sc-text-muted);
}

.net-root .score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.net-root .score-tile,
.net-root .open-ask,
.net-root .card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
}

.net-root .form-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.net-root label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.net-root input,
.net-root select {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
}

.net-root .flash.error {
  background: #fde8e8;
  color: #7a1f1f;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
