/* Stato del servizio: banner, servizi e controlli in tempo reale sopra base.css (nav, footer). */
.st { --st-ok: #1fa553; --st-warn: #e8a10c; --st-down: #e0352b; --st-unknown: #8e8e93; --st-bg: #fbfbfd; --st-card: #fff; --st-ink: #1d1d1f; --st-muted: #6e6e73; --st-line: #e5e5ea;
  background: var(--st-bg); color: var(--st-ink); }
.st [data-state="ok"] { --c: var(--st-ok); } .st [data-state="degraded"] { --c: var(--st-warn); } .st [data-state="down"] { --c: var(--st-down); }
.st [data-state="unknown"], .st [data-state="loading"] { --c: var(--st-unknown); }
.st-hero { padding: 88px 0 28px; }
.st-kicker { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--st-muted); }
.st-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 30px 32px; border-radius: 24px; background: var(--st-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .06); border-left: 6px solid var(--c); transition: border-color .4s var(--ease); }
.st-pulse { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.st-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c); animation: st-ping 2s var(--ease) infinite; }
.st-banner h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.st-banner p { margin: 6px 0 0; font-size: 15px; color: var(--st-muted); }
.st-refresh { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 980px; background: #f2f2f7; color: var(--st-ink); font: inherit; font-size: 14px; cursor: pointer; transition: background .2s; }
.st-refresh:hover { background: #e8e8ed; } .st-refresh:disabled { opacity: .5; cursor: progress; }
.st-sec { padding: 40px 0; }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.st-head h2, .st-help h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; font-weight: 650; }
.st-head p { margin: 0; font-size: 14px; color: var(--st-muted); }
.st-list { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: var(--st-card); box-shadow: inset 0 0 0 1px var(--st-line); overflow: hidden; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 24px; border-top: 1px solid var(--st-line); }
.st-row:first-child { border-top: 0; }
.st-name { font-size: 17px; font-weight: 500; min-width: 0; }
.st-state { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--c); font-weight: 600; white-space: nowrap; }
.st-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.st-empty { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--st-card); box-shadow: inset 0 0 0 1px var(--st-line); font-size: 16px; color: var(--st-muted); }
.st-incident { padding: 22px 24px; border-radius: 20px; background: var(--st-card); box-shadow: inset 0 0 0 1px var(--st-line); margin-bottom: 12px; }
.st-incident h3 { margin: 0 0 6px; font-size: 18px; } .st-incident time, .st-incident p { font-size: 15px; color: var(--st-muted); } .st-incident p { margin: 8px 0 0; line-height: 1.5; }
.st-help { padding-bottom: 96px; }
.st-help p { max-width: 680px; margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--st-muted); }
.st-help a { color: var(--blue); } .st-mail { user-select: all; color: var(--st-ink); overflow-wrap: anywhere; }
.st-table-wrap { overflow-x: auto; border-radius: 20px; background: var(--st-card); box-shadow: inset 0 0 0 1px var(--st-line); }
.st-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.st-table th, .st-table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--st-line); white-space: nowrap; }
.st-table thead th { border-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--st-muted); background: #f7f7f9; }
.st-table tbody th { font-weight: 600; color: var(--st-ink); text-transform: capitalize; }
.st-table tbody tr:hover { background: #fafafc; }
.st-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-weight: 500; }
.st-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.st-muted { color: var(--st-muted); }
@keyframes st-ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 734px) {
  .st-hero { padding-top: 56px; }
  .st-banner { grid-template-columns: auto minmax(0, 1fr); padding: 24px 22px; }
  .st-refresh { grid-column: 1 / -1; justify-self: start; }
  .st-row { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { .st-pulse::after { animation: none; } }
