* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: #f5f5f5; color: #333; }

header { background: #1a1a2e; color: #fff; padding: 16px 24px; display: flex; align-items: center; gap: 16px; }
header h1 { font-size: 18px; font-weight: 600; }
header .badge { background: #e94560; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }

nav { background: #16213e; padding: 0 24px; display: flex; gap: 0; }
nav a { color: #a0a0b8; text-decoration: none; padding: 12px 16px; font-size: 14px; transition: all 0.2s; border-bottom: 2px solid transparent; }
nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
nav a.active { color: #e94560; border-bottom-color: #e94560; }

main { max-width: 900px; margin: 24px auto; padding: 0 24px; }

.page { display: none; }
.page.active { display: block; }

.card { background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.card h2 { font-size: 20px; margin-bottom: 12px; }
.card p { line-height: 1.6; color: #555; }

.diagnostics { background: #1a1a2e; color: #e0e0e0; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.diagnostics h3 { color: #e94560; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.diagnostics table { width: 100%; border-collapse: collapse; }
.diagnostics td { padding: 6px 0; font-size: 13px; font-family: 'Consolas', 'Monaco', monospace; }
.diagnostics td:first-child { color: #888; width: 200px; }
.diagnostics td:last-child { color: #4ade80; }

.test-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.test-link { display: block; background: #f0f4ff; border: 1px solid #d0d8f0; border-radius: 6px; padding: 12px 16px; text-decoration: none; color: #333; font-size: 13px; transition: all 0.2s; }
.test-link:hover { background: #e0e8ff; border-color: #b0b8d0; }
.test-link code { display: block; font-size: 12px; color: #666; margin-top: 4px; }

.status-ok { color: #4ade80; }
.status-warn { color: #fbbf24; }
.status-err { color: #f87171; }
