:root { --bg: #fbfaf7; --fg: #1d1f1c; --muted: #5d625a; --line: #e2dfd6; --card: #ffffff; --accent: #1f6f50; --accent-fg: #fff;
  --code: #f1efe8; --temp: #178a5a; --hum: #2f62b8; --grid: #ece9e1; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #141613; --fg: #e9eae4; --muted: #a2a79c; --line: #2d312b; --card: #1b1e1a; --accent: #5cc496; --accent-fg: #0d140f;
    --code: #22261f; --temp: #36a873; --hum: #5b8fe0; --grid: #262a24; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 52rem; margin: 0 auto; padding: 2.2rem 16px 3rem; }
a { color: var(--accent); }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.15; margin: .3rem 0 .6rem; letter-spacing: -.02em; }
h2 { font-size: 1.2rem; margin: 0; }
section { margin-top: 2.4rem; }
.lede { color: var(--muted); font-size: 1.1rem; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
code { font-family: var(--mono); font-size: .9em; background: var(--code); border-radius: 5px; padding: .08em .35em; }
.live { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 99px; padding: .15rem .7rem; margin: 0; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.row.head { display: flex; align-items: center; gap: .6rem; }
.pill { font-size: .75rem; font-weight: 600; border: 1px solid var(--line); color: var(--muted); border-radius: 99px; padding: .05rem .55rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin: 1rem 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
.tile .k { font-size: .78rem; color: var(--muted); font-weight: 600; }
.tile .v { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile .s { font-size: .82rem; color: var(--muted); }
figure.chart { position: relative; margin: 1rem 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem .5rem; }
figcaption { font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--grid); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { stroke: none; opacity: .12; }
.chart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .marker { stroke: var(--card); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.tip { position: absolute; pointer-events: none; background: var(--fg); color: var(--bg); font-size: .8rem; padding: .3rem .5rem;
  border-radius: 6px; white-space: nowrap; transform: translate(-50%, -125%); font-variant-numeric: tabular-nums; }
details { margin-top: .8rem; } summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: .6rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
th { color: var(--muted); font-size: .8rem; }
.btn { display: inline-block; font-weight: 600; padding: .55rem 1rem; border-radius: 8px; background: var(--accent); color: var(--accent-fg);
  text-decoration: none; border: 1px solid var(--accent); margin: .3rem .4rem 0 0; }
.btn.secondary { background: transparent; color: var(--accent); }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 1.5rem 16px 2.5rem; border-top: 1px solid var(--line); }
/* terminal, same as remotehost.bitgeek.in */
.term { margin: 1rem 0; border-radius: 12px; overflow: hidden; background: #0f1412; border: 1px solid #253029; }
.term::before { content: attr(data-title); display: block; padding: .45rem .9rem .45rem 4.2rem; font: 600 .74rem/1.4 var(--mono); color: #7d8c84;
  background: #171e1b; border-bottom: 1px solid #253029;
  background-image: radial-gradient(circle at .85rem 50%, #ff5f57 .3rem, transparent .32rem), radial-gradient(circle at 1.75rem 50%, #febc2e .3rem, transparent .32rem),
    radial-gradient(circle at 2.65rem 50%, #28c840 .3rem, transparent .32rem); }
.term pre { margin: 0; color: #d7e2dc; padding: .9rem 1rem 1rem; font: .86rem/1.6 var(--mono); overflow-x: auto; }
.term .p { color: #5cc496; font-weight: 700; } .term .c { color: #f2f5f3; font-weight: 700; } .term .f { color: #7fd1e6; }
.term .a { color: #e8c97a; } .term .u { color: #8fb8ff; } .term .o { color: #a8b5ae; } .term .ok { color: #5cc496; } .term .k { color: #c7a4ff; }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
