<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{% block title %}cockpit{% endblock %} · fxhnt</title>
  <script src="/static/htmx.min.js"></script>   <!-- vendored, no CDN: works on the tailnet w/o external egress -->

  <style>
    :root { color-scheme: dark; }
    body { background:#0d1117; color:#c9d1d9; font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; margin:0; }
    header { display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid #21262d; }
    header img { height:28px; } header h1 { font-size:16px; margin:0; font-weight:600; }
    main { padding:20px; max-width:1100px; }
    table { border-collapse:collapse; width:100%; } th,td { text-align:right; padding:6px 10px; border-bottom:1px solid #21262d; }
    th:first-child, td:first-child { text-align:left; } a { color:#58a6ff; text-decoration:none; }
    .badge { padding:2px 8px; border-radius:10px; font-size:12px; }
    .WAIT { background:#21262d; color:#8b949e; } .GO { background:#193b1e; color:#3fb950; } .NO_GO { background:#3b1919; color:#f85149; }
    .pos { color:#3fb950; } .neg { color:#f85149; } .muted { color:#8b949e; }
  </style>
</head>
<body>
  <header><img src="/static/fxhnt.png" alt="fxhnt"><h1>{{ self.title() }}</h1>
    <nav style="display:flex; gap:14px; margin-left:20px; font-size:13px;">
      <a href="/">cockpit</a>
      <a href="/funnel">funnel</a>
      <a href="/factory">factory</a>
    </nav>
    <span class="muted" style="margin-left:auto">{{ now }}</span></header>
  <main>{% block body %}{% endblock %}</main>
</body>
</html>
