body { font-family: -apple-system, sans-serif; background: #1a1a1a; color: #eee; padding: 2rem; }
a { color: #6ab7ff; text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
th, td { text-align: left; padding: 0.6rem; border-bottom: 1px solid #333; vertical-align: top; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.btn { background: #2d7dd2; color: #fff; padding: 0.5rem 1rem; border-radius: 4px; border: none; cursor: pointer; font-size: 1rem; display: inline-block; }
.btn + .btn { margin-left: 0.5rem; }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.8rem; }
.lang-switch a { margin-left: 0.5rem; opacity: 0.6; }
.lang-switch a.active { opacity: 1; font-weight: bold; }
.status-box { background: #222; padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; }
.field-group { margin-bottom: 1.2rem; }
.field-group label { display: block; font-size: 0.85rem; opacity: 0.8; margin-bottom: 0.3rem; }
.field-group input { width: 100%; padding: 0.6rem; background: #111; border: 1px solid #444; color: #eee; border-radius: 4px; box-sizing: border-box; font-family: monospace; font-size: 0.85rem; }
.field-hint { font-size: 0.75rem; opacity: 0.5; margin-top: 0.25rem; }
.password-wrapper { position:relative; margin: 0.5rem 0 1rem; }
.password-wrapper input { margin: 0; }
.password-toggle { position:absolute; right:10px; top:50%; transform:translateY(-50%); cursor:pointer; opacity:0.6; user-select:none; }
.password-toggle:hover { opacity:1; }
.connected { color: #2ecc71; }
.not-connected { color: #f39c12; }
button { background: #2d7dd2; color: #fff; padding: 0.6rem 1.2rem; border: none; border-radius: 4px; cursor: pointer; }
button.link-btn { background: none; border: none; color: #e74c3c; text-decoration: underline; cursor: pointer; padding: 0; font-size: 0.9rem; }
input { width: 100%; padding: 0.6rem; margin: 0.5rem 0 1rem; background: #222; border: 1px solid #444; color: #eee; border-radius: 4px; box-sizing: border-box; }
.error { color: #e74c3c; }
.success { color: #2ecc71; }

h1 { font-size: 1.4rem; }
.overall-banner { padding: 1.2rem; border-radius: 8px; text-align: center; font-size: 1.1rem; font-weight: bold; margin-bottom: 1.5rem; }
.overall-ok { background: #1e4620; color: #2ecc71; }
.overall-issue { background: #4a2020; color: #e74c3c; }
.category-row { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid #333; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.score-box { text-align: center; margin: 1.5rem 0; }
.score-letter { font-size: 2.5rem; font-weight: bold; }
.uptime-box { text-align: center; opacity: 0.8; font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer { text-align: center; margin-top: 2rem; font-size: 0.8rem; opacity: 0.5; }
.footer a { color: #6ab7ff; }

.top-bar .logo-link {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem;
  color: var(--text);
}
.top-bar .logo-link img { height: 28px; }