/* status.remedy.global. Same tokens as remedy.global and the client portal:
   #0b0b0b ground, #f2f2f0 ink, Archivo Black display, Geist text. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #0b0b0b; color: #f2f2f0; font-family: 'Geist', 'Archivo', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.55; }
::selection { background: #f2f2f0; color: #0b0b0b; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
[hidden] { display: none !important; }

a { color: #f2f2f0; transition: color 0.3s ease; }
a:hover { color: #8f8f8b; }
a:focus-visible { outline: 2px solid #f2f2f0; outline-offset: 2px; }
.black { font-family: 'Archivo Black', 'Archivo', sans-serif; text-transform: uppercase; font-weight: 400; }
.muted { color: #8f8f8b; }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }

.top { padding: 12px clamp(12px, 3vw, 32px); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 10px 10px 10px 16px; border: 1px solid #222; border-radius: 14px; background: #0f0f0f; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f2f2f0; }
.lockup:hover { color: #f2f2f0; }
.lockup img { width: 44px; height: 44px; object-fit: contain; }
.lockup span { display: flex; flex-direction: column; }
.lockup b { font-size: 16px; letter-spacing: .04em; line-height: 1.3; }
.lockup small { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #8f8f8b; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; white-space: nowrap; line-height: 1.2; color: #f2f2f0; background: #141414; border: 1px solid #2c2c2c; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); padding: 7px 12px; text-decoration: none; transition: background 0.35s ease, border-color 0.35s ease; }
.btn:hover { background: #1a1a1a; border-color: #4a4a4a; color: #f2f2f0; }

.wrap { max-width: 860px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) clamp(16px, 3vw, 32px) 64px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.head > div { min-width: 0; }
.label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #8f8f8b; margin: 0 0 8px; }
.h1 { font-size: clamp(26px, 5vw, 44px); line-height: 1.05; letter-spacing: .01em; margin: 0; overflow-wrap: anywhere; }
.lede { color: #c9c9c5; margin: 10px 0 0; max-width: 62ch; }
.alert { color: #f2f2f0; background: #2a1212; border: 1px solid #5a2c2c; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 0 0 22px; }

.card { background: #111111; border: 1px solid #262626; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); min-width: 0; overflow: hidden; }
.card + .card { margin-top: 14px; }
.empty { color: #8f8f8b; padding: 22px 20px; margin: 0; }
/* a group of servers: its name and overall state, then one row per server */
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; border-bottom: 1px solid #262626; background: #0f0f0f; }
.group-head h2 { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #f2f2f0; margin: 0; overflow-wrap: anywhere; min-width: 0; }
.servers { list-style: none; margin: 0; padding: 0; }
.servers > li { border-bottom: 1px solid #1c1c1c; }
.servers > li:last-child { border-bottom: none; }
.server { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; }
.server > div { min-width: 0; }
.server h3 { font-size: 17px; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.server .meta { color: #8f8f8b; font-size: 13px; margin-top: 4px; }
/* the sites listed for one server, set in under it */
.sites { list-style: none; margin: 0 20px 16px; padding: 0; border: 1px solid #1c1c1c; border-radius: 10px; background: #0d0d0d; }
.sites li { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 14px; border-bottom: 1px solid #1c1c1c; font-size: 14px; }
.sites li:last-child { border-bottom: none; }
.sites .name { min-width: 0; overflow-wrap: anywhere; }
.sites .side { display: flex; align-items: center; gap: 12px; flex: none; }

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.pill-solid { color: #0b0b0b; background: #f2f2f0; }
.pill-line { color: #c9c9c5; border-color: #333; font-weight: 500; }
.pill-warn { color: #f2f2f0; border-color: #f2f2f0; border-style: dashed; }
.pill-alert { color: #f2f2f0; background: #2a1212; border-color: #5a2c2c; }

#foot { margin: 18px 0 0; }
.foot { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px) 36px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6f6f6b; }
.foot a { color: #6f6f6b; text-decoration: none; }
.foot a:hover { color: #f2f2f0; }
.foot span { margin-right: auto; }
