/* ui/core.css */
:root {
	color: #222;
	background: #fff;
	font: 16px/1.5 sans-serif;
}

a {
	color: inherit;
}

/* ui/components/button.css */
.btn {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.75rem;
	border: 1px solid #444;
	border-radius: 0.25rem;
	background: #fff;
	color: #222;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.btn--primary {
	background: #222;
	color: #fff;
}

.btn--secondary {
	background: #fff;
	color: #222;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* ui/layout/layout.css */
.ui-shell {
	margin: 0;
}

.ui-main {
	max-width: 48rem;
	margin: 2rem auto;
	padding: 0 1rem;
}

.ui-footer {
	max-width: 48rem;
	margin: 2rem auto 0;
	padding: 1rem;
	border-top: 1px solid #ddd;
}

/* ui/pages/error.css */
.error-page {
	margin-block: 20vh;
	text-align: center;
}

.error-message {
	font-size: 1.125rem;
}

.error-code {
	color: #666;
	font-family: ui-monospace, monospace;
}

/* ui/pages/home.css */
.member-shell {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	min-height: 100vh;
	margin: 0;
	background: #f5f6f8;
	transition: grid-template-columns 150ms ease;
}

.member-shell--nav-collapsed {
	grid-template-columns: 0 minmax(0, 1fr);
}

.member-nav {
	box-sizing: border-box;
	min-width: 0;
	padding: 1.25rem 1rem;
	overflow: hidden;
	background: #fff;
	border-right: 1px solid #ddd;
}

.member-shell--nav-collapsed .member-nav {
	padding-right: 0;
	padding-left: 0;
	visibility: hidden;
	border-right: 0;
}

.member-product-name {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.member-navigation {
	margin-top: 2rem;
}

.member-navigation a {
	display: block;
	padding: 0.625rem 0.75rem;
	border-radius: 0.25rem;
	text-decoration: none;
	white-space: nowrap;
}

.member-navigation a[aria-current="page"] {
	background: #e8e8e8;
	font-weight: 600;
}

.member-navigation-section {
	margin-top: 0.75rem;
	padding: 0.625rem 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.member-navigation a.member-navigation-journal {
	padding-left: 1.5rem;
	font-weight: 400;
}

.member-workspace {
	min-width: 0;
}

.member-topbar {
	display: flex;
	min-height: 3.5rem;
	box-sizing: border-box;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 1rem;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

.member-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 0.25rem;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}

.member-nav-toggle:hover {
	background: #eee;
}

.member-profile {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.member-root-badge {
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: #ede9fe;
	color: #5b21b6;
	font-size: 0.75rem;
	font-weight: 700;
}

.member-main {
	max-width: 64rem;
	padding: 2rem;
}

@media (max-width: 40rem) {
	.member-shell {
		grid-template-columns: min(15rem, 70vw) minmax(0, 1fr);
	}

	.member-shell--nav-collapsed {
		grid-template-columns: 0 minmax(0, 1fr);
	}

	.member-main {
		padding: 1rem;
	}
}

/* ui/showcase/showcase.css */
.showcase-section {
	margin-block: 1rem;
}
