/* EdHelfy — status.html page styles.
   Externalized 2026-07-06 (Phase 5.3) so the page's CSP can drop
   style-src 'unsafe-inline'. Verbatim move from the old <style> block. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f6fb;
  color: #1a1a2e;
  line-height: 1.7;
}
.topbar {
  background: #1a1a2e;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-brand { font-size: 20px; font-weight: 700; color: #fff; }
.topbar-brand .ed { color: #8A2BE2; }
.topbar-brand .helfy { color: #FF2D95; }
.topbar a { color: #ccc; text-decoration: none; font-size: 14px; }
.topbar a:hover { color: #fff; }
.container { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #8A2BE2, #FF2D95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle { font-size: 14px; color: #888; margin-bottom: 24px; }
h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 28px 0 12px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
h2:first-of-type { border-top: none; padding-top: 0; }
p, li { font-size: 15px; color: #444; margin-bottom: 10px; }
ul { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; }
strong { color: #1a1a2e; }
a { color: #8A2BE2; }
.banner {
  padding: 20px 24px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.banner.ok { background: #e8f7ee; border: 1px solid #b7e4c7; }
.banner.warn { background: #fff4e1; border: 1px solid #ffd79a; }
.banner.bad { background: #fde8e8; border: 1px solid #f5b4b4; }
.banner-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.banner.ok .banner-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
.banner.warn .banner-dot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,0.2); }
.banner.bad .banner-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.2); }
.banner-text { flex: 1; }
.banner-title { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 2px; }
.banner-sub { font-size: 13px; color: #555; }
.services {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.service-row {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  gap: 14px;
}
.service-row:last-child { border-bottom: none; }
.service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.service-dot.ok { background: #22c55e; }
.service-dot.warn { background: #f59e0b; }
.service-dot.bad { background: #ef4444; }
.service-dot.gray { background: #9ca3af; }
.service-name { flex: 1; font-size: 14px; font-weight: 600; color: #1a1a2e; }
.service-status { font-size: 13px; color: #555; }
.meta {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 12px;
}
.footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #eee;
  margin-top: 40px;
}
@media (prefers-reduced-motion: no-preference) {
  .banner-dot { animation: pulse 2s infinite; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
