/* The shell before the app starts (BAG-SHELL-01): the page is client-rendered, so a hard load had nothing to show until the
   bundle ran. A static drawing of the top bar, the sidebar and two content blocks, in the colours of the default scheme
   (app.css is not loaded yet), hidden as soon as the app's shell is in the page. A file, not inline: the CSP has no
   'unsafe-inline' for styles. In a layer declared before app.css's, so app.css always wins. */
@layer boot {
	html,
	body {
		margin: 0;
		background: #0b0b0d;
	}
	.boot {
		position: fixed;
		inset: 0;
		z-index: 0;
		pointer-events: none;
	}
	.app-root:has(.app-shell) > .boot {
		display: none;
	}
	.boot i,
	.boot b {
		position: absolute;
		display: block;
	}
	.boot-side {
		inset: 0 auto 0 0;
		width: 52px; /* the icon rail (SIMP-SHELL-01); the drawer is closed below 851 px */
		border-right: 1px solid #2a2a30;
		background: #131316;
	}
	.boot-bar {
		top: 0;
		left: 53px;
		right: 0;
		height: 64px;
		border-bottom: 1px solid #2a2a30;
	}
	.boot-main {
		top: 96px;
		left: calc(53px + clamp(20px, 2.4vw, 48px));
		right: clamp(20px, 2.4vw, 48px);
	}
	.boot-main b {
		left: 0;
		right: 0;
		border-radius: 16px;
		background: #131316;
	}
	.boot-main b:first-child {
		top: 0;
		height: 180px;
	}
	.boot-main b:last-child {
		top: 204px;
		height: 320px;
	}
	@media (max-width: 850px) {
		.boot-side {
			display: none;
		}
		.boot-bar {
			left: 0;
		}
		.boot-main {
			left: 16px;
			right: 16px;
		}
	}
	@media (max-width: 640px) {
		.boot-bar {
			height: 56px;
		}
		.boot-main {
			top: 80px;
		}
	}
}
