<!doctype html>
<html lang="en">
{{ head_html|safe }}
<body class="lcars-page" style="margin:0;min-height:100vh;display:flex;flex-direction:column;background-color:hsl(var(--background));color:hsl(var(--foreground));">
	{{ admin_banner_html|safe }}
	<div class="lcars-frame" style="flex:1 1 auto;">
		<div class="lcars-elbow-top"><div class="lcars-elbow-corner lcars-elbow-tl"></div><div class="lcars-bar lcars-bar-top"></div></div>
		{% if slots.header %}<header class="lcars-well" style="padding-top:0.25rem;padding-bottom:0.25rem;">{{ slots.header|safe }}</header>{% endif %}
		<main class="lcars-well" style="flex:1 1 auto;padding-top:2rem;padding-bottom:2.5rem;" data-content-well>
			{% if title %}<div style="border-bottom:0.1875rem solid hsl(var(--primary));padding-bottom:0.75rem;margin-bottom:2rem;"><p class="lcars-eyebrow">Broadcast Log</p><h1 class="lcars-heading lcars-heading-1" style="margin:0;">{{ title }}</h1>{% if page_meta.MetaDescription %}<p class="lcars-lede" style="max-width:60ch;margin:0.75rem 0 0;">{{ page_meta.MetaDescription }}</p>{% endif %}</div>{% endif %}
			{% if slots.featured %}<section style="margin-bottom:2.5rem;">{{ slots.featured|safe }}</section>{% endif %}
			{% if slots.main %}<section>{{ slots.main|safe }}</section>{% else %}<p class="lcars-readout">No episodes logged yet.</p>{% endif %}
		</main>
		<div class="lcars-elbow-bottom"><div class="lcars-elbow-corner lcars-elbow-bl"></div><div class="lcars-bar lcars-bar-bottom"></div></div>
	</div>
	{% if slots.footer %}<footer style="margin-top:auto;">{{ slots.footer|safe }}</footer>{% endif %}
	{{ body_end_html|safe }}
</body>
</html>
