/* paRRssport Collections */

.rrpc-profile {
	width: 100%;
}

.rrpc-profile-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 20px;
}

.rrpc-profile-header h2 {
	margin: 0 0 4px;
}

.rrpc-profile-header p {
	margin: 0;
	opacity: 0.72;
}

.rrpc-filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 0 16px;
	scrollbar-width: thin;
}

.rrpc-filter {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 36px;
	padding: 6px 13px;
	border: 1px solid #d7dbe0;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	font-size: 13px;
	line-height: 1.2;
	text-decoration: none;
}

.rrpc-filter:hover,
.rrpc-filter.is-active {
	border-color: currentColor;
	background: rgba(0, 0, 0, 0.055);
	color: inherit;
}

.rrpc-grid {
	display: grid;
	grid-template-columns:
		repeat(
			var(--rrpc-desktop-columns, 4),
			minmax(0, 1fr)
		);
	gap: 10px;
}

.rrpc-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #eef0f2;
}

.rrpc-open-media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.rrpc-open-media img,
.rrpc-open-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rrpc-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
}

.rrpc-video-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.68);
	color: #fff;
	font-size: 12px;
	place-items: center;
	pointer-events: none;
}

.rrpc-assign-button {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: 8px;
	z-index: 2;
	padding: 7px 9px;
	border: 0;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity 0.15s ease,
		transform 0.15s ease;
}

.rrpc-card:hover .rrpc-assign-button,
.rrpc-assign-button:focus {
	opacity: 1;
	transform: translateY(0);
}

.rrpc-manager {
	display: grid;
	grid-template-columns:
		minmax(0, 1.3fr)
		minmax(280px, 0.7fr);
	gap: 24px;
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid #e1e4e8;
	border-radius: 10px;
	background: #fff;
}

.rrpc-manager[hidden],
.rrpc-modal[hidden],
.rrpc-inline-create[hidden] {
	display: none !important;
}

.rrpc-manager-tree,
.rrpc-manager-tree ul,
.rrpc-tree,
.rrpc-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rrpc-manager-tree ul,
.rrpc-tree ul {
	margin-left: 22px;
	padding-left: 12px;
	border-left: 1px solid #dfe3e7;
}

.rrpc-manager-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
}

.rrpc-manager-name {
	font-weight: 600;
}

.rrpc-manager-meta {
	margin-right: auto;
	font-size: 12px;
	opacity: 0.65;
}

.rrpc-collection-form label {
	display: grid;
	gap: 5px;
	font-weight: 600;
}

.rrpc-collection-form input,
.rrpc-collection-form select,
.rrpc-collection-form textarea {
	width: 100%;
	font-weight: 400;
}

.rrpc-form-message,
.rrpc-inline-message,
.rrpc-modal-message {
	display: block;
	margin-top: 8px;
	color: #b32d2e;
}

.rrpc-upload-panel {
	margin: 14px 0;
	padding: 14px;
	border: 1px solid #dfe3e7;
	border-radius: 8px;
	background: #fafbfc;
	text-align: left;
}

.rrpc-upload-panel h4 {
	margin: 0 0 10px;
}

.rrpc-upload-tree {
	max-height: 190px;
	overflow: auto;
	padding: 4px;
}

.rrpc-tree-item label {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 5px 2px;
	font-weight: 500;
	cursor: pointer;
}

.rrpc-inline-create-toggle {
	margin-top: 8px;
}

.rrpc-inline-create {
	display: grid;
	grid-template-columns:
		minmax(130px, 1fr)
		minmax(150px, 1fr)
		auto;
	gap: 8px;
	margin-top: 10px;
}

.rrpc-inline-message {
	grid-column: 1 / -1;
}

.rrpc-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	padding: 20px;
	place-items: center;
}

.rrpc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.rrpc-modal-dialog,
.rrpc-lightbox-dialog {
	position: relative;
	z-index: 2;
	width: min(560px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.rrpc-lightbox-dialog {
	width: min(1100px, 100%);
	padding: 0;
	overflow: hidden;
	background: #111;
}

.rrpc-modal-close {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 3;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.rrpc-assignment-tree {
	max-height: 50vh;
	overflow: auto;
	margin: 15px 0;
	padding: 10px;
	border: 1px solid #e0e3e6;
	border-radius: 8px;
}

.rrpc-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.rrpc-lightbox-content {
	display: grid;
	min-height: 240px;
	max-height: calc(100vh - 40px);
	place-items: center;
}

.rrpc-lightbox-content img,
.rrpc-lightbox-content video {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 40px);
}

body.rrpc-modal-open {
	overflow: hidden;
}

.rrpc-empty {
	padding: 35px;
	border: 1px dashed #cfd4d9;
	border-radius: 10px;
	text-align: center;
}

@media (max-width: 900px) {
	.rrpc-grid {
		grid-template-columns:
			repeat(
				var(--rrpc-tablet-columns, 3),
				minmax(0, 1fr)
			);
		gap: 7px;
	}

	.rrpc-manager {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.rrpc-profile-header {
		display: block;
	}

	.rrpc-profile-header .button {
		margin-top: 12px;
	}

	.rrpc-grid {
		grid-template-columns:
			repeat(
				var(--rrpc-mobile-columns, 3),
				minmax(0, 1fr)
			);
		gap: 3px;
	}

	.rrpc-card {
		border-radius: 2px;
	}

	/* 0.2.10: give the three-column phone grid the taller 3:4 portrait
	 * presentation without changing tablet or desktop thumbnails. */
	.rrpc-open-media {
		aspect-ratio: 3 / 4;
	}

	.rrpc-assign-button {
		right: 4px;
		bottom: 4px;
		left: 4px;
		padding: 5px;
		font-size: 10px;
		opacity: 1;
	}

	.rrpc-inline-create {
		grid-template-columns: 1fr;
	}
}

/* 0.1.5 grouped posts, Collection-only publishing and video covers. */
.rrpc-carousel-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 28px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	z-index: 3;
}
.rrpc-carousel-icon {
	position: relative;
	display: block;
	width: 13px;
	height: 13px;
	border: 1.5px solid currentColor;
	border-radius: 2px;
}
.rrpc-carousel-icon:before {
	content: "";
	position: absolute;
	left: -4px;
	top: -4px;
	width: 11px;
	height: 11px;
	border: 1.5px solid currentColor;
	border-radius: 2px;
}
.rrpc-grid-visibility {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}
.rrpc-grid-visibility label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}
.rrpc-grid-visibility p,
.rrpc-video-cover-help {
	margin: 5px 0 0;
	color: #667085;
	font-size: 12px;
}
.rrpc-video-cover-section {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}
.rrpc-video-cover-section h5 {
	margin: 0;
	font-size: 14px;
}
.rrpc-video-cover-frames {
	display: grid;
	grid-template-columns: repeat(4, minmax(62px, 1fr));
	gap: 8px;
	margin: 10px 0;
}
.rrpc-cover-frame {
	position: relative;
	padding: 0;
	aspect-ratio: 1;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #111;
	cursor: pointer;
}
.rrpc-cover-frame.is-selected {
	border-color: #304ffe;
	box-shadow: 0 0 0 2px rgba(48, 79, 254, .2);
}
.rrpc-cover-frame img,
.rrpc-cover-selected-preview {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rrpc-cover-selected-preview {
	display: block;
	max-width: 110px;
	max-height: 110px;
	margin: 8px 0;
	border-radius: 8px;
}
.rrpc-cover-upload-label {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 12px;
	border: 1px solid #c9ced6;
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	cursor: pointer;
}
.rrpc-video-cover-file {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}
.rrpc-video-cover-status {
	min-height: 18px;
	margin-top: 6px;
	color: #667085;
	font-size: 12px;
}
@media (max-width: 600px) {
	.rrpc-video-cover-frames { gap: 6px; }
	.rrpc-carousel-badge { top: 6px; right: 6px; }
}
.rrpc-card-grouped .rrpc-video-badge {
	top: 46px;
}


/* 0.1.6: visible grid toggle and genuine video timeline cover selection. */
.rrpc-show-in-grid-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	min-height: 30px !important;
	margin: 0 !important;
	padding: 2px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	font-weight: 600 !important;
	text-align: left !important;
	cursor: pointer !important;
}
.rrpc-show-in-grid-box {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	border: 1.5px solid #7a7a7a !important;
	border-radius: 3px !important;
	background: #fff !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}
.rrpc-show-in-grid-toggle.is-checked .rrpc-show-in-grid-box {
	border-color: #304ffe !important;
	background: #304ffe !important;
}
.rrpc-show-in-grid-toggle.is-checked .rrpc-show-in-grid-box:after {
	content: "" !important;
	display: block !important;
	width: 5px !important;
	height: 9px !important;
	margin-top: -2px !important;
	border-right: 2px solid #fff !important;
	border-bottom: 2px solid #fff !important;
	transform: rotate(45deg) !important;
}
.rrpc-show-in-grid-toggle:focus-visible .rrpc-show-in-grid-box {
	outline: 2px solid currentColor !important;
	outline-offset: 2px !important;
}
.rrpc-cover-timeline {
	margin: 10px 0 8px;
}
.rrpc-cover-timeline-video {
	display: block;
	width: min(100%, 360px) !important;
	max-height: 240px;
	margin: 0 0 8px;
	border-radius: 8px;
	background: #111;
	object-fit: contain;
}
.rrpc-cover-use-current {
	margin: 0 0 4px !important;
}
.rrpc-cover-use-current.is-selected {
	outline: 2px solid #304ffe !important;
	outline-offset: 2px !important;
}
.rrpc-cover-frame {
	min-width: 0;
}
.rrpc-cover-time {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 2px 4px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: 10px;
	line-height: 1;
}

/* 0.1.8: explicit per-upload carousel grouping control. */
.rrpc-upload-grouping {
	padding: 12px 0;
	border-top: 1px solid #e7e9ec;
}
.rrpc-upload-grouping p {
	margin: 4px 0 0 !important;
	color: #667085;
	font-size: 12px;
	line-height: 1.4;
}
.rrpc-group-as-carousel-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	min-height: 30px !important;
	margin: 0 !important;
	padding: 2px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	font-weight: 600 !important;
	text-align: left !important;
	cursor: pointer !important;
}
.rrpc-group-as-carousel-box {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	border: 1.5px solid #7a7a7a !important;
	border-radius: 3px !important;
	background: #fff !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}
.rrpc-group-as-carousel-toggle.is-checked .rrpc-group-as-carousel-box {
	border-color: #304ffe !important;
	background: #304ffe !important;
}
.rrpc-group-as-carousel-toggle.is-checked .rrpc-group-as-carousel-box:after {
	content: "" !important;
	display: block !important;
	width: 5px !important;
	height: 9px !important;
	margin-top: -2px !important;
	border-right: 2px solid #fff !important;
	border-bottom: 2px solid #fff !important;
	transform: rotate(45deg) !important;
}
.rrpc-group-as-carousel-toggle:focus-visible .rrpc-group-as-carousel-box {
	outline: 2px solid currentColor !important;
	outline-offset: 2px !important;
}

/* 0.2.0: session-scoped ReadyLaunch controls and genuine form checkboxes. */
.rrpc-session-option {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}
.rrpc-session-option input[type="checkbox"] {
	position: static !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 0 !important;
	opacity: 1 !important;
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
}
.rrpc-video-cover {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}
.rrpc-video-cover h4 {
	margin: 0 0 4px;
	font-size: 14px;
}
.rrpc-video-cover-stage {
	margin: 10px 0 8px;
}
.rrpc-video-cover-player {
	display: block;
	width: min(100%, 420px) !important;
	max-height: 360px;
	border-radius: 8px;
	background: #111;
	object-fit: contain;
}
.rrpc-video-cover-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 8px 0;
}
.rrpc-upload-cover-label {
	position: relative;
	cursor: pointer;
}
.rrpc-suggested-frames {
	display: grid;
	grid-template-columns: repeat(4, minmax(62px, 1fr));
	gap: 8px;
	max-width: 420px;
	margin-top: 8px;
}
.rrpc-suggested-frame {
	padding: 0 !important;
	aspect-ratio: var(--rrpc-video-cover-aspect, 16 / 9);
	overflow: hidden;
	border: 2px solid transparent !important;
	border-radius: 8px !important;
	background: #111 !important;
	cursor: pointer;
}
.rrpc-suggested-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rrpc-suggested-frame.is-selected,
.rrpc-upload-cover-label.is-selected {
	border-color: #304ffe !important;
	box-shadow: 0 0 0 2px rgba(48, 79, 254, .2) !important;
}
@media (max-width: 600px) {
	.rrpc-suggested-frames {
		gap: 6px;
	}
}

/* 0.2.1: hide grouping until this exact composer session has two items. */
.rrpc-upload-grouping[hidden] {
	display: none !important;
}

/* A video without a generated poster should not render as a black player tile. */
.rrpc-video-placeholder {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	height: 100%;
	min-height: 180px;
	padding: 18px;
	background: #202124;
	color: #fff;
	text-align: center;
}
.rrpc-video-placeholder::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 19px solid currentColor;
}
.rrpc-video-placeholder-title {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 0.2.2: prevent Collection-only uploads without a real destination. */
.rrpc-grid-visibility .rrpc-collection-only-error {
	margin-top: 7px !important;
	color: #b42318 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}
.rrpc-grid-visibility .rrpc-collection-only-error[hidden] {
	display: none !important;
}


/* 0.2.4: simple suggested-frame selection with one clear upload action. */
.rrpc-video-cover h4 {
	margin-bottom: 4px !important;
}
.rrpc-video-cover-help {
	margin: 0 0 10px !important;
	color: #5f6875;
	font-size: 13px;
	line-height: 1.45;
}
.rrpc-cover-upload-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 8px 14px !important;
	border: 2px solid #304ffe !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
}
.rrpc-cover-upload-button {
	background: #304ffe !important;
	color: #fff !important;
}
.rrpc-cover-upload-button:hover,
.rrpc-cover-upload-button:focus-within {
	background: #203bd9 !important;
	border-color: #203bd9 !important;
	color: #fff !important;
}
.rrpc-suggested-frames-label {
	margin: 10px 0 6px !important;
	font-size: 13px;
	font-weight: 700;
}
.rrpc-suggested-frame {
	position: relative;
	border-width: 3px !important;
}
.rrpc-suggested-frame.is-selected {
	border: 4px solid #304ffe !important;
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(48, 79, 254, .35) !important;
}
.rrpc-suggested-frame.is-selected:after {
	content: "";
	position: absolute;
	top: 5px;
	right: 5px;
	width: 22px;
	height: 22px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #304ffe;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.rrpc-suggested-frame.is-selected:before {
	content: "";
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 1;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}
.rrpc-upload-cover-label.is-selected {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(48, 79, 254, .28) !important;
}
.rrpc-upload-cover-label.is-selected:before {
	content: "Selected: ";
	font-weight: 800;
}
.rrpc-video-cover-status {
	min-height: 20px;
	margin-top: 9px !important;
	font-weight: 700;
}
.rrpc-video-cover-status:not(:empty) {
	padding-left: 20px;
	color: #304ffe;
}
.rrpc-video-cover-status:not(:empty):before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 10px;
	margin: 0 10px 2px -18px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
@media (max-width: 600px) {
	.rrpc-cover-upload-button {
		flex: 1 1 auto;
	}
}


/* 0.2.6: separate Media Collections from curated Property Collections. */
.rrpc-manager-scope {
	display: flex;
	gap: 8px;
	grid-column: 1 / -1;
	margin: 0 0 14px;
}
.rrpc-manager-scope .rrpc-scope-button.is-active {
	background: #3f36ff;
	border-color: #3f36ff;
	color: #fff;
}
@media (max-width: 720px) {
	.rrpc-manager-scope {
		position: static;
		flex-wrap: wrap;
	}
}

/* 0.2.7: visible label for NSFW media after a member has opted in. */
.rrpc-open-media{position:relative}.rrpc-nsfw-badge{position:absolute;left:8px;bottom:8px;z-index:3;padding:3px 7px;border:1px solid rgba(255,255,255,.85);border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:700;line-height:1.2;letter-spacing:.04em}

/* 0.2.11: keep suggested video-cover thumbnails in the source video's real orientation. */
.rrpc-video-cover-section,
.rrpc-video-cover {
	--rrpc-video-cover-aspect: 16 / 9;
}


/* 0.2.18: pinned-state marker only; pin/unpin control lives in the viewer three-dots menu. */
.rrpc-pin-button,
.rrpc-pin-indicator {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 5;
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .68);
	color: #fff;
	place-items: center;
}
.rrpc-pin-button {
	cursor: pointer;
	opacity: .72;
	transition: opacity .15s ease, transform .15s ease, background .15s ease;
}
.rrpc-pin-button:hover,
.rrpc-pin-button:focus-visible,
.rrpc-pin-button.is-pinned {
	opacity: 1;
}
.rrpc-pin-button:hover,
.rrpc-pin-button:focus-visible {
	transform: translateY(-1px);
}
.rrpc-pin-button.is-pinned,
.rrpc-pin-indicator.is-pinned {
	background: rgba(48, 79, 254, .92);
}
.rrpc-pin-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.rrpc-pin-button:disabled {
	cursor: wait;
	opacity: .5;
}
.rrpc-pin-button svg,
.rrpc-pin-indicator svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}
@media (max-width: 600px) {
	.rrpc-pin-button,
	.rrpc-pin-indicator {
		top: 6px;
		left: 6px;
		width: 28px;
		height: 28px;
	}
}

/* 0.2.18: never present an always-visible pin control on the grid. */
.rrpc-grid .rrpc-pin-button{display:none!important;}

/* 0.2.21 password-protected professional proof/preview galleries. */
.rrpc-gallery-settings {
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
	border-radius: 10px;
	padding: 14px;
	margin: 12px 0;
	background: var(--bb-rl-background-color, #fff);
}
.rrpc-gallery-settings[hidden],
.rrpc-watermark-text-row[hidden] { display: none !important; }
.rrpc-gallery-settings small { display: block; margin-top: 5px; color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-checkbox-label { display: flex !important; align-items: center; gap: 8px; }
.rrpc-checkbox-label input { width: auto !important; }
.rrpc-proof-gallery { margin-top: 18px; }
.rrpc-proof-gallery-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--bb-rl-border-color, #e2e4e7);
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
	margin-bottom: 14px;
}
.rrpc-proof-gallery-header h3 { margin: 0 0 6px; }
.rrpc-proof-gallery-header p { margin: 4px 0; }
.rrpc-proof-gallery-meta { color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
.rrpc-gallery-uploader {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 16px;
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
	margin-bottom: 16px;
}
.rrpc-gallery-uploader > div:first-child { flex: 1 1 320px; }
.rrpc-gallery-uploader p { margin: 4px 0 0; color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-gallery-upload-status { width: 100%; min-height: 20px; font-size: 13px; color: var(--bb-rl-text-secondary-color, #50575e); }
.rrpc-proof-grid {
	display: grid;
	grid-template-columns: repeat(var(--rrpc-desktop-columns, 4), minmax(0, 1fr));
	gap: 12px;
}
.rrpc-proof-card {
	min-width: 0;
	border: 1px solid var(--bb-rl-border-color, #e2e4e7);
	border-radius: 10px;
	overflow: hidden;
	background: var(--bb-rl-background-color, #fff);
	/* 0.2.67: preserve the full 200-photo DOM/accessibility model while allowing
	 * modern browsers to skip layout/paint work for cards well outside the viewport. */
	content-visibility: auto;
	contain-intrinsic-size: auto 360px;
}
.rrpc-proof-image-link { display: block; aspect-ratio: 4 / 5; background: var(--bb-rl-background-secondary-color, #f2f3f5); }
.rrpc-proof-image-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rrpc-proof-processing {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background: var(--bb-rl-background-secondary-color, #f2f3f5);
	color: var(--bb-rl-text-secondary-color, #646970);
	font-size: 13px;
}
.rrpc-proof-card-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
}
.rrpc-proof-card-footer code {
	min-width: 0;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	background: transparent;
}
.rrpc-delete-gallery-photo {
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 3px 5px;
}
.rrpc-gallery-lock {
	max-width: 520px;
	margin: 34px auto;
	padding: 26px;
	border: 1px solid var(--bb-rl-border-color, #e2e4e7);
	border-radius: 14px;
	background: var(--bb-rl-background-color, #fff);
	text-align: center;
}
.rrpc-gallery-lock-icon { font-size: 32px; }
.rrpc-gallery-lock h3 { margin: 8px 0; }
.rrpc-gallery-lock form { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.rrpc-gallery-lock label span { display: block; font-weight: 600; margin-bottom: 6px; }
.rrpc-gallery-lock input[type="password"] { width: 100%; min-height: 42px; }
.rrpc-gallery-error { margin: 12px 0; padding: 10px; border-radius: 8px; background: #fff2f2; color: #8a2424; }
@media (max-width: 900px) {
	.rrpc-proof-grid { grid-template-columns: repeat(var(--rrpc-tablet-columns, 3), minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.rrpc-proof-gallery-header { flex-direction: column; }
	.rrpc-proof-grid { grid-template-columns: repeat(var(--rrpc-mobile-columns, 3), minmax(0, 1fr)); gap: 7px; }
	.rrpc-proof-image-link,
	.rrpc-proof-image-button,
	.rrpc-proof-processing { aspect-ratio: 3 / 4; }
	.rrpc-proof-card-footer { padding: 7px; }
	.rrpc-proof-card-footer code { font-size: 10px; }
}


/* 0.2.22 gallery discoverability and saved-password clarity. */
.rrpc-proof-gallery-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rrpc-gallery-empty { text-align: center; padding: 28px 18px; border: 1px dashed var(--bb-rl-border-color, #c9ccd1); border-radius: 12px; background: var(--bb-rl-background-secondary-color, #f7f8fa); }
.rrpc-gallery-empty p { margin: 0 0 12px; }
.rrpc-gallery-password-saved { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--bb-rl-border-color, #dcdcde); border-radius: 8px; background: var(--bb-rl-background-secondary-color, #f7f8fa); margin: 0 0 12px; }
.rrpc-gallery-password-saved[hidden], .rrpc-gallery-password-field[hidden], .rrpc-gallery-upload-link[hidden] { display: none !important; }
.rrpc-gallery-password-saved span { color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-gallery-password-field > .button-link { margin-top: 6px; }
@media (max-width: 600px) { .rrpc-proof-gallery-header { flex-direction: column; } .rrpc-proof-gallery-actions { width: 100%; justify-content: flex-start; } }

/* 0.2.23 professional gallery visibility, social layer, drop-zone and viewer. */
.rrpc-gallery-social-row { margin-top: 12px; }
.rrpc-gallery-social-row small { display: block; margin: 5px 0 0 24px; }

.rrpc-gallery-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 132px;
	padding: 22px;
	border: 2px dashed var(--bb-rl-border-color, #b8bdc5);
	border-radius: 12px;
	background: var(--bb-rl-background-secondary-color, #f7f8fa);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.rrpc-gallery-dropzone strong { font-size: 15px; }
.rrpc-gallery-dropzone span { color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
.rrpc-gallery-dropzone:hover,
.rrpc-gallery-dropzone:focus-visible,
.rrpc-gallery-dropzone.is-dragover {
	border-color: var(--bb-rl-primary-color, #4946fe);
	background: color-mix(in srgb, var(--bb-rl-primary-color, #4946fe) 7%, var(--bb-rl-background-secondary-color, #f7f8fa));
	outline: none;
}
.rrpc-gallery-dropzone.is-dragover { transform: scale(.995); }
.rrpc-gallery-dropzone.is-disabled { opacity: .55; cursor: not-allowed; }

.rrpc-proof-image-link { display: none; }
.rrpc-proof-image-button {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--bb-rl-background-secondary-color, #f2f3f5);
	cursor: zoom-in;
	overflow: hidden;
}
/* 0.2.38: provide the same definite containing box used by HDR Media's
 * normal feed/Media-grid badge host.  The actual .rrphdr-badge appearance
 * continues to come from HDR Media 0.1.5 so the pill remains identical. */
.rrpc-proof-image-button.rrphdr-badge-host { position: relative; isolation: isolate; }

.rrpc-proof-image-button img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
	transition: transform .18s ease;
}

/* 0.2.68: while a protected thumbnail waits for its metered broker slot, keep
 * the established card geometry and show a neutral state instead of a broken
 * browser-image icon. The actual photo fades in after the complete broker->R2
 * chain succeeds. */
.rrpc-proof-image-button .rrpc-protected-thumb { opacity: 0; }
.rrpc-proof-image-button .rrpc-protected-thumb.is-loaded { opacity: 1; }
.rrpc-thumb-load-status {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	background: var(--bb-rl-background-secondary-color, #f2f3f5);
	color: var(--bb-rl-text-secondary-color, #646970);
	font-size: 12px;
	text-align: center;
	pointer-events: none;
}

.rrpc-proof-image-button:hover img,
.rrpc-proof-image-button:focus-visible img { transform: scale(1.015); }
.rrpc-proof-image-button:focus-visible { outline: 3px solid var(--bb-rl-primary-color, #4946fe); outline-offset: -3px; }

.rrpc-public-galleries { margin: 20px 0; }
.rrpc-public-galleries > h3 { margin: 0 0 12px; }
.rrpc-public-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.rrpc-public-gallery-card {
	display: block;
	min-width: 0;
	border: 1px solid var(--bb-rl-border-color, #e2e4e7);
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}
.rrpc-public-gallery-cover {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	background: var(--bb-rl-background-secondary-color, #f2f3f5);
	font-size: 32px;
}
.rrpc-public-gallery-cover img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.rrpc-public-gallery-copy { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; min-width: 0; }
.rrpc-public-gallery-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrpc-public-gallery-copy span { color: var(--bb-rl-text-secondary-color, #646970); font-size: 12px; }

.rrpc-gallery-activity-card {
	display: grid;
	grid-template-columns: minmax(110px, 180px) 1fr;
	gap: 14px;
	align-items: center;
	margin: 10px 0;
	border: 1px solid var(--bb-rl-border-color, #e2e4e7);
	border-radius: 12px;
	background: var(--bb-rl-background-secondary-color, #f7f8fa);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}
.rrpc-gallery-activity-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.rrpc-gallery-activity-copy { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 12px 0; }
.rrpc-gallery-activity-copy span { color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
@media (max-width: 800px) {
	.rrpc-public-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.rrpc-public-gallery-grid { grid-template-columns: 1fr; }
	.rrpc-gallery-activity-card { grid-template-columns: 110px minmax(0, 1fr); }
	.rrpc-gallery-dropzone { min-height: 112px; padding: 18px 12px; }
}

/* Gallery manager/upload refinement. The 0.2.25 queue uses BuddyBoss
 * ReadyLaunch's native normal-Media Dropzone preview/ring markup instead of the
 * earlier Dailies-derived rectangular processing ring. */
.rrpc-manager-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 14px;
}
.rrpc-manager-create-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rrpc-manager-section {
	margin: 12px 0;
	padding: 14px;
	border: 1px solid var(--bb-rl-border-secondary-color, var(--bb-rl-border-color, #dfe1e5));
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
}
.rrpc-manager-section h4 { margin: 0 0 10px; }
.rrpc-manager-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rrpc-manager-section-title h4 { margin: 0; }
.rrpc-gallery-quota {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--bb-rl-background-secondary-color, #f1f2f4);
	color: var(--bb-rl-text-secondary-color, #555);
	font-size: 12px;
	font-weight: 600;
}
.rrpc-manager-galleries-section > .description { margin: 6px 0 12px; }
.rrpc-gallery-manager-tree .rrpc-manager-row { background: var(--bb-rl-background-secondary-color, #f7f8fa); border-radius: 9px; padding: 8px; }
.rrpc-gallery-over-limit { margin: 10px 0 0; color: #b32d2e; font-weight: 600; }
.rrpc-collection-form {
	margin-top: 14px;
	padding: 16px;
	border: 1px solid var(--bb-rl-border-secondary-color, var(--bb-rl-border-color, #dfe1e5));
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
}
.rrpc-collection-form.is-gallery-form { box-shadow: inset 3px 0 0 var(--bb-rl-primary-color, #3e34ff); }
.rrpc-normal-visibility-row[hidden], .rrpc-parent-row[hidden] { display: none !important; }
.rrpc-gallery-visibility-row label { font-weight: 600; }
.rrpc-gallery-visibility-row select { margin-top: 6px; }

.rrpc-gallery-uploader {
	align-items: stretch;
	padding: 18px;
	box-shadow: 0 5px 18px rgba(0,0,0,.04);
}
.rrpc-gallery-dropzone {
	min-height: 150px;
	border-width: 2px;
	border-radius: 14px;
}
.rrpc-gallery-dropzone-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--bb-rl-background-color, #fff);
	border: 1px solid var(--bb-rl-border-secondary-color, #dfe1e5);
	font-size: 23px !important;
	font-weight: 700;
	line-height: 1;
}
.rrpc-gallery-upload-options {
	display: flex;
	align-items: flex-start;
	gap: 8px 14px;
	flex-wrap: wrap;
	width: 100%;
	padding: 10px 12px;
	border-radius: 9px;
	background: var(--bb-rl-background-secondary-color, #f7f8fa);
}
.rrpc-gallery-upload-options label { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.rrpc-gallery-upload-options input { width: auto; }
.rrpc-gallery-upload-options select { width: auto; min-width: 190px; }
.rrpc-gallery-upload-options small { flex: 1 1 420px; color: var(--bb-rl-text-secondary-color, #646970); }

.rrpc-gallery-upload-queue.dropzone.dz-started {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.rrpc-gallery-upload-queue:empty { display: none !important; }
.rrpc-gallery-upload-item.dz-preview {
	position: relative;
	display: block;
	width: 130px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	content-visibility: auto;
	contain-intrinsic-size: 130px 154px;
}
/* Use BuddyBoss's own ReadyLaunch Dropzone thumbnail/ring markup. These narrow
   rules only make the gallery queue fit that native 130px preview component. */
.rrpc-gallery-upload-item.dz-preview .dz-image {
	width: 130px;
	height: 130px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bb-rl-background-secondary-color, #f2f3f5);
}
.rrpc-gallery-upload-item.dz-preview .dz-image img {
	position: static !important;
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	transform: none !important;
	object-fit: cover;
}
.rrpc-gallery-upload-item.rrpc-upload-preview-released .dz-image {
	display: grid;
	place-items: center;
}
.rrpc-gallery-upload-item.rrpc-upload-preview-released .dz-image::after {
	content: "✓";
	font-size: 24px;
	font-weight: 700;
	color: var(--bb-rl-text-secondary-color, #687078);
}
.rrpc-gallery-upload-item.is-ready .dz-progress-ring-wrap,
.rrpc-gallery-upload-item.is-skipped .dz-progress-ring-wrap { display: none; }
.rrpc-gallery-upload-copy {
	width: 130px;
	min-width: 0;
	margin-top: 6px;
	text-align: left;
}
.rrpc-gallery-upload-copy strong,
.rrpc-gallery-upload-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrpc-gallery-upload-copy strong { font-size: 11px; font-weight: 600; }
.rrpc-gallery-upload-copy span { margin-top: 2px; color: var(--bb-rl-text-secondary-color, #646970); font-size: 11px; }
.rrpc-gallery-upload-item.is-error .rrpc-gallery-upload-state { color: #b32d2e; }
.rrpc-gallery-upload-item.is-ready .rrpc-gallery-upload-state { color: #2e8540; }
.rrpc-gallery-upload-item.is-skipped { opacity: .72; }

@media (max-width: 600px) {
	.rrpc-manager-toolbar { align-items: stretch; }
	.rrpc-manager-create-actions, .rrpc-manager-toolbar > .button { width: 100%; }
	.rrpc-manager-create-actions .button { flex: 1 1 auto; }
	.rrpc-gallery-upload-item.dz-preview { width: 110px; }
	.rrpc-gallery-upload-item.dz-preview .dz-image, .rrpc-gallery-upload-copy { width: 110px; }
	.rrpc-gallery-upload-item.dz-preview .dz-image { height: 110px; }
}


.rrpc-gallery-unlock-message { min-height: 20px; margin: 8px 0; color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
.rrpc-gallery-unlock-message:not(:empty) { padding: 8px 10px; border-radius: 8px; background: var(--bb-rl-background-tertiary-color, #f3f4f6); }


/* 0.2.28: make gallery social control explicit and immune to ReadyLaunch's
   broad .rrpc-collection-form input { width:100% } rule. */
.rrpc-gallery-social-row > .rrpc-gallery-social-toggle {
	display: inline-flex !important;
	grid-template-columns: none !important;
	align-items: center !important;
	gap: 9px !important;
	width: auto !important;
	margin: 0 !important;
	cursor: pointer;
}
.rrpc-gallery-social-row .rrpc-gallery-social-toggle input[type="checkbox"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.rrpc-gallery-social-switch {
	position: relative;
	display: inline-block;
	flex: 0 0 42px;
	width: 42px;
	height: 24px;
	border: 1px solid var(--bb-rl-border-color, #aeb4bd);
	border-radius: 999px;
	background: var(--bb-rl-background-secondary-color, #e7e9ed);
	transition: background .15s ease, border-color .15s ease;
}
.rrpc-gallery-social-switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.22);
	transition: transform .15s ease;
}
.rrpc-gallery-social-toggle input[type="checkbox"]:checked + .rrpc-gallery-social-switch {
	background: var(--bb-rl-primary-color, #385dff);
	border-color: var(--bb-rl-primary-color, #385dff);
}
.rrpc-gallery-social-toggle input[type="checkbox"]:checked + .rrpc-gallery-social-switch::after { transform: translateX(18px); }
.rrpc-gallery-social-toggle input[type="checkbox"]:focus-visible + .rrpc-gallery-social-switch {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.rrpc-gallery-social-row small { margin-left: 51px; }

/* 0.2.31 — reuse BuddyBoss bp_moderate for password-gallery moderation. */
.rrpc-gallery-moderation-notice {
	margin: 0 0 14px;
	padding: 11px 13px;
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
	border-radius: 10px;
	background: var(--bb-rl-background-secondary-color, #f7f8fa);
}
.rrpc-gallery-moderation-badge {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--bb-rl-border-color, #dcdcde);
	background: var(--bb-rl-background-secondary-color, #f7f8fa);
	font-size: 12px;
}
.rrpc-gallery-moderation-badge span { color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-gallery-moderation-controls {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	padding: 9px 10px 11px;
	border-top: 1px solid var(--bb-rl-border-color, #dcdcde);
}
.rrpc-gallery-moderation-controls select { min-height: 34px; max-width: 180px; }
.rrpc-proof-card-moderated .rrpc-proof-image-button { opacity: .82; }

/* 0.2.36 proof-gallery management thumbnails mirror the established paRRssport portrait card ratios. */
/* 0.2.35 owner bulk photo selection/delete. */
.rrpc-proof-card { position: relative; }
.rrpc-gallery-select-photo {
	position: absolute;
	top: 9px;
	left: 9px;
	z-index: 4;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 2px solid rgba(255,255,255,.95);
	border-radius: 50%;
	background: rgba(20,20,20,.55);
	color: transparent;
	box-shadow: 0 1px 5px rgba(0,0,0,.28);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.rrpc-gallery-select-photo:hover,
.rrpc-gallery-select-photo:focus-visible { background: rgba(20,20,20,.78); }
.rrpc-gallery-select-photo:focus-visible { outline: 3px solid var(--bb-rl-primary-color, #4946fe); outline-offset: 2px; }
.rrpc-proof-card.is-selected { border-color: var(--bb-rl-primary-color, #4946fe); box-shadow: 0 0 0 2px var(--bb-rl-primary-color, #4946fe); }
.rrpc-proof-card.is-selected .rrpc-gallery-select-photo {
	background: var(--bb-rl-primary-color, #4946fe);
	color: #fff;
}
.rrpc-gallery-selection-bar[hidden] { display: none !important; }
.rrpc-gallery-selection-bar {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 9998;
	width: min(680px, calc(100vw - 32px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
	border-radius: 14px;
	background: var(--bb-rl-background-color, #fff);
	color: var(--bb-rl-text-color, #1d2327);
	box-shadow: 0 10px 34px rgba(0,0,0,.22);
}
.rrpc-gallery-selection-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rrpc-gallery-selection-bar.is-busy { cursor: progress; }
@media (max-width: 600px) {
	.rrpc-gallery-select-photo { top: 6px; left: 6px; width: 26px; height: 26px; }
	.rrpc-gallery-selection-bar { bottom: 10px; width: calc(100vw - 20px); align-items: flex-start; flex-direction: column; }
	.rrpc-gallery-selection-actions { width: 100%; }
	.rrpc-gallery-selection-actions .button { flex: 1 1 auto; }
}



/* 0.2.39: gallery editing gets a focused, laptop-friendly layout instead of
 * a very tall narrow right rail. Normal Collection editing keeps the existing
 * manager split; only the longer professional-gallery editor uses this mode. */
.rrpc-manager.rrpc-gallery-editor-open {
	grid-template-columns: minmax(0, 1fr);
}
.rrpc-manager.rrpc-gallery-editor-open .rrpc-manager-toolbar {
	grid-column: 1;
	justify-content: flex-end;
}
.rrpc-manager.rrpc-gallery-editor-open .rrpc-manager-create-actions,
.rrpc-manager.rrpc-gallery-editor-open .rrpc-manager-scope,
.rrpc-manager.rrpc-gallery-editor-open .rrpc-manager-list {
	display: none;
}
.rrpc-manager.rrpc-gallery-editor-open .rrpc-collection-form {
	width: min(100%, 860px);
	margin: 0 auto;
}

/* Owners see a clean gallery grid by default. Selection discs and the per-photo
 * delete control appear only after the explicit Remove photos action is enabled. */
.rrpc-proof-gallery-owner:not(.is-remove-mode):not(.is-comp-card-mode) .rrpc-gallery-select-photo {
	display: none !important;
}
.rrpc-proof-gallery-owner:not(.is-remove-mode) .rrpc-delete-gallery-photo {
	display: none !important;
}
.rrpc-proof-gallery-owner .rrpc-gallery-remove-toggle[aria-pressed="true"],
.rrpc-proof-gallery-owner .rrpc-gallery-comp-card-toggle[aria-pressed="true"] {
	box-shadow: inset 0 0 0 2px var(--bb-rl-primary-color, #4946fe);
}
.rrpc-proof-gallery-owner.is-comp-card-mode .rrpc-proof-card.is-selected {
	box-shadow: 0 0 0 3px var(--bb-rl-primary-color, #4946fe);
}

/* 0.2.42: quiet, conventional proofing favourites plus open-view notes. */
.rrpc-gallery-guest-config { display: none !important; }
.rrpc-gallery-guest-star {
	position: absolute;
	top: 10px;
	left: 10px;
	right: auto;
	z-index: 5;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: rgba(255,255,255,.74);
	cursor: pointer;
	opacity: 0;
	transition: opacity .14s ease, transform .14s ease, color .14s ease;
}
.rrpc-gallery-guest-star svg,
#rrpse-viewer .rrpc-gallery-viewer-star svg {
	display: block;
	width: 25px;
	height: 25px;
	overflow: visible;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linejoin: round;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.68));
}
.rrpc-proof-card:hover .rrpc-gallery-guest-star,
.rrpc-proof-card:focus-within .rrpc-gallery-guest-star,
.rrpc-gallery-guest-star.is-favourite,
.rrpc-gallery-guest-star:focus-visible { opacity: 1; }
.rrpc-gallery-guest-star:hover { color: rgba(255,255,255,.98); transform: scale(1.06); }
.rrpc-gallery-guest-star:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: -3px; }
.rrpc-gallery-guest-star.is-favourite { color: #fff; }
.rrpc-gallery-guest-star.is-favourite svg,
#rrpse-viewer .rrpc-gallery-viewer-star.is-favourite svg { fill: currentColor; }
@media (hover: none), (pointer: coarse) {
	.rrpc-gallery-guest-star { opacity: .68; }
	.rrpc-gallery-guest-star.is-favourite { opacity: 1; }
}
.rrpc-gallery-guest-actions {
	display: flex;
	justify-content: flex-end;
	padding: 0 10px 9px;
}
.rrpc-gallery-guest-note-toggle,
#rrpse-viewer .rrpc-gallery-viewer-note-toggle {
	border: 0;
	padding: 2px 0;
	background: transparent;
	color: var(--bb-rl-primary-color, #4946fe);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}
.rrpc-gallery-guest-note-editor[hidden],
#rrpse-viewer .rrpc-gallery-viewer-note-editor[hidden] { display: none !important; }
.rrpc-gallery-guest-note-editor { padding: 0 10px 10px; }
.rrpc-gallery-guest-note-editor textarea,
#rrpse-viewer .rrpc-gallery-viewer-note-editor textarea {
	width: 100%;
	min-height: 76px;
	resize: vertical;
}
.rrpc-gallery-guest-note-buttons,
#rrpse-viewer .rrpc-gallery-viewer-note-buttons {
	display: flex;
	gap: 7px;
	margin-top: 7px;
	flex-wrap: wrap;
}
.rrpc-gallery-guest-note-status,
#rrpse-viewer .rrpc-gallery-viewer-note-status {
	min-height: 18px;
	margin-top: 5px;
	font-size: 12px;
	color: var(--bb-rl-text-secondary-color, #646970);
}
.rrpc-gallery-reviewer-modal[hidden] { display: none !important; }
.rrpc-gallery-reviewer-modal {
	position: fixed;
	inset: 0;
	z-index: 1000030;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.rrpc-gallery-reviewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.rrpc-gallery-reviewer-dialog {
	position: relative;
	z-index: 1;
	width: min(460px, 100%);
	padding: 22px;
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
	border-radius: 14px;
	background: var(--bb-rl-background-color, #fff);
	color: var(--bb-rl-text-color, #1d2327);
	box-shadow: 0 18px 56px rgba(0,0,0,.3);
}
.rrpc-gallery-reviewer-dialog h4 { margin: 0 0 8px; font-size: 21px; }
.rrpc-gallery-reviewer-dialog p { margin: 0 0 16px; color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-gallery-reviewer-dialog label { display: block; margin-top: 11px; }
.rrpc-gallery-reviewer-dialog label > span { display: block; margin-bottom: 5px; font-weight: 600; }
.rrpc-gallery-reviewer-dialog input { width: 100%; min-height: 42px; }
.rrpc-gallery-reviewer-status { min-height: 20px; margin-top: 9px; color: var(--bb-rl-text-secondary-color, #646970); }
.rrpc-gallery-reviewer-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* The shared Social Experience viewer remains authoritative for image/zoom/share.
 * Collections adds only password-gallery proofing actions to its sidebar. */
#rrpse-viewer .rrpc-gallery-viewer-star {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	padding: 6px;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--bb-rl-text-secondary-color, #646970) !important;
	cursor: pointer;
}
#rrpse-viewer .rrpc-gallery-viewer-star:hover,
#rrpse-viewer .rrpc-gallery-viewer-star:focus-visible { color: var(--bb-rl-text-color, #1d2327) !important; }
#rrpse-viewer .rrpc-gallery-viewer-star.is-favourite { color: var(--bb-rl-primary-color, #4946fe) !important; }
#rrpse-viewer .rrpc-gallery-viewer-star:focus-visible { outline: 2px solid var(--bb-rl-primary-color, #4946fe); outline-offset: 0; }
#rrpse-viewer .rrpc-gallery-viewer-proofing {
	padding: 14px 16px;
	border-bottom: 1px solid var(--bb-rl-border-secondary-color, var(--bb-rl-border-color, #e2e4e7));
	background: var(--bb-rl-background-color, #fff);
	color: var(--bb-rl-text-color, #1d2327);
}
#rrpse-viewer .rrpc-gallery-viewer-proofing-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#rrpse-viewer .rrpc-gallery-viewer-proofing-head strong { font-size: 13px; }
#rrpse-viewer .rrpc-gallery-viewer-note-editor { margin-top: 10px; }

@media (max-width: 600px) {
	.rrpc-gallery-guest-star { top: 7px; left: 7px; width: 38px; height: 38px; padding: 7px; }
	.rrpc-gallery-reviewer-dialog { padding: 18px; }
}

.rrpc-gallery-upload-navigation-help { width: 100%; margin: 0; font-size: 12px; color: var(--bb-rl-text-secondary-color, #646970); }

/* 0.2.43: reviewer identity at password entry, submission workflow and owner summary. */
.rrpc-gallery-lock input[type="text"],
.rrpc-gallery-lock input[type="email"] { width: 100%; min-height: 42px; }
.rrpc-gallery-unlock-identity {
	margin-top: 4px;
	padding: 14px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e2e5ea);
	border-radius: 10px;
	background: var(--bb-rl-background-secondary-color, #f8f9fb);
}
.rrpc-gallery-unlock-identity > strong { display: block; margin-bottom: 5px; }
.rrpc-gallery-unlock-identity > p { margin: 0 0 10px; color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; line-height: 1.45; }
.rrpc-gallery-unlock-identity label + label { margin-top: 10px; }

.rrpc-gallery-submit-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 2px;
	padding: 14px 16px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e2e5ea);
	border-radius: 12px;
	background: var(--bb-rl-background-secondary-color, #f8f9fb);
}
.rrpc-gallery-submit-bar > div:first-child { flex: 1 1 auto; min-width: 0; }
.rrpc-gallery-submit-title { display: block; margin-bottom: 3px; }
.rrpc-gallery-submit-copy { display: block; color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; line-height: 1.4; }
.rrpc-gallery-submit-status { flex: 0 1 240px; color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }

.rrpc-gallery-client-selections {
	margin: 16px 0;
	padding: 16px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e2e5ea);
	border-radius: 12px;
	background: var(--bb-rl-background-color, #fff);
}
.rrpc-gallery-client-selections-head h3 { margin: 0 0 4px; font-size: 18px; }
.rrpc-gallery-client-selections-head p { margin: 0 0 12px; color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
.rrpc-gallery-reviewer-list { display: grid; gap: 8px; }
.rrpc-gallery-reviewer-row {
	display: grid;
	grid-template-columns: minmax(180px, 1.4fr) minmax(150px, .9fr) minmax(180px, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid var(--bb-rl-border-secondary-color, #e2e5ea);
	border-radius: 9px;
}
.rrpc-gallery-reviewer-row.has-unsubmitted-changes { border-style: dashed; }
.rrpc-gallery-reviewer-who strong,
.rrpc-gallery-reviewer-who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrpc-gallery-reviewer-who span,
.rrpc-gallery-reviewer-state,
.rrpc-gallery-reviewer-counts { color: var(--bb-rl-text-secondary-color, #646970); font-size: 13px; }
.rrpc-gallery-reviewer-counts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) {
	.rrpc-gallery-submit-bar { align-items: stretch; flex-direction: column; }
	.rrpc-gallery-submit-status { flex-basis: auto; }
	.rrpc-gallery-reviewer-row { grid-template-columns: 1fr; gap: 6px; }
	.rrpc-gallery-reviewer-row .button { justify-self: start; }
}
.rrpc-gallery-reviewer-row.is-requested { outline: 2px solid var(--bb-rl-primary-color, #4d43ff); outline-offset: 1px; }

/* 0.2.44 returning proofing reviewer restore helper. */
.rrpc-gallery-reviewer-restore-status{display:block;margin-top:4px;color:var(--bb-rl-text-secondary-color,#666);font-size:12px;line-height:1.35;}
.rrpc-gallery-unlock-identity input[readonly]{background:var(--bb-rl-background-tertiary-color,#f3f3f3);cursor:default;}

/* 0.2.45 owner proofing review and cleanup. */
.rrpc-gallery-client-notice{margin:0 0 12px;padding:10px 12px;border:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);border-radius:8px;font-size:13px;}
.rrpc-gallery-client-notice.is-success{border-color:#7db98b;background:rgba(65,145,82,.08);}
.rrpc-gallery-client-notice.is-error{border-color:#d59a9a;background:rgba(190,60,60,.08);}
.rrpc-gallery-reviewer-row{grid-template-columns:minmax(180px,1.25fr) minmax(150px,.8fr) minmax(180px,1fr) minmax(250px,auto);}
.rrpc-gallery-reviewer-open{color:inherit;text-decoration:none;min-width:0;}
.rrpc-gallery-reviewer-open:hover strong,.rrpc-gallery-reviewer-open:focus strong{text-decoration:underline;}
.rrpc-gallery-reviewer-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;}
.rrpc-gallery-reviewer-delete-form{display:inline-flex;margin:0;}
.rrpc-gallery-reviewer-delete{color:#9d2424!important;}
.rrpc-gallery-review-detail{margin-top:14px;padding:14px;border:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);border-radius:10px;background:var(--bb-rl-background-secondary-color,#f8f9fb);}
.rrpc-gallery-review-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;}
.rrpc-gallery-review-detail-head h4{margin:0 0 4px;font-size:17px;}
.rrpc-gallery-review-detail-head p{margin:0;color:var(--bb-rl-text-secondary-color,#646970);font-size:13px;}
.rrpc-gallery-review-detail-list{display:grid;gap:8px;}
.rrpc-gallery-review-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:start;padding:9px;border:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);border-radius:8px;background:var(--bb-rl-background-color,#fff);}
.rrpc-gallery-review-thumb{width:92px;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--bb-rl-background-tertiary-color,#eceef1);}
.rrpc-gallery-review-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.rrpc-gallery-review-item-body{min-width:0;}
.rrpc-gallery-review-item-body code{display:block;overflow-wrap:anywhere;font-size:12px;}
.rrpc-gallery-review-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px;}
.rrpc-gallery-review-favourite{color:var(--bb-rl-text-color,#242425);font-weight:600;}
.rrpc-gallery-review-comment{margin-top:8px;padding-top:8px;border-top:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);}
.rrpc-gallery-review-comment strong{font-size:12px;}
.rrpc-gallery-review-comment p{margin:3px 0 0;white-space:normal;overflow-wrap:anywhere;}
.rrpc-gallery-review-empty{margin:0;}
.rrpc-gallery-lightroom-helper{display:grid;gap:5px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);border-radius:8px;background:var(--bb-rl-background-color,#fff);}
.rrpc-gallery-lightroom-helper span{color:var(--bb-rl-text-secondary-color,#646970);font-size:12px;}
.rrpc-gallery-lightroom-helper textarea{width:100%;min-height:64px;resize:vertical;font-family:monospace;font-size:12px;}
@media(max-width:760px){.rrpc-gallery-reviewer-row{grid-template-columns:1fr;}.rrpc-gallery-reviewer-actions{justify-content:flex-start;}.rrpc-gallery-review-detail-head{flex-direction:column;}.rrpc-gallery-review-item{grid-template-columns:70px minmax(0,1fr);}.rrpc-gallery-review-thumb{width:70px;}}

/* 0.2.46 owner proofing work queue, dismiss/archive workflow and review-to-viewer links. */
.rrpc-gallery-reviewer-group-title{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:14px;}
.rrpc-gallery-reviewer-group-title span{color:var(--bb-rl-text-secondary-color,#646970);font-weight:500;}
.rrpc-gallery-reviewer-dismiss-form{display:inline-flex;margin:0;}
.rrpc-gallery-reviewer-row.is-dismissed{opacity:.92;background:var(--bb-rl-background-secondary-color,#f8f9fb);}
.rrpc-gallery-dismissed-reviewers{margin-top:12px;border-top:1px solid var(--bb-rl-border-secondary-color,#e2e5ea);padding-top:10px;}
.rrpc-gallery-dismissed-reviewers>summary{cursor:pointer;font-weight:600;font-size:13px;list-style:auto;}
.rrpc-gallery-dismissed-reviewers>.rrpc-gallery-reviewer-list{margin-top:9px;}
.rrpc-gallery-reviewer-more{position:relative;display:inline-block;}
.rrpc-gallery-reviewer-more>summary{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--bb-rl-border-secondary-color,#dfe2e6);border-radius:6px;cursor:pointer;list-style:none;font-size:20px;line-height:1;color:var(--bb-rl-text-color,#242425);background:var(--bb-rl-background-color,#fff);}
.rrpc-gallery-reviewer-more>summary::-webkit-details-marker{display:none;}
.rrpc-gallery-reviewer-more[open]>summary{border-color:var(--bb-rl-primary-color,#4d43ff);}
.rrpc-gallery-reviewer-more-menu{position:absolute;z-index:20;right:0;top:calc(100% + 5px);min-width:190px;padding:7px;border:1px solid var(--bb-rl-border-secondary-color,#dfe2e6);border-radius:8px;background:var(--bb-rl-background-color,#fff);box-shadow:0 8px 24px rgba(0,0,0,.12);}
.rrpc-gallery-reviewer-more-menu .rrpc-gallery-reviewer-delete-form{display:block;}
.rrpc-gallery-reviewer-more-menu .rrpc-gallery-reviewer-delete{width:100%;justify-content:flex-start;white-space:nowrap;}
.rrpc-gallery-review-thumb.rrpc-gallery-review-open-image{padding:0;border:0;cursor:zoom-in;appearance:none;-webkit-appearance:none;}
.rrpc-gallery-review-thumb.rrpc-gallery-review-open-image:focus-visible{outline:2px solid var(--bb-rl-primary-color,#4d43ff);outline-offset:2px;}
.rrpc-gallery-review-filename{display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:zoom-in;appearance:none;-webkit-appearance:none;}
.rrpc-gallery-review-filename code{display:block;overflow-wrap:anywhere;font-size:12px;}
.rrpc-gallery-review-filename:hover code,.rrpc-gallery-review-filename:focus-visible code{text-decoration:underline;}

/* 0.2.50 Creator Pro password-protected ordinary Collections. */
.rrpc-private-collection-lock{max-width:560px;margin:18px auto;padding:18px;border:1px solid var(--bb-rl-border-secondary-color,#dfe2e6);border-radius:10px;background:var(--bb-rl-background-color,#fff);}
.rrpc-private-collection-lock h3{margin:0 0 7px;font-size:18px;}
.rrpc-private-collection-lock p{margin:0 0 12px;color:var(--bb-rl-text-secondary-color,#646970);}
.rrpc-private-collection-lock form{display:grid;gap:9px;}
.rrpc-private-collection-lock input[type="password"]{width:100%;max-width:360px;}
.rrpc-private-collection-lock .rrpc-private-collection-error{color:#9d2424;}
.rrpc-private-portfolio-settings{margin:8px 0 14px;padding:12px;border:1px solid var(--bb-rl-border-secondary-color,#dfe2e6);border-radius:8px;background:var(--bb-rl-background-secondary-color,#f8f9fb);}
.rrpc-private-portfolio-settings .description{margin-top:0;}
.rrpc-protected-composer-note{margin:10px 0 0;padding:9px 10px;border:1px solid var(--bb-rl-border-secondary-color,#dfe2e6);border-radius:7px;background:var(--bb-rl-background-secondary-color,#f8f9fb);font-size:13px;font-weight:600;}
.rrpc-upload-panel .rrpc-show-in-grid-checkbox:disabled{cursor:not-allowed;}

/* 0.2.51 — ordinary Password Collection moderation reuses Gallery controls. */
.rrpc-private-moderation-grid .rrpc-card {
	background: var(--bb-rl-background-color, #fff);
	border: 1px solid var(--bb-rl-border-color, #dcdcde);
}
.rrpc-private-moderation-grid .rrpc-card.is-moderated .rrpc-open-media { opacity: .82; }
.rrpc-private-moderation-grid .rrpc-gallery-moderation-controls {
	background: var(--bb-rl-background-color, #fff);
}
.rrpc-private-moderation-grid .rrpc-gallery-moderation-state {
	width: 100%;
	margin: 0;
	font-size: 12px;
}



/* Creator early-release reservation status (0.2.57). */
.rrpc-creator-early-release-status{margin:14px 0 4px}
.rrpc-creator-early-release-card{border:1px solid var(--bb-rl-border-secondary-color,#d9dde3);border-radius:12px;background:var(--bb-rl-background-secondary-color,#f6f7f8);padding:14px 16px;color:var(--bb-rl-text-color,#1f2328)}
.rrpc-creator-early-release-card+.rrpc-creator-early-release-card{margin-top:10px}
.rrpc-creator-early-release-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rrpc-creator-state-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1.2;font-weight:600;background:var(--bb-rl-background-color,#fff);border:1px solid var(--bb-rl-border-secondary-color,#d9dde3)}
.rrpc-creator-state-badge.is-active{font-weight:700}
.rrpc-creator-intro,.rrpc-creator-benefits{margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--bb-rl-text-secondary-color,#5f6670)}
.rrpc-creator-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.rrpc-creator-step{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--bb-rl-border-secondary-color,#d9dde3);border-radius:10px;background:var(--bb-rl-background-color,#fff);padding:10px}
.rrpc-creator-step-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;border:1px solid currentColor;font-size:12px;font-weight:700}
.rrpc-creator-step div{min-width:0}.rrpc-creator-step strong,.rrpc-creator-step span{display:block}.rrpc-creator-step div>span{margin-top:3px;font-size:11px;line-height:1.4;color:var(--bb-rl-text-secondary-color,#5f6670)}
.rrpc-creator-step.is-done{border-color:#77a983;background:#f4faf5}
.rrpc-creator-step.is-done .rrpc-creator-step-mark{flex-basis:30px;width:30px;height:30px;border-color:#237a3f;background:#237a3f;color:#fff;font-size:16px;font-weight:800}
.rrpc-creator-step .rrpc-creator-step-state{display:inline-block;margin:4px 0 0;padding:2px 7px;border-radius:999px;background:#e4f3e8;color:#176b3a;font-size:10px;line-height:1.4;font-weight:800;letter-spacing:.01em}
.rrpc-creator-early-release-card.is-expired{opacity:.82}
@media (max-width:700px){.rrpc-creator-steps{grid-template-columns:1fr}}

.rrpc-card-sensitive{display:flex;min-height:180px;aspect-ratio:4/5;align-items:center;justify-content:center;background:var(--bb-content-background-color,var(--bb-body-background-color,#f3f4f6));color:var(--bb-body-text-color,inherit)}
.rrpc-sensitive-placeholder{padding:16px;text-align:center;overflow-wrap:anywhere;font-size:clamp(11px,1.5vw,14px);line-height:1.45}.rrpc-sensitive-placeholder strong{display:block;font-size:1.1em}.rrpc-sensitive-placeholder a{display:inline-block;margin:4px;text-decoration:underline}.rrpc-sensitive-placeholder p{margin:8px 0}

/* 0.2.65 — restore wide-screen manager row identification.
 * The collection name can be a long way from Edit/Delete on large displays, so
 * hover/focus identifies the entire row and the active action leaves that row
 * visibly selected. This restores the earlier blue-outline/tick usability rule. */
.rrpc-manager-row {
	position: relative;
	padding: 7px 8px;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.rrpc-manager-row:hover,
.rrpc-manager-row:focus-within {
	background: color-mix(in srgb, var(--bb-rl-primary-color, #3e34ff) 5%, transparent);
	border-color: color-mix(in srgb, var(--bb-rl-primary-color, #3e34ff) 22%, transparent);
}
.rrpc-manager-row.is-selected {
	background: color-mix(in srgb, var(--bb-rl-primary-color, #3e34ff) 9%, #fff);
	border-color: var(--bb-rl-primary-color, #3e34ff);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bb-rl-primary-color, #3e34ff) 18%, transparent);
}
.rrpc-manager-row.is-selected::before {
	content: "✓";
	display: grid;
	place-items: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bb-rl-primary-color, #3e34ff);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}



/* 0.2.70: clearer upload states, Launch Model Comp Card action and restrained guest footer. */
.rrpc-gallery-upload-key{display:flex;flex-wrap:wrap;gap:7px 14px;margin:6px 0 12px;font-size:12px;color:var(--bb-rl-text-tertiary-color,#667085)}.rrpc-gallery-upload-key .is-uploaded{color:#175cd3}.rrpc-gallery-upload-key .is-ready{color:#067647}.rrpc-gallery-upload-key .is-not-uploaded{color:#b42318}.rrpc-gallery-parrssport-footer{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:26px 0 8px;padding:16px;border-top:1px solid var(--bb-rl-border-secondary-color,#e5e7eb);font-size:13px}.rrpc-gallery-parrssport-footer a{text-decoration:none;font-weight:600}.rrpc-gallery-create-comp-card{white-space:nowrap}@media(max-width:600px){.rrpc-gallery-parrssport-footer{align-items:flex-start;flex-direction:column}}
\n\n/* Comp Card arrangement preview (0.2.71). */\nbody.rrpc-comp-card-arranger-open{overflow:hidden}.rrpc-comp-card-arranger{position:fixed;inset:0;z-index:100100;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:22px}.rrpc-comp-card-arranger-panel{width:min(1180px,96vw);max-height:94vh;overflow:auto;background:var(--bb-rl-background-color,#fff);color:var(--bb-rl-text-color,#1d2327);border-radius:14px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.35)}.rrpc-comp-card-arranger-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:12px}.rrpc-comp-card-arranger-head h3{margin:0 0 5px;font-size:22px}.rrpc-comp-card-arranger-head p{margin:0;color:var(--bb-rl-text-secondary-color,#646970)}.rrpc-comp-card-close{border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:inherit}.rrpc-comp-card-layout{display:grid;grid-template-columns:1050fr 720fr 720fr;grid-template-rows:660fr 660fr 270fr;gap:10px;aspect-ratio:2550/1650;background:#f6f2e8;padding:0;border-radius:10px;overflow:hidden;user-select:none}.rrpc-comp-card-slot{position:relative;overflow:hidden;background:#e5e7eb;touch-action:none}.rrpc-comp-card-slot-0{grid-column:1;grid-row:1/3}.rrpc-comp-card-slot-1{grid-column:2;grid-row:1}.rrpc-comp-card-slot-2{grid-column:3;grid-row:1}.rrpc-comp-card-slot-3{grid-column:2;grid-row:2}.rrpc-comp-card-slot-4{grid-column:3;grid-row:2}.rrpc-comp-card-slot img{width:100%;height:100%;display:block;object-fit:cover;cursor:grab}.rrpc-comp-card-slot img:active{cursor:grabbing}.rrpc-comp-card-slot.is-drop-target{outline:4px solid #2271b1;outline-offset:-4px}.rrpc-comp-card-slot-label{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:5px;background:rgba(0,0,0,.66);color:#fff;font-size:11px}.rrpc-comp-card-move{position:absolute;right:8px;top:8px;border:0;border-radius:6px;padding:5px 8px;background:rgba(255,255,255,.92);color:#1d2327;font-weight:600;cursor:grab}.rrpc-comp-card-footer-preview{grid-column:1/4;grid-row:3;background:#0c365f;color:#fff;padding:18px 30px;display:flex;align-items:center;gap:22px}.rrpc-comp-card-footer-preview strong{font-size:18px}.rrpc-comp-card-footer-preview span{opacity:.84}.rrpc-comp-card-arranger-help{margin:10px 0 0;color:var(--bb-rl-text-secondary-color,#646970);font-size:13px}.rrpc-comp-card-arranger-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.rrpc-gallery-upload-recommendation{margin:4px 0 8px;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px}@media(max-width:760px){.rrpc-comp-card-arranger{padding:8px}.rrpc-comp-card-arranger-panel{padding:12px}.rrpc-comp-card-arranger-head{gap:8px}.rrpc-comp-card-arranger-head h3{font-size:18px}.rrpc-comp-card-layout{gap:4px}.rrpc-comp-card-slot-label{display:none}.rrpc-comp-card-move{font-size:10px;padding:3px 5px;right:4px;top:4px}.rrpc-comp-card-footer-preview{padding:8px 12px;gap:8px}.rrpc-comp-card-footer-preview strong{font-size:12px}.rrpc-comp-card-footer-preview span{font-size:10px}}\n

/* 0.2.72: UK-first Zed Card arranger, direct pan/zoom and print-style front/back preview. */
.rrpc-comp-card-layout{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;gap:14px!important;aspect-ratio:2800/1980!important;background:#ddd7ca!important;padding:14px!important;border-radius:12px!important;overflow:hidden!important}
.rrpc-zed-page{position:relative;min-width:0;min-height:0;background:#f8f4ea;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.rrpc-comp-card-slot{position:absolute!important;background:#e5e7eb;overflow:hidden;touch-action:none;border-radius:7px}
.rrpc-comp-card-slot-main{left:4.35%;top:3.03%;width:91.3%;height:77.78%}
.rrpc-comp-card-slot-support{width:44.57%;height:37.37%}
.rrpc-comp-card-slot-support-1{left:4.35%;top:3.03%}.rrpc-comp-card-slot-support-2{right:4.35%;top:3.03%}.rrpc-comp-card-slot-support-3{left:4.35%;top:41.92%}.rrpc-comp-card-slot-support-4{right:4.35%;top:41.92%}
.rrpc-comp-card-slot img{position:absolute;display:block;max-width:none;cursor:grab;user-select:none;-webkit-user-drag:none}.rrpc-comp-card-slot img:active{cursor:grabbing}
.rrpc-comp-card-slot.is-active{outline:3px solid #2271b1;outline-offset:-3px}.rrpc-comp-card-slot.is-drop-target{outline:4px solid #2271b1;outline-offset:-4px}
.rrpc-comp-card-slot-label{display:none!important}
.rrpc-comp-card-move{right:7px;top:7px;width:32px;height:32px;padding:0!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:9px!important;background:rgba(15,23,42,.72)!important;color:#fff!important;font-size:20px!important;line-height:1!important;display:flex;align-items:center;justify-content:center;cursor:grab;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.rrpc-zed-front-copy{position:absolute;left:5%;right:5%;bottom:3.3%;display:flex;flex-direction:column;gap:4px;color:var(--rrpc-zed-primary,#1f2937)}.rrpc-zed-front-copy strong{font-size:clamp(16px,2vw,30px)}.rrpc-zed-front-copy span{font-size:clamp(10px,1vw,16px);font-weight:700;color:var(--rrpc-zed-accent,#806316);letter-spacing:.03em}
.rrpc-comp-card-footer-preview{position:absolute!important;left:4.35%;right:4.35%;bottom:3.03%;height:16.16%;padding:16px 20px!important;border-radius:8px;background:var(--rrpc-zed-panel,#0c365f)!important;color:var(--rrpc-zed-panel-text,#fff)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important}.rrpc-comp-card-footer-preview strong{font-size:clamp(12px,1.35vw,20px)!important}.rrpc-comp-card-footer-preview span{font-size:clamp(10px,1vw,15px);opacity:.82}
.rrpc-zed-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px;padding:10px 12px;border:1px solid var(--bb-rl-border-color,#d0d5dd);border-radius:10px;background:var(--bb-rl-background-secondary-color,#f7f8fa)}.rrpc-zed-controls>span{font-weight:650;margin-right:3px}.rrpc-zed-zoom{width:min(260px,36vw);accent-color:var(--bb-rl-primary-color,#4946fe)}.rrpc-zed-zoom-step,.rrpc-zed-reset,.rrpc-zed-button{font:inherit;border-radius:9px;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .05s ease}.rrpc-zed-zoom-step{width:34px;height:34px;border:1px solid var(--bb-rl-border-color,#cfd4dc);background:#fff;color:#172033;font-size:20px;line-height:1}.rrpc-zed-reset{padding:7px 11px;border:1px solid var(--bb-rl-border-color,#cfd4dc);background:#fff;color:#172033}.rrpc-zed-button{min-height:40px;padding:9px 16px;border:1px solid transparent;font-weight:650}.rrpc-zed-button-primary{background:var(--bb-rl-primary-color,#4946fe);color:#fff;border-color:var(--bb-rl-primary-color,#4946fe)}.rrpc-zed-button-secondary{background:#fff;color:#172033;border-color:var(--bb-rl-border-color,#cfd4dc)}.rrpc-zed-button:active,.rrpc-zed-zoom-step:active,.rrpc-zed-reset:active{transform:translateY(1px)}
@media(max-width:760px){.rrpc-comp-card-layout{gap:7px!important;padding:7px!important}.rrpc-comp-card-move{width:26px;height:26px;font-size:16px;right:4px;top:4px}.rrpc-zed-controls{gap:6px}.rrpc-zed-zoom{width:42vw}.rrpc-zed-page{border-radius:5px}}


/* 0.2.73: keep both Zed Card pages fully stretched and preview real profile details/QR. */
.rrpc-comp-card-layout{align-items:stretch!important}
.rrpc-zed-page{height:100%!important;align-self:stretch!important}
.rrpc-zed-front-copy small{font-size:clamp(8px,.8vw,12px);font-weight:500;color:var(--rrpc-zed-secondary,#5f6b7a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rrpc-comp-card-footer-preview{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
.rrpc-zed-stats-preview{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;min-width:0;flex:1;font-size:clamp(8px,.8vw,13px);line-height:1.25}
.rrpc-zed-stats-preview span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rrpc-zed-stats-preview b{font-weight:700}
.rrpc-zed-qr-wrap{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--rrpc-zed-panel-muted,#d7c48a);font-size:clamp(7px,.7vw,11px)}
.rrpc-zed-qr-wrap img{display:block!important;position:static!important;width:clamp(46px,5.5vw,82px)!important;height:clamp(46px,5.5vw,82px)!important;max-width:none!important;background:#fff;padding:3px;border-radius:5px}
@media(max-width:760px){.rrpc-zed-stats-preview{gap:2px 6px;font-size:7px}.rrpc-zed-qr-wrap img{width:42px!important;height:42px!important}.rrpc-zed-qr-wrap small{font-size:7px}}


/* 0.2.74: true two-page Zed Card arranger preview matching final front/back geometry. */
.rrpc-comp-card-layout{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  justify-content:center!important;
  gap:18px!important;
  aspect-ratio:auto!important;
  background:transparent!important;
  padding:2px!important;
  border-radius:0!important;
  overflow:visible!important;
}
.rrpc-zed-sheet{min-width:0;display:flex;flex-direction:column;gap:7px;align-items:stretch}
.rrpc-zed-page-label{font-size:12px;font-weight:700;color:var(--bb-rl-text-secondary-color,#667085);text-transform:uppercase;letter-spacing:.06em;padding-left:2px}
.rrpc-zed-page{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1380/1980!important;
  align-self:auto!important;
  position:relative!important;
  background:var(--rrpc-zed-bg,#fff)!important;
  border:1px solid var(--rrpc-zed-border,#d9dee7);
  border-radius:10px!important;
  overflow:hidden!important;
  box-shadow:0 4px 18px rgba(0,0,0,.10)!important;
}
.rrpc-zed-front-copy{left:5.07%!important;right:5.07%!important;top:84.1%!important;bottom:auto!important;gap:0!important}
.rrpc-zed-front-copy strong{font-size:clamp(18px,2.15vw,34px)!important;line-height:1.05}
.rrpc-zed-front-copy span{margin-top:2.2%;font-size:clamp(9px,1.05vw,17px)!important;line-height:1.1}
.rrpc-zed-front-copy small{margin-top:6.2%;font-size:clamp(8px,.85vw,13px)!important;line-height:1.15}
.rrpc-comp-card-footer-preview{
  left:4.35%!important;right:4.35%!important;bottom:3.03%!important;height:15.91%!important;
  padding:2.5% 2.9%!important;border-radius:8px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:2.4%!important;
}
.rrpc-zed-stats-preview{
  display:grid!important;grid-template-columns:1fr 1fr!important;grid-auto-rows:minmax(0,auto)!important;
  align-content:center!important;column-gap:5%!important;row-gap:4%!important;
  min-width:0!important;font-size:clamp(8px,.78vw,12px)!important;line-height:1.15!important;
}
.rrpc-zed-stats-preview span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.rrpc-zed-qr-wrap{gap:2px!important;font-size:clamp(7px,.65vw,10px)!important}
.rrpc-zed-qr-wrap img{width:clamp(54px,5.5vw,88px)!important;height:clamp(54px,5.5vw,88px)!important;padding:4px!important}
.rrpc-comp-card-arranger-help{margin-top:12px}
@media(max-width:900px){
  .rrpc-comp-card-layout{grid-template-columns:1fr!important;max-width:620px;margin:0 auto;gap:16px!important}
  .rrpc-zed-front-copy strong{font-size:clamp(20px,5vw,34px)!important}
  .rrpc-zed-front-copy span{font-size:clamp(10px,2.5vw,17px)!important}
  .rrpc-zed-front-copy small{font-size:clamp(8px,2vw,13px)!important}
  .rrpc-zed-stats-preview{font-size:clamp(8px,1.9vw,12px)!important}
}
/* 0.2.74 precision: size preview typography/QR from each card page, not the browser viewport. */
.rrpc-comp-card-layout{max-width:1120px;margin:0 auto}
.rrpc-zed-page{container-type:inline-size}
.rrpc-zed-front-copy strong{font-size:4.78cqw!important}
.rrpc-zed-front-copy span{font-size:2.46cqw!important}
.rrpc-zed-front-copy small{font-size:2.03cqw!important}
.rrpc-zed-stats-preview{font-size:1.81cqw!important}
.rrpc-zed-qr-wrap{font-size:1.45cqw!important}
.rrpc-zed-qr-wrap img{width:13.77cqw!important;height:13.77cqw!important;max-width:92px!important;max-height:92px!important;min-width:52px!important;min-height:52px!important}
@media(max-width:900px){.rrpc-zed-front-copy strong{font-size:4.78cqw!important}.rrpc-zed-front-copy span{font-size:2.46cqw!important}.rrpc-zed-front-copy small{font-size:2.03cqw!important}.rrpc-zed-stats-preview{font-size:1.81cqw!important}}

/* 0.2.75: allow Zed Card zoom-out below cover; exposed frame area uses the card cream. */
.rrpc-comp-card-slot{background:var(--rrpc-zed-bg,#fff)!important}


/* 0.2.76: mobile gallery/Zed Card usability corrective. */
.rrpc-manager-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto;min-width:0}
.rrpc-manager-name,.rrpc-manager-meta{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
  .rrpc-manager{padding:10px;gap:12px;overflow:hidden}
  .rrpc-manager-section{padding:10px;min-width:0;overflow:hidden}
  .rrpc-manager-tree ul,.rrpc-tree ul{margin-left:8px;padding-left:8px}
  .rrpc-manager-row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 8px;min-width:0;width:100%}
  .rrpc-manager-name{font-size:15px;line-height:1.25}
  .rrpc-manager-meta{margin:0;font-size:12px;line-height:1.35;white-space:normal}
  .rrpc-manager-actions{width:100%;margin:5px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .rrpc-manager-actions .button{min-width:0;width:100%;margin:0!important;padding-left:8px!important;padding-right:8px!important;text-align:center;white-space:nowrap}
  .rrpc-proof-gallery-header{padding:12px;gap:10px;min-width:0;overflow:hidden}
  .rrpc-proof-gallery-header>div:first-child{min-width:0;width:100%}
  .rrpc-proof-gallery-header h3,.rrpc-proof-gallery-header p{overflow-wrap:anywhere;word-break:normal}
  .rrpc-proof-gallery-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;width:100%;min-width:0}
  .rrpc-proof-gallery-actions>.button,.rrpc-proof-gallery-actions>a.button,.rrpc-proof-gallery-actions>.rrpc-gallery-share{width:100%;min-width:0;margin:0!important;justify-content:center;text-align:center;white-space:normal;line-height:1.25}
  .rrpc-proof-gallery-actions .rrpc-gallery-export-likes{grid-column:1/-1}
  .rrpc-gallery-upload-options{min-width:0}
  .rrpc-gallery-upload-options select{min-width:0!important;max-width:100%!important;width:100%!important}
  .rrpc-gallery-upload-options small,.rrpc-gallery-upload-navigation-help,.rrpc-gallery-upload-recommendation{overflow-wrap:anywhere}
  /* BuddyBoss ReadyLaunch has a fixed mobile navigation bar. Keep selection controls above it. */
  .rrpc-gallery-selection-bar{left:8px;right:8px;bottom:calc(78px + env(safe-area-inset-bottom,0px));transform:none;width:auto;max-width:none;align-items:center;flex-direction:row;gap:8px;padding:8px 9px;border-radius:12px}
  .rrpc-gallery-selection-count{flex:0 0 auto;font-size:12px;white-space:nowrap}
  .rrpc-gallery-selection-actions{flex:1 1 auto;width:auto;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0}
  .rrpc-gallery-selection-actions .button{flex:0 1 auto;min-height:36px;margin:0!important;padding:6px 10px!important;font-size:12px;line-height:1.15;border-radius:9px;white-space:nowrap}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-selection-actions{flex-wrap:nowrap}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-create-comp-card{flex:1 1 auto;min-width:0}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-clear-selection{flex:0 0 auto}
  .rrpc-comp-card-arranger{padding:6px;align-items:stretch}
  .rrpc-comp-card-arranger-panel{width:100%;max-height:calc(100dvh - 12px);padding:10px 10px 0;border-radius:12px}
  .rrpc-comp-card-arranger-actions{position:sticky;bottom:0;z-index:6;margin:10px -10px 0;padding:10px;background:var(--bb-rl-background-color,#fff);border-top:1px solid var(--bb-rl-border-color,#d0d5dd);box-shadow:0 -8px 18px rgba(0,0,0,.08)}
  .rrpc-comp-card-arranger-actions .rrpc-zed-button{flex:1 1 0}
}
@media(max-width:390px){
  .rrpc-manager-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rrpc-proof-gallery-actions{grid-template-columns:1fr 1fr}
  .rrpc-gallery-selection-bar{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .rrpc-gallery-selection-count{font-size:11px}
  .rrpc-gallery-selection-actions .button{font-size:11px;padding:6px 8px!important}
}

@media(max-width:600px){.rrpc-manager-row.is-selected::before{position:absolute;right:8px;top:8px}.rrpc-manager-row.is-selected{padding-right:34px}}

/* 0.2.77: touch-first Zed Card arranger. Mobile uses a dedicated crop editor and tap/select reordering. */
.rrpc-zed-mobile-editor,.rrpc-zed-mobile-help,.rrpc-zed-mobile-preview-title{display:none}
@media(max-width:760px),(pointer:coarse){
  .rrpc-zed-desktop-help{display:none!important}
  .rrpc-zed-mobile-help{display:block!important;margin:0;color:var(--bb-rl-text-secondary-color,#646970)}
  .rrpc-zed-mobile-editor{display:block;background:var(--bb-rl-background-secondary-color,#f7f8fa);border:1px solid var(--bb-rl-border-color,#d0d5dd);border-radius:12px;padding:10px;margin:2px 0 14px}
  .rrpc-zed-mobile-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
  .rrpc-zed-mobile-editor-head strong{display:block;font-size:16px;line-height:1.2}
  .rrpc-zed-mobile-editor-head small{display:block;margin-top:2px;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px}
  .rrpc-zed-mobile-nav{display:flex;gap:6px;flex:0 0 auto}
  .rrpc-zed-mobile-nav button{width:44px;height:44px;border:1px solid var(--bb-rl-border-color,#cfd4dc);border-radius:10px;background:#fff;color:#172033;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}
  .rrpc-zed-mobile-crop-slot{position:relative;overflow:hidden;background:var(--rrpc-zed-bg,#fff);border:1px solid var(--rrpc-zed-border,#d9dee7);border-radius:10px;width:min(78vw,330px);margin:0 auto;touch-action:none;user-select:none}
  .rrpc-zed-mobile-crop-slot.is-front{aspect-ratio:1260/1540}
  .rrpc-zed-mobile-crop-slot.is-back{aspect-ratio:615/740}
  .rrpc-zed-mobile-crop-slot img{position:absolute;display:block;max-width:none;user-select:none;-webkit-user-drag:none;touch-action:none}
  .rrpc-zed-mobile-editor .rrpc-zed-controls{display:grid;grid-template-columns:36px minmax(0,1fr) 36px auto;gap:7px;align-items:center;margin:10px 0 0;padding:9px;background:#fff}
  .rrpc-zed-mobile-editor .rrpc-zed-controls>span{grid-column:1/-1;margin:0;font-size:12px;color:var(--bb-rl-text-secondary-color,#646970)}
  .rrpc-zed-mobile-editor .rrpc-zed-zoom{width:100%;min-width:0}
  .rrpc-zed-mobile-editor .rrpc-zed-reset{grid-column:1/-1;justify-self:start;min-height:40px}
  .rrpc-zed-mobile-crop-help{margin:7px 0 10px;text-align:center;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px;line-height:1.35}
  .rrpc-zed-mobile-position-control{display:grid;grid-template-columns:1fr;gap:5px;font-weight:600;font-size:13px}
  .rrpc-zed-mobile-position-select{width:100%;min-height:44px;border:1px solid var(--bb-rl-border-color,#cfd4dc);border-radius:9px;background:#fff;padding:0 10px;font:inherit;color:inherit}
  .rrpc-zed-mobile-preview-title{display:block!important;margin:8px 0 6px;font-size:15px}
  /* Card preview is read-only/tap-to-edit on touch. It must scroll normally when a finger starts over a photo. */
  .rrpc-comp-card-layout .rrpc-comp-card-slot{touch-action:pan-y!important;cursor:pointer}
  .rrpc-comp-card-layout .rrpc-comp-card-slot img{pointer-events:none!important;touch-action:pan-y!important;cursor:default!important}
  .rrpc-comp-card-layout .rrpc-comp-card-move{display:none!important}
  .rrpc-comp-card-layout .rrpc-comp-card-slot.is-active{outline:3px solid var(--bb-rl-primary-color,#4946fe)!important;outline-offset:-3px}
  .rrpc-comp-card-arranger-help{font-size:12px;line-height:1.35}
}


/* 0.2.78: mobile readability, pinch-to-zoom and Collections/Galleries polish. */
/* Metadata is operational information, not disabled text: keep it clearly legible. */
.rrpc-manager-meta{
  opacity:1;
  color:var(--bb-rl-text-secondary-color,#475467);
  font-size:13px;
  font-weight:650;
  line-height:1.35;
}
.rrpc-manager-section>.description,
.rrpc-manager-galleries-section>.description,
.rrpc-manager .description{
  color:var(--bb-rl-text-secondary-color,#475467);
  line-height:1.5;
}

@media(max-width:760px),(pointer:coarse){
  /* Pinch is deliberately captured only inside the large crop editor. One-finger
   * page scrolling remains native outside this box. */
  .rrpc-zed-mobile-crop-slot,
  .rrpc-zed-mobile-crop-slot img{touch-action:none!important}
  .rrpc-zed-mobile-crop-help,
  .rrpc-zed-mobile-editor .rrpc-zed-controls>span,
  .rrpc-zed-mobile-editor-head small{
    color:#344054!important;
    font-size:14px!important;
    font-weight:650!important;
    line-height:1.4!important;
  }
  .rrpc-zed-mobile-crop-help{margin-top:9px}

  /* Modern compact cards instead of desktop rows squeezed onto a phone. */
  .rrpc-manager{padding:10px!important;gap:14px!important;overflow:hidden!important}
  .rrpc-manager-heading{font-size:clamp(22px,6vw,28px);line-height:1.15;margin:4px 0 14px}
  .rrpc-manager-section{
    padding:13px!important;
    border-radius:16px!important;
    border:1px solid #d8dee8!important;
    background:#fff!important;
    box-shadow:0 3px 14px rgba(15,23,42,.045);
    min-width:0!important;
    overflow:hidden!important;
  }
  .rrpc-manager-section-title{align-items:flex-start!important}
  .rrpc-manager-section-title h4{font-size:20px;line-height:1.2}
  .rrpc-gallery-quota{font-size:13px;font-weight:750;color:#344054;background:#eef2f6}
  .rrpc-manager-tree .rrpc-manager-row,
  .rrpc-tree .rrpc-manager-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    padding:12px!important;
    margin:0 0 8px!important;
    background:#f8fafc!important;
    border:1px solid #e3e8ef!important;
    border-radius:13px!important;
    box-shadow:none!important;
  }
  .rrpc-manager-tree .rrpc-manager-row:hover,
  .rrpc-manager-tree .rrpc-manager-row:focus-within,
  .rrpc-tree .rrpc-manager-row:hover,
  .rrpc-tree .rrpc-manager-row:focus-within{background:#f5f7ff!important;border-color:#cdd3ff!important}
  .rrpc-manager-name{
    display:block!important;
    color:#1d2939!important;
    font-size:17px!important;
    font-weight:750!important;
    line-height:1.25!important;
  }
  .rrpc-manager-meta{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:4px 8px!important;
    border-radius:999px!important;
    background:#eef2f6!important;
    color:#344054!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.35!important;
    white-space:normal!important;
  }
  .rrpc-manager-actions{
    width:100%!important;
    margin:2px 0 0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .rrpc-manager-actions .button,
  .rrpc-manager-actions a.button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:7px 8px!important;
    border:1px solid #d0d5dd!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#175cd3!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:normal!important;
    box-shadow:none!important;
  }
  .rrpc-manager-actions .button:hover,
  .rrpc-manager-actions a.button:hover{background:#f5f8ff!important;border-color:#b2c5f5!important}
  .rrpc-manager-tree ul,.rrpc-tree ul{margin-left:7px!important;padding-left:8px!important;border-left-color:#d8dee8!important}
  .rrpc-manager-galleries-section>.description,
  .rrpc-manager-section>.description,
  .rrpc-manager .description{
    color:#344054!important;
    font-size:14px!important;
    font-weight:550!important;
    line-height:1.5!important;
  }
}
@media(max-width:390px){
  .rrpc-manager-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px),(pointer:coarse){
  .rrpc-manager-actions .rrpc-view-gallery,
  .rrpc-manager-actions a.button:not(.rrpc-edit-collection):not(.rrpc-delete-collection){background:#eff4ff!important;border-color:#b2ccff!important;color:#1849a9!important}
  .rrpc-manager-actions .rrpc-delete-collection{background:#fff7f7!important;border-color:#f3c3c3!important;color:#b42318!important}
}

/* 0.2.79: finish mobile gallery action/selection polish. */
@media(max-width:760px),(pointer:coarse){
  /* Gallery owner actions: make every action a real touch target instead of mixing
   * native buttons, naked links and the share trigger. */
  .rrpc-proof-gallery-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    margin-top:4px!important;
  }
  .rrpc-proof-gallery-actions>.button,
  .rrpc-proof-gallery-actions>a.button,
  .rrpc-proof-gallery-actions>.rrpc-gallery-share{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    margin:0!important;
    padding:10px 12px!important;
    border:1px solid #d0d5dd!important;
    border-radius:13px!important;
    background:#f8fafc!important;
    color:#175cd3!important;
    font-size:16px!important;
    font-weight:750!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:normal!important;
    box-shadow:0 1px 2px rgba(16,24,40,.05)!important;
  }
  .rrpc-proof-gallery-actions>.button:active,
  .rrpc-proof-gallery-actions>a.button:active,
  .rrpc-proof-gallery-actions>.rrpc-gallery-share:active{
    transform:translateY(1px);
    background:#f1f5f9!important;
  }
  .rrpc-proof-gallery-actions .rrpc-gallery-comp-card-toggle{
    background:#3157f5!important;
    border-color:#3157f5!important;
    color:#fff!important;
    box-shadow:0 3px 8px rgba(49,87,245,.22)!important;
  }
  .rrpc-proof-gallery-actions .rrpc-gallery-export-likes,
  .rrpc-proof-gallery-actions .rrpc-gallery-share{
    grid-column:1/-1!important;
  }
  .rrpc-proof-gallery-actions .rrpc-gallery-share{
    background:#fff!important;
    color:#1d2939!important;
  }
  .rrpc-proof-gallery-actions .rrpc-gallery-share .rrpse-share-svg{
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
  }

  /* Sticky selection controls: two deliberate rows with a strong selected-count
   * badge and a clearly primary Create Zed Card action. */
  .rrpc-gallery-selection-bar{
    left:10px!important;
    right:10px!important;
    bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    max-width:none!important;
    padding:10px!important;
    border:1px solid #d0d5dd!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 10px 30px rgba(16,24,40,.18)!important;
    backdrop-filter:blur(10px);
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "count clear"
      "create create"!important;
    align-items:center!important;
    gap:8px!important;
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-selection-count{
    grid-area:count!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    margin:0!important;
    padding:8px 12px!important;
    border-radius:11px!important;
    background:#172b4d!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.2!important;
    letter-spacing:.01em;
    white-space:normal!important;
    text-align:center!important;
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-selection-actions{
    display:contents!important;
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-clear-selection{
    grid-area:clear!important;
    min-width:88px!important;
    min-height:44px!important;
    margin:0!important;
    padding:8px 13px!important;
    border:1px solid #d0d5dd!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#344054!important;
    font-size:15px!important;
    font-weight:750!important;
    line-height:1.2!important;
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-create-comp-card{
    grid-area:create!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:50px!important;
    margin:0!important;
    padding:10px 14px!important;
    border:1px solid #3157f5!important;
    border-radius:12px!important;
    background:#3157f5!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:800!important;
    line-height:1.2!important;
    box-shadow:0 3px 9px rgba(49,87,245,.22)!important;
  }
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-create-comp-card:disabled{
    background:#e4e7ec!important;
    border-color:#d0d5dd!important;
    color:#667085!important;
    box-shadow:none!important;
    opacity:1!important;
  }

  /* Remove-photo selection keeps the same modern touch sizing without forcing the
   * two-row Zed Card composition. */
  .rrpc-gallery-selection-bar.is-remove-selection{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    align-items:center!important;
  }
  .rrpc-gallery-selection-bar.is-remove-selection .rrpc-gallery-selection-count{
    grid-column:1/-1!important;
    margin:0!important;
    color:#1d2939!important;
    font-size:15px!important;
    font-weight:800!important;
    text-align:center!important;
  }
  .rrpc-gallery-selection-bar.is-remove-selection .rrpc-gallery-selection-actions{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }
  .rrpc-gallery-selection-bar.is-remove-selection .button{
    min-height:46px!important;
    margin:0!important;
    border-radius:11px!important;
    font-size:15px!important;
    font-weight:750!important;
  }
}

@media(max-width:390px){
  .rrpc-proof-gallery-actions>.button,
  .rrpc-proof-gallery-actions>a.button,
  .rrpc-proof-gallery-actions>.rrpc-gallery-share{font-size:15px!important;padding:9px 10px!important}
  .rrpc-gallery-selection-bar{left:8px!important;right:8px!important;bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-selection-count{font-size:14px!important}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-clear-selection{font-size:14px!important;min-width:78px!important}
  .rrpc-gallery-selection-bar.is-comp-card-selection .rrpc-gallery-create-comp-card{font-size:15px!important}
}

/* 0.2.82: constrained professional Zed Card background/text themes. */
.rrpc-zed-appearance-picker{display:grid;grid-template-columns:minmax(210px,.75fr) minmax(0,1.6fr);gap:14px;align-items:center;margin:0 0 12px;padding:13px 15px;border:1px solid var(--bb-rl-border-secondary-color,#d8dce3);border-radius:12px;background:var(--bb-rl-background-secondary-color,#f8f9fb)}
.rrpc-zed-appearance-copy strong,.rrpc-zed-appearance-copy small{display:block}.rrpc-zed-appearance-copy small{margin-top:3px;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px;line-height:1.35}.rrpc-zed-appearance-controls{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.75fr);gap:12px}.rrpc-zed-appearance-controls>div>span{display:block;margin-bottom:5px;font-size:12px;font-weight:700;color:var(--bb-rl-text-secondary-color,#646970)}
.rrpc-zed-theme-buttons,.rrpc-zed-text-buttons{display:flex;flex-wrap:wrap;gap:7px}.rrpc-zed-theme-buttons button,.rrpc-zed-text-buttons button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid var(--bb-rl-border-secondary-color,#cfd4dc);border-radius:999px;background:var(--bb-rl-background-color,#fff);color:var(--bb-rl-text-color,#1d2939);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.rrpc-zed-theme-buttons button.is-active,.rrpc-zed-text-buttons button.is-active{border-color:var(--bb-rl-primary-color,#4946fe);box-shadow:0 0 0 2px rgba(73,70,254,.18)}.rrpc-zed-theme-buttons i,.rrpc-zed-text-buttons i{display:block;width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:var(--swatch,#fff);border:1px solid rgba(20,30,45,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
@media(max-width:760px){.rrpc-zed-appearance-picker{grid-template-columns:1fr;padding:12px}.rrpc-zed-appearance-controls{grid-template-columns:1fr}.rrpc-zed-theme-buttons button,.rrpc-zed-text-buttons button{min-height:44px;font-size:14px}}

/* 0.2.80: one/two-system Zed Card measurement and size selector. */
.rrpc-zed-system-picker{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:11px 13px;border:1px solid var(--bb-rl-border-secondary-color,#d8dce3);border-radius:10px;background:var(--bb-rl-background-secondary-color,#f8f9fb)}.rrpc-zed-system-picker>div:first-child{min-width:0}.rrpc-zed-system-picker strong,.rrpc-zed-system-picker small{display:block}.rrpc-zed-system-picker small{margin-top:2px;color:var(--bb-rl-text-secondary-color,#646970);font-size:12px}.rrpc-zed-system-buttons{display:flex;gap:7px;flex:0 0 auto}.rrpc-zed-system-buttons button{min-width:58px;min-height:38px;padding:7px 12px;border:1px solid var(--bb-rl-border-secondary-color,#cfd4dc);border-radius:999px;background:var(--bb-rl-background-color,#fff);color:var(--bb-rl-text-color,#1d2939);font:inherit;font-weight:700;cursor:pointer}.rrpc-zed-system-buttons button.is-active{border-color:var(--bb-rl-primary-color,#4946fe);background:var(--bb-rl-primary-color,#4946fe);color:#fff}.rrpc-zed-system-buttons button:disabled:not(.is-active){opacity:.38;cursor:default}
@media(max-width:760px){.rrpc-zed-system-picker{align-items:flex-start;flex-direction:column;gap:8px}.rrpc-zed-system-buttons{width:100%}.rrpc-zed-system-buttons button{flex:1 1 0;min-height:44px}}

/* 0.2.81: Zed Card print/PDF format controls. */
.rrpc-zed-print-options{display:grid;grid-template-columns:minmax(220px,1fr) repeat(2,minmax(190px,.65fr));gap:12px;align-items:end;padding:14px 16px;margin:12px 0;border:1px solid #d9dee7;border-radius:14px;background:#f8fafc;color:#182233}
.rrpc-zed-print-options>div{align-self:center}.rrpc-zed-print-options strong{display:block;font-size:15px}.rrpc-zed-print-options small{display:block;margin-top:3px;color:#5f6b7a;line-height:1.35}
.rrpc-zed-print-options label{display:grid;gap:5px;font-weight:700;font-size:13px}.rrpc-zed-print-options select{min-height:42px;border:1px solid #cfd6df;border-radius:10px;background:#fff;color:#182233;padding:7px 34px 7px 10px;font:inherit}
@media(max-width:760px){.rrpc-zed-print-options{grid-template-columns:1fr;padding:14px}.rrpc-zed-print-options label{font-size:14px}.rrpc-zed-print-options select{min-height:48px;font-size:16px}}

/* 0.2.83: keep the Zed Card primary action reachable and preserve a suspended
 * draft while the generated-card actions are open. */
.rrpc-comp-card-arranger.is-suspended{display:none!important}
.rrpc-comp-card-arranger-actions{
  position:sticky;
  bottom:0;
  z-index:8;
  margin:14px -18px -18px;
  padding:12px 18px 14px;
  border-top:1px solid var(--bb-rl-border-color,#d0d5dd);
  background:var(--bb-rl-background-color,#fff);
  box-shadow:0 -8px 18px rgba(0,0,0,.08);
}
@media(max-width:760px),(pointer:coarse){
  .rrpc-comp-card-arranger-actions{
    margin:10px -10px 0;
    padding:10px;
  }
}

