{% extends "base.html" %}
{% import "macros.html" as m %}
{% block title %}{{ meta.name }} — review pack — mgf-fed-web{% endblock %}

{% block main %}
{% include "_project_header.html" %}

{% if meta.wired %}
  {% set active_tab = "review" %}
  {% include "_project_nav.html" %}

  <div class="fw-reviewpack">
    <div class="fw-view-h">
      <h1 class="fw-view-h__t">Review pack — {{ meta.name }}</h1>
      <span class="fw-view-h__s mono">all lenses + open feedback · generated@ {{ meta.source_short }}</span>
    </div>
    <p class="lead fw-lede">A meeting-ready snapshot of every lens and the feedback loop, for review with the CTO and QA.
    Print this page (chrome strips to a clean, light readout). {{ m.derived() }} content stays tagged.</p>
    <button class="button button-secondary button-sm fw-noprint" type="button" onclick="window.print()">Print this pack</button>

    {% for sec in sections %}
    <section class="fw-pack-section">
      <h2 class="fw-pack-h">{{ sec.label }}</h2>
      {% with view = sec.view %}{% include sec.template %}{% endwith %}
    </section>
    {% endfor %}

    <section class="fw-pack-section">
      <h2 class="fw-pack-h">Feedback</h2>
      {% include "_feedback_thread.html" %}
    </section>
  </div>
{% endif %}
{% endblock %}
