/* Bandeja multi-imagen — [botikak_lectorean_orri_berri] async batch */

.lc-orri-lote {
	max-width: 100%;
	margin: 1rem 0;
}

.lc-orri-lote label[for="lc-orri-fecha"] {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.lc-orri-lote #lc-orri-fecha {
	display: block;
	width: 100%;
	max-width: 16rem;
	margin-bottom: 1rem;
	box-sizing: border-box;
}

.lc-orri-lote__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-bottom: 1rem;
}

.lc-orri-lote__action {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	width: 14.5rem;
	margin: 0;
	padding: 0.625rem 0.75rem;
	border: 2px solid transparent;
	border-radius: 10px;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lc-orri-lote__action--desktop {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border-color: #93c5fd;
	color: #1e3a8a;
	box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.lc-orri-lote__action--mobile {
	background: linear-gradient(135deg, #f5f0fa 0%, #ede9fe 100%);
	border-color: #c4b5fd;
	color: #3c0069;
	box-shadow: 0 2px 10px rgba(60, 0, 105, 0.1);
}

.lc-orri-lote__action:hover,
.lc-orri-lote__action:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.lc-orri-lote__action--desktop:hover,
.lc-orri-lote__action--desktop:focus-visible {
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
	border-color: #60a5fa;
}

.lc-orri-lote__action--mobile:hover,
.lc-orri-lote__action--mobile:focus-visible {
	box-shadow: 0 6px 18px rgba(60, 0, 105, 0.18);
	border-color: #a78bfa;
}

.lc-orri-lote__action-badge {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.lc-orri-lote__action--desktop .lc-orri-lote__action-badge {
	background: linear-gradient(145deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
}

.lc-orri-lote__action--mobile .lc-orri-lote__action-badge {
	background: linear-gradient(145deg, #7c3aed 0%, #5b21b6 55%, #3c0069 100%);
}

.lc-orri-lote__action-badge svg {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
}

.lc-orri-lote__action-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.lc-orri-lote__action-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
}

.lc-orri-lote__action-hint {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	opacity: 0.85;
}

@media (pointer: coarse) {
	.lc-orri-lote__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.lc-orri-lote__action {
		width: 14.5rem;
		min-height: 3.75rem;
		padding: 0.75rem 0.875rem;
	}

	.lc-orri-lote__action-badge {
		width: 2.75rem;
		height: 2.75rem;
	}
}

.lc-orri-lote--submitted .lc-orri-lote__action {
	opacity: 0.55;
	pointer-events: none;
}

.lc-orri-lote__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.lc-orri-lote__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	padding: 0.5rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

.lc-orri-lote__item--done,
.lc-orri-lote__item--reviewed,
.lc-orri-lote__item--deleted {
	cursor: pointer;
}

.lc-orri-lote__item--deleted-skip {
	cursor: default;
}

.lc-orri-lote__item--selected {
	box-shadow: 0 0 0 2px #2563eb;
}

.lc-orri-lote__item--selected.lc-orri-lote__item--done {
	border-color: #16a34a;
}

.lc-orri-lote__item--selected.lc-orri-lote__item--done.lc-orri-lote__item--labels-warn {
	border-color: #d97706;
}

.lc-orri-lote__item--selected.lc-orri-lote__item--reviewed {
	border-color: #2563eb;
}

.lc-orri-lote__item--uploading {
	opacity: 0.75;
}

.lc-orri-lote__item--queued {
	border-color: #93c5fd;
	background: #eff6ff;
}

.lc-orri-lote__item--processing {
	border-color: #fcd34d;
	background: #fffbeb;
}

.lc-orri-lote__item--done {
	border-color: #86efac;
	background: #f0fdf4;
}

.lc-orri-lote__item--done.lc-orri-lote__item--labels-warn {
	border-color: #f59e0b;
	background: #fffbeb;
}

.lc-orri-lote__item--reviewed {
	border-color: #93c5fd;
	background: #eff6ff;
}

.lc-orri-lote__item--deleted {
	border-color: #fdba74;
	background: #fff7ed;
}

.lc-orri-lote__item--deleted-skip {
	border-color: #d1d5db;
	background: #f9fafb;
}

.lc-orri-lote__item--failed {
	border-color: #fca5a5;
	background: #fef2f2;
}

.lc-orri-lote__handle {
	flex-shrink: 0;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	margin: 0 0 0.5rem;
	padding: 0.4rem 0.5rem;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	color: #475569;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	cursor: grab;
	touch-action: none;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lc-orri-lote__handle:hover:not(:disabled),
.lc-orri-lote__handle:focus-visible:not(:disabled) {
	background: #eff6ff;
	border-color: #93c5fd;
	border-style: solid;
	color: #1d4ed8;
	outline: none;
}

.lc-orri-lote__handle:active:not(:disabled) {
	cursor: grabbing;
	background: #dbeafe;
}

.lc-orri-lote__handle:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.lc-orri-lote__handle-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
}

.lc-orri-lote__handle-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lc-orri-lote__handle-label {
	display: inline-block;
	line-height: 1.2;
}

@media (pointer: coarse) {
	.lc-orri-lote__handle {
		min-height: 2.5rem;
		padding: 0.5rem 0.625rem;
		font-size: 0.8125rem;
	}

	.lc-orri-lote__handle-icon {
		width: 1.125rem;
		height: 1.125rem;
	}
}

.lc-orri-lote__thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: #f9fafb;
}

.lc-orri-lote__thumb-shell {
	position: relative;
	width: 100%;
}

.lc-orri-thumb-actions {
	display: none;
	position: absolute;
	left: 0.25rem;
	right: 0.25rem;
	bottom: 0.25rem;
	z-index: 3;
	flex-direction: column;
	gap: 0.25rem;
	pointer-events: auto;
}

.lc-orri-thumb-actions__btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.35rem 0.4rem;
	border: 1px solid rgba(15, 23, 42, 0.2);
	border-radius: 4px;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.lc-orri-thumb-actions__btn--accept {
	color: #065f46;
	background: rgba(236, 253, 245, 0.96);
	border-color: rgba(16, 185, 129, 0.45);
}

.lc-orri-thumb-actions__btn--delete {
	color: #991b1b;
	background: rgba(254, 242, 242, 0.96);
	border-color: rgba(239, 68, 68, 0.4);
}

@media (hover: none), (max-width: 782px) {
	.lc-orri-thumb-actions {
		display: flex;
	}
}

.lc-orri-ctx-menu {
	position: fixed;
	z-index: 100000;
	min-width: 11rem;
	padding: 0.25rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.lc-orri-ctx-menu__item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border: none;
	border-radius: 4px;
	background: transparent;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: left;
	color: #111827;
	cursor: pointer;
}

.lc-orri-ctx-menu__item:hover,
.lc-orri-ctx-menu__item:focus-visible {
	background: #f3f4f6;
	outline: none;
}

.lc-orri-ctx-menu__item--danger {
	color: #b91c1c;
}

.lc-orri-review-stage__frame .lc-orri-thumb-actions {
	left: 0.35rem;
	right: 0.35rem;
	bottom: 0.35rem;
}

button.lc-orri-lote__thumb-wrap {
	display: block;
	margin: 0;
	padding: 0;
	border: none;
	font: inherit;
	text-align: inherit;
}

button.lc-orri-lote__thumb-wrap--zoomable {
	cursor: zoom-in;
}

button.lc-orri-lote__thumb-wrap--zoomable:hover .lc-orri-lote__thumb,
button.lc-orri-lote__thumb-wrap--zoomable:focus-visible .lc-orri-lote__thumb {
	opacity: 0.92;
}

button.lc-orri-lote__thumb-wrap--zoomable:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

button.lc-orri-lote__thumb-wrap:disabled {
	cursor: default;
}

.lc-orri-lote__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lc-orri-lote__thumb--placeholder {
	background: linear-gradient(135deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
	background-size: 200% 200%;
	animation: lc-orri-lote-shimmer 1.2s ease-in-out infinite;
}

@keyframes lc-orri-lote-shimmer {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lc-orri-lote__thumb--placeholder {
		animation: none;
		background: #e5e7eb;
	}
}

.lc-orri-lote__pagina {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
	text-align: center;
}

.lc-orri-lote__label-count {
	font-weight: 600;
	color: #166534;
}

.lc-orri-lote__item--labels-warn .lc-orri-lote__pagina {
	color: #92400e;
}

.lc-orri-lote__label-count--warn {
	color: #c2410c;
	font-weight: 700;
}

.lc-orri-lote__meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	margin-top: 0.35rem;
}

.lc-orri-lote__name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.75rem;
	color: #374151;
}

.lc-orri-lote__status {
	display: inline-block;
	align-self: flex-start;
	padding: 0.1rem 0.4rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.3;
	color: #1f2937;
	background: #e5e7eb;
}

.lc-orri-lote__item--queued .lc-orri-lote__status {
	color: #1d4ed8;
	background: #dbeafe;
}

.lc-orri-lote__item--processing .lc-orri-lote__status {
	color: #b45309;
	background: #fef3c7;
}

.lc-orri-lote__item--done .lc-orri-lote__status {
	color: #15803d;
	background: #dcfce7;
}

.lc-orri-lote__item--done.lc-orri-lote__item--labels-warn .lc-orri-lote__status {
	color: #b45309;
	background: #fef3c7;
}

.lc-orri-lote__item--reviewed .lc-orri-lote__status {
	color: #1d4ed8;
	background: #dbeafe;
}

.lc-orri-lote__item--deleted .lc-orri-lote__status {
	color: #c2410c;
	background: #ffedd5;
}

.lc-orri-lote__item--deleted-skip .lc-orri-lote__status {
	color: #6b7280;
	background: #e5e7eb;
}

.lc-orri-lote__item--failed .lc-orri-lote__status {
	color: #b91c1c;
	background: #fee2e2;
}

.lc-orri-lote__remove {
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.65);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.lc-orri-lote__remove:hover,
.lc-orri-lote__remove:focus-visible {
	background: rgba(17, 24, 39, 0.85);
}

.lc-orri-lote__retry {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.35rem 0.5rem;
	font-size: 0.75rem;
	line-height: 1.3;
	text-align: center;
	box-sizing: border-box;
}

@media (pointer: coarse) {
	.lc-orri-lote__retry {
		min-height: 44px;
		font-size: 0.8125rem;
	}
}

@media (pointer: coarse) {
	.lc-orri-lote__remove {
		width: 2.25rem;
		height: 2.25rem;
		min-width: 44px;
		min-height: 44px;
	}
}

.lc-orri-lote__progress {
	margin: 0 0 1rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid #dbeafe;
	border-radius: 10px;
	background: #eff6ff;
	box-sizing: border-box;
}

.lc-orri-lote__progress-text {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e40af;
}

.lc-orri-lote__progress-bar {
	overflow: hidden;
	height: 0.5rem;
	border-radius: 999px;
	background: #bfdbfe;
}

.lc-orri-lote__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #2563eb, #3b82f6);
	transition: width 0.35s ease;
}

.lc-orri-lote__stall {
	margin: 0 0 1rem;
	padding: 0.875rem 1rem;
	border: 1px solid #fdba74;
	border-radius: 10px;
	background: #fff7ed;
	box-sizing: border-box;
}

.lc-orri-lote__stall-text {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #9a3412;
	line-height: 1.45;
}

.lc-orri-lote__stall-note {
	margin: 0 0 0.625rem;
	font-size: 0.8125rem;
	color: #c2410c;
	line-height: 1.4;
}

.lc-orri-lote__recover-all {
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border-color: #ea580c;
	background: #fff;
	color: #c2410c;
	font-weight: 700;
}

.lc-orri-lote__recover-all:hover,
.lc-orri-lote__recover-all:focus-visible {
	border-color: #c2410c;
	background: #ffedd5;
	color: #9a3412;
}

.lc-orri-lote__recover-all:disabled {
	opacity: 0.65;
	cursor: wait;
}

.lc-orri-lote__footer {
	margin-top: 1rem;
	box-sizing: border-box;
}

.lc-orri-lote__submit {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	width: 100%;
	min-height: 3.25rem;
	margin: 0 0 0.75rem;
	padding: 0.875rem 1.5rem;
	border: 2px solid #9ca3af;
	border-radius: 10px;
	background: #e5e7eb;
	color: #6b7280;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: not-allowed;
	box-shadow: none;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.lc-orri-lote__submit--ready {
	border-color: #00643c;
	background: linear-gradient(180deg, #008f52 0%, #007d46 55%, #00643c 100%);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 125, 70, 0.4);
}

.lc-orri-lote__submit--ready:hover,
.lc-orri-lote__submit--ready:focus-visible {
	filter: brightness(1.06);
	box-shadow: 0 6px 20px rgba(0, 125, 70, 0.5);
	transform: translateY(-1px);
	outline: none;
}

.lc-orri-lote__submit--ready:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 125, 70, 0.35);
}

.lc-orri-lote__submit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
}

.lc-orri-lote__submit-icon::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin-left: 0.15rem;
	border-top: 0.4rem solid transparent;
	border-bottom: 0.4rem solid transparent;
	border-left: 0.65rem solid currentColor;
}

.lc-orri-lote__submit:not(.lc-orri-lote__submit--ready) .lc-orri-lote__submit-icon {
	background: rgba(107, 114, 128, 0.15);
}

.lc-orri-lote__submit-label {
	display: block;
}

.lc-orri-lote--submitted .lc-orri-lote__submit {
	opacity: 0.7;
}

.lc-orri-lote__hint {
	margin: 0;
	font-size: 0.875rem;
	color: #4b5563;
	line-height: 1.45;
	text-align: center;
}

@media (min-width: 641px) {
	.lc-orri-lote__submit {
		max-width: 24rem;
		margin-left: auto;
		margin-right: auto;
	}

	.lc-orri-lote__hint {
		max-width: 28rem;
		margin-left: auto;
		margin-right: auto;
	}
}

.lc-orri-review-slot {
	max-width: 100%;
	margin-top: 1rem;
	box-sizing: border-box;
	--lc-orri-review-bg: #f0fdf4;
	--lc-orri-review-border: #86efac;
	--lc-orri-review-ring: #16a34a;
	--lc-orri-review-divider: rgba(134, 239, 172, 0.65);
}

.lc-orri-review-slot--done {
	--lc-orri-review-bg: #f0fdf4;
	--lc-orri-review-border: #86efac;
	--lc-orri-review-ring: #16a34a;
	--lc-orri-review-divider: rgba(134, 239, 172, 0.65);
}

.lc-orri-review-slot--labels-warn {
	--lc-orri-review-bg: #fffbeb;
	--lc-orri-review-border: #f59e0b;
	--lc-orri-review-ring: #d97706;
	--lc-orri-review-divider: rgba(245, 158, 11, 0.55);
}

.lc-orri-review-slot--reviewed {
	--lc-orri-review-bg: #eff6ff;
	--lc-orri-review-border: #93c5fd;
	--lc-orri-review-ring: #2563eb;
	--lc-orri-review-divider: rgba(147, 197, 253, 0.65);
}

.lc-orri-review-slot--deleted {
	--lc-orri-review-bg: #fff7ed;
	--lc-orri-review-border: #fdba74;
	--lc-orri-review-ring: #ea580c;
	--lc-orri-review-divider: rgba(253, 186, 116, 0.65);
}

.lc-orri-review-slot:has(> .codigos) {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	border: 1px solid var(--lc-orri-review-border);
	border-radius: 8px;
	background: var(--lc-orri-review-bg);
	box-shadow:
		0 0 0 2px color-mix(in srgb, var(--lc-orri-review-ring) 18%, transparent),
		0 6px 20px rgba(15, 23, 42, 0.07);
	overflow: hidden;
}

.lc-orri-review-slot > .codigos {
	flex: 0 1 auto;
	margin: 0;
	padding: 0.5rem;
	border-right: 1px solid var(--lc-orri-review-divider, #e5e7eb);
	box-sizing: border-box;
	min-width: 0;
	max-width: min(48%, 22rem);
}

.lc-orri-review-slot > .codigos .detectados {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
	padding: 0.25rem;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

.lc-orri-review-slot > .codigos .detectados a {
	display: block;
	width: auto;
	max-width: 100%;
	line-height: 0;
	cursor: zoom-in;
}

.lc-orri-review-slot > .codigos .detectados a:focus-visible {
	outline: 2px solid var(--lc-orri-review-ring, #16a34a);
	outline-offset: 2px;
	border-radius: 4px;
}

.lc-orri-review-slot > .codigos .detectados img.img-thumb {
	display: block;
	width: auto;
	max-width: min(20rem, 100%);
	max-height: min(20rem, 42vh);
	margin: 0;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.lc-orri-review-slot > .lc-opciones {
	flex: 1 1 14rem;
	margin: 0;
	padding: 0.75rem 0.875rem;
	box-sizing: border-box;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.lc-orri-review-slot--readonly .lc-aceptar-form,
.lc-orri-review-slot--readonly #btn-aceptar-pagina {
	display: none !important;
}

.lc-orri-review-slot > .lc-opciones .lc-hoja {
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
}

.lc-orri-review-slot > .lc-opciones form {
	margin: 0 0 0.625rem;
}

.lc-orri-review-slot > .lc-opciones form:last-of-type {
	margin-bottom: 0.5rem;
}

.lc-orri-review-slot > .lc-opciones input[type="text"]:not(.lc-adjuntar-input),
.lc-orri-review-slot > .lc-opciones input[type="date"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-codigo-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
	margin: 0 0 0.375rem;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-input {
	flex: 1 1 10rem;
	min-width: 9rem;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	font-size: 0.9375rem;
	line-height: 1.3;
	box-sizing: border-box;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-input:focus {
	border-color: #2563eb;
	outline: 2px solid rgba(37, 99, 235, 0.2);
	outline-offset: 0;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-submit {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.5rem 0.875rem;
	border: 1px solid #1d4ed8;
	border-radius: 6px;
	background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	height: auto;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-submit:hover,
.lc-orri-review-slot #adjuntar .lc-adjuntar-submit:focus-visible {
	filter: brightness(1.05);
	color: #fff;
	background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
	border-color: #1d4ed8;
	outline: none;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-submit:disabled,
.lc-orri-review-slot #adjuntar .lc-borrar-precinto-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	filter: none;
}

.lc-orri-review-slot #adjuntar .lc-borrar-precinto-btn {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.5rem 0.875rem;
	border: 1px solid #fdba74;
	border-radius: 6px;
	background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%);
	color: #c2410c;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	height: auto;
}

.lc-orri-review-slot #adjuntar .lc-borrar-precinto-btn:hover,
.lc-orri-review-slot #adjuntar .lc-borrar-precinto-btn:focus-visible {
	filter: brightness(0.98);
	color: #9a3412;
	background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 55%, #fdba74 100%);
	border-color: #fb923c;
	outline: none;
}

.lc-orri-review-slot #adjuntar .lc-adjuntar-hint {
	display: block;
	margin: 0 0 0.375rem;
	font-size: 0.8125rem;
	color: #6b7280;
	line-height: 1.35;
}

.lc-orri-review-slot #adjuntar #codigo_desc {
	margin: 0 0 0.25rem;
	font-size: 0.8125rem;
	line-height: 1.35;
}

@media (max-width: 480px) {
	.lc-orri-review-slot #adjuntar .lc-adjuntar-codigo-row {
		flex-wrap: wrap;
	}

	.lc-orri-review-slot #adjuntar .lc-adjuntar-submit,
	.lc-orri-review-slot #adjuntar .lc-borrar-precinto-btn {
		width: 100%;
		justify-content: center;
	}
}

.lc-orri-review-slot > .lc-opciones .lc-aceptar-form {
	margin: 0.5rem 0 0;
	padding: 0;
	width: auto;
}

.lc-orri-review-slot > .lc-opciones .lc-aceptar-form .lc-btn-aceptar.button,
.lc-orri-review-slot > .lc-opciones .lc-orri-review-confirmed {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: auto;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0.5rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
	box-shadow: none;
	text-shadow: none;
	height: auto;
}

.lc-orri-panel-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
}

.lc-orri-panel-action-icon--check::before {
	content: "";
	display: block;
	width: 0.3rem;
	height: 0.55rem;
	margin-top: -0.12rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.lc-orri-panel-action-label {
	display: block;
}

.lc-orri-review-slot > .lc-opciones .lc-aceptar-form .lc-btn-aceptar.button {
	border-color: #00643c;
	background: linear-gradient(180deg, #008f52 0%, #007d46 55%, #00643c 100%);
	color: #fff;
	cursor: pointer;
}

.lc-orri-review-slot > .lc-opciones .lc-aceptar-form .lc-btn-aceptar.button:hover,
.lc-orri-review-slot > .lc-opciones .lc-aceptar-form .lc-btn-aceptar.button:focus-visible {
	filter: brightness(1.05);
	outline: none;
	color: #fff;
	background: linear-gradient(180deg, #008f52 0%, #007d46 55%, #00643c 100%);
	border-color: #00643c;
}

.lc-orri-review-slot > .lc-opciones .lc-aceptar-form .lc-btn-aceptar.button:active {
	filter: brightness(0.97);
}

.lc-orri-review-slot > .lc-opciones .lc-orri-review-confirmed {
	margin: 0.5rem 0 0;
	border-color: #1d4ed8;
	background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
	color: #fff;
}

.lc-orri-review-slot .lc-orri-adjuntar-flash {
	margin: 0 0 0.875rem;
}

.lc-orri-review-stage {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.lc-orri-review-stage__frame {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.lc-orri-review-slot > .codigos .lc-orri-review-stage__frame {
	align-self: flex-start;
	max-width: min(20rem, 100%);
	padding: 0;
}

.lc-orri-review-stage__frame .detectados,
.lc-orri-review-stage__frame .detectados a,
.lc-orri-review-stage__frame .img-thumb {
	display: block;
	max-width: 100%;
	height: auto;
}

.lc-orri-review-slot > .codigos .lc-orri-review-stage__frame .detectados {
	display: block;
	padding: 0;
	background: none;
	border-radius: 0;
}

.lc-orri-review-slot > .codigos .lc-orri-review-stage__frame img.img-thumb {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
	object-fit: fill;
}

.lc-orri-review-marks {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.lc-orri-review-mark {
	position: absolute;
	pointer-events: auto;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 2px solid rgba(37, 99, 235, 0.85);
	background: rgba(37, 99, 235, 0.12);
	border-radius: 2px;
	cursor: pointer;
	color: #1e3a8a;
	font: 600 0.7rem/1 system-ui, sans-serif;
}

.lc-orri-review-mark.is-amber {
	border-color: rgba(217, 119, 6, 0.9);
	background: rgba(245, 158, 11, 0.18);
	color: #92400e;
}

.lc-orri-review-mark:focus-visible {
	outline: 2px solid #dc2626;
	outline-offset: 2px;
}

.lc-orri-review-mark.is-active {
	border-width: 3px;
	border-color: #dc2626;
	background: rgba(220, 38, 38, 0.2);
	z-index: 2;
}

.lc-orri-review-mark.is-active .lc-orri-review-mark__n {
	background: #dc2626;
}

.lc-orri-review-mark__n {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-10%, -40%);
	background: #1e3a8a;
	color: #fff;
	padding: 0.1em 0.35em;
	border-radius: 2px;
	pointer-events: none;
}

.lc-orri-review-mark.is-amber .lc-orri-review-mark__n {
	background: #d97706;
}

.lc-orri-review-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 14rem;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.lc-orri-review-list__btn {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	width: 100%;
	text-align: left;
	border: 1px solid #cbd5e1;
	background: #fff;
	border-radius: 4px;
	padding: 0.4rem 0.55rem;
	cursor: pointer;
	font: inherit;
}

.lc-orri-review-list__item.is-active .lc-orri-review-list__btn,
.lc-orri-review-list__btn:focus-visible {
	outline: 2px solid #dc2626;
	border-color: #dc2626;
}

.lc-orri-review-list__item.is-amber .lc-orri-review-list__btn {
	border-color: #f59e0b;
	background: #fffbeb;
}

.lc-orri-review-list__item.is-manual .lc-orri-review-list__btn {
	border-style: dashed;
}

.lc-orri-review-list__n {
	font-weight: 700;
	min-width: 1.5rem;
}

.lc-orri-review-list__codigo {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.lc-orri-review-list__manual,
.lc-orri-review-list__amber {
	font-size: 0.85em;
	color: #64748b;
}

@media (min-width: 720px) {
	.lc-orri-review-list {
		max-height: 18rem;
	}
}

.lc-orri-manual-log {
	margin: 0.875rem 0 1rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #f9fafb;
}

.lc-orri-manual-log[hidden] {
	display: none !important;
}

.lc-orri-manual-log__title {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #111827;
}

.lc-orri-manual-log__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-orri-manual-log__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	padding: 0.35rem 0;
	border-top: 1px solid #e5e7eb;
	font-size: 0.875rem;
	line-height: 1.35;
	color: #1f2937;
}

.lc-orri-manual-log__item:first-child {
	border-top: 0;
	padding-top: 0;
}

.lc-orri-manual-log__action {
	font-weight: 600;
	min-width: 4.5rem;
}

.lc-orri-manual-log__item.is-added .lc-orri-manual-log__action {
	color: #047857;
}

.lc-orri-manual-log__item.is-removed .lc-orri-manual-log__action {
	color: #b91c1c;
}

.lc-orri-manual-log__codigo {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.lc-orri-manual-log__nombre {
	flex: 1 1 12rem;
	color: #4b5563;
	word-break: break-word;
}

@media (max-width: 480px) {
	.lc-orri-manual-log {
		padding: 0.625rem 0.75rem;
	}

	.lc-orri-manual-log__item {
		font-size: 0.8125rem;
	}
}

.lc-orri-lote__item.sortable-ghost {
	opacity: 0.45;
}

.lc-orri-lote__item.sortable-chosen {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lc-orri-lote-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.85);
	touch-action: none;
	overscroll-behavior: none;
}

.lc-orri-lote-lightbox.is-open {
	display: flex;
}

.lc-orri-lote-lightbox__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	height: 100%;
	max-height: none;
}

.lc-orri-lote-lightbox__viewport {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	touch-action: none;
	cursor: zoom-in;
}

.lc-orri-lote-lightbox.is-zoomed .lc-orri-lote-lightbox__viewport {
	cursor: grab;
}

.lc-orri-lote-lightbox.is-panning .lc-orri-lote-lightbox__viewport {
	cursor: grabbing;
}

.lc-orri-lote-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	background: #111827;
	transform-origin: center center;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
	pointer-events: auto;
}

.lc-orri-lote-lightbox__controls {
	position: absolute;
	left: 50%;
	bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
	z-index: 2;
	display: flex;
	gap: 0.5rem;
	transform: translateX(-50%);
}

.lc-orri-lote-lightbox__zoom-out,
.lc-orri-lote-lightbox__zoom-reset,
.lc-orri-lote-lightbox__zoom-in {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.lc-orri-lote-lightbox__zoom-out:hover,
.lc-orri-lote-lightbox__zoom-out:focus-visible,
.lc-orri-lote-lightbox__zoom-reset:hover,
.lc-orri-lote-lightbox__zoom-reset:focus-visible,
.lc-orri-lote-lightbox__zoom-in:hover,
.lc-orri-lote-lightbox__zoom-in:focus-visible {
	background: #f3f4f6;
}

.lc-orri-lote-lightbox__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	margin: 0;
	padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.875rem;
	color: #f9fafb;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
	pointer-events: none;
}

.lc-orri-lote-lightbox__close {
	position: absolute;
	top: max(0.75rem, env(safe-area-inset-top, 0px));
	right: max(0.75rem, env(safe-area-inset-right, 0px));
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.lc-orri-lote-lightbox__close:hover,
.lc-orri-lote-lightbox__close:focus-visible {
	background: #f3f4f6;
}

@media (max-width: 640px) {
	.lc-orri-lote-lightbox__controls {
		bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
		gap: 0.375rem;
	}

	.lc-orri-lote-lightbox__caption {
		font-size: 0.8125rem;
	}
}

.lc-orri-rescan {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--lc-orri-review-border, #fdba74);
	border-radius: 8px;
	background: var(--lc-orri-review-bg, #fff7ed);
	box-shadow:
		0 0 0 2px color-mix(in srgb, var(--lc-orri-review-ring, #ea580c) 18%, transparent),
		0 6px 20px rgba(15, 23, 42, 0.07);
	box-sizing: border-box;
}

.lc-orri-rescan__pagina {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #9a3412;
}

.lc-orri-rescan__msg {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #374151;
}

.lc-orri-rescan__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

@media (max-width: 768px) {
	.lc-orri-review-slot:has(> .codigos) {
		flex-direction: column;
	}

	.lc-orri-review-slot > .codigos {
		max-width: none;
		border-right: none;
		border-bottom: 1px solid var(--lc-orri-review-divider, #e5e7eb);
	}

	.lc-orri-review-slot > .codigos .detectados img.img-thumb {
		max-height: min(16rem, 36vh);
	}
}

@media (max-width: 480px) {
	.lc-orri-rescan__actions .button {
		flex: 1 1 100%;
		justify-content: center;
		text-align: center;
	}
}
