* { box-sizing: border-box; }

body {
	background-color:	#0d0d0d;
	margin:				0px;
	padding:			0px;
}

body, td {
	font-family:		Calibri, arial;
	font-size:			12pt;
	color:				#cccccc;
}

a, a:link, a:active, a:visited, a:hover {
	color: #5DCAA5;
}

h1 {
	color: #5DCAA5;
	font-family: arial;
	font-size: 16pt;
	font-weight: bold;
	margin: 0 0 12px 0;
	padding: 0;
}

h2, h3, h4, h5, h6 {
	color: #eeeeee;
	font-family: arial;
	font-weight: 500;
	margin: 0 0 4px 0;
	padding: 0;
}

h3 { font-size: 12pt; }

code {
	font-size: 8pt;
	color: #666;
}

hr {
	border: none;
	border-top: 1px solid #222;
	margin: 16px 0;
}

/* Navigation */

.st-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 44px;
	background: #111111;
	border-bottom: 1px solid #222222;
	padding: 0 20px;
}

.st-logo {
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #eeeeee;
	white-space: nowrap;
}

.st-nav-links {
	display: flex;
	gap: 4px;
}

.st-nav-link {
	padding: 5px 14px;
	border-radius: 4px;
	font-size: 15px;
	color: #666;
	text-decoration: none;
	transition: color .15s;
}

.st-nav-link:hover, .st-nav-link.active {
	background: #1e1e1e;
	color: #cccccc;
}

.st-nav-link.active {
	color: #eeeeee;
}

.st-artist-select {
	background: #1a1a1a;
	border: 1px solid #333;
	color: #ccc;
	font-size: 14px;
	padding: 4px 10px;
	border-radius: 4px;
	outline: none;
}

.st-nav-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	white-space: nowrap;
}

.st-username {
	color: #666;
}

.st-logout {
	color: #c44444 !important;
	font-weight: bold;
	text-decoration: none;
}

.st-mode-btn {
	color: #888 !important;
	font-size: 13px;
	text-decoration: none;
	padding: 3px 10px;
	border: 1px solid #333;
	border-radius: 4px;
}

.st-mode-btn:hover {
	background: #1e1e1e;
	color: #ccc !important;
}

/* Two-column layout */

.st-layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	min-height: calc(100vh - 44px);
}

/* Sidebar */

.st-sidebar {
	background: #0a0a0a;
	border-right: 1px solid #1e1e1e;
	padding: 16px 12px;
	overflow-y: auto;
}

.st-section-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #444;
	margin-bottom: 12px;
}

.st-week-block {
	background: #111;
	border-radius: 6px;
	margin-bottom: 8px;
	overflow: hidden;
}

.st-week-header {
	background: #1a1a1a;
	padding: 6px 10px;
	font-size: 12px;
	color: #5DCAA5;
	font-weight: 500;
}

.st-week-empty {
	padding: 6px 10px 8px;
	font-size: 12px;
	color: #333;
	font-style: italic;
}

.st-week-release {
	padding: 5px 10px;
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.st-week-date {
	font-size: 11px;
	color: #555;
	min-width: 40px;
}

.st-week-name {
	font-size: 11px;
	color: #ccc;
	flex: 1;
}

.st-week-name.st-warn {
	color: #ddd;
}

.st-week-arrows {
	font-size: 11px;
}

.st-week-arrows a {
	color: #5DCAA5 !important;
	text-decoration: none;
	padding: 0 2px;
}

/* Main content */

.st-main {
	padding: 24px 28px;
	background: #0d0d0d;
	overflow-x: auto;
}

/* Dashboard cards */

.st-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
	gap: 12px;
}

.st-action-card {
	background: #111111;
	border-radius: 8px;
	padding: 14px 16px;
	border-left: 3px solid #333;
}

.st-action-card.st-urgent {
	border-left-color: #cc3333;
}

.st-action-card.st-todo {
	border-left-color: #7F77DD;
}

.st-card-label {
	font-size: 12px;
	font-weight: bold;
	color: #5DCAA5;
	margin-bottom: 6px;
}

.st-card-text {
	font-size: 11px;
	color: #cccccc;
}

.st-card-track {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 4px 0;
	border-top: 1px solid #1e1e1e;
}

.st-card-track:first-of-type {
	margin-top: 8px;
}

.st-card-actions {
	display: flex;
	gap: 12px;
	font-size: 10px;
	white-space: nowrap;
	flex-shrink: 0;
}

.st-card-actions a {
	color: #5DCAA5 !important;
	text-decoration: none;
}

.st-card-actions a:first-child {
	color: #555 !important;
}

.st-all-done {
	color: #5DCAA5;
	font-size: 14px;
	padding: 20px 0;
}

/* Release cards */

.st-release-card {
	background: #111;
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
}

.st-release-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
}

.st-release-art img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.st-release-info h3 {
	font-size: 13px;
	color: #eeeeee;
	margin-bottom: 4px;
}

.st-release-meta {
	font-size: 12px;
	color: #666;
}

.st-release-meta.st-warn {
	color: #cc3333;
}

.st-release-songs {
	border-top: 1px solid #1e1e1e;
	padding: 8px 16px;
}

.st-song-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	font-size: 13px;
	border-bottom: 1px solid #1a1a1a;
}

.st-song-row:last-child {
	border-bottom: none;
}

.st-song-num {
	color: #555;
	width: 16px;
}

.st-song-title {
	flex: 1;
	color: #ccc;
}

.st-isrc {
	font-size: 8pt;
	color: #5DCAA5;
}

.st-song-actions {
	display: flex;
	gap: 8px;
	font-size: 11px;
}

.st-song-actions a {
	color: #5DCAA5 !important;
	text-decoration: none;
}

/* CMS Wiz forms */

td.content {
	background-color:	#111111;
	border:				1px solid #222222;
	padding:			12px;
}

td.entry {
	padding-bottom: 25px;
}

td.side {
	background-color:	#111111;
	width:				180px;
	border:				1px solid #333;
}

td.side ul {
	padding-left: 15px;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
	list-style: none;
}

li {
	padding-bottom: 3px;
	margin-bottom: 0;
	font-size: 9pt;
}

li a, li a:link, li a:active, li a:visited, li a:hover {
	font-size: 14px;
	color: #5DCAA5;
}

a.menu, a.menu:link, a.menu:active, a.menu:visited, a.menu:hover {
	color: #5DCAA5;
	font-weight: bold;
	font-size: 13pt;
}

code.slack {
	background-color: #f7f7f9;
	border: 1px #e1e1e8 solid;
	margin: 3px;
	padding: 2px;
	color: #d3436e;
	border-radius: 4px;
}

input, select, textarea {
	background: #1a1a1a;
	border: 1px solid #333;
	color: #ccc;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 11pt;
}

input[type="checkbox"] {
	width: auto;
	padding: 0;
}

input[type="submit"], button {
	background: #1e1e1e;
	border: 1px solid #444;
	color: #ccc;
	border-radius: 4px;
	padding: 6px 14px;
	cursor: pointer;
}

input[type="submit"]:hover, button:hover {
	background: #2a2a2a;
}

/* Releases: Unreleased + Released side by side */
.st-releases-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.st-releases-col {
	min-width: 0;
}

/* Responsive: single column on narrow screens */
@media (max-width: 900px) {
	.st-layout {
		grid-template-columns: 1fr;
	}
	.st-sidebar {
		border-right: none;
		border-bottom: 1px solid #1e1e1e;
	}
	.st-releases-grid {
		grid-template-columns: 1fr;
	}
}
