/* pwfauth.com/status (status.php), on top of site.css and support.css */
.st-page .sp-head { max-width: 760px; }
.st-page .sp-kicker i { margin-right: 6px; color: var(--mint); }

.st-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.st-banner b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.st-banner small { margin-left: auto; font-size: 13px; color: var(--mute-2); }
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mute-2); }
.st-ok .st-dot { background: var(--mint); box-shadow: 0 0 0 5px rgb(60 207 145 / .14); }
.st-warn { border-color: rgb(245 165 36 / .4); }
.st-warn .st-dot { background: var(--amber); box-shadow: 0 0 0 5px rgb(245 165 36 / .14); }
.st-bad { border-color: rgb(240 82 82 / .45); }
.st-bad .st-dot { background: var(--red); box-shadow: 0 0 0 5px rgb(240 82 82 / .16); }
.st-info .st-dot { background: #fff; }

.st-inc { margin-top: 14px; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid rgb(245 165 36 / .35); }
.st-inc-major { border-color: rgb(240 82 82 / .45); }
.st-inc-maintenance { border-color: var(--line-2); }
.st-inc header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.st-inc h2 { margin: 0; font-size: 17px; font-weight: 600; }
.st-pill { display: inline-flex; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--mute); }
.st-inc-minor .st-pill, .st-old-minor .st-pill { color: var(--amber); border-color: rgb(245 165 36 / .4); }
.st-inc-major .st-pill, .st-old-major .st-pill { color: #ff8a8a; border-color: rgb(240 82 82 / .45); }
.st-updates { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.st-updates li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2px 16px; font-size: 14px; }
.st-updates b { font-weight: 600; color: var(--text); }
.st-updates p { margin: 0; color: var(--mute); line-height: 1.6; }
.st-updates time { grid-column: 2; font-size: 12.5px; color: var(--mute-2); }
.st-affects { margin: 12px 0 0; font-size: 13px; color: var(--mute-2); }

.st-parts { margin-top: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.st-part { padding: 20px 24px; }
.st-part + .st-part { border-top: 1px solid var(--line); }
.st-part-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.st-part-top b { display: block; font-size: 15.5px; font-weight: 600; }
.st-part-top small { display: block; margin-top: 2px; font-size: 13px; color: var(--mute-2); }
.st-state { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.st-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--mute-2); }
.st-state.st-up { color: var(--mint); }
.st-state.st-up i { background: var(--mint); }
.st-state.st-degraded { color: var(--amber); }
.st-state.st-degraded i { background: var(--amber); }
.st-state.st-down { color: #ff8a8a; }
.st-state.st-down i { background: var(--red); }
.st-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; margin-top: 16px; }
.st-bar { border-radius: 2px; background: var(--line-2); transition: opacity .15s; }
.st-bar:hover { opacity: .7; }
.st-b-up { background: var(--mint); }
.st-b-some { background: var(--amber); }
.st-b-bad { background: var(--red); }
.st-part-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--mute-2); }
.st-part-foot span:nth-child(2) { color: var(--mute); }

.st-past { margin-top: 40px; }
.st-past h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.st-none { display: flex; align-items: center; gap: 10px; color: var(--mute); }
.st-none i { color: var(--mint); }
.st-old { border-top: 1px solid var(--line); padding: 14px 0; }
.st-old summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; cursor: pointer; list-style: none; }
.st-old summary::-webkit-details-marker { display: none; }
.st-old summary b { font-weight: 600; }
.st-old summary time { margin-left: auto; font-size: 13px; color: var(--mute-2); }
.st-help { margin-top: 30px; font-size: 14px; color: var(--mute-2); }
.st-help a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  /* the last 45 days on a phone */
  .st-bars { grid-template-columns: repeat(45, minmax(0, 1fr)); }
  .st-bars .st-bar:nth-child(-n+45) { display: none; }
  .st-part-foot span:first-child { visibility: hidden; }
  .st-updates li { grid-template-columns: 1fr; }
  .st-updates time { grid-column: 1; }
  .st-banner small { margin-left: 0; width: 100%; }
}
