/* A window packed with chart panels: a wall of three columns, each panel against its neighbours
   with a thin gap of the window's ground between, as the "Made with" wall hangs its work. The
   wall is tilted away in perspective and larger than the window, so it runs off every edge: what
   shows is part of a larger body of work. Drawn at an illustration's scale. */

*, ::before, ::after { box-sizing: border-box; }
body { margin: 0; }

/* The page: the website's door picture and Products menu stage, 34 by 25. The ground between the
   panels is a warm light grey. (body.framed and html.embed, to outrank the kit's own in
   frame.css, which is linked after this.) */
body.framed { --window-width: 680px; --window-height: 500px; --window-zoom: 1; }
body.framed, html.embed body.framed { background: #f1f0ed; }
body.framed .window { border-radius: 0; background: #f1f0ed; box-shadow: none; }
body.framed .window-body { display: block; position: relative; overflow: hidden; }

.mosaic {
	position: absolute; top: 50%; left: 50%;
	display: grid; gap: 8px;
	grid-template-columns: 261px 402px 261px 195px 261px;
	grid-template-rows: 234px 248px 222px 222px 290px 160px;
	/* The wall, tilted away from the reader and turned a little, centred on the window. */
	transform: translate(-43%, -43%) perspective(1800px) rotateX(24deg) rotateZ(-9deg) scale(0.8);
	transform-origin: 50% 50%;
}
.span-2 { grid-column: span 2; }

/* A cell: a panel across its width from its top left, at its own height (the columns are about
   half each panel's width in the dashboard, so they are near one scale), cropped at its foot. A capture that is
   only the inside of a card (is-bare) is set in. */
.cell { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.05), 0 10px 24px -14px rgb(0 0 0 / 0.25); }
.cell img { display: block; width: 100%; height: auto; }
.cell.is-bare { padding: 10px; }
