/* status.sparklesandtulips.com - one page, no third-party anything (a status
   page that needs a font CDN to render is not a status page). Palette is
   the brand's: logo green, teal, the deep band, white. */
:root {
  --green: #436a12;
  --green-deep: #2a460c;
  --teal: #017a80;
  --ink: #23291c;
  --muted: #5b6352;
  --paper: #ffffff;
  --mist: #f7f9f2;
  --line: #e2e8d6;
  --ok: #436a12;
  --warn: #9a5b00;
  --bad: #a3271b;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--teal); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.top__logo img { display: block; height: 46px; width: auto; }
.top__back { font-size: 15px; white-space: nowrap; }

main { max-width: 680px; margin: 0 auto; padding: 32px 20px 48px; }
h1 { font: 600 34px/1.15 Georgia, "Times New Roman", serif; color: var(--green); margin: 0 0 20px; }
h2 { font: 600 21px/1.25 Georgia, "Times New Roman", serif; color: var(--green); margin: 0 0 8px; }
p { margin: 0; }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
[data-state="ok"] .dot { background: var(--ok); }
[data-state="paused"] .dot { background: var(--warn); }
[data-state="down"] .dot { background: var(--bad); }
[data-state="checking"] .dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { [data-state="checking"] .dot { animation: none; } }

.overall {
  display: flex; align-items: center; gap: 16px;
  padding: 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--muted);
}
.overall[data-state="ok"] { border-left-color: var(--ok); }
.overall[data-state="paused"] { border-left-color: var(--warn); }
.overall[data-state="down"] { border-left-color: var(--bad); }
.overall .dot { width: 18px; height: 18px; }
.overall__big { font-size: 21px; font-weight: 600; line-height: 1.3; }
.overall__sub { color: var(--muted); margin-top: 2px; }

.rows { list-style: none; margin: 20px 0 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.row + .row { border-top: 1px solid var(--line); }
.row__name { font-weight: 600; }
.row__what { color: var(--muted); font-size: 15px; }
.row__state { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
[data-state="ok"] .row__state { color: var(--ok); }
[data-state="paused"] .row__state { color: var(--warn); }
[data-state="down"] .row__state { color: var(--bad); }

.checked { margin-top: 14px; color: var(--muted); font-size: 15px; }
.help { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.help p + p { margin-top: 10px; }
.foot { padding: 20px; text-align: center; color: #fff; background: var(--green-deep); font-size: 15px; }

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .top__back { font-size: 14px; }
  .row { padding: 14px 16px; }
}
