/* Start custom CSS *//* ============================================================
   WinSale System Status  (.ws-status)
   Cream system — uses --wsa-* tokens, px only (no rem),
   scoped under .ws-status to match .ws-lp / .ws-contact / .wsrics.
   Paste into the single canonical style.css. Purge LiteSpeed after.
   ============================================================ */

.ws-status {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0;
  font-family: var(--wsa-sans, inherit);
  color: var(--wsa-ink, #15161a);
}

/* Overall banner */
.ws-status .wss-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wsa-cream, #f6f1e7);
  border-radius: 10px;
  padding: 18px 22px;
  font-family: var(--wsa-serif, inherit);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 26px;
}
.ws-status .wss-bicon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.92);
}
.ws-status .wss-banner.wss-op   { background: #2e8b57; }
.ws-status .wss-banner.wss-deg  { background: #c08a2e; }
.ws-status .wss-banner.wss-down { background: #b8443a; }
.ws-status .wss-banner.wss-unk  { background: #6e7781; }

.ws-status .wss-uptime-label {
  color: var(--wsa-ink-soft, #6b6456);
  font-size: 13px;
  margin: 0 2px 14px;
}

/* Component cards — elevated white card on cream, like the docs sidebar */
.ws-status .wss-comp {
  background: #fff;
  border: 1px solid var(--wsa-line, #e3ddcf);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.ws-status .wss-comp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-status .wss-comp-name {
  font-family: var(--wsa-serif, inherit);
  font-size: 16px;
  font-weight: 600;
  color: var(--wsa-ink, #15161a);
}
.ws-status .wss-comp-status { font-size: 14px; font-weight: 600; }
.ws-status .wss-comp-desc {
  font-size: 13px;
  color: var(--wsa-ink-soft, #6b6456);
  margin-top: 3px;
}
.ws-status .wss-txt-op   { color: #2e8b57; }
.ws-status .wss-txt-deg  { color: #c08a2e; }
.ws-status .wss-txt-down { color: #b8443a; }
.ws-status .wss-txt-unk  { color: #6e7781; }

/* 90-day uptime bars */
.ws-status .wss-bars {
  display: flex;
  gap: 2px;
  margin-top: 14px;
  height: 34px;
  align-items: stretch;
  width: 100%;
  overflow: hidden;   /* safety clip so bars never escape the card */
}
.ws-status .wss-bar {
  flex: 1 1 0;
  border-radius: 1px;
  min-width: 0;       /* CHG: was 2px — the fixed minimum was causing overflow */
  cursor: pointer;
  transition: opacity 0.12s;
}
.ws-status .wss-bar:hover { opacity: 0.7; }
.ws-status .wss-bar-op   { background: #2e8b57; }
.ws-status .wss-bar-deg  { background: #d9a93f; }
.ws-status .wss-bar-down { background: #b8443a; }
.ws-status .wss-bar-none { background: #e8e2d4; }

.ws-status .wss-bars-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--wsa-ink-soft, #6b6456);
}
.ws-status .wss-uptime { font-weight: 600; color: var(--wsa-ink, #15161a); }

/* Legend */
.ws-status .wss-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 12px;
  color: var(--wsa-ink-soft, #6b6456);
}
.ws-status .wss-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ws-status .wss-key { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }

/* Footer */
.ws-status .wss-foot {
  text-align: center;
  margin-top: 30px;
  color: var(--wsa-ink-soft, #8a8a8a);
  font-size: 13px;
}
.ws-status .wss-foot a { color: var(--wsa-ink-soft, #8a8a8a); }

/* Hover tooltip (fixed, follows cursor) */
.wss-tip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  background: #fff;
  border: 1px solid var(--wsa-line, #e3ddcf);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(21, 22, 26, 0.14);
  padding: 14px 16px;
  min-width: 180px;
  display: none;
  font-family: var(--wsa-sans, inherit);
  color: var(--wsa-ink, #15161a);
}
.wss-tip-date { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.wss-tip-row { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.wss-tip-state { font-weight: 600; }
.wss-tip-state.op   { color: #2e8b57; }
.wss-tip-state.deg  { color: #c08a2e; }
.wss-tip-state.down { color: #b8443a; }
.wss-tip-dur { color: var(--wsa-ink-soft, #6b6456); }

@media (max-width: 520px) {
  .ws-status .wss-comp-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ws-status .wss-bars { gap: 1px; }   /* CHG: tighter gap so bars stay visible on narrow phones */
}/* End custom CSS */