.phi-config-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--phi-space-3) var(--phi-space-4);
  background: #7f1d1d;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.phi-config-banner code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}

body.phi-theme {
  font-family: var(--phi-font-sans);
  background:
    radial-gradient(1200px 600px at 8% -8%, rgba(30, 58, 95, 0.07), transparent),
    radial-gradient(900px 500px at 92% 0%, rgba(18, 27, 46, 0.05), transparent),
    var(--phi-color-bg);
  color: var(--phi-color-text);
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(30, 58, 95, 0.22);
}

.page-title {
  font-family: var(--phi-font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 var(--phi-space-2);
}

.page-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--phi-color-muted);
}

.page-head {
  margin-bottom: var(--phi-space-5);
}

.section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phi-color-muted);
  margin: 0 0 var(--phi-space-4);
}

.page-loading,
.page-error {
  padding: var(--phi-space-6);
  color: var(--phi-color-muted);
}

.page-error {
  color: #fca5a5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
