/* PNCS Wizard Companion: phone first, the system font, safe areas for notches and home bars. Build is dark with a
   green accent; live has a green top bar, so the two never look alike. Follows the phone's light or dark mode. */
:root {
    --bg: #f4f6f8; --card: #fff; --ink: #0f172a; --muted: #5b6475; --line: #e3e7ee; --soft: #eef2f6;
    --accent: #16a34a; --accent-ink: #fff; --accent-soft: #dcfce7; --bad: #dc2626; --bad-soft: #fee2e2; --warn: #b45309; --warn-soft: #fef3c7;
    --top: #16a34a; --top-ink: #fff;
    --r: 14px; --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root { --bg: #0b1324; --card: #111c33; --ink: #e8edf6; --muted: #93a0b8; --line: #1f2b45; --soft: #16223d;
            --accent: #22c55e; --accent-ink: #052e13; --accent-soft: #123824; --bad: #f87171; --bad-soft: #3b1518; --warn: #fbbf24; --warn-soft: #3a2c0b;
            --top: #15803d; }
}
html[data-flavor="build"] { --top: #0b1324; --top-ink: #4ade80; }
@media (prefers-color-scheme: dark) { html[data-flavor="build"] { --top: #060b17; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%;
       -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
a { color: var(--accent); text-decoration: none; }
h1 { font-size: 1.5rem; line-height: 1.2; margin: .5rem 0; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: 0 0 .25rem; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .6rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
p { margin: .4rem 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center-text { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.noscript { padding: 2rem; text-align: center; }
.ico { display: inline-flex; width: 22px; height: 22px; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* first paint */
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: .75rem; color: var(--muted); }
.boot img { border-radius: 22px; margin: 0 auto; }

/* full-screen steps (install, link, lock) */
.screen { min-height: 100vh; padding: calc(var(--safe-t) + 24px) 20px calc(var(--safe-b) + 24px); max-width: 520px; margin: 0 auto; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding-top: 4vh; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .95rem; }
.brand img { border-radius: 7px; }
.hero-ico { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin: 1rem 0 .25rem; }
.hero-ico .ico { width: 42px; height: 42px; }
.steps { text-align: left; padding-left: 1.4rem; margin: .5rem 0; display: grid; gap: .65rem; }
.steps li { padding-left: .2rem; }
.inline-ico { display: inline-flex; vertical-align: -5px; color: var(--accent); }
.note { font-size: .85rem; color: var(--muted); }
.alert { background: var(--bad-soft); color: var(--bad); border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; text-align: left; width: 100%; }
.code { display: flex; gap: 10px; margin: 1rem 0; }
.code span { width: 64px; height: 80px; border-radius: 16px; background: var(--card); border: 2px solid var(--line); display: grid; place-items: center;
             font: 700 2.6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.wait { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); margin: .5rem 0; }
.stepper { display: flex; gap: 6px; justify-content: center; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 99px; background: var(--soft); }
.stepper b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-size: .72rem; }
.stepper .now { color: var(--ink); background: var(--accent-soft); }
.stepper .now b, .stepper .done b { background: var(--accent); color: var(--accent-ink); }

/* buttons and fields */
.btn { appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: .7rem 1rem; font: inherit; font-weight: 600;
       display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.danger { color: var(--bad); }
.btn.primary.danger, .btn.block.danger.primary { background: var(--bad); color: #fff; }
.btn.block { width: 100%; }
.btn.big { min-height: 54px; font-size: 1.05rem; margin-top: .5rem; }
.btn.small { min-height: 34px; padding: .3rem .7rem; font-size: .85rem; }
.btn.ghost { border: 0; background: none; color: var(--muted); }
.icon-btn { appearance: none; border: 0; background: none; color: inherit; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.icon-btn:active { background: rgba(127, 127, 127, .15); }
.lock-mini { display: inline-flex; width: 15px; height: 15px; opacity: .8; }
.lock-mini svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; }
.field { display: grid; gap: .3rem; font-size: .9rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px;
       padding: .7rem .8rem; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: .6rem; align-items: center; font-size: .95rem; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form { display: grid; gap: 12px; }

/* cards, toggles, chips */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.settings { display: grid; gap: 12px; width: 100%; text-align: left; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.toggle:first-of-type { border-top: 0; }
.toggle span { display: grid; }
.toggle b { font-weight: 500; }
.toggle small { color: var(--muted); font-size: .78rem; }
.toggle input { appearance: none; width: 50px; height: 30px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(20px); }
.quiet { display: grid; gap: .6rem; padding-top: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-radius: 99px; background: var(--soft); font-size: .8rem; }
.chip input { accent-color: var(--accent); }

/* the app frame */
.app { min-height: 100vh; padding-bottom: calc(var(--safe-b) + 70px); }
.top { position: sticky; top: 0; z-index: 5; background: var(--top); color: var(--top-ink); padding: calc(var(--safe-t) + 8px) 10px 8px 14px;
       display: flex; align-items: center; gap: .4rem; min-height: calc(var(--safe-t) + 56px); }
.top h1 { font-size: 1.05rem; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .brand { flex: 1; }
.top-acts { display: flex; gap: 2px; margin-left: auto; }
.top-acts a { color: inherit; }
.main { padding: 14px; max-width: 640px; margin: 0 auto; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-top: 1px solid var(--line);
        padding-bottom: var(--safe-b); }
.tabs a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.tabs a.is-on { color: var(--accent); }
.loading { display: grid; place-items: center; padding: 3rem 0; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.spinner.small { width: 18px; height: 18px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }

/* home */
.hello { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pill { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; background: var(--warn-soft); color: var(--warn); }
.services { margin: 0; font-size: .85rem; padding: .5rem .75rem; border-radius: 10px; }
.services.is-ok { background: var(--accent-soft); color: var(--accent); }
.services.is-bad { background: var(--bad-soft); color: var(--bad); font-weight: 600; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 2px; color: var(--ink); }
.tile small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.tile b { font-size: 1.35rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tile span { color: var(--muted); font-size: .75rem; }
.tile em { font-style: normal; font-size: .72rem; font-weight: 700; }
.tile em.up { color: var(--accent); }
.tile em.down { color: var(--bad); }
.spark svg { width: 100%; height: 64px; display: block; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-fill { fill: var(--accent-soft); opacity: .7; }
.needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.needs a { display: flex; gap: .7rem; align-items: center; color: var(--ink); padding: .5rem; border-radius: 10px; background: var(--soft); }
.needs .count { min-width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--line); font-size: .9rem; }
.needs .lv-bad .count { background: var(--bad); color: #fff; }
.needs .lv-warn .count { background: var(--warn-soft); color: var(--warn); }
.needs span { display: grid; }
.needs small { color: var(--muted); font-size: .78rem; }
.ok-line { color: var(--accent); font-weight: 600; margin: 0; }

/* lists */
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
.seg::-webkit-scrollbar { display: none; }
.seg a { flex: none; padding: .45rem .8rem; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 600;
         display: inline-flex; gap: .4rem; align-items: center; }
.seg a.is-on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.seg b { font-size: .72rem; background: rgba(127,127,127,.18); border-radius: 99px; padding: 0 .4rem; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list a { display: grid; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; color: var(--ink); }
.list .is-unread a, .list .is-waiting a { border-left: 4px solid var(--accent); }
.list .is-urgent a { border-left: 4px solid var(--bad); }
.li-top { display: flex; justify-content: space-between; gap: .5rem; }
.li-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-top time { flex: none; color: var(--muted); font-size: .78rem; }
.li-title { font-size: .92rem; }
.li-prev { color: var(--muted); font-size: .85rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.li-who { color: var(--accent); font-size: .75rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: .7rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; background: var(--soft); color: var(--muted); text-transform: capitalize; }
.tag.bad, .tag.st-frozen, .tag.st-open { background: var(--warn-soft); color: var(--warn); }
.tag.st-pending, .tag.st-offered, .tag.st-changes, .tag.st-info { background: var(--warn-soft); color: var(--warn); }
.tag.st-approved, .tag.st-answered, .tag.st-cleared, .tag.st-raised { background: var(--accent-soft); color: var(--accent); }

/* one item */
.item-head h2 { overflow-wrap: anywhere; }
.contact { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; margin: 0; }
.lines { display: grid; grid-template-columns: minmax(90px, 35%) 1fr; gap: .35rem .75rem; margin: 0 0 .5rem; font-size: .92rem; }
.lines dt { color: var(--muted); }
.lines dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.panel { border-left: 4px solid var(--warn); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .4rem; }
.acts .btn { flex: 1 1 auto; }
.acts.col { flex-direction: column; }
.thread { display: grid; gap: 8px; }
.msg { background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; max-width: 92%; }
.msg.is-staff { justify-self: end; background: var(--accent-soft); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.msg-who { font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.mail pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .95rem; margin: 0; max-height: 60vh; overflow: auto; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .9rem; }
.plain small { color: var(--muted); }
.pay { display: flex; justify-content: space-between; gap: .5rem; }
.pay span { display: grid; }
.actbar { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-b) + 58px); z-index: 4; display: flex; gap: 8px; padding: 10px 14px;
          background: linear-gradient(to top, var(--bg) 70%, transparent); }
.actbar .btn { flex: 1; }
.actbar-space { height: 64px; }

/* the scanner */
.scanner { display: grid; gap: 12px; }
.scan-top { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.scan-view { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }

/* sheets and toasts */
.sheet-wrap { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,0); transition: background .25s; display: flex; align-items: flex-end; }
.sheet-wrap.is-in { background: rgba(0,0,0,.45); }
.sheet { width: 100%; max-height: 88vh; overflow: auto; background: var(--bg); border-radius: 20px 20px 0 0; padding: 8px 16px calc(var(--safe-b) + 18px);
         transform: translateY(100%); transition: transform .25s ease-out; }
.sheet-wrap.is-in .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 10px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 84px); z-index: 30; transform: translate(-50%, 20px); opacity: 0; transition: all .25s;
         background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 12px; font-size: .92rem; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { background: var(--bad); color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; animation-duration: 2s !important; } }

/* home widgets */
.widget h3 a { text-transform: none; letter-spacing: 0; font-weight: 600; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.three .tile b { font-size: 1.1rem; }
.widget .tile { background: var(--soft); border-color: transparent; }
.chart { margin-top: 12px; }
.chart-svg svg { width: 100%; height: 90px; display: block; }
.bar-a { fill: var(--accent); }
.bar-b { fill: var(--line); }
@media (prefers-color-scheme: dark) { .bar-b { fill: #2c3c60; } }
.chart-x { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend i.bar-a { background: var(--accent); }
.legend i.bar-b { background: var(--line); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rank-top { display: flex; justify-content: space-between; gap: .5rem; font-size: .92rem; }
.rank-bar { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; margin: 4px 0 2px; }
.rank-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.rank small { color: var(--muted); font-size: .75rem; }
.widget h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 8px; }

/* edit home, more, find */
.edit-list { list-style: none; margin: 0; padding: 0; }
.edit-list li { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); }
.edit-list li:first-child { border-top: 0; }
.edit-list li.is-off .toggle b { color: var(--muted); }
.edit-list .toggle { flex: 1; border: 0; }
.edit-move { display: flex; flex-direction: column; }
.edit-move .icon-btn { width: 32px; height: 26px; font-size: 1rem; color: var(--muted); }
.edit-move .icon-btn[disabled] { opacity: .25; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu a { display: flex; gap: .8rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; color: var(--ink); }
.menu a .ico { color: var(--accent); }
.menu a span { display: grid; }
.menu small { color: var(--muted); font-size: .8rem; }
.field.search input { font-size: 17px; padding: .8rem .9rem; }
.acts.grid { display: grid; grid-template-columns: 1fr 1fr; }
.acts.grid .btn { min-height: 52px; font-size: .92rem; }
.desk-qr { background: #fff; padding: 16px; border-radius: 16px; width: 232px; margin: 8px auto; }
.desk-qr svg { width: 200px; height: 200px; display: block; }
.desk-qr .qr-svg path, .desk-qr .qr-svg rect { fill: #0b1324; }
.tile.wide { grid-column: 1 / -1; }
.tile.wide b { font-size: 1.8rem; }

/* quick stats: always at the top of home */
.quick { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 12px; }
.qtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qtile { background: var(--soft); border-radius: 12px; padding: 10px 12px; display: grid; gap: 1px; }
.qtile small { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.qtile b { font-size: 1.3rem; letter-spacing: -.02em; }
.qtile span { color: var(--muted); font-size: .72rem; }
.qtile em { font-style: normal; font-size: .72rem; font-weight: 700; }
.qtile em.up, .qtrend em.up { color: var(--accent); }
.qtile em.down, .qtrend em.down { color: var(--bad); }
.qtile.q-visitors { grid-column: 1 / -1; }
.qtile.q-visitors b { font-size: 1.7rem; }
.qtrend { display: grid; gap: 6px; }
.qtrend-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.qtrend-head > span:first-child { display: grid; }
.qtrend-head small { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.qtrend-head b { font-size: 1.3rem; }
.qtrend-head em { font-style: normal; font-size: .75rem; font-weight: 700; }
.qtrend .chart { margin-top: 0; }
.quick .services { display: block; text-align: center; }
.spark-prev { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .6; vector-effect: non-scaling-stroke; }
.seg.small a { padding: .3rem .65rem; font-size: .78rem; }
h4.sect { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 -4px; }

/* Risk Radar Lite™ and the logs */
.radar-brand { display: flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.05rem; margin: 0; color: var(--accent); }
.radar-brand .ico { width: 24px; height: 24px; }
.tile.is-bad b { color: var(--bad); }
.list .is-warn a { border-left: 4px solid var(--warn); }
.li-static { display: grid; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.card.json summary { cursor: pointer; font-weight: 700; font-size: .85rem; }
.card.json pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 10px 0 0; max-height: 60vh; overflow: auto; }
.rank-bar i { min-width: 3px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* the public status page */
.status-head { display: flex; align-items: center; gap: .55rem; font-weight: 700; margin: 0 0 6px; }
.status-head i, .st i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.status-card.is-up .status-head i, .st-up i { background: var(--accent); }
.status-card.is-degraded .status-head i, .st-degraded i, .st-maint i { background: var(--warn); }
.status-card.is-partial .status-head i, .status-card.is-down .status-head i, .st-partial i, .st-down i { background: var(--bad); }
.status-card h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 6px; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.status-list li { display: flex; justify-content: space-between; gap: .5rem; font-size: .92rem; }
.st { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; }
.status-events a { display: grid; color: var(--ink); }
.status-events small { color: var(--muted); }
.status-card h3 a { text-transform: none; letter-spacing: 0; font-weight: 600; }
