
.rv-studio {
	--rv-studio-paper: var(--rv-paper, #ede6d8);
	--rv-studio-paper-light: var(--rv-paper-light, #f5f0e7);
	--rv-studio-ink: var(--rv-ink, #1f2a36);
	--rv-studio-ink-soft: var(--rv-ink-soft, #4d5964);
	--rv-studio-blue: var(--rv-blue-gray, #4f6b7a);
	--rv-studio-rust: var(--rv-rust, #a05f46);
	--rv-studio-rule: var(--rv-rule, rgba(31,42,54,.22));
	--rv-studio-rule-soft: var(--rv-rule-soft, rgba(31,42,54,.12));
	max-width: 1560px;
	margin: 0 auto;
	padding: 52px 0 76px;
	color: var(--rv-studio-ink);
}

.rv-studio *,
.rv-studio *::before,
.rv-studio *::after {
	box-sizing: border-box;
}

.rv-studio-header,
.rv-studio-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--rv-studio-rule);
}

.rv-studio-header {
	margin-bottom: 2rem;
}

.rv-studio-header h1,
.rv-studio-section-head h2 {
	margin: .15rem 0 .35rem;
	font-weight: 400;
	color: var(--rv-studio-ink);
}

.rv-studio-header h1 {
	font-size: clamp(2.5rem, 4.8vw, 4.6rem);
	line-height: .98;
}

.rv-studio-header p {
	max-width: 46rem;
	margin: 0;
	color: var(--rv-studio-ink-soft);
}

.rv-studio-eyebrow,
.rv-studio-content-meta {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .7rem;
	line-height: 1.35;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--rv-studio-blue);
}

.rv-studio-summary {
	display: flex;
	gap: 1.5rem;
	flex-shrink: 0;
}

.rv-studio-summary span {
	display: grid;
	gap: .15rem;
	text-align: right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rv-studio-ink-soft);
}

.rv-studio-summary strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	font-weight: 400;
	color: var(--rv-studio-ink);
}

.rv-studio-notice {
	margin: 0 0 1.5rem;
	padding: .9rem 1rem;
	border: 1px solid var(--rv-studio-rule);
	background: rgba(245,240,231,.45);
}

.rv-studio-notice.is-success {
	border-left: 3px solid var(--rv-studio-blue);
}

.rv-studio-notice.is-error {
	border-left: 3px solid var(--rv-studio-rust);
}

.rv-studio-editor,
.rv-studio-content {
	margin-top: 2.5rem;
}

.rv-studio-start-new {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--rv-studio-ink);
}

.rv-studio-form {
	margin-top: 1.5rem;
}

.rv-studio-type-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.rv-studio-type {
	display: grid;
	gap: .35rem;
	min-height: 118px;
	padding: 1rem;
	text-align: left;
	border: 1px solid var(--rv-studio-rule-soft);
	background: rgba(245,240,231,.3);
	color: var(--rv-studio-ink);
	cursor: pointer;
}

.rv-studio-type:hover,
.rv-studio-type:focus-visible,
.rv-studio-type.is-active {
	border-color: var(--rv-studio-blue);
	background: rgba(79,107,122,.055);
}

.rv-studio-type strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 400;
}

.rv-studio-type span {
	color: var(--rv-studio-ink-soft);
	font-size: .92rem;
	line-height: 1.45;
}

.rv-studio-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, .72fr);
	gap: clamp(1.5rem, 3vw, 3.5rem);
	align-items: start;
}

.rv-studio-main {
	min-width: 0;
}

.rv-studio-field {
	display: grid;
	gap: .45rem;
	margin-bottom: 1.2rem;
}

.rv-studio-field > span,
.rv-studio-media h3 {
	color: var(--rv-studio-ink);
	font-weight: 400;
}

.rv-studio-field > span {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.rv-studio-field small {
	color: var(--rv-studio-ink-soft);
	text-transform: none;
	letter-spacing: 0;
}

.rv-studio input[type="text"],
.rv-studio textarea {
	width: 100%;
	border: 1px solid var(--rv-studio-rule);
	border-radius: 0;
	background: rgba(245,240,231,.55);
	color: var(--rv-studio-ink);
	box-shadow: none;
}

.rv-studio input[type="text"] {
	min-height: 46px;
	padding: .65rem .75rem;
	font-size: 1rem;
}

.rv-studio textarea {
	padding: .75rem;
	font-size: 1rem;
	line-height: 1.55;
}

.rv-studio input[type="text"]:focus,
.rv-studio textarea:focus {
	outline: 2px solid var(--rv-studio-blue);
	outline-offset: 2px;
	border-color: var(--rv-studio-blue);
}

.rv-studio-rich-editor .wp-editor-wrap {
	border: 1px solid var(--rv-studio-rule);
}

.rv-studio-rich-editor .wp-editor-container,
.rv-studio-rich-editor .mce-toolbar-grp,
.rv-studio-rich-editor .quicktags-toolbar {
	border-color: var(--rv-studio-rule-soft) !important;
}

.rv-studio-rich-editor .mce-toolbar-grp,
.rv-studio-rich-editor .quicktags-toolbar {
	background: var(--rv-studio-paper-light);
}

.rv-studio-media {
	padding: 1.1rem;
	border: 1px solid var(--rv-studio-rule-soft);
	background: rgba(245,240,231,.3);
}

.rv-studio-media h3 {
	margin: .35rem 0 .55rem;
	font-size: 1.35rem;
}

.rv-studio-media p {
	margin-top: 0;
	color: var(--rv-studio-ink-soft);
	font-size: .92rem;
	line-height: 1.5;
}

.rv-studio-image-preview {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	margin: 1rem 0;
	border: 1px solid var(--rv-studio-rule);
	background: rgba(255,255,255,.13);
	color: var(--rv-studio-blue);
	overflow: hidden;
}

.rv-studio-image-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rv-studio-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: .62rem .95rem;
	border: 1px solid var(--rv-studio-ink);
	border-radius: 0;
	background: transparent;
	color: var(--rv-studio-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	cursor: pointer;
}

.rv-studio-button.is-primary {
	background: var(--rv-studio-ink);
	color: var(--rv-studio-paper-light);
}

.rv-studio-button:hover,
.rv-studio-button:focus-visible {
	border-color: var(--rv-studio-rust);
	color: var(--rv-studio-rust);
}

.rv-studio-button.is-primary:hover,
.rv-studio-button.is-primary:focus-visible {
	background: var(--rv-studio-rust);
	color: var(--rv-studio-paper-light);
}

.rv-studio-text-action,
.rv-studio-content-actions a {
	border: 0;
	background: none;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rv-studio-ink-soft);
	text-decoration: none;
	cursor: pointer;
}

.rv-studio-text-action:hover,
.rv-studio-text-action:focus-visible,
.rv-studio-content-actions a:hover,
.rv-studio-content-actions a:focus-visible {
	color: var(--rv-studio-rust);
}

.rv-studio-text-action.is-danger {
	color: #8a463d;
}

.rv-studio-remove-image {
	display: flex;
	gap: .5rem;
	align-items: flex-start;
	margin-top: .75rem;
	color: var(--rv-studio-ink-soft);
	font-size: .82rem;
	line-height: 1.4;
}

.rv-studio-actions {
	display: flex;
	justify-content: flex-end;
	gap: .75rem;
	margin-top: 1.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--rv-studio-rule);
}

.rv-studio-content-list {
	display: grid;
}

.rv-studio-content-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--rv-studio-rule-soft);
}

.rv-studio-content-thumb {
	width: 64px;
	height: 64px;
	border: 1px solid var(--rv-studio-rule-soft);
	background: rgba(245,240,231,.38);
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--rv-studio-blue);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.5rem;
}

.rv-studio-content-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rv-studio-content-copy {
	display: grid;
	gap: .18rem;
	min-width: 0;
}

.rv-studio-content-copy strong {
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--rv-studio-ink);
}

.rv-studio-content-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .9rem;
	flex-wrap: wrap;
}

.rv-studio-inline-form {
	display: contents;
}

.rv-studio-empty,
.rv-studio-access p {
	color: var(--rv-studio-ink-soft);
}

@media (max-width: 989px) {
	.rv-studio {
		padding-top: 36px;
	}

	.rv-studio-grid {
		grid-template-columns: 1fr;
	}

	.rv-studio-type-grid {
		grid-template-columns: 1fr;
	}

	.rv-studio-type {
		min-height: 0;
	}

	.rv-studio-media {
		max-width: 520px;
	}
}

@media (max-width: 767px) {
	.rv-studio-header,
	.rv-studio-section-head {
		display: block;
	}

	.rv-studio-summary {
		margin-top: 1rem;
	}

	.rv-studio-summary span {
		text-align: left;
	}

	.rv-studio-actions {
		justify-content: stretch;
	}

	.rv-studio-actions .rv-studio-button {
		flex: 1;
	}

	.rv-studio-content-row {
		grid-template-columns: 48px 1fr;
	}

	.rv-studio-content-thumb {
		width: 48px;
		height: 48px;
	}

	.rv-studio-content-actions {
		grid-column: 2;
		justify-content: flex-start;
	}
}


/* v0.1.1 media library + drag/drop --------------------------------------- */
.rv-studio-dropzone {
	border: 1px dashed var(--rv-studio-rule);
	background: rgba(245,240,231,.28);
	transition: border-color .15s ease, background-color .15s ease;
	cursor: pointer;
}
.rv-studio-content-dropzone {
	display: flex;
	align-items: baseline;
	gap: .55rem;
	margin: 0 0 .65rem;
	padding: .68rem .8rem;
	font-family: Arial, Helvetica, sans-serif;
}
.rv-studio-content-dropzone strong {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.rv-studio-content-dropzone span,
.rv-studio-image-preview > span {
	font-size: .8rem;
	color: var(--rv-studio-ink-soft);
}
.rv-studio-image-preview.rv-studio-dropzone {
	padding: .85rem;
	align-content: center;
	gap: .25rem;
	text-align: center;
}
.rv-studio-image-preview.rv-studio-dropzone.has-image {
	padding: 0;
	border-style: solid;
}
.rv-studio-dropzone:hover,
.rv-studio-dropzone:focus-visible,
.rv-studio-dropzone.is-dragover {
	border-color: var(--rv-studio-blue);
	background: rgba(79,107,122,.07);
	outline: none;
}
.rv-studio-dropzone.is-dragover {
	box-shadow: inset 0 0 0 2px rgba(79,107,122,.16);
}
.rv-studio-dropzone.is-uploading {
	opacity: .62;
	cursor: progress;
}
@media (max-width: 767px) {
	.rv-studio-content-dropzone {
		display: grid;
		gap: .2rem;
	}
}


/* v0.1.2 isolated native media pipeline ---------------------------------- */
.rv-studio-upload {
	position: relative;
	display: grid;
	gap: .35rem;
	padding: 1rem;
	cursor: pointer;
}

.rv-studio-file-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	pointer-events: none;
}

.rv-studio-upload > strong {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rv-studio-ink);
}

.rv-studio-upload > span,
.rv-studio-upload-empty {
	font-size: .82rem;
	color: var(--rv-studio-ink-soft);
}

.rv-studio-upload-preview {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-top: .35rem;
}

.rv-studio-upload-preview-item {
	display: inline-grid;
	gap: .2rem;
	width: 94px;
	color: var(--rv-studio-ink-soft);
}

.rv-studio-upload-preview-item img {
	display: block;
	width: 94px;
	height: 72px;
	object-fit: cover;
	border: 1px solid var(--rv-studio-rule-soft);
}

.rv-studio-upload-preview-item small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .66rem;
}

.rv-studio-featured-dropzone {
	min-height: 190px;
	align-content: center;
	margin: 1rem 0 .75rem;
	text-align: center;
}

.rv-studio-featured-dropzone .rv-studio-upload-preview {
	justify-content: center;
}

.rv-studio-content-dropzone {
	margin-bottom: .75rem;
}

.rv-studio-upload:focus-within,
.rv-studio-upload:hover,
.rv-studio-upload.is-dragover {
	border-color: var(--rv-studio-blue);
	background: rgba(79,107,122,.07);
}

.rv-studio-upload.is-dragover {
	box-shadow: inset 0 0 0 2px rgba(79,107,122,.16);
}


/* v0.1.3 isolated WordPress Media Library browser ------------------------ */
.rv-studio-library-button {
	margin-top: .55rem;
}

.rv-studio-library-modal[hidden] {
	display: none !important;
}

.rv-studio-library-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 24px;
}

.rv-studio-library-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 27, 35, .66);
}

.rv-studio-library-panel {
	position: relative;
	z-index: 1;
	width: min(1180px, 96vw);
	height: min(780px, 92vh);
	display: grid;
	grid-template-rows: auto auto auto minmax(0, 1fr) auto;
	background: var(--rv-studio-paper);
	border: 1px solid var(--rv-studio-rule);
	box-shadow: 0 18px 60px rgba(0,0,0,.28);
	overflow: hidden;
}

.rv-studio-library-header,
.rv-studio-library-tools,
.rv-studio-library-footer {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--rv-studio-rule-soft);
}

.rv-studio-library-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rv-studio-library-header h2 {
	margin: .15rem 0 0;
	font-size: 1.8rem;
	font-weight: 400;
}

.rv-studio-library-close {
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	color: var(--rv-studio-ink-soft);
	cursor: pointer;
}

.rv-studio-library-tools {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .75rem;
}

.rv-studio-library-tools input[type="search"] {
	width: 100%;
	min-height: 40px;
	padding: .55rem .7rem;
	border: 1px solid var(--rv-studio-rule);
	border-radius: 0;
	background: rgba(245,240,231,.66);
	color: var(--rv-studio-ink);
}

.rv-studio-library-status {
	min-height: 2.4rem;
	padding: .7rem 1.25rem 0;
	color: var(--rv-studio-ink-soft);
	font-size: .9rem;
}

.rv-studio-library-grid {
	overflow: auto;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: .8rem;
	align-content: start;
	padding: 1rem 1.25rem 1.25rem;
}

.rv-studio-library-item {
	display: grid;
	grid-template-rows: 128px auto;
	gap: .45rem;
	padding: .5rem;
	border: 1px solid var(--rv-studio-rule-soft);
	background: rgba(245,240,231,.35);
	color: var(--rv-studio-ink);
	text-align: left;
	cursor: pointer;
}

.rv-studio-library-item:hover,
.rv-studio-library-item:focus-visible {
	border-color: var(--rv-studio-blue);
	background: rgba(79,107,122,.06);
	outline: none;
}

.rv-studio-library-item img,
.rv-studio-library-file {
	width: 100%;
	height: 128px;
	object-fit: cover;
	background: rgba(31,42,54,.05);
}

.rv-studio-library-file {
	display: grid;
	place-items: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .8rem;
	letter-spacing: .1em;
	color: var(--rv-studio-blue);
}

.rv-studio-library-item > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .78rem;
}

.rv-studio-library-footer {
	border-top: 1px solid var(--rv-studio-rule-soft);
	border-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.rv-studio-library-open {
	overflow: hidden;
}

@media (max-width: 989px) {
	.rv-studio-library-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rv-studio-library-modal {
		padding: 8px;
	}

	.rv-studio-library-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rv-studio-library-tools {
		grid-template-columns: 1fr;
	}
}


/* v0.1.5 compact four-type selector -------------------------------------- */
.rv-studio-type-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .65rem;
	margin-bottom: 1.25rem;
}

.rv-studio-type {
	min-height: 88px;
	padding: .72rem .8rem .68rem;
	gap: .22rem;
}

.rv-studio-type strong {
	font-size: 1.08rem;
	line-height: 1.08;
}

.rv-studio-type span {
	font-size: .78rem;
	line-height: 1.35;
}

@media (max-width: 989px) {
	.rv-studio-type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rv-studio-type-grid {
		grid-template-columns: 1fr;
	}
}

/* v0.1.18 — keep unfinished work visible; archive published entries quietly. */
.rv-studio-published-drawer {
	margin-top: 1rem;
	border-top: 1px solid var(--rv-studio-rule);
}

.rv-studio-published-drawer > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	cursor: pointer;
	color: var(--rv-studio-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.rv-studio-published-drawer > summary::-webkit-details-marker {
	display: none;
}

.rv-studio-published-drawer > summary::after {
	content: "+";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
}

.rv-studio-published-drawer[open] > summary::after {
	content: "−";
}

.rv-studio-published-count {
	margin-left: auto;
	color: var(--rv-studio-ink-soft);
	font-weight: 400;
}


/* XoverIP archive connection picker */
.xo-picker { margin: 0; padding: 24px; border: 1px solid rgba(20,28,31,.16); background: rgba(255,255,255,.2); }
.xo-picker legend { padding: 0 8px; font-weight: 600; }
.xo-picker-intro { margin: 0 0 16px; max-width: 72ch; }
.xo-picker-tools { display: grid; grid-template-columns: minmax(220px,2fr) minmax(90px,.6fr) minmax(150px,1fr) auto; gap: 10px; align-items: end; }
.xo-picker-tools label { display: grid; gap: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.xo-picker-tools input { width: 100%; min-width: 0; }
.xo-picker-status { min-height: 1.4em; margin: 10px 0; font-size: 13px; opacity: .72; }
.xo-picker-results, .xo-picker-selected { display: grid; gap: 8px; }
.xo-picker-selected { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(20,28,31,.14); }
.xo-picker-selected-title { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.xo-result-row, .xo-selected-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(20,28,31,.12); }
.xo-result-row.has-thumbnail, .xo-selected-row.has-thumbnail { grid-template-columns: 96px minmax(0,1fr) auto; }
.xo-result-row:first-child, .xo-selected-row:first-child { border-top: 0; }
.xo-result-row img, .xo-selected-row img { width: 96px; height: 72px; object-fit: contain; background: rgba(20,28,31,.06); }
.xo-result-copy, .xo-selected-copy { min-width: 0; display: grid; gap: 2px; }
.xo-result-copy strong, .xo-selected-copy strong { font-weight: 600; }
.xo-result-copy small, .xo-selected-copy small { opacity: .65; }
.xo-result-copy p { margin: 3px 0 0; font-size: 13px; line-height: 1.35; opacity: .78; }
.xo-picker-select, .xo-picker-remove { border: 0; background: transparent; padding: 8px 4px; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.xo-picker-select:hover, .xo-picker-remove:hover { text-decoration: underline; text-underline-offset: 3px; }
.xo-picker-select:disabled { opacity: .45; cursor: default; text-decoration: none; }
.xo-picker-empty { margin: 4px 0; opacity: .62; }
@media (max-width: 760px) {
  .xo-picker-tools { grid-template-columns: 1fr 1fr; }
  .xo-picker-tools label:first-child { grid-column: 1 / -1; }
  .xo-picker-tools button { width: 100%; }
  .xo-result-row, .xo-selected-row { grid-template-columns: minmax(0,1fr) auto; }
  .xo-result-row.has-thumbnail, .xo-selected-row.has-thumbnail { grid-template-columns: 64px minmax(0,1fr); }
  .xo-result-row img, .xo-selected-row img { width: 64px; height: 52px; }
  .xo-result-row.has-thumbnail .xo-picker-select, .xo-selected-row.has-thumbnail .xo-picker-remove { grid-column: 2; justify-self: start; }
}

/* Cross-site ED / REVELARTEURS connection picker */
.eco-picker { margin:0; padding:24px; border:1px solid rgba(20,28,31,.16); background:rgba(255,255,255,.2); }
.eco-picker legend { padding:0 8px; font-weight:600; }
.eco-picker-intro { margin:0 0 16px; max-width:72ch; }
.eco-picker-tools { display:grid; grid-template-columns:minmax(240px,2fr) minmax(100px,.55fr) auto; gap:10px; align-items:end; }
.eco-picker-tools label { display:grid; gap:5px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.eco-picker-tools input { width:100%; min-width:0; }
.eco-picker-status { min-height:1.4em; margin:10px 0; font-size:13px; opacity:.72; }
.eco-picker-results,.eco-picker-selected { display:grid; gap:8px; }
.eco-picker-selected { margin-top:16px; padding-top:14px; border-top:1px solid rgba(20,28,31,.14); }
.eco-picker-selected-title { margin:0 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.eco-result-row,.eco-selected-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:12px 0; border-top:1px solid rgba(20,28,31,.12); }
.eco-result-row.has-thumbnail,.eco-selected-row.has-thumbnail { grid-template-columns:96px minmax(0,1fr) auto; }
.eco-result-row:first-child,.eco-selected-row:first-child { border-top:0; }
.eco-result-row img,.eco-selected-row img { width:96px; height:72px; object-fit:cover; background:rgba(20,28,31,.06); }
.eco-result-copy,.eco-selected-copy { min-width:0; display:grid; gap:2px; }
.eco-result-copy strong,.eco-selected-copy strong { font-weight:600; }
.eco-result-copy small,.eco-selected-copy small { opacity:.65; }
.eco-result-copy p { margin:3px 0 0; font-size:13px; line-height:1.35; opacity:.78; }
.eco-picker-select,.eco-picker-remove { border:0; background:transparent; padding:8px 4px; cursor:pointer; text-transform:uppercase; letter-spacing:.06em; font-size:11px; }
.eco-picker-select:hover,.eco-picker-remove:hover { text-decoration:underline; text-underline-offset:3px; }
.eco-picker-select:disabled { opacity:.45; cursor:default; text-decoration:none; }
.eco-picker-empty { margin:4px 0; opacity:.62; }
@media (max-width:760px) {
  .eco-picker-tools { grid-template-columns:1fr 1fr; }
  .eco-picker-tools label:first-child { grid-column:1 / -1; }
  .eco-picker-tools button { grid-column:1 / -1; width:100%; }
  .eco-result-row.has-thumbnail,.eco-selected-row.has-thumbnail { grid-template-columns:64px minmax(0,1fr); }
  .eco-result-row img,.eco-selected-row img { width:64px; height:52px; }
  .eco-result-row.has-thumbnail .eco-picker-select,.eco-selected-row.has-thumbnail .eco-picker-remove { grid-column:2; justify-self:start; }
}

/* Featured images need a readable, uncropped preview; content upload thumbs stay compact. */
.rv-studio-featured-dropzone .rv-studio-upload-preview,
.rv-studio-featured-dropzone .rv-studio-upload-preview-item {
    width: 100%;
}
.rv-studio-featured-dropzone .rv-studio-upload-preview-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.rv-studio-featured-dropzone .rv-studio-upload-preview-item small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Connection pickers share a quiet tabbed area; hidden inputs remain in the form. */
.rv-studio-connections { margin-top: 28px; min-width: 0; }
.rv-studio-connection-tabs { display: flex; gap: 28px; margin: 10px 0 22px; border-bottom: 1px solid rgba(20,28,31,.16); }
.rv-studio .rv-studio-connection-tabs button { appearance: none; padding: 10px 0 12px; margin: 0 0 -1px; border: 0; border-bottom: 1px solid transparent; background: transparent; box-shadow: none; color: inherit; font: inherit; font-size: 13px; letter-spacing: .08em; cursor: pointer; opacity: .65; }
.rv-studio .rv-studio-connection-tabs button[aria-selected="true"] { border-bottom-color: currentColor; opacity: 1; }
.rv-studio .rv-studio-connection-tabs button:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.rv-studio-connection-panel[hidden] { display: none !important; }
.rv-studio-connection-panel > fieldset { margin: 0; min-width: 0; }

/* Local REVELARTEURS connection ordering. */
.lr-picker-actions { display:flex; align-items:center; gap:8px; justify-self:start; }
.lr-picker-actions .eco-picker-remove:disabled { opacity:.32; cursor:default; text-decoration:none; }
.eco-selected-row.has-thumbnail .lr-picker-actions { grid-column:2; }
