/* Status page — layered on red-green-billboard.css */

.st-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.st-stat {
  background: #0d1b2a;
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.st-stat__label { font-size: 0.74rem; color: #8a9bb0; text-transform: uppercase; letter-spacing: 0.05em; }
.st-stat__value { font-size: 1.05rem; color: #f0e6d2; font-family: ui-monospace, monospace; }

.st-surfaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 0.8rem;
}
.st-surface {
  background: #1a2738;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  border-left: 3px solid #c9a227;
}
.st-surface__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; gap: 0.5rem; }
.st-surface__name { margin: 0; font-size: 0.95rem; color: #f0e6d2; font-family: ui-monospace, monospace; }
.st-surface__detail { margin: 0; font-size: 0.83rem; color: #a9b6cb; line-height: 1.45; }

.st-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.st-pill--ok  { color: #6aa86a; background: rgba(106,168,106,0.15); border: 1px solid rgba(106,168,106,0.4); }
.st-pill--bad { color: #c25b3a; background: rgba(194,91,58,0.15); border: 1px solid rgba(194,91,58,0.4); }

.st-fresh-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.7rem; margin-bottom: 0.7rem; }
.st-fresh-breakdown { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.st-fresh-chip {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #d9d3c4;
  border: 1px solid rgba(255,255,255,0.07);
}
.st-fresh-chip--ok      { color: #6aa86a; border-color: rgba(106,168,106,0.4); }
.st-fresh-chip--stale_http,
.st-fresh-chip--hijacked,
.st-fresh-chip--timeout { color: #d4a04a; border-color: rgba(212,160,74,0.4); }

.st-fresh-stale { margin-top: 0.7rem; }
.st-fresh-stale summary { cursor: pointer; color: #c9a227; font-size: 0.9rem; }
.st-fresh-stale ul { margin: 0.5rem 0 0; padding-left: 1.1rem; font-size: 0.82rem; color: #a9b6cb; line-height: 1.55; }
.st-fresh-stale li { margin-bottom: 0.25rem; word-break: break-all; }

.st-tick-err {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #d4a04a;
  font-family: ui-monospace, monospace;
}
