<!doctype html>
<html lang="en" data-theme="light">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ page_title }} · ossctx</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="{{ url_for('static', path='css/app.css') }}">
  <script src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script>
  <script defer src="{{ url_for('static', path='js/app.js') }}"></script>
</head>
<body>
  <div class="app-shell">
    <aside class="sidebar">
      <div>
        <div class="brand">ossctx</div>
        <p class="brand-copy">Unified code, docs, and observability context.</p>
      </div>
      <nav class="nav">
        <a href="/" class="nav-link">Dashboard</a>
        <div class="nav-group">
          <span>Code</span>
          <a href="/code">Overview</a>
        </div>
        <div class="nav-group">
          <span>Docs</span>
          <a href="/docs">Overview</a>
        </div>
        <div class="nav-group">
          <span>Otel</span>
          <a href="/otel">Overview</a>
        </div>
        <a href="/mcp" class="nav-link">MCP Console</a>
      </nav>
    </aside>
    <main class="main">
      <header class="topbar">
        <div>
          <p class="eyebrow">Unified workspace</p>
          <h1>{{ page_title }}</h1>
        </div>
        <button class="theme-toggle" type="button" data-theme-toggle>Toggle theme</button>
      </header>
      <section class="content">
        {% block content %}{% endblock %}
      </section>
    </main>
  </div>
</body>
</html>