/* status-page.css — BeeCore /status (public website page, route-scoped).
   Prefix .st-* only. Does not touch Models (.mc-*), Pricing (.pr-*),
   Products (.ag-*), dashboard (.db-*). Only additions outside .st-* are:
   - html.status-route body background
   - nav.nav a.nav-link.st-nav-active (added by status-page.js on /status only)
   - .st-footer mirrors the live site footer. */

html.status-route body { background: #FAFAFA; }

.st-root { display: block; }
.st-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

/* ---------------- Hero ---------------- */
.st-hero {
  position: relative;
  padding: 56px 0 44px;
  border-bottom: 1px solid #EAEAEA;
  overflow: hidden;
}
/* extremely light geometric decoration (yellow, very low opacity) */
.st-hero:before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid #F5B800;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}
.st-hero:after {
  content: "";
  position: absolute;
  top: -40px;
  right: 40px;
  width: 280px;
  height: 280px;
  border: 1px solid #F5B800;
  opacity: 0.05;
  transform: rotate(30deg);
  pointer-events: none;
}
.st-hero-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.st-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #737373; margin-bottom: 14px; }
.st-hero h1 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #181818;
  margin: 0 0 12px;
}
.st-hero-sub { font-size: 14.5px; line-height: 1.6; color: #737373; margin: 0; max-width: 560px; }
.st-hero-note { margin-top: 18px; font-size: 12px; color: #737373; line-height: 1.6; }

/* Overall status block */
.st-overall { min-width: 300px; }
.st-overall-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #737373; margin-bottom: 8px; }
.st-overall-state { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: #181818; }
.st-overall-desc { margin-top: 7px; font-size: 13px; line-height: 1.6; color: #737373; }
.st-last { margin-top: 12px; font-size: 12.5px; color: #737373; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-refresh {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: #181818;
  text-decoration: underline; text-underline-offset: 2px;
}
.st-refresh:disabled { color: #A3A3A3; cursor: default; }

/* ---------------- Status dot ---------------- */
.st-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.st-dot--operational { background: #16A34A; }
.st-dot--degraded { background: #F5B800; }
.st-dot--partial { background: #F97316; }
.st-dot--major { background: #DC2626; }
.st-dot--maintenance { background: #A3A3A3; }
.st-dot--unknown { background: #A3A3A3; }
.st-dot--checking { background: #D4D4D4; }
.st-t--operational { color: #15803D; }
.st-t--degraded { color: #A16207; }
.st-t--partial { color: #C2410C; }
.st-t--major { color: #B91C1C; }
.st-t--maintenance { color: #737373; }
.st-t--unknown { color: #737373; }

/* ---------------- Sections ---------------- */
.st-section { padding: 56px 0; }
.st-section + .st-section { border-top: 1px solid #EAEAEA; }
.st-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.st-sec-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; color: #181818; margin: 0 0 6px; }
.st-sec-head p { font-size: 13.5px; color: #737373; margin: 0; }

/* ---------------- Service groups ---------------- */
.st-group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid #F2F2F2; }
.st-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.st-group-name { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #181818; }
.st-group-desc { margin-top: 7px; font-size: 12.5px; line-height: 1.6; color: #737373; }

.st-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 9px 0; border-bottom: 1px solid #F2F2F2; }
.st-row:last-child { border-bottom: none; }
.st-row-main { min-width: 0; }
.st-row-name { font-size: 14px; font-weight: 600; color: #181818; }
.st-row-desc { margin-top: 3px; font-size: 12.5px; color: #737373; line-height: 1.5; }
.st-row-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------------- Service history ---------------- */
.st-ranges { display: flex; gap: 6px; }
.st-range {
  font-family: inherit; font-size: 12px; font-weight: 600; color: #737373;
  background: #FFFFFF; border: 1px solid #EAEAEA; border-radius: 6px; padding: 5px 11px;
}
.st-range[disabled] { opacity: 0.5; cursor: default; }
.st-hist { display: flex; flex-direction: column; }
.st-hist-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid #F2F2F2; }
.st-hist-row:last-child { border-bottom: none; }
.st-hist-name { font-size: 13.5px; font-weight: 600; color: #181818; }
.st-track { position: relative; height: 2px; background: #E5E5E5; border-radius: 2px; }
.st-track:after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: transparent; }
.st-hist-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 12.5px; color: #737373; }
.st-hist-note { margin-top: 14px; font-size: 12px; color: #A3A3A3; }

/* ---------------- Incidents / Maintenance ---------------- */
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.st-col { padding-right: 40px; }
.st-col + .st-col { padding-right: 0; padding-left: 40px; border-left: 1px solid #EAEAEA; }
.st-col h3 { font-size: 16px; font-weight: 700; color: #181818; margin: 0 0 5px; }
.st-col-sub { font-size: 13px; color: #737373; margin: 0 0 22px; line-height: 1.6; }
.st-empty-line { font-size: 13.5px; color: #737373; padding: 4px 0 0; }

/* ---------------- Status definitions ---------------- */
.st-defs { display: grid; grid-template-columns: repeat(5, 1fr); }
.st-def { padding: 0 22px; border-left: 1px solid #EAEAEA; }
.st-def:first-child { padding-left: 0; border-left: none; }
.st-def:last-child { padding-right: 0; }
.st-def-title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #181818; }
.st-def-desc { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: #737373; }

/* ---------------- Footer (mirrors live site footer) ---------------- */
.st-footer { background: #FAFAF8; color: #4B5563; padding: 60px 24px 32px; margin-top: 8px; border-top: 1px solid #EAEAEA; }
.st-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 260px repeat(4, minmax(0, 1fr)); gap: 24px; }
.st-footer-brand { display: flex; align-items: center; gap: 10px; }
.st-footer-logo { height: 32px; width: auto; object-fit: contain; display: block; }
.st-footer-tagline { font-size: 13.5px; color: #4B5563; }
.st-footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #181818; margin-bottom: 12px; }
.st-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.st-footer-links a { font-size: 13.5px; color: #4B5563; text-decoration: none; }
.st-footer-links a:hover { color: #181818; }
.st-footer-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #EAEAEA; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #737373; }

/* nav active state (added by status-page.js only) */
/* active state now owned by #bc-global-header .bc-nav-active (single source) */

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .st-group { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .st-hist-row { grid-template-columns: 160px minmax(0, 1fr) 130px; gap: 16px; }
  .st-defs { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .st-def:nth-child(4) { padding-left: 0; border-left: none; }
  .st-footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .st-group { grid-template-columns: 1fr; gap: 14px; }
  .st-row { align-items: flex-start; }
  .st-row-status { padding-top: 2px; }
  .st-two { grid-template-columns: 1fr; }
  .st-col { padding-right: 0; }
  .st-col + .st-col { padding-left: 0; border-left: none; border-top: 1px solid #EAEAEA; margin-top: 32px; padding-top: 32px; }
  .st-defs { grid-template-columns: 1fr 1fr; }
  .st-def { padding: 0 16px; }
  .st-def:nth-child(odd) { padding-left: 0; border-left: none; }
}
@media (max-width: 720px) {
  .st-wrap { padding: 0 20px; }
  .st-hero { padding: 40px 0 32px; }
  .st-section { padding: 40px 0; }
  .st-sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .st-hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .st-overall { min-width: 0; width: 100%; }
  .st-hist-row { grid-template-columns: 1fr; gap: 8px; }
  .st-hist-meta { justify-content: flex-start; }
  .st-defs { grid-template-columns: 1fr; gap: 22px; }
  .st-def { padding: 0; border-left: none; }
  .st-footer { padding: 40px 20px 26px; }
  .st-footer-inner { grid-template-columns: 1fr 1fr; }
}
