:root {
  --bg: #f6f7f9; --card: #fff; --ink: #111827; --muted: #6b7280; --line: #e5e7eb;
  --brand: #0f766e; --brand-ink: #fff; --good: #15803d; --warn: #b45309; --bad: #b91c1c;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
main {
  max-width: 480px; margin: 0 auto; min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 0; }
h1 { font-size: 24px; line-height: 1.25; margin: 4px 0 0; }
p { margin: 0; line-height: 1.5; }
.muted { color: var(--muted); }
.status { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--muted); }
.dot.good { background: var(--good); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.dot.pulse { animation: pulse 1.2s infinite ease-in-out; }
@keyframes pulse { 50% { opacity: .3; } }
button {
  font: inherit; font-size: 18px; font-weight: 600; width: 100%; min-height: 56px;
  border-radius: 12px; border: 0; background: var(--brand); color: var(--brand-ink); cursor: pointer;
}
button.secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
button:disabled { background: #cbd5e1; color: #475569; cursor: not-allowed; }
button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.result { font-size: 18px; font-weight: 600; }
.result.good { color: var(--good); } .result.warn { color: var(--warn); } .result.bad { color: var(--bad); }
.alert { border-left: 4px solid var(--bad); padding: 12px 14px; background: #fef2f2; border-radius: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
small { color: var(--muted); font-size: 13px; }

.brandbar { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.brandbar img { border-radius: 9px; object-fit: contain; }
.about-fab {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 40px; height: 40px; min-height: 0; padding: 0;
  border-radius: 50%; background: #fff; color: var(--brand); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font: 700 18px/1 Georgia, serif; font-style: italic;
}
.about-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.4); display: grid; place-items: end center; padding: 16px; z-index: 10; }
.about-backdrop[hidden] { display: none; }
.about { background: #fff; border-radius: 16px; padding: 20px; width: min(420px, 100%); display: flex; flex-direction: column; gap: 12px; }
.about h2 { margin: 0; font-size: 20px; }
.about dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 600; text-align: right; }
