/* Monitor de status */
.status-hero__shell { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px) !important; }
.status-hero__copy { display: grid; justify-items: center; text-align: center; gap: 20px; }
.status-hero__copy .display { font-size: clamp(36px, 6vw, 60px); }

.overall { display: grid; justify-items: center; gap: 12px; min-height: 148px; margin-top: 8px; }
.overall__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--s-line, var(--c-line)); background: var(--s-bg, var(--c-frost)); color: var(--s-fg, var(--c-muted)); }
.overall__icon svg { width: 28px; height: 28px; }
.overall__title { font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: var(--track-h3); line-height: 1.2; color: var(--s-fg, var(--c-fg)); }
.overall__sub { font-size: var(--fs-sm); color: var(--c-muted); }
.overall.is-loading .overall__icon, .overall.is-loading .skel { animation: none; }

.refresh { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 320px; margin-top: 8px; }
.refresh__pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border: 1px solid var(--c-hairline); border-radius: var(--r-pill); background: rgb(255 255 255 / .03); font-family: var(--font-mono); font-size: 12px; color: var(--c-fg-2); }
.refresh__bar { width: 100%; height: 2px; background: var(--c-line); border-radius: 2px; overflow: hidden; }
.refresh__fill { display: block; height: 100%; width: 100%; background: var(--c-ok); transform-origin: left center; transform: scaleX(1); transition: transform 1s linear; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--s-fg, var(--c-ok)); flex: none; }
.dot--pulse { animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.5); } }

/* Estados */
.s-ok { --s-fg: var(--c-ok); --s-bg: rgb(87 199 138 / .1); --s-line: rgb(87 199 138 / .28); }
.s-warn { --s-fg: var(--c-warn); --s-bg: rgb(242 179 75 / .1); --s-line: rgb(242 179 75 / .28); }
.s-down { --s-fg: var(--c-red-soft); --s-bg: var(--c-red-tint); --s-line: rgb(243 51 61 / .3); }
.s-unk { --s-fg: var(--c-muted); --s-bg: var(--c-frost); --s-line: var(--c-line); }

.sec-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 28px; }
.sec-bar .h2 { font-size: clamp(26px, 3.2vw, 36px); }
.sec-bar__count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); padding-bottom: 6px; white-space: nowrap; }

.comp-grid { display: grid; gap: 10px; }
.comp { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--c-hairline); border-radius: var(--r-md); background: rgb(19 19 21 / .4); transition: border-color var(--t-base) var(--ease-std); animation: rise .5s var(--ease-out) both; animation-delay: var(--d, 0s); }
.comp:hover { border-color: rgb(255 255 255 / .14); }
.comp__name { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: var(--fs-sm); font-weight: 500; }
.comp__name span:last-child { overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 26px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--s-line); background: var(--s-bg); color: var(--s-fg); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }

.inc-list { display: grid; gap: 14px; }
.inc { padding: 20px 22px; border: 1px solid var(--c-hairline); border-left: 3px solid var(--s-fg, var(--c-line-strong)); border-radius: var(--r-md); background: rgb(19 19 21 / .4); animation: rise .5s var(--ease-out) both; animation-delay: var(--d, 0s); }
.inc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.inc__title { font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; display: flex; align-items: flex-start; gap: 8px; }
.inc__title svg { width: 16px; height: 16px; margin-top: 2px; color: var(--s-fg); flex: none; }
.inc__desc { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.6; color: var(--c-fg-2); text-align: left; overflow-wrap: anywhere; }
.inc__date { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); }
.inc__date svg { width: 12px; height: 12px; }
.s-info { --s-fg: #6CA8FF; --s-bg: rgb(108 168 255 / .1); --s-line: rgb(108 168 255 / .28); }

.empty { display: grid; justify-items: center; gap: 6px; padding: 36px 20px; text-align: center; border: 1px solid var(--c-hairline); border-radius: var(--r-md); background: rgb(19 19 21 / .4); color: var(--c-muted); font-size: var(--fs-sm); }
.empty strong { color: var(--c-fg-2); font-weight: 500; font-size: var(--fs-body); }
.empty svg { width: 32px; height: 32px; margin-bottom: 6px; color: var(--s-fg, var(--c-muted)); }
.empty small { font-size: var(--fs-xs); color: var(--c-muted); }

.skel { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--c-surface); }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .06), transparent); transform: translateX(-100%); animation: skel 1.6s var(--ease-std) infinite; }
@keyframes skel { to { transform: translateX(100%); } }
.skel--circle { width: 64px; height: 64px; border-radius: 50%; }
.skel--line { height: 28px; width: min(320px, 80%); }
.skel--line-sm { height: 14px; width: 180px; }
.skel--row { height: 60px; border-radius: var(--r-md); }
.skel--card { height: 96px; border-radius: var(--r-md); }

.status-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  /* Celular: nome em cima, selo embaixo em todas as linhas (ritmo uniforme, nomes longos não empurram o selo) */
  .comp { flex-direction: column; align-items: flex-start; gap: 8px; }
  .comp .badge { margin-left: 20px; }
  .inc__head { flex-direction: column-reverse; align-items: flex-start; gap: 8px; } /* selo acima do título: título usa a largura toda */
}
@media (prefers-reduced-motion: reduce) {
  .dot--pulse, .skel::after, .comp, .inc { animation: none; }
  .refresh__fill { transition: none; }
}
