.pg-status {
  --st-ok: #3DDC97;
  --st-deg: #F5A524;
  --st-down: #FF5C7A;
  --st-ok-bg: rgba(61, 220, 151, .14);
  --st-deg-bg: rgba(245, 165, 36, .14);
  --st-down-bg: rgba(255, 92, 122, .14);
}
.st [hidden] { display: none !important; }
.st-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st { font-variant-numeric: tabular-nums; position: relative; isolation: isolate; }

.st::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 34, .55) 0%, rgba(10, 12, 34, .74) 45%, rgba(10, 12, 34, .9) 100%), url("../images/status-datacenter.webp") center / cover no-repeat; }

footer.foot { position: relative; }
.st-credito { margin: 26px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.st-credito a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.st-top { padding: 132px 0 0; }
.st-top h1 { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.st-line { --e: var(--st-ok); --e-bg: var(--st-ok-bg); margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.st-line[data-estado="degradado"] { --e: var(--st-deg); --e-bg: var(--st-deg-bg); }
.st-line[data-estado="caido"] { --e: var(--st-down); --e-bg: var(--st-down-bg); }
.st-line > p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.st-line b { color: #fff; font-weight: 600; }
.st-line time { color: var(--text); }
.st-line-s { display: inline-flex; flex-wrap: wrap; gap: 0 8px; }
.st-line-s > span { white-space: nowrap; }
.st-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--e); box-shadow: 0 0 0 4px var(--e-bg); }

.st-list-sec { padding: 28px 0 96px; }
.st-list-sec > .wrap, .st-top > .wrap { max-width: 1400px; }
.st-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.st-pg { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 16px/1 var(--f-text); cursor: pointer; }
.st-pg:hover:not(:disabled) { color: #fff; border-color: #3A4180; }
.st-pg[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--accent); }
.st-pg:disabled { opacity: .4; cursor: default; }
.st-pg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.st-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.st-seg button { height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: none; font: 500 15px/1 var(--f-text); color: var(--text); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.st-seg button:hover { color: #fff; }
.st-seg button[aria-pressed="true"] { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px #3A4180; }
.st-search { position: relative; flex: 1 1 240px; min-width: 0; }
.st-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.st-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: #fff; font: 400 15px/1 var(--f-text); }
.st-search input::placeholder { color: var(--muted); }
.st-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110, 123, 255, .25); }
.st-count { margin: 18px 0 12px; font-size: 16px; color: var(--muted); }

.st-box { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); scrollbar-color: #343B78 transparent; scrollbar-width: thin; }
.st-box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-list { list-style: none; margin: 0; padding: 0; }
.st-row { display: grid; grid-template-columns: minmax(128px, 1fr) minmax(150px, 1fr) minmax(168px, 1.15fr) repeat(3, minmax(124px, 1.3fr)) 140px 96px; align-items: center; gap: 0 22px; height: 70px; padding: 0 26px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.st-list .st-row { content-visibility: auto; contain-intrinsic-size: auto 70px; }
.st-list .st-row:last-child { border-bottom: 0; }
.st-list .st-row:hover { background: rgba(255, 255, 255, .025); }
.st-hd { position: relative; z-index: 2; height: 52px; background: var(--bg-2); font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.c-n { font: 700 18px/1 var(--f-title); color: #fff; letter-spacing: .01em; white-space: nowrap; }
.c-u { display: flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; color: var(--text); }
.st-flag { flex: none; width: 27px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.c-c { min-width: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.st-m { --c: var(--accent); display: flex; align-items: center; gap: 12px; min-width: 0; }
.st-m .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-m .bar { flex: 1 1 auto; min-width: 0; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.st-m .bar::after { content: ""; display: block; height: 100%; background: var(--c); transform: scaleX(var(--v, 0)); transform-origin: left center; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.st-m b { flex: none; width: 48px; text-align: right; color: #E3E5F5; font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.st-m[data-nivel="alto"] { --c: var(--st-deg); }
.st-m[data-nivel="critico"] { --c: var(--st-down); }
.st-quieto .st-m .bar::after { transition: none; }
@media (prefers-reduced-motion: reduce) { .st-m .bar::after { transition: none; } }

.st-on { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--st-ok); white-space: nowrap; }
.st-on::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--st-ok-bg); }
.st-on[data-e="caido"] { color: var(--st-down); }
.st-on[data-e="caido"]::before { box-shadow: 0 0 0 3px var(--st-down-bg); }
.c-up { white-space: nowrap; }
.st-hd > span { white-space: nowrap; }
.c-up .up-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-up b { color: #E3E5F5; font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.st-empty { display: grid; justify-items: center; gap: 14px; padding: 56px 16px; text-align: center; color: var(--text); }

@media (max-width: 1280px) {
  .st-row { grid-template-columns: minmax(118px, 1fr) 36px minmax(128px, 1fr) repeat(3, minmax(92px, 1.3fr)) 132px 88px; gap: 0 18px; padding: 0 18px; font-size: 15.5px; }
  .c-n { font-size: 16.5px; }
  .st-row:not(.st-hd) .c-c .cpu-p { display: none; }
  .st-m b, .c-up b { font-size: 15.5px; width: auto; }
  .st-on { font-size: 15px; }
  .c-u .u-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-hd .h-u { visibility: hidden; }
  .st-m { gap: 10px; }
}

@media (max-width: 900px) {
  .st-top { padding-top: 112px; }
  .st-top h1 { font-size: 32px; }
  .st-line { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; font-size: 14px; }
  .st-line .st-dot { align-self: start; margin-top: 6px; }
  .st-line > p { display: grid; gap: 2px; }
  .st-list-sec { padding: 22px 0 64px; }
  .st-tools { gap: 10px; }
  .st-seg { flex: 1 1 100%; }
  .st-seg button { flex: 1 1 0; padding: 0 8px; font-size: 14px; }
  .st-search { flex: 1 1 100%; }
  .st-count { font-size: 14px; }
  .st-box { border-radius: 14px; }
  .st-hd { display: none; }
  .st-list .st-row { contain-intrinsic-size: auto 132px; }
  .st-row { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "n up e" "s s s" "m1 m2 m3"; gap: 8px 16px; padding: 16px 16px 18px; font-size: 15px; }
  .c-n { grid-area: n; font-size: 16px; }
  .st-on { grid-area: e; justify-self: end; font-size: 15px; }
  .c-up { grid-area: up; justify-self: center; display: grid; justify-items: center; line-height: 1.15; }
  .c-up .up-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 12px; color: var(--muted); }
  .c-up b { font-size: 15.5px; }
  .c-u { grid-area: s; justify-self: start; font-size: 15px; }
  .c-u .u-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .c-c { grid-area: s; justify-self: end; font-size: 15px; color: var(--muted); }
  .st-row:not(.st-hd) .c-c .cpu-p { display: inline; }
  .st-m { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l v" "b b"; gap: 6px 6px; margin-top: 4px; }
  .st-m.m-cpu { grid-area: m1; } .st-m.m-ram { grid-area: m2; } .st-m.m-disco { grid-area: m3; }
  .st-m .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; grid-area: l; font-size: 13.5px; color: var(--muted); }
  .st-m b { grid-area: v; width: auto; font-size: 15.5px; }
  .st-m .bar { grid-area: b; height: 6px; }
  .st-pg { min-width: 42px; height: 42px; font-size: 15px; }
}
@media (max-width: 380px) {
  .st-row { gap: 6px 12px; padding: 12px 12px 13px; }
  .c-u, .c-c { font-size: 13px; }
}
@media (hover: none) and (pointer: coarse) {
  .st-search input { font-size: 16px; }
}
