/*Final video panel*/
.rn-lead {
	margin: 0 0 var(--s3);
}
.rn-error {
	margin: 0 0 var(--s3);
	padding: var(--s3);
	border: 1px solid var(--danger);
	border-radius: 4px;
	color: var(--text);
	overflow-wrap: anywhere;
}
.rn-layouts {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s2);
	margin-bottom: var(--s4);
}
.rn-layout {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 64px;
	padding: var(--s3);
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--bg-raised);
	color: var(--text);
	text-align: left;
	font: inherit;
	cursor: pointer;
	touch-action: manipulation;
}
.rn-layout.is-on {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent);
}
.rn-layout:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.rn-layout-name {
	font: 600 1.05rem/1.3 var(--font-display);
}
.rn-layout-note {
	color: var(--text-muted);
	font-size: 0.95rem;
}
.rn-make-btn {
	min-height: 56px;
	font-size: 1.1rem;
}
.rn-go .field-note {
	margin: var(--s2) 0 0;
}
.rn-progress {
	margin-bottom: var(--s4);
}
.rn-progress-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: var(--s2);
}
.rn-pct {
	font-family: var(--font-mono);
	color: var(--accent);
}
.rn-bar {
	height: 14px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--bg-sunk);
	overflow: hidden;
}
.rn-bar-fill {
	height: 100%;
	background: var(--accent);
	transition: width 0.6s linear;
}
.rn-ready {
	margin-bottom: var(--s5);
}
.rn-video {
	display: block;
	width: 100%;
	max-height: 70vh;
	border-radius: 4px;
	background: #000;
}
.rn-meta {
	margin: var(--s2) 0 var(--s3);
	color: var(--text-muted);
	font-size: 0.95rem;
}
.rn-actions {
	display: grid;
	gap: var(--s2);
}
.rn-actions .btn-primary {
	min-height: 56px;
	text-decoration: none;
}
.rn-make .subhead {
	margin-top: 0;
}
.rn-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s2) var(--s3);
	padding: var(--s3) 0;
	border-bottom: 1px solid var(--line-soft);
}
.rn-item:last-child {
	border-bottom: none;
}
.rn-item-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s2);
}
.rn-item-btns {
	display: flex;
	gap: var(--s2);
}
.rn-item-btns .btn {
	min-width: var(--tap);
}
@media (min-width: 720px) {
	.rn-layouts {
		grid-template-columns: 1fr 1fr;
	}
	.rn-actions {
		grid-template-columns: auto auto;
		justify-content: start;
	}
	.rn-video {
		max-width: 720px;
	}
}
