/* App shell: black canvas, max 1200px column, complements css/style.css */

html {
	height: 100%;
}

body.artwurl-shell {
	margin: 0;
	height: 100%;
	min-height: 100%;
	background: #000;
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
}

body.artwurl-shell .site-wrap {
	max-width: 1200px;
	height: 100%;
	max-height: 100vh;
	margin: 0 auto;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

body.artwurl-shell .site-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 16px 20px 12px;
	border-bottom: 1px solid #ccc;
}

body.artwurl-shell .site-branding h1 {
	margin: 0;
	font-size: 32px;
	font-weight: bold;
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.2;
}

body.artwurl-shell .site-branding h1 a {
	color: #000;
	text-decoration: none;
}

body.artwurl-shell .site-branding h1 a span {
	color: #999;
}

body.artwurl-shell .site-branding h1 a:hover {
	color: #666;
}

body.artwurl-shell .site-branding .subtitle {
	margin: 0;
}

body.artwurl-shell .site-branding .subtitle a {
	margin: 4px 0 0;
	font-size: 14px;
	color: #444;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}

body.artwurl-shell .site-branding .subtitle span {
	color: #999;
}

body.artwurl-shell .site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 30px;
	align-items: center;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.artwurl-shell .site-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.artwurl-shell .site-nav a {
	font-size: 12px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

body.artwurl-shell .site-nav a:visited {
	color: #999999;
}

body.artwurl-shell .site-nav a:hover {
	color: #333333;
}

body.artwurl-shell .site-nav a.is-active {
	color: #333333;
	text-decoration: underline;
}

body.artwurl-shell .site-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

body.artwurl-shell .content-row {
	display: flex;
	flex: 1;
	align-items: stretch;
	min-height: 0;
	overflow: hidden;
}

body.artwurl-shell .main-column {
	flex: 1;
	min-width: 0;
	min-height: 0;
	overflow: auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	scroll-behavior: smooth;
}

#artwurl-main-inner {
	height: 100%;
}

/* In-page anchors (e.g. Recommends TOC) land slightly below the top of the scroll area */
body.artwurl-shell #artwurl-main-inner [id],
body.artwurl-shell #artwurl-main-inner a[name] {
	scroll-margin-top: 12px;
}

body.artwurl-shell .sidebar-column {
	width: 25%;
	flex-shrink: 0;
	min-height: 0;
	overflow: auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-left: 1px solid #e0e0e0;
	background: #fafafa;
	position: relative;
}

body.artwurl-shell .fade-surface {
	transition: opacity 0.35s ease;
}

body.artwurl-shell .fade-surface.is-hidden {
	opacity: 0;
	pointer-events: none;
}

body.artwurl-shell #artwurl-main-inner .MainContent {
	width: auto;
	max-width: 565px;
}

body.artwurl-shell #artwurl-sidebar-inner .lists {
	width: auto;
	/* max-width: 175px; */
}

body.artwurl-shell .site-footer {
	padding: 8px 20px 14px;
	border-top: 1px solid #ccc;
	font-size: 11px;
}

body.artwurl-shell .site-footer a {
	font-weight: bold;
}

body.artwurl-shell .sidebar-static-title {
	padding: 24px 18px 12px;
	margin: 0;
	font-size: 11px;
	color: #666666;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body.artwurl-shell #artwurl-dynamic-style:empty {
	display: none;
}
