/* Página pública de status. Usa os tokens de /app/app.css. */
.status-page { max-width: 1000px; margin: 0 auto; padding: 0 var(--s-6) var(--s-8); }
.status-top { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.status-top .brand { padding: 0; }
.status-main { display: flex; flex-direction: column; gap: var(--s-6); }

.status-hero {
  background: var(--surface);
  border-radius: var(--r-shell);
  padding: var(--s-8);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.status-hero .seal {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--ok-tint); color: var(--ok);
}
.status-hero .seal .ico { width: 32px; height: 32px; }
.status-hero.degraded .seal { background: var(--warn-tint); color: #8a5a00; }
.status-hero.down .seal { background: var(--danger-tint); color: var(--danger); }
.status-hero h1 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.status-hero p { font-size: 14px; color: var(--muted); }
.status-hero .grow { flex: 1; min-width: 220px; }
.status-hero .total { text-align: right; }
.status-hero .total .hero-label { display: block; font-size: 14px; }
.status-hero .big { font-variant-numeric: normal; }

.status-panel {
  background: var(--surface);
  border-radius: var(--r-shell);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.comp-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.comp-head .tile { background: var(--primary-tint); color: var(--ink); }
.comp-head .grow { flex: 1; min-width: 160px; }
.comp-head b { display: block; color: var(--title); font-weight: 600; letter-spacing: -0.02em; }
.comp-head small { display: block; font-size: 13px; line-height: 18px; color: var(--muted); }
.comp-head .lat { font-size: 13px; color: var(--faint); }

.bars { display: flex; gap: 3px; height: 36px; }
.bars i { flex: 1; min-width: 0; border-radius: 3px; background: var(--border); transition: transform 0.1s; }
.bars i.up { background: var(--ok); }
.bars i.partial { background: var(--warn); }
.bars i.out { background: var(--danger); }
.bars i:hover { transform: scaleY(1.15); }
.bars-foot { display: flex; align-items: center; gap: var(--s-3); font-size: 12px; color: var(--faint); }
.bars-foot span:nth-child(2) { flex: 1; text-align: center; color: var(--ink); font-weight: 600; font-size: 13px; }

.incident { display: flex; align-items: center; gap: var(--s-3); padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.incident:last-child { border-bottom: 0; padding-bottom: 0; }
.incident:first-of-type { padding-top: 0; }
.incident .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none; }
.incident b { color: var(--title); font-weight: 600; }
.incident .when { flex: 1; color: var(--muted); }
.incident .dur { color: var(--ink); font-weight: 600; }

.status-foot { padding-top: var(--s-6); text-align: center; font-size: 13px; color: var(--faint); }

.tip {
  position: fixed; z-index: 60; pointer-events: none;
  background: var(--dark); color: #fff; border-radius: 10px; padding: 8px 12px;
  font-size: 12px; line-height: 18px; white-space: nowrap; transform: translate(-50%, -100%);
}
.tip b { display: block; font-weight: 600; }

@media (max-width: 640px) {
  .status-page { padding: 0 var(--s-3) var(--s-6); }
  .status-top { height: 72px; }
  .status-hero, .status-panel { border-radius: 24px; padding: var(--s-4); }
  .status-hero .total { text-align: left; }
  .bars { gap: 1px; height: 30px; }
  .bars i { border-radius: 1px; }
}
