/* tm-cabinet-build: 2026-01-01/sidebar-v1 */
.tm-cabinet-body {
	--tm-bg: #050607;
	--tm-surface: rgba(18, 18, 18, 0.72);
	--tm-surface-2: rgba(255, 255, 255, 0.06);
	--tm-border: rgba(255, 255, 255, 0.1);
	--tm-text: rgba(255, 255, 255, 0.92);
	--tm-muted: rgba(255, 255, 255, 0.58);
	--tm-accent: #0ABAB5;
	--tm-radius: 18px;
	--tm-radius-lg: 26px;
	--tm-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);

	margin: 0;
	min-height: 100vh;
	color: var(--tm-text);
	background: var(--tm-bg);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	overflow-x: hidden;
}

.tm-cabinet-body * {
	box-sizing: border-box;
}

.tm-cabinet-body svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: block;
}

html {
	margin-top: 0 !important;
	overflow-x: hidden;
}

#wpadminbar {
	display: none !important;
}

body {
	overflow-x: hidden;
}

.tm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--tm-accent);
	text-decoration: none;
}

.tm-brand img {
	height: 38px;
	width: auto;
	max-width: 100%;
	max-height: 38px;
	display: block;
	object-fit: contain;
}

.tm-brand__text {
	font-weight: 700;
	letter-spacing: 0.2px;
}

.tm-link {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.tm-link:hover {
	color: var(--tm-text);
}

.tm-input,
.tm-select,
.tm-textarea {
	width: 100%;
	color: var(--tm-text);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	outline: none;
}

.tm-input {
	height: 44px;
	padding: 0 14px;
}

.tm-select {
	height: 44px;
	padding: 0 14px;
}

.tm-textarea {
	padding: 14px;
	border-radius: 16px;
	resize: vertical;
	min-height: 160px;
}

.tm-input:focus,
.tm-select:focus,
.tm-textarea:focus {
	border-color: rgba(10, 186, 181, 0.55);
	box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.16);
}

.tm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid transparent;
	border-radius: 999px;
	height: 44px;
	padding: 0 18px;
	font-weight: 650;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.tm-btn--block {
	width: 100%;
}

.tm-btn--primary {
	background: var(--tm-accent);
	color: #04130a;
}

.tm-btn--primary:hover {
	filter: brightness(1.05);
}

.tm-btn--muted {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.76);
}

.tm-btn--muted:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--tm-text);
}

.tm-btn__icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-alert {
	border-radius: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

.tm-alert--error {
	border-color: rgba(255, 107, 107, 0.35);
	background: rgba(255, 107, 107, 0.08);
}

.tm-alert--success {
	border-color: rgba(10, 186, 181, 0.35);
	background: rgba(10, 186, 181, 0.08);
}

/* Login */
.tm-cabinet-login {
	--tm-cabinet-bg-image: none;
	background:
		radial-gradient(1200px 600px at 20% 35%, rgba(10, 186, 181, 0.12), transparent 60%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
		var(--tm-cabinet-bg-image);
	background-size: cover;
	background-position: center;
}

.tm-login {
	min-height: 100vh;
	min-height: 100dvh;
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.tm-login .tm-brand {
	position: fixed;
	top: 28px;
	left: 28px;
	z-index: 2;
}

.tm-login__card {
	width: min(420px, 100%);
	padding: 28px;
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius-lg);
	background: rgba(18, 18, 18, 0.75);
	backdrop-filter: blur(18px);
	box-shadow: var(--tm-shadow);
}

.tm-login__title {
	margin: 0 0 18px;
	font-size: 28px;
	letter-spacing: 0.2px;
}

.tm-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.tm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tm-field__label {
	font-size: 13px;
	color: var(--tm-muted);
}

.tm-field__control {
	position: relative;
	display: block;
}

.tm-field__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--tm-accent);
}

.tm-field__control .tm-input,
.tm-field__control .tm-select {
	padding-left: 42px;
}

.tm-login__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.tm-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

.tm-check input {
	accent-color: var(--tm-accent);
}

.tm-login__meta {
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.55);
}

/* App shell */
.tm-shell {
	min-height: 100vh;
	padding: 0;
	width: 100%;
	background:
		radial-gradient(900px 450px at 18% 20%, rgba(10, 186, 181, 0.08), transparent 60%),
		radial-gradient(700px 420px at 85% 60%, rgba(10, 186, 181, 0.06), transparent 60%),
		linear-gradient(180deg, #060708, #050607);
	display: block;
	overflow-x: hidden;
	position: fixed;
	inset: 0;
	overflow: hidden;
	max-width: none;
}

.tm-nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tm-nav-overlay {
	display: none;
}

.tm-app {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
	overflow: hidden;
	border: 0;
	box-shadow: none;
	background: #0f0f0f;
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	max-width: none;
}

.tm-sidebar {
	padding: 28px 22px;
	background: rgba(5, 5, 5, 0.92);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.tm-sidebar__top {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-sidebar__header {
	display: flex;
	gap: 12px;
}

.tm-sidebar__close {
	display: none;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.tm-sidebar__close:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tm-text);
}

.tm-brand--sidebar {
	padding: 0;
	border-radius: 0;
}

.tm-user-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	border-radius: 0;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.65);
	border: 0;
	background: transparent;
}

.tm-user-link.is-active {
	background: transparent;
	border-color: transparent;
}

.tm-user-link__icon {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.45);
	flex: 0 0 auto;
}

.tm-user-link__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tm-user-link__title {
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.2px;
}

.tm-user-link__email {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tm-nav {
	flex: 1 1 auto;
}

.tm-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-nav__item--spacer {
	height: 12px;
}

.tm-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	/* extra left space for active dot indicator (avoid negative offsets => no horizontal overflow) */
	padding: 18px 18px 18px 28px;
	border-radius: 999px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.55);
	border: 0;
	position: relative;
}

.tm-nav__link:hover {
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.75);
}

.tm-nav__item.is-active .tm-nav__link {
	background: rgba(255, 255, 255, 0.07);
	border-color: transparent;
	color: rgba(255, 255, 255, 0.92);
}

/* Active indicator (green dot on the left like in design) */
.tm-nav__item.is-active .tm-nav__link::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	transform: translateY(-50%);
	background: var(--tm-accent);
	box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.12);
}

.tm-nav__icon {
	width: 26px;
	height: 26px;
	color: currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-sidebar__bottom {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
}

.tm-footer-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tm-footer-links__link {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.58);
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-footer-links__link:hover {
	color: var(--tm-text);
	background: rgba(255, 255, 255, 0.07);
}

.tm-copy {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.tm-main {
	padding: 26px 26px;
	background: rgba(18, 18, 18, 0.6);
	overflow: auto;
	min-width: 0;
	overflow-x: hidden;
}

.tm-page-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
}

.tm-burger {
	display: none;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.78);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.tm-burger:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tm-text);
}

.tm-page-header__icon {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(10, 186, 181, 0.9);
}

.tm-page-header__title {
	margin: 0;
	font-size: 28px;
	letter-spacing: 0.2px;
}

.tm-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 650;
	color: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
}

.tm-page-content > :first-child {
	margin-top: 0;
}

.tm-page-content img,
.tm-page-content .custom-logo,
.tm-tab-panel img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.tm-page-content .custom-logo {
	max-height: 120px;
	width: auto;
}

.tm-ui {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-tabs-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-tabs-panels {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-tab-panel {
	display: none;
}

.tm-tab-panel.is-active {
	display: block;
}

.tm-empty {
	border: 1px dashed rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 16px;
	padding: 14px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	line-height: 1.4;
}

.tm-mini-icon:disabled {
	opacity: 0.45;
	cursor: default;
}

.tm-file-input {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

/* Modal */
.tm-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	z-index: 120;
}

.tm-modal.is-open {
	display: flex;
}

.tm-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(10px);
}

.tm-modal__panel {
	position: relative;
	width: min(720px, 100%);
	max-height: min(760px, calc(100vh - 36px));
	overflow: hidden;
	border-radius: var(--tm-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 15, 15, 0.92);
	backdrop-filter: blur(18px);
	box-shadow: var(--tm-shadow);
	display: flex;
	flex-direction: column;
}

.tm-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 10px;
}

.tm-modal__title {
	font-weight: 750;
	font-size: 18px;
	letter-spacing: 0.2px;
}

.tm-modal__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.78);
	border-radius: 999px;
	height: 34px;
	padding: 0 12px;
	cursor: pointer;
	font-weight: 650;
	font-size: 12px;
}

.tm-modal__close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tm-text);
}

.tm-modal__close svg {
	width: 16px;
	height: 16px;
}

.tm-modal__body {
	padding: 0 18px 18px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-modal__hint {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	line-height: 1.4;
}

.tm-modal__section-title {
	font-weight: 750;
	letter-spacing: 0.2px;
}

.tm-modal-open .tm-main {
	overflow: hidden;
}

/* UI blocks */
.tm-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.tm-toolbar__right {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tm-dropdown {
	position: relative;
	display: inline-flex;
}

.tm-dropdown__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	padding: 8px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(18, 18, 18, 0.92);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
	display: none;
	z-index: 30;
}

.tm-dropdown.is-open .tm-dropdown__menu {
	display: block;
}

.tm-dropdown__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	background: transparent;
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 650;
}

.tm-dropdown__item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.06);
	color: var(--tm-text);
}

.tm-dropdown__item-icon {
	width: 18px;
	height: 18px;
	color: rgba(10, 186, 181, 0.9);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-segment {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-segment__btn {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 650;
}

.tm-segment__btn.is-active {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tm-text);
}

.tm-view {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
}

.tm-view__label {
	margin-right: 6px;
}

.tm-icon-btn {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.72);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-icon-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tm-text);
}

.tm-search {
	position: relative;
}

.tm-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: rgba(10, 186, 181, 0.85);
}

.tm-search .tm-input {
	padding-left: 42px;
	border-radius: 999px;
	height: 48px;
}

.tm-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tm-chip {
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	padding: 8px 12px;
	font-size: 12px;
	cursor: pointer;
}

.tm-chip__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.8);
}

.tm-chip.is-active {
	border-color: rgba(10, 186, 181, 0.35);
	background: rgba(10, 186, 181, 0.08);
	color: var(--tm-text);
}

.tm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.tm-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 18px;
	overflow: hidden;
}

.tm-release-card--link {
	color: inherit;
	text-decoration: none;
}

.tm-release-card--link:hover {
	border-color: rgba(255, 255, 255, 0.14);
}

.tm-release-card {
	display: grid;
	grid-template-rows: 160px 1fr;
}

.tm-release-card__cover {
	background-image:
		var(--tm-release-cover, none),
		radial-gradient(280px 180px at 30% 35%, rgba(10, 186, 181, 0.25), transparent 65%),
		linear-gradient(135deg, rgba(255, 70, 70, 0.35), rgba(0, 0, 0, 0.1)),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08));
	background-size: cover, auto, auto, auto;
	background-position: center, center, center, center;
	background-repeat: no-repeat;
}

.tm-release-card__cover.is-empty {
	background-image:
		radial-gradient(600px 260px at 50% 10%, rgba(255, 255, 255, 0.08), transparent 65%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.06));
	background-size: auto, auto;
	background-position: center, center;
	background-repeat: no-repeat;
}

.tm-release-card__body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tm-release-card__title {
	font-weight: 750;
	letter-spacing: 0.2px;
}

.tm-release-card__subtitle {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.62);
	text-transform: uppercase;
}

.tm-release-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.tm-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 650;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.06);
}

.tm-badge--success {
	border-color: rgba(10, 186, 181, 0.35);
	background: rgba(10, 186, 181, 0.12);
	color: rgba(255, 255, 255, 0.92);
}

.tm-badge--draft {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.82);
}

.tm-badge--pending {
	border-color: rgba(10, 186, 181, 0.35);
	background: rgba(10, 186, 181, 0.08);
	color: rgba(255, 255, 255, 0.9);
}

.tm-badge--danger {
	border-color: rgba(239, 68, 68, 0.4);
	background: rgba(239, 68, 68, 0.12);
	color: rgba(255, 255, 255, 0.92);
}

.tm-muted {
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
}

/* Two-column layouts */
.tm-layout--2col {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 18px;
	align-items: start;
}

.tm-layout__main {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.tm-layout__aside {
	min-width: 0;
}

/* Flex gap fallback (Safari < 14.1) */
.tm-no-flex-gap .tm-form > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-ui > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-callout > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-tabs-wrap > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-tabs-panels > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-modal__header > * + * {
	margin-left: 12px;
}

.tm-no-flex-gap .tm-modal__body > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-sidebar > * + * {
	margin-top: 18px;
}

.tm-no-flex-gap .tm-sidebar__top > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-nav__list > * + * {
	margin-top: 6px;
}

.tm-no-flex-gap .tm-sidebar__bottom > * + * {
	margin-top: 10px;
}

.tm-no-flex-gap .tm-footer-links > * {
	margin: 0 10px 10px 0;
}

.tm-no-flex-gap .tm-layout__main > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-release-aside > * + * {
	margin-top: 14px;
}

.tm-no-flex-gap .tm-list > * + * {
	margin-top: 10px;
}

.tm-no-flex-gap .tm-accordion > * + * {
	margin-top: 10px;
}

.tm-no-flex-gap .tm-track__actions > * {
	margin: 0 10px 10px 0;
}

.tm-no-flex-gap .tm-toolbar > * {
	margin: 0 14px 14px 0;
}

.tm-no-flex-gap .tm-toolbar__right > * {
	margin: 0 12px 12px 0;
}

.tm-no-flex-gap .tm-tabs > * {
	margin-right: 6px;
}

/* Release editor */
.tm-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 13px;
}

.tm-back-link:hover {
	color: var(--tm-text);
}

.tm-section {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 18px;
	padding: 18px;
}

.tm-release-editor .tm-section > .tm-help-text {
	margin: 8px 0 12px;
}

.tm-release-editor .tm-section > .tm-form__row + .tm-label,
.tm-release-editor .tm-section > .tm-label + .tm-label,
.tm-release-editor .tm-section > .tm-label + .tm-form__row,
.tm-release-editor .tm-section > .tm-form__row + .tm-form__row {
	margin-top: 14px;
}

.tm-section__heading {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 16px;
	letter-spacing: 0.2px;
}

.tm-section__num {
	color: var(--tm-accent);
	font-weight: 750;
}

.tm-help-text {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	line-height: 1.35;
}

.tm-hr {
	border: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
	margin: 16px 0;
}

.tm-release-aside {
	position: sticky;
	top: 18px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-cover-drop {
	border-radius: 18px;
	border: 1px dashed rgba(10, 186, 181, 0.55);
	background-color: rgba(10, 186, 181, 0.08);
	background-image: var(--tm-cover-drop, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 18px;
	text-align: center;
	color: rgba(255, 255, 255, 0.78);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.tm-cover-drop.is-filled {
	border-style: solid;
	border-color: rgba(255, 255, 255, 0.14);
	background-color: rgba(18, 18, 18, 0.6);
}

.tm-cover-drop.is-filled::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72));
}

.tm-cover-drop.is-filled > * {
	position: relative;
	z-index: 1;
}

.tm-cover-drop__input {
	display: none;
}

.tm-cover-drop__icon {
	width: 38px;
	height: 38px;
	border-radius: 14px;
	background: rgba(10, 186, 181, 0.16);
	border: 1px solid rgba(10, 186, 181, 0.22);
	color: rgba(10, 186, 181, 0.95);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
}

.tm-cover-drop__title {
	font-weight: 700;
	font-size: 13px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.tm-cover-drop__meta {
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	line-height: 1.35;
	margin: 0;
}

.tm-step-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tm-step-nav__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	color: rgba(255, 255, 255, 0.68);
	text-decoration: none;
	border: 1px solid transparent;
	background: transparent;
}

.tm-step-nav__item:hover {
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.82);
}

.tm-step-nav__item.is-active {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.06);
	color: var(--tm-text);
}

.tm-step-nav__marker {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	flex: 0 0 auto;
}

.tm-step-nav__item.is-active .tm-step-nav__marker {
	background: rgba(10, 186, 181, 0.25);
	border-color: rgba(10, 186, 181, 0.65);
}

.tm-step-nav__label {
	font-size: 13px;
	font-weight: 650;
}

.tm-danger-link {
	color: rgba(255, 107, 107, 0.9);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 13px;
	text-align: center;
}

.tm-danger-link--btn {
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.tm-danger-link:hover {
	color: rgba(255, 130, 130, 1);
}

.tm-tracklist {
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.04);
	padding: 12px;
}

.tm-tracklist .tm-track + .tm-track {
	margin-top: 10px;
}

.tm-track {
	display: grid;
	grid-template-columns: 22px 18px 1fr 34px 34px;
	gap: 10px;
	align-items: center;
	padding: 10px 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.tm-track__drag {
	color: rgba(255, 255, 255, 0.45);
	font-weight: 700;
	text-align: center;
}

.tm-track__num {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

.tm-track__title {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tm-track__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.tm-track__name {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tm-track__edit {
	border: 0;
	background: transparent;
	padding: 4px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.tm-track__edit:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--tm-accent);
}

.tm-track__edit svg {
	width: 16px;
	height: 16px;
}

.tm-track__meta {
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
}

.tm-track__filemeta {
	color: rgba(255, 255, 255, 0.6);
}

.tm-dropdown__item:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.tm-dropdown__item--danger {
	color: rgba(255, 107, 107, 0.95);
}

.tm-dropdown__item--danger:hover {
	background: rgba(255, 107, 107, 0.08);
	border-color: rgba(255, 107, 107, 0.18);
	color: rgba(255, 140, 140, 1);
}

.tm-track__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.tm-track-editor {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 140;
}

.tm-track-editor.is-open {
	display: block;
}

.tm-track-editor__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(10px);
}

.tm-track-editor__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(520px, 100%);
	background: rgba(15, 15, 15, 0.92);
	backdrop-filter: blur(18px);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: -30px 0 90px rgba(0, 0, 0, 0.65);
	display: flex;
	flex-direction: column;
}

.tm-track-editor__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 20px 14px;
}

.tm-track-editor__title {
	font-weight: 800;
	font-size: 20px;
	letter-spacing: 0.2px;
}

.tm-track-editor__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.78);
	border-radius: 999px;
	height: 34px;
	padding: 0 12px;
	cursor: pointer;
	font-weight: 650;
	font-size: 12px;
}

.tm-track-editor__close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tm-text);
}

.tm-track-editor__close svg {
	width: 16px;
	height: 16px;
}

.tm-track-editor__body {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 18px;
}

.tm-track-editor__footer {
	padding: 14px 20px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.18);
}

.tm-te-section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0 20px;
}

.tm-te-section__summary {
	cursor: pointer;
	padding: 16px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 800;
	letter-spacing: 0.2px;
	list-style: none;
}

.tm-te-section__summary::-webkit-details-marker {
	display: none;
}

.tm-te-section__summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid rgba(255, 255, 255, 0.5);
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
	transform: rotate(45deg);
	transition: transform 180ms ease;
	flex: 0 0 auto;
}

.tm-te-section[open] .tm-te-section__summary::after {
	transform: rotate(-135deg);
}

.tm-te-section__content {
	padding: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-te-upload {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.82);
	cursor: pointer;
}

.tm-te-upload:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tm-text);
}

.tm-te-upload__icon {
	color: rgba(10, 186, 181, 0.9);
	display: inline-flex;
}

.tm-te-upload__meta {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	line-height: 1.35;
}

.tm-te-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.tm-te-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
	padding: 10px 12px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
}

.tm-te-toggle input {
	accent-color: var(--tm-accent);
}

.tm-te-inline-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tm-te-pill-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
}

.tm-te-pill-link:hover {
	color: var(--tm-text);
	background: rgba(255, 255, 255, 0.08);
}

.tm-te-participants {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-te-participants__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tm-te-participants__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.82);
}

.tm-te-participants__remove {
	border: 0;
	background: transparent;
	color: rgba(255, 107, 107, 0.9);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 10px;
}

.tm-te-participants__remove:hover {
	background: rgba(255, 107, 107, 0.1);
	color: rgba(255, 140, 140, 1);
}

.tm-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.tm-callout {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 18px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tm-callout__text {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.4;
}

.tm-tabs {
	display: inline-flex;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.06);
	width: fit-content;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tm-tabs__btn {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.65);
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 650;
	flex: 0 0 auto;
}

.tm-tabs__btn.is-active {
	background: rgba(255, 255, 255, 0.12);
	color: var(--tm-text);
}

.tm-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-list__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.04);
}

.tm-list__row--clickable {
	cursor: pointer;
}

.tm-list__row--clickable:hover {
	border-color: rgba(10, 186, 181, 0.25);
	box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.12);
}

.tm-list__row--clickable:focus-visible {
	outline: none;
	border-color: rgba(10, 186, 181, 0.32);
	box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.16);
}

.tm-list__left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.tm-list__icon {
	width: 28px;
	height: 28px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(10, 186, 181, 0.85);
	flex: 0 0 auto;
}

.tm-list__text {
	font-weight: 700;
	letter-spacing: 0.2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tm-mini-icon {
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.65);
	border-radius: 999px;
	height: 32px;
	padding: 0 12px;
	cursor: pointer;
}

.tm-mini-icon:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tm-text);
}

.tm-form__row--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.tm-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tm-label__title {
	font-size: 13px;
	color: var(--tm-muted);
}

.tm-input-lock {
	position: relative;
}

.tm-input-lock__icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, 0.55);
}

.tm-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-accordion__item {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 14px;
}

.tm-accordion__summary {
	cursor: pointer;
	font-weight: 650;
	list-style: none;
}

.tm-accordion__summary::-webkit-details-marker {
	display: none;
}

.tm-accordion__content {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 1200px) {
	.tm-app {
		grid-template-columns: 260px 1fr;
	}

	.tm-sidebar {
		padding: 18px 14px;
	}

	.tm-main {
		padding: 22px 20px;
	}

	.tm-page-header__title {
		font-size: 24px;
	}
}

@media (max-width: 980px) {
	/* Login */
	.tm-login {
		justify-content: flex-start;
		align-items: stretch;
		flex-direction: column;
		padding: 18px;
		gap: 18px;
	}

	.tm-login .tm-brand {
		position: static;
	}

	.tm-login__card {
		width: 100%;
	}

	.tm-login__row {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	/* App */
	.tm-shell {
		padding: 0;
	}

	.tm-app {
		grid-template-columns: 1fr;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
	}

	.tm-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 90vw);
		transform: translateX(-105%);
		transition: transform 220ms ease;
		z-index: 60;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
	}

	.tm-sidebar__close {
		display: inline-flex;
	}

	.tm-nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.55);
		backdrop-filter: blur(10px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 220ms ease;
		z-index: 50;
	}

	.tm-nav-toggle:checked ~ .tm-nav-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.tm-nav-toggle:checked ~ .tm-app .tm-sidebar {
		transform: translateX(0);
	}

	.tm-main {
		padding: 18px 16px 26px;
	}

	.tm-page-header {
		position: sticky;
		top: 0;
		z-index: 10;
		padding: 12px 0;
		background: rgba(18, 18, 18, 0.65);
		backdrop-filter: blur(12px);
	}

	.tm-burger {
		display: inline-flex;
	}

	.tm-layout--2col {
		grid-template-columns: 1fr;
	}

	.tm-release-aside {
		position: static;
	}

	.tm-input,
	.tm-select,
	.tm-textarea {
		font-size: 16px;
	}
}

@media (max-width: 720px) {
	.tm-layout__main {
		gap: 18px;
	}

	.tm-form__row--2 {
		grid-template-columns: 1fr;
	}

	.tm-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.tm-toolbar__right {
		width: 100%;
		justify-content: space-between;
	}

	.tm-view__label {
		display: none;
	}

	.tm-page-header__title {
		font-size: 22px;
	}

	.tm-track {
		grid-template-columns: 1fr 34px 34px;
	}

	.tm-track__drag,
	.tm-track__num {
		display: none;
	}

	.tm-no-flex-gap .tm-layout__main > * + * {
		margin-top: 18px;
	}

	.tm-modal {
		padding: 14px;
	}

	.tm-modal__panel {
		max-height: calc(100vh - 28px);
	}

	.tm-track-editor__header {
		padding: 18px 16px 12px;
	}

	.tm-track-editor__footer {
		padding: 12px 16px 16px;
	}

	.tm-te-section {
		padding: 0 16px;
	}
}

@media (max-width: 520px) {
	.tm-login__title {
		font-size: 24px;
	}

	.tm-login__card {
		padding: 22px;
	}

	.tm-main {
		padding: 16px 14px 22px;
	}

	.tm-modal {
		padding: 0;
	}

	.tm-modal__panel {
		width: 100%;
		max-height: 100vh;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}

	.tm-modal__header {
		padding: 16px 14px 10px;
	}

	.tm-modal__body {
		padding: 0 14px 16px;
	}

	.tm-track-editor__panel {
		width: 100%;
	}

	.tm-te-badges {
		grid-template-columns: 1fr;
	}
}
