:root {
  --bg: #0f172a;
  --bg2: #1e293b;
  --card: #1e293b;
  --border: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --ok: #22c55e;
  --ok-dim: rgba(34, 197, 94, 0.15);
  --link: #38bdf8;
  --link-hover: #7dd3fc;
  --mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #1e3a5f 0%, var(--bg) 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.panel {
  width: 100%;
  max-width: 28rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.panel-head {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--card) 100%);
  border-bottom: 1px solid var(--border);
}
.health-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ok-dim);
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pa-status-pulse 2s ease-out infinite;
}
@keyframes pa-status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
h1 {
  margin: 1rem 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.panel-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.meta {
  margin: 1.25rem 0 0;
  padding: 0;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  overflow: hidden;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}
.row:last-child {
  border-bottom: none;
}
.k {
  color: var(--muted);
  flex-shrink: 0;
}
.v {
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-align: right;
  word-break: break-all;
  color: var(--text);
}
.v code {
  font-size: inherit;
  background: rgba(51, 65, 85, 0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--link);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.4);
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.actions a:hover {
  color: var(--link-hover);
  border-color: #475569;
  background: rgba(51, 65, 85, 0.35);
}
.hint {
  margin: 1rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}
.hint code {
  font-family: var(--mono);
  font-size: inherit;
  color: var(--muted);
}
