<!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 %}
		{% if slots.sidebar %}
		<div class="lcars-well lcars-content-row" style="align-items:start;padding-top:0.75rem;padding-bottom:0.75rem;">
			<aside class="lcars-rail">{{ slots.sidebar|safe }}</aside>
			<main class="lcars-main-panel" style="min-width:0;">{% if slots.main %}{{ slots.main|safe }}{% else %}<p class="lcars-readout" style="padding:2rem 0;">No data on file.</p>{% endif %}</main>
		</div>
		{% else %}
		<main class="lcars-well" style="padding-top:0.75rem;padding-bottom:0.75rem;">{% if slots.main %}{{ slots.main|safe }}{% else %}<p class="lcars-readout" style="padding:2rem 0;">No data on file.</p>{% endif %}</main>
		{% endif %}
		<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>
