.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header-logo svg {
  width: 32px;
  height: 32px;
}

.header-logo:hover {
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
  text-decoration: none;
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.overall-status {
  padding: 32px 0 24px;
}

.overall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.overall-status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overall-status-icon.operational {
  background: rgba(63, 185, 80, 0.15);
  color: var(--accent-green);
}

.overall-status-icon.degraded {
  background: rgba(210, 153, 34, 0.15);
  color: var(--accent-yellow);
}

.overall-status-icon.major {
  background: rgba(248, 81, 73, 0.15);
  color: var(--accent-red);
}

.overall-status-icon.maintenance {
  background: rgba(88, 166, 255, 0.15);
  color: var(--accent-blue);
}

.overall-status-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.overall-status-description {
  color: var(--text-secondary);
  font-size: 0.938rem;
}

.overall-status-time {
  color: var(--text-muted);
  font-size: 0.813rem;
  margin-top: 12px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.group-section {
  margin-bottom: 32px;
}

.group-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition);
}

.status-card:hover {
  border-color: var(--text-muted);
}

.status-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-card-name {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-card-desc {
  font-size: 0.813rem;
  color: var(--text-muted);
}

.status-card-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.operational {
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(63, 185, 80, 0.4);
}

.status-dot.degraded {
  background: var(--accent-yellow);
  box-shadow: 0 0 8px rgba(210, 153, 34, 0.4);
}

.status-dot.partial_outage {
  background: var(--accent-orange);
  box-shadow: 0 0 8px rgba(219, 109, 40, 0.4);
}

.status-dot.major_outage {
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(248, 81, 73, 0.4);
}

.status-dot.under_maintenance {
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.4);
}

.status-dot.unknown {
  background: var(--text-muted);
}

.history-section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.incident-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
}

.incident-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.incident-name {
  font-size: 1rem;
  font-weight: 600;
}

.incident-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.incident-badge.resolved {
  background: rgba(63, 185, 80, 0.15);
  color: var(--accent-green);
}

.incident-badge.monitoring {
  background: rgba(88, 166, 255, 0.15);
  color: var(--accent-blue);
}

.incident-badge.identified {
  background: rgba(210, 153, 34, 0.15);
  color: var(--accent-yellow);
}

.incident-badge.investigating {
  background: rgba(248, 81, 73, 0.15);
  color: var(--accent-red);
}

.incident-update {
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.incident-update:last-child {
  margin-bottom: 0;
}

.incident-update-status {
  font-weight: 600;
  font-size: 0.813rem;
  margin-bottom: 4px;
}

.incident-update-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.incident-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.error-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--bg-hover);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

.btn-primary:hover {
  background: #4a90d9;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-text {
  font-size: 0.813rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-link {
  font-size: 0.813rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* refactored: 2026-07-15 11:37:05 */