body {
	font-family: Inter, system-ui, sans-serif;
	background: #0b0d10;
	color: #f5f5f5;
	margin: 0;
	padding: 32px;
}

h1,
h2 {
	margin-top: 0;
}

a {
	color: #8ab4ff;
}

input,
select,
textarea {
	width: 100%;
	max-width: 520px;
	padding: 14px;
	border-radius: 10px;
	border: 1px solid #333;
	background: #151922;
	color: white;
	font-size: 16px;
	box-sizing: border-box;
}

input::placeholder {
	font-size: 14px;
	color: #8f98a8;
}

select {
	width: auto;
	min-width: 110px;
	padding: 10px 12px;
	font-size: 14px;
}
textarea {
	width: 100%;
	min-height: 140px;
	resize: vertical;
	font-family: Inter, system-ui, sans-serif;
	line-height: 1.45;
}
button {
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid #333;
	background: #151922;
	color: #8ab4ff;
	font-size: 16px;
	cursor: pointer;
	white-space: nowrap;
}

button:hover:not(:disabled) {
	border-color: #8ab4ff;
}

button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.meta {
	color: #aeb7c2;
	font-size: 14px;
	margin: 6px 0;
}

.lookup-copy-help {
	margin: 10px 0 14px;
}

.search-row {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.search-row input {
	flex: 1;
	min-width: 280px;
}

.search-row button {
	width: auto;
	flex: 0 0 auto;
}

.download-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 14px 0 18px;
	font-size: 14px;
}

.download-links span {
	color: #566171;
}

.download-links a {
	background: #151922;
	border: 1px solid #2b313b;
	border-radius: 8px;
	color: #8ab4ff;
	padding: 8px 11px;
	text-decoration: none;
}

.download-links a:hover {
	border-color: #8ab4ff;
}

.lookup-panel-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
	margin-bottom: 16px;
}

.lookup-panel-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
	min-width: 340px;
	padding: 14px;
	border: 1px solid #243040;
	border-radius: 12px;
	background: #111720;
}

.lookup-panel-actions h3 {
	margin: 0;
	font-size: 16px;
}

.lookup-panel-actions p {
	margin: 0;
	color: #aeb7c2;
	font-size: 13px;
	line-height: 1.35;
}

.lookup-panel-action-copy {
	max-width: 260px;
}

.preset-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	color: #aeb7c2;
	font-size: 13px;
}

.preset-actions button {
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
}

.preset-actions button.active {
	border-color: #8ab4ff;
	background: rgba(59, 130, 246, 0.22);
	color: #dbeafe;
}

.collection-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	gap: 14px;
	margin: 18px 0 24px;
	max-width: 760px;
}

.collection-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #111720;
	border: 1px solid #222b36;
	border-radius: 14px;
	padding: 14px;
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
	overflow: hidden;
}

.collection-poster {
	width: 80px;
	min-width: 80px;
	aspect-ratio: 2 / 3;
	border-radius: 10px;
	object-fit: cover;
	background: #1b1f27;
}

.collection-info {
	flex: 1;
	min-width: 0;
}

.collection-info h3 {
	margin: 0 0 8px;
	font-size: 18px;
	word-break: break-word;
}

.collection-meta {
	color: #aeb7c2;
	font-size: 14px;
	line-height: 1.6;
}

.collection-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.collection-actions button,
.collection-actions a {
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #2b313b;
	background: #151922;
	color: #8ab4ff;
	text-decoration: none;
	font-size: 14px;
}

.collection-actions button:hover,
.collection-actions a:hover {
	border-color: #8ab4ff;
}

.notice {
	max-width: 860px;
	margin: 12px 0 18px;
	padding: 13px 15px;
	border: 1px solid rgba(138, 180, 255, 0.35);
	border-left: 4px solid #8ab4ff;
	border-radius: 10px;
	background: rgba(32, 42, 62, 0.9);
	color: #d4e2ff;
	font-size: 14px;
	line-height: 1.5;
}

.company-summary {
	margin: 16px 0 14px;
}

.company-cache-count {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #f5f5f5;
}

.company-updated {
	margin: 0;
	font-size: 15px;
	color: #aeb7c2;
}

.controls-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 18px;
}

.rows-control {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #aeb7c2;
	font-size: 14px;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.pagination button {
	padding: 9px 12px;
	font-size: 14px;
	border-radius: 8px;
	width: auto;
	flex: 0 0 auto;
}

.page-status {
	color: #aeb7c2;
	font-size: 14px;
	min-width: 72px;
	text-align: center;
}

.pagination-bottom {
	margin-top: 16px;
	justify-content: flex-end;
}

.selection-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	color: #aeb7c2;
	font-size: 14px;
}

.selection-actions button {
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #1c222c;
	border-radius: 12px;
	background: #0f1218;
}

table {
	width: 100%;
	min-width: 1100px;
	border-collapse: collapse;
}

th,
td {
	padding: 12px;
	border-bottom: 1px solid #222;
	text-align: left;
	vertical-align: middle;
}

thead th {
	background: #111720;
	z-index: 2;
}

tbody tr:hover {
	background: #111720;
}

th.sortable {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

th.sortable:hover {
	color: #8ab4ff;
}

.sort-indicator {
	opacity: 0.65;
	margin-left: 4px;
	font-size: 12px;
}

.header-note,
.movie-count-note {
	display: block;
	margin-top: 3px;
	color: #7f8a99;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.2;
}

.movie-count-note {
	max-width: 120px;
}

.logo-cell {
	width: 76px;
}

.selection-cell {
	width: 58px;
	text-align: center;
}

.selection-checkbox {
	width: auto;
	max-width: none;
	padding: 0;
	transform: scale(1.05);
}

.muted-cell {
	color: #7f8a99;
}

.logo-box {
	width: 64px;
	height: 30px;
	background: #f2f4f7;
	border: 1px solid #d8dde6;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	box-sizing: border-box;
}

.studio-logo {
	max-height: 22px;
	max-width: 56px;
	object-fit: contain;
	display: block;
}

.logo-placeholder {
	width: 64px;
	height: 30px;
	background: #1b1f27;
	border: 1px solid #2b313b;
	border-radius: 6px;
	box-sizing: border-box;
}

.copy-id-button {
	padding: 4px 8px;
	border-radius: 7px;
	border: 1px solid #2b313b;
	background: #151922;
	color: #8ab4ff;
	font-size: 14px;
	cursor: pointer;
}

.copy-id-button:hover {
	border-color: #8ab4ff;
}

.section-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, #2b313b, transparent);
	margin: 48px 0;
	opacity: 0.9;
}

#back-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 20;
	padding: 10px 13px;
	border-radius: 999px;
	background: #151922;
	border: 1px solid #2b313b;
	color: #8ab4ff;
	font-size: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

#copy-toast {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(20, 25, 34, 0.96);
	border: 1px solid #2b313b;
	color: #f5f5f5;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
	z-index: 1000;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

#copy-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.site-footer {
	color: #7f8a99;
	font-size: 12px;
	line-height: 1.5;
	margin: 32px auto 56px;
	max-width: 900px;
	text-align: center;
}

.footer-meta {
	margin-top: 10px;
	color: #6f7a89;
	font-size: 11px;
}

.footer-credits {
	margin-top: 10px;
}

.footer-credits a {
	color: #9ec5ff;
}

@media (max-width: 720px) {
	body {
		padding: 16px;
	}

	.cached-tools-section {
		margin: 28px 0;
	}

	.cached-tabs {
		padding-left: 8px;
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.cached-tab-button {
		flex: 0 0 auto;
	}

	.search-row {
		flex-direction: column;
		align-items: stretch;
	}

	.search-row button {
		width: 100%;
	}

	.collection-results {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
	}

	.collection-card {
		flex-direction: column;
		align-items: center;
		width: 100%;
		padding: 12px;
		text-align: center;
	}

	.collection-info {
		width: 100%;
	}

	.collection-actions {
		justify-content: center;
	}

	.collection-meta {
		text-align: center;
	}

	.collection-poster {
		width: 100px;
		min-width: 100px;
	}

	.controls-row {
		flex-direction: column;
		align-items: stretch;
	}

	.pagination {
		width: 100%;
		justify-content: center;
		flex-wrap: nowrap;
		gap: 6px;
	}

	.pagination button {
		flex: 0 0 auto;
		min-width: 44px;
		padding: 9px 10px;
	}

	.page-status {
		min-width: 66px;
		text-align: center;
	}

	.rows-control {
		justify-content: space-between;
	}

	.rows-control select {
		flex: 1;
	}

	table {
		min-width: 900px;
	}
}

.lookup-note {
	grid-column: 1 / -1;
}

.lookup-pagination {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 4px;
}

.lookup-pagination button {
	padding: 8px 12px;
	font-size: 14px;
}

.lookup-pagination-status {
	color: #aeb7c2;
	font-size: 14px;
	min-width: 90px;
	text-align: center;
}
.lookup-pagination-help {
	grid-column: 1 / -1;
	text-align: center;
	color: #7f8a99;
	font-size: 13px;
	margin-top: -2px;
	margin-bottom: 6px;
}

.lookup-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 4px;
}

.lookup-filter-button,
.company-filter-button,
.network-filter-button {
	padding: 8px 12px;
	font-size: 14px;
	border-radius: 999px;
}

.lookup-filter-button.active,
.company-filter-button.active,
.network-filter-button.active {
	border-color: #8ab4ff;
	background: rgba(138, 180, 255, 0.12);
	color: #ffffff;
}

.company-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 14px;
}

.company-filter-button {
	padding: 8px 12px;
	font-size: 14px;
	border-radius: 999px;
}
.bulk-lookup {
	max-width: 900px;
}

.bulk-file-input {
	display: grid;
	gap: 6px;
	max-width: 520px;
	margin: 12px 0 8px;
	color: #d8dee8;
	font-size: 14px;
}

.bulk-file-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.bulk-file-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #333;
	border-radius: 10px;
	background: #151922;
	color: #8ab4ff;
	font-size: 16px;
	cursor: pointer;
	box-sizing: border-box;
}

.bulk-file-button:hover {
	border-color: #8ab4ff;
}

.bulk-file-input input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.bulk-file-name {
	color: #aeb7c2;
	font-size: 14px;
}

.bulk-input-help {
	margin: 0 0 10px;
	font-size: 13px;
}

.bulk-name-warning {
	max-width: 520px;
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid rgba(245, 199, 92, 0.45);
	border-radius: 10px;
	background: rgba(245, 199, 92, 0.12);
	color: #f5d98a;
	font-size: 14px;
	line-height: 1.4;
}

.bulk-warning-cell {
	background: rgba(245, 199, 92, 0.12);
	color: #f5d98a;
}

.bulk-batch-notice {
	display: block;
	max-width: 720px;
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid rgba(138, 180, 255, 0.45);
	border-radius: 10px;
	background: rgba(138, 180, 255, 0.12);
	color: #cfe0ff;
	line-height: 1.4;
}

.json-combine-options {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.json-combine-options input {
	max-width: none;
}

.json-combine-mode-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.json-combine-choice {
	position: relative;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	min-width: 0;
	padding: 12px;
	border: 1px solid #253244;
	border-radius: 10px;
	background: #121722;
	cursor: pointer;
	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.json-combine-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.json-combine-choice:hover,
.json-combine-choice:focus-within {
	border-color: #3b5170;
	background: #151c29;
}

.json-combine-choice:has(input:checked) {
	border-color: #8ab4ff;
	background: rgba(138, 180, 255, 0.14);
	box-shadow:
		0 0 0 1px rgba(138, 180, 255, 0.16),
		inset 0 0 0 1px rgba(138, 180, 255, 0.08);
}

.json-combine-choice-title,
.json-combine-choice-help {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

.json-combine-choice-title {
	color: #ffffff;
	font-weight: 700;
}

.json-combine-choice-help {
	margin-top: 3px;
	color: #aeb7c2;
	font-size: 13px;
	line-height: 1.35;
}

.json-combine-single-options {
	display: grid;
	gap: 12px;
}

.json-combine-sort-options {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 12px;
	border: 1px solid #253244;
	border-radius: 10px;
	background: rgba(18, 23, 34, 0.55);
}

.json-combine-sort-options legend {
	padding: 0 4px;
	color: #d8dee8;
	font-weight: 700;
}

.json-combine-sort-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.json-combine-sort-choice {
	padding: 10px;
}

.json-combine-file-input {
	max-width: none;
	margin: 0;
}

.json-combine-file-row {
	align-items: center;
}

.json-combine-manage-files {
	flex: 0 0 auto;
	padding: 10px 14px;
}

.json-combine-file-list {
	display: grid;
	gap: 8px;
	max-height: min(360px, 58vh);
	overflow: auto;
}

.json-combine-file-item {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	padding: 9px 10px;
	border: 1px solid #253244;
	border-radius: 8px;
	background: rgba(18, 23, 34, 0.72);
}

.json-combine-file-info {
	min-width: 0;
}

.json-combine-file-name {
	display: block;
	overflow: hidden;
	color: #ffffff;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.json-combine-file-type {
	display: block;
	margin-top: 2px;
	color: #aeb7c2;
	font-size: 12px;
}

.json-combine-remove-file {
	flex: 0 0 auto;
	padding: 7px 10px;
	color: #ff8f9c;
	font-size: 14px;
}

.json-combine-file-empty {
	margin: 0;
	padding: 12px;
	border: 1px dashed #253244;
	border-radius: 8px;
	color: #aeb7c2;
	text-align: center;
}

.json-combine-existing-options {
	display: grid;
	gap: 10px;
	padding: 12px;
	border: 1px solid rgba(138, 180, 255, 0.32);
	border-radius: 10px;
	background: rgba(18, 23, 34, 0.72);
}

.json-combine-existing-options[hidden] {
	display: none;
}

.json-combine-target-label {
	display: grid;
	gap: 6px;
	color: #d8dee8;
	font-size: 14px;
}

.json-combine-target-label[hidden] {
	display: none;
}

.json-combine-target-label select {
	width: 100%;
	min-width: 0;
}

.json-combine-status {
	min-height: 20px;
	margin: 0;
	color: #aeb7c2;
	font-size: 14px;
	line-height: 1.4;
}

.json-combine-status.warning {
	padding: 10px 12px;
	border: 1px solid rgba(245, 199, 92, 0.45);
	border-radius: 10px;
	background: rgba(245, 199, 92, 0.12);
	color: #f5d98a;
}

.json-combine-status.ready {
	padding: 10px 12px;
	border: 1px solid rgba(92, 214, 160, 0.45);
	border-radius: 10px;
	background: rgba(92, 214, 160, 0.12);
	color: #a7f3d0;
}

.bulk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.nuvio-export-options {
	margin: 0;
	padding: 0;
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 14px;
	background: rgba(0, 0, 0, 0.72);
	overflow: auto;
}

.modal-backdrop[hidden] {
	display: none;
}

.modal-panel {
	width: min(704px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 16px;
	border: 1px solid #1f2733;
	border-radius: 12px;
	background: #0f1218;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}

.modal-panel-help {
	width: min(640px, 100%);
}

.modal-panel-help .modal-header {
	justify-content: center;
	text-align: center;
}

.modal-panel-help .modal-close {
	position: absolute;
	right: 16px;
	top: 16px;
}

.modal-panel-small {
	width: min(520px, 100%);
}

.modal-panel-genre {
	width: min(880px, 100%);
}

.modal-panel-genre.genre-modal-poster {
	width: min(780px, 100%);
}

.modal-panel-genre.genre-modal-wide {
	width: min(880px, 100%);
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.modal-header h2 {
	margin: 0;
	font-size: 24px;
}

.modal-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 999px;
	font-size: 24px;
	line-height: 1;
}

.nuvio-export-grid {
	display: grid;
	grid-template-columns: repeat(2, 320px);
	gap: 10px 14px;
}

.nuvio-export-grid-single {
	grid-template-columns: 1fr;
}

.nuvio-export-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #aeb7c2;
	font-size: 13px;
}

.nuvio-export-grid input,
.nuvio-export-grid select {
	width: 100%;
	max-width: none;
}

.nuvio-export-grid .nuvio-toggle-option {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 32px;
	min-height: auto;
	padding: 12px 14px;
	border: 1px solid #2b313b;
	border-radius: 8px;
	background: #111722;
	cursor: pointer;
}

.nuvio-toggle-option input {
	position: absolute;
	opacity: 0;
}

.nuvio-toggle-label {
	color: #e6edf7;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.nuvio-toggle-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
}

.nuvio-toggle-help {
	color: #8f9aaa;
	font-size: 12px;
	line-height: 1.3;
	display: block;
	max-width: 210px;
}

.nuvio-toggle-track {
	position: relative;
	align-self: center;
	width: 46px;
	height: 26px;
	flex: 0 0 auto;
	border: 1px solid #334155;
	border-radius: 999px;
	background: #151922;
	transition:
		background 0.18s ease,
		border-color 0.18s ease;
}

.nuvio-toggle-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: transform 0.18s ease;
}

.nuvio-toggle-option input:checked + .nuvio-toggle-copy + .nuvio-toggle-track {
	border-color: #3b82f6;
	background: #1d4ed8;
}

.nuvio-toggle-option input:checked + .nuvio-toggle-copy + .nuvio-toggle-track::after {
	transform: translateX(20px);
	background: #ffffff;
}

.nuvio-toggle-option input:focus-visible + .nuvio-toggle-copy + .nuvio-toggle-track {
	outline: 2px solid #93c5fd;
	outline-offset: 2px;
}

.nuvio-preview-grid {
	display: grid;
	grid-template-columns: repeat(2, 320px);
	gap: 14px;
	margin-top: 12px;
}

.genre-export-layout {
	display: grid;
	grid-template-columns: 540px 240px;
	gap: 16px;
	align-items: start;
}

.genre-modal-poster .genre-export-layout {
	grid-template-columns: 540px 150px;
}

.genre-export-fields {
	grid-template-columns: 260px 260px;
	gap: 12px 14px;
}

.genre-compact-fields {
	display: grid;
	grid-template-columns: 100px 68px 68px;
	gap: 6px;
	align-items: start;
}

.genre-compact-fields label {
	min-width: 0;
}

#genre-nuvio-min-rating,
#genre-nuvio-language,
#genre-nuvio-country {
	appearance: textfield;
	display: block;
	height: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	padding: 0 10px !important;
	border-radius: 8px;
	font-size: 14px;
	line-height: 42px !important;
	box-sizing: border-box;
}

#genre-nuvio-min-rating::-webkit-outer-spin-button,
#genre-nuvio-min-rating::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.genre-export-fields input[type="date"] {
	max-width: 260px;
}

.genre-export-preview {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.genre-export-preview .meta {
	margin: 0;
}

.genre-export-preview .genre-preview-poster {
	width: 126px;
	height: 189px;
	aspect-ratio: 2 / 3;
	object-fit: contain;
	object-position: center;
}

.genre-export-preview .genre-preview-landscape {
	width: 240px;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	object-position: center;
}

.genre-merge-options {
	display: grid;
	grid-template-columns: repeat(2, 252px);
	width: max-content;
	max-width: 100%;
	gap: 10px;
	margin-top: 14px;
	padding: 10px;
	border: 1px solid #243040;
	border-radius: 10px;
	background: #111720;
}

.genre-merge-options[hidden],
.genre-merge-options label[hidden] {
	display: none !important;
}

.genre-merge-options label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #aeb7c2;
	font-size: 13px;
}

.genre-merge-options select {
	width: 100%;
	max-width: none;
}

.nuvio-image-preview {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: 1px solid #2b313b;
	border-radius: 8px;
	background: #151922;
}

.modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
}

.modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.modal-help-button {
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 999px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.modal-backdrop-secondary {
	z-index: 1300;
}

.nuvio-import-help {
	color: #aeb7c2;
	font-size: 13px;
}

.nuvio-import-help p {
	margin: 0 0 10px;
}

.nuvio-import-beta-note {
	text-align: center;
}

.nuvio-import-metadata-note {
	margin: 24px auto 0;
	max-width: 560px;
	padding: 10px 12px;
	border: 1px solid #243040;
	border-radius: 10px;
	background: #111720;
	text-align: center;
}

.nuvio-import-help-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	text-align: left;
}

.nuvio-import-help h3 {
	margin: 8px 0 6px;
	color: #e6edf7;
	font-size: 14px;
}

.nuvio-import-help ol {
	margin: 0;
	padding-left: 18px;
	text-align: left;
}

.nuvio-import-help li {
	margin: 4px 0;
	line-height: 1.35;
}

.bulk-results {
	margin-top: 14px;
	overflow-x: auto;
}

.bulk-results table {
	min-width: 760px;
}

.bulk-status {
	color: #aeb7c2;
	font-size: 14px;
	margin-top: 10px;
}
.intro-text {
	max-width: 760px;
	margin: 8px 0 8px;
	color: #d8dee8;
	font-size: 18px;
	line-height: 1.55;
}

.hero-help {
	margin-bottom: 36px;
}
.tool-section {
	max-width: 1200px;
	margin: 36px 0;
	padding: 22px;
	border: 1px solid #1f2733;
	border-radius: 18px;
	background: #0f1218;
}

.lookup-section,
.bulk-lookup {
	max-width: 900px;
}

.company-lookup {
	max-width: 1200px;
}

.tool-section h2 {
	margin-bottom: 6px;
}

.tool-section > .meta:first-of-type {
	margin-bottom: 16px;
}
.lookup-filters,
.company-filters {
	gap: 10px;
	margin: 16px 0 18px;
}

.lookup-filter-button,
.company-filter-button,
.network-filter-button {
	border-color: #283142;
	background: rgba(21, 25, 34, 0.9);
	color: #aeb7c2;
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.lookup-filter-button:hover,
.company-filter-button:hover,
.network-filter-button:hover {
	border-color: rgba(138, 180, 255, 0.75);
	color: #ffffff;
	transform: translateY(-1px);
}

.lookup-filter-button.active,
.company-filter-button.active,
.network-filter-button.active {
	border-color: #8ab4ff;
	background: rgba(138, 180, 255, 0.16);
	color: #ffffff;
}
.cached-tools-section {
	max-width: 1200px;
	margin: 36px 0;
}

.cached-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 -1px;
	padding: 0 0 0 14px;
	position: relative;
	z-index: 2;
}

.cached-tab-button {
	padding: 10px 14px;
	border: 1px solid #283142;
	border-bottom-color: #1f2733;
	border-radius: 12px 12px 0 0;
	background: rgba(21, 25, 34, 0.75);
	color: #aeb7c2;
	font-size: 14px;
	cursor: pointer;
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		color 0.18s ease;
}

.cached-tab-button:hover {
	border-color: rgba(138, 180, 255, 0.75);
	color: #ffffff;
}

.cached-tab-button.active {
	border-color: #1f2733;
	border-bottom-color: #0f1218;
	background: #0f1218;
	color: #ffffff;
}

.cached-tools-section .tool-section {
	margin: 0;
	border-radius: 18px;
}

.cached-tools-section .company-lookup,
.cached-tools-section .network-lookup {
	max-width: 1200px;
}

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

.cached-tab-panel.active {
	display: block;
}

.tool-header {
	margin-bottom: 18px;
}

.tool-header h2 {
	margin-bottom: 6px;
}

.tool-header .meta {
	max-width: 720px;
}
