.logistica-admin {
	color: #1f2933;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Accesibilidad: ocultar texto solo para lectores de pantalla (como en wp-admin). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.logistica-admin p,
.logistica-admin label,
.logistica-admin input,
.logistica-admin select,
.logistica-admin button,
.logistica-admin .button {
	font-family: inherit;
}

/* === Table row icon action buttons (shared) === */
.logistica-table-icon-btn,
.logistica-calc-excel-actions .button-small,
.logistica-warehouse-actions .button-small,
.logistica-cierre-caracteristicas-actions .button-small,
.logistica-etiqueta-catalog-actions .button-small,
.logistica-rotulo-rollos-actions .button-small,
.logistica-tapas-icon-btn,
button.logistica-warehouse-btn-delete[data-action="remove-close-block"] {
	align-items: center;
	appearance: none;
	background: #111827;
	border: 1px solid #4b5563;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 0;
	gap: 0;
	height: 34px;
	justify-content: center;
	line-height: 0;
	margin: 0;
	min-height: 34px;
	padding: 0;
	text-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	width: 34px;
}

.logistica-table-icon-btn .dashicons,
.logistica-calc-excel-actions .button-small .dashicons,
.logistica-warehouse-actions .button-small .dashicons,
.logistica-cierre-caracteristicas-actions .button-small .dashicons,
.logistica-etiqueta-catalog-actions .button-small .dashicons {
	color: #ffffff;
	flex-shrink: 0;
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-tapas-icon {
	color: #ffffff;
}

.logistica-etiqueta-catalog-btn-print,
.logistica-etiqueta-catalog-btn-print.button-primary,
.logistica-rotulo-rollos-btn-print {
	background: #111827;
	border-color: #4b5563;
	color: #ffffff;
}

.logistica-etiqueta-catalog-btn-print .dashicons,
.logistica-etiqueta-catalog-btn-print.button-primary .dashicons,
.logistica-rotulo-rollos-btn-print .dashicons {
	color: #ffffff;
}

.logistica-etiqueta-catalog-btn-print:hover,
.logistica-etiqueta-catalog-btn-print:focus,
.logistica-etiqueta-catalog-btn-print.button-primary:hover,
.logistica-etiqueta-catalog-btn-print.button-primary:focus,
.logistica-rotulo-rollos-btn-print:hover,
.logistica-rotulo-rollos-btn-print:focus {
	background: #00685b;
	border-color: #005a4f;
	color: #ffffff;
}

.logistica-etiqueta-catalog-btn-print:hover .dashicons,
.logistica-etiqueta-catalog-btn-print:focus .dashicons,
.logistica-etiqueta-catalog-btn-print.button-primary:hover .dashicons,
.logistica-etiqueta-catalog-btn-print.button-primary:focus .dashicons,
.logistica-rotulo-rollos-btn-print:hover .dashicons,
.logistica-rotulo-rollos-btn-print:focus .dashicons {
	color: #ffffff;
}

.logistica-calc-excel-btn-edit:hover,
.logistica-calc-excel-btn-edit:focus,
.logistica-warehouse-btn-edit:hover,
.logistica-warehouse-btn-edit:focus,
.logistica-cierre-caracteristicas-btn-edit:hover,
.logistica-cierre-caracteristicas-btn-edit:focus,
.logistica-etiqueta-catalog-btn-edit:hover,
.logistica-etiqueta-catalog-btn-edit:focus,
.logistica-rotulo-rollos-btn-edit:hover,
.logistica-rotulo-rollos-btn-edit:focus,
.logistica-tapas-icon-btn:not(.logistica-tapas-icon-btn--danger):hover,
.logistica-tapas-icon-btn:not(.logistica-tapas-icon-btn--danger):focus {
	background: #000000;
	border-color: #7a7a7a;
	color: #ffffff;
}

.logistica-calc-excel-btn-edit:hover .dashicons,
.logistica-calc-excel-btn-edit:focus .dashicons,
.logistica-warehouse-btn-edit:hover .dashicons,
.logistica-warehouse-btn-edit:focus .dashicons,
.logistica-cierre-caracteristicas-btn-edit:hover .dashicons,
.logistica-cierre-caracteristicas-btn-edit:focus .dashicons,
.logistica-etiqueta-catalog-btn-edit:hover .dashicons,
.logistica-etiqueta-catalog-btn-edit:focus .dashicons,
.logistica-rotulo-rollos-btn-edit:hover .dashicons,
.logistica-rotulo-rollos-btn-edit:focus .dashicons {
	color: #ffffff;
}

.logistica-calc-excel-btn-duplicate:hover,
.logistica-calc-excel-btn-duplicate:focus,
.logistica-warehouse-btn-duplicate:hover,
.logistica-warehouse-btn-duplicate:focus,
.logistica-tapas-icon-btn[data-action="duplicate-tapas-row"]:hover,
.logistica-tapas-icon-btn[data-action="duplicate-tapas-row"]:focus,
.logistica-tapas-icon-btn[data-action="duplicate-bolsas-row"]:hover,
.logistica-tapas-icon-btn[data-action="duplicate-bolsas-row"]:focus {
	background: #00685b;
	border-color: #005a4f;
	color: #ffffff;
}

.logistica-calc-excel-btn-duplicate:hover .dashicons,
.logistica-calc-excel-btn-duplicate:focus .dashicons,
.logistica-warehouse-btn-duplicate:hover .dashicons,
.logistica-warehouse-btn-duplicate:focus .dashicons {
	color: #ffffff;
}

.logistica-calc-excel-btn-delete:hover,
.logistica-calc-excel-btn-delete:focus,
.logistica-warehouse-btn-delete:hover,
.logistica-warehouse-btn-delete:focus,
.logistica-cierre-caracteristicas-btn-delete:hover,
.logistica-cierre-caracteristicas-btn-delete:focus,
.logistica-etiqueta-catalog-btn-delete:hover,
.logistica-etiqueta-catalog-btn-delete:focus,
.logistica-rotulo-rollos-btn-delete:hover,
.logistica-rotulo-rollos-btn-delete:focus,
.logistica-tapas-icon-btn--danger:hover,
.logistica-tapas-icon-btn--danger:focus {
	background: #f5f5f5;
	border-color: #d99e9e;
	color: #9ca3af;
}

.logistica-calc-excel-btn-delete:hover .dashicons,
.logistica-calc-excel-btn-delete:focus .dashicons,
.logistica-warehouse-btn-delete:hover .dashicons,
.logistica-warehouse-btn-delete:focus .dashicons,
.logistica-cierre-caracteristicas-btn-delete:hover .dashicons,
.logistica-cierre-caracteristicas-btn-delete:focus .dashicons,
.logistica-etiqueta-catalog-btn-delete:hover .dashicons,
.logistica-etiqueta-catalog-btn-delete:focus .dashicons,
.logistica-rotulo-rollos-btn-delete:hover .dashicons,
.logistica-rotulo-rollos-btn-delete:focus .dashicons {
	color: #9ca3af;
}

.logistica-warehouse-btn-toggle:hover,
.logistica-warehouse-btn-toggle:focus {
	background: #0f766e;
	border-color: #0d9488;
	color: #ffffff;
}

.logistica-warehouse-btn-toggle:hover .dashicons,
.logistica-warehouse-btn-toggle:focus .dashicons {
	color: #ffffff;
}

.logistica-frontend {
	background: #f5f7fa;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: none;
	overflow-x: clip;
	overflow-y: visible;
	padding: 12px 20px 20px;
	width: 100%;
}

body.logistica-panel-page .logistica-frontend {
	padding-top: 0;
}

body.logistica-panel-page .entry-content {
	overflow: visible !important;
	max-width: 100%;
}

.logistica-frontend *,
.logistica-frontend *::before,
.logistica-frontend *::after {
	box-sizing: border-box;
}

.logistica-header {
	align-items: center;
	background: #ffffff;
	border-left: 5px solid #0f766e;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	display: flex;
	justify-content: space-between;
	margin: 18px 0;
	padding: 18px 22px;
}

.logistica-header h1,
.logistica-header .logistica-header__section {
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 4px;
}

.logistica-header__title-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.logistica-header__brand {
	color: #0f766e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.logistica-header__section {
	color: #0f172a;
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

.logistica-header__subtitle {
	color: #64748b;
	font-size: 13px;
	line-height: 1.4;
	margin: 4px 0 0;
	max-width: 36rem;
}

.logistica-header--operations .logistica-header__title-block--operations .logistica-header__section,
.logistica-header--config .logistica-header__title-block--config .logistica-header__section {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.logistica-header--operations .logistica-header__title-block--operations .logistica-header__section::after,
.logistica-header--config .logistica-header__title-block--config .logistica-header__section::after {
	border-radius: 999px;
	content: "";
	display: inline-block;
	flex-shrink: 0;
	height: 0.55rem;
	margin-top: 0.45rem;
	width: 2.4rem;
}

.logistica-header--operations .logistica-header__title-block--operations .logistica-header__section::after {
	background: linear-gradient(90deg, #0f766e 0%, #5eead4 100%);
}

.logistica-header--config .logistica-header__title-block--config .logistica-header__section::after {
	background: linear-gradient(90deg, #0f766e 0%, #93c5fd 100%);
}

.logistica-header--backend {
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 1rem;
}

.logistica-header--backend .logistica-header__user-bar {
	margin-left: auto;
	margin-top: 0;
}

.logistica-header p {
	color: #52616b;
	margin: 0;
}

.logistica-header__actions {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
}

.logistica-frontend-link {
	align-items: center;
	background: #0f766e !important;
	border: 1px solid #0b5e58 !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	color: #ffffff !important;
	display: inline-flex !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	gap: 6px;
	height: auto !important;
	line-height: 1.3 !important;
	min-height: 40px;
	padding: 8px 16px !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-frontend-link:hover,
.logistica-frontend-link:focus {
	background: #0b5e58 !important;
	border-color: #084843 !important;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	color: #ffffff !important;
}

.logistica-frontend-link__icon {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-inventory-nav__frontend-link {
	align-items: center;
	background: #0f766e;
	border: 1px solid #0b5e58;
	border-radius: 8px;
	color: #ffffff;
	display: flex;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	gap: 4px;
	justify-content: center;
	line-height: 1.2;
	margin: 0 0 6px;
	padding: 8px 12px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	width: 100%;
}

.logistica-inventory-nav__frontend-link .dashicons {
	font-size: 15px;
	height: 15px;
	line-height: 15px;
	width: 15px;
}

.logistica-inventory-nav__frontend-link:hover,
.logistica-inventory-nav__frontend-link:focus {
	background: #0b5e58;
	border-color: #084843;
	color: #ffffff;
}

.logistica-grid {
	display: grid;
	gap: 16px;
	margin: 16px 0;
}

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

.logistica-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logistica-layout {
	align-items: start;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
}

.logistica-panel,
.logistica-stat {
	background: #ffffff;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	padding: 18px;
}

.logistica-panel h2 {
	font-size: 18px;
	margin: 0 0 16px;
}

.logistica-stat {
	color: #1f2933;
	display: block;
	text-decoration: none;
}

.logistica-stat:hover {
	border-color: #0f766e;
	color: #0f766e;
}

.logistica-stat span {
	color: #52616b;
	display: block;
	font-size: 13px;
	margin-bottom: 10px;
}

.logistica-stat strong {
	display: block;
	font-size: 30px;
	line-height: 1;
}

.logistica-form {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-form h2,
.logistica-form .logistica-full,
.logistica-form button {
	grid-column: 1 / -1;
}

.logistica-form label,
.logistica-calculator label {
	color: #334e68;
	display: grid;
	font-weight: 600;
	gap: 6px;
}

.logistica-form input,
.logistica-form select,
.logistica-form textarea,
.logistica-calculator input {
	border-color: #bcccdc;
	max-width: 100%;
	width: 100%;
}

.logistica-table-wrap {
	max-width: 100%;
	overflow-x: auto;
}

.logistica-table th,
.logistica-table td {
	white-space: nowrap;
}

.logistica-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.logistica-front-nav-wrap {
	min-height: var(--logistica-nav-height, 52px);
}

.logistica-front-nav {
	--logistica-nav-offset: 0;
	background: #ffffff;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0 0 16px;
	overflow-x: auto;
	padding: 10px;
	position: sticky;
	top: var(--logistica-nav-offset);
	-webkit-overflow-scrolling: touch;
	z-index: 500;
}

body.logistica-panel-page .logistica-front-nav-wrap {
	margin: 0 0 16px;
}

body.logistica-panel-page .logistica-front-nav {
	border-left: 0;
	border-radius: 0;
	border-right: 0;
	border-top: 0;
	box-shadow: 0 2px 16px rgba(15, 23, 42, 0.12);
	left: 0;
	margin: 0;
	padding: 10px 20px;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 600;
}

body.logistica-panel-page .logistica-front-nav.is-stuck,
body.logistica-panel-page .logistica-front-nav {
	border-bottom-color: #99f6e4;
}

.logistica-front-nav.is-stuck {
	border-color: #99f6e4;
	box-shadow: 0 6px 20px rgba(15, 118, 110, 0.15);
}

.logistica-front-nav a {
	border-radius: 6px;
	color: #1f2933;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.logistica-front-nav a:hover {
	background: #e6fffa;
	color: #115e59;
}

.logistica-front-nav a.is-active {
	background: #0f766e;
	color: #ffffff;
}

/* Barra de pestañas del backend (wp-admin) */
body.wp-admin .logistica-admin-tab-bar-wrap {
	margin: 0 0 16px;
	min-height: 0;
}

body.wp-admin .logistica-admin-tab-bar {
	position: sticky;
	top: 32px;
	z-index: 100;
}

body.wp-admin.folded .logistica-admin-tab-bar {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.wp-admin .logistica-admin-tab-bar {
		top: 46px;
	}
}

.logistica-front-notice {
	background: #ecfdf5;
	border: 1px solid #86efac;
	border-radius: 8px;
	color: #166534;
	font-weight: 700;
	margin: 12px 0;
	padding: 12px 14px;
}

.logistica-frontend section[id] {
	margin-top: 28px;
	scroll-margin-top: calc(var(--logistica-nav-height, 52px) + 16px);
}

.logistica-frontend section[id]:first-of-type {
	margin-top: 0;
}

.logistica-calculator {
	display: grid;
	gap: 12px;
}

.logistica-calculator strong {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 6px;
	color: #115e59;
	display: block;
	font-size: 24px;
	padding: 12px;
}

.logistica-formula-list {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 14px;
}

.logistica-formula-card {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 14px;
}

.logistica-formula-card h3 {
	font-size: 15px;
	margin: 0 0 12px;
}

.logistica-formula-card label {
	display: grid;
	font-weight: 700;
	gap: 6px;
	margin-top: 10px;
}

.logistica-formula-card input,
.logistica-formula-card textarea {
	border-color: #bcccdc;
	font-family: Consolas, Monaco, monospace;
	width: 100%;
}

.logistica-close-workspace,
.logistica-conversion-board {
	--lg-close-border: #e2e8f0;
	--lg-close-accent: #0f766e;
	--lg-close-accent-soft: #ccfbf1;
	--lg-close-radius: 10px;
	--lg-close-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.logistica-conversion-board {
	display: grid;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	gap: 16px;
	background: #f1f5f9;
	border: 0;
	border-radius: var(--lg-close-radius);
	margin: 16px 0;
	padding: 20px;
}

.logistica-conversion-layout {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
}

.logistica-conversion-board.is-nav-collapsed .logistica-conversion-nav {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-100%);
	visibility: hidden;
}

.logistica-conversion-nav {
	background: #ffffff;
	border: 1px solid var(--lg-close-border);
	border-left: 0;
	border-radius: 0;
	box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
	bottom: 0;
	left: var(--logistica-app-rail-width, 52px);
	margin: 0;
	max-height: none;
	opacity: 1;
	overflow: auto;
	padding: 12px;
	pointer-events: auto;
	position: fixed;
	top: var(--logistica-inventory-nav-top, 0);
	transform: translateX(0);
	transition:
		transform var(--logistica-inventory-nav-duration, 0.32s) var(--logistica-inventory-nav-ease, cubic-bezier(0.4, 0, 0.2, 1)),
		opacity var(--logistica-inventory-nav-duration, 0.32s) var(--logistica-inventory-nav-ease, cubic-bezier(0.4, 0, 0.2, 1)),
		visibility 0s;
	visibility: visible;
	width: var(--logistica-inventory-nav-width, 220px);
	z-index: 1001;
}

body:not(.logistica-panel-page) .logistica-conversion-nav {
	top: var(--logistica-inventory-nav-top, 54px);
}

.logistica-conversion-nav__head {
	align-items: center;
	border-bottom: 1px solid var(--lg-close-border);
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.logistica-conversion-nav__title {
	color: #0f172a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-conversion-nav__toggle {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 28px;
	justify-content: center;
	line-height: 1;
	min-width: 28px;
	padding: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.logistica-conversion-nav__toggle:hover,
.logistica-conversion-nav__toggle:focus {
	background: var(--lg-close-accent-soft);
	border-color: var(--lg-close-accent);
	color: #0f766e;
	outline: none;
}

.logistica-conversion-nav__list {
	display: grid;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.logistica-conversion-nav__link {
	border-radius: 8px;
	color: #334155;
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	padding: 8px 10px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.logistica-conversion-nav__link:hover,
.logistica-conversion-nav__link:focus {
	background: #f1f5f9;
	color: #0f172a;
	outline: none;
}

.logistica-conversion-nav__link.is-active {
	background: var(--lg-close-accent-soft);
	color: #0f766e;
	font-weight: 600;
}

.logistica-conversion-main {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.logistica-conversion-nav-reopen {
	display: none !important;
}

.logistica-conversion-board .logistica-sheet[id] {
	scroll-margin-top: calc(var(--logistica-nav-height, 52px) + 24px);
}

@media (max-width: 960px) {
	.logistica-conversion-nav {
		width: min(var(--logistica-inventory-nav-width, 220px), 86vw);
	}

	.logistica-conversion-board {
		gap: 10px;
		margin: 8px 0;
		padding: 10px;
	}

	.logistica-conversion-board .logistica-sheet h2,
	.logistica-conversion-board .logistica-sheet-hint {
		padding-left: 12px;
		padding-right: 12px;
	}

	.logistica-conversion-board .logistica-sheet-presets {
		margin-left: 12px;
		margin-right: 12px;
	}

	.logistica-conversion-scroll-host {
		margin: 0;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	.logistica-conversion-board .logistica-sheet-scroll,
	.logistica-conversion-board .logistica-tapas-excel-scroll {
		border: 0;
		border-radius: 0;
		border-top: 1px solid var(--lg-close-border);
		margin: 0;
		max-width: 100%;
		overflow-x: scroll;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
		scrollbar-color: #64748b #e2e8f0;
		scrollbar-gutter: stable;
		scrollbar-width: auto;
		width: 100%;
	}

	.logistica-conversion-board .logistica-sheet-scroll::-webkit-scrollbar,
	.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar {
		display: block;
		height: 14px;
		-webkit-appearance: none;
	}

	.logistica-conversion-board .logistica-sheet-scroll::-webkit-scrollbar-track,
	.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar-track {
		background: #e2e8f0;
		border-radius: 999px;
	}

	.logistica-conversion-board .logistica-tapas-scroll-hint,
	.logistica-conversion-board .logistica-tapas-scroll-hint[hidden] {
		display: block !important;
		margin: 0;
		padding: 8px 12px 12px;
		text-align: left;
	}

	.logistica-conversion-board .logistica-sheet-scroll table,
	.logistica-conversion-board .logistica-conversion-excel-table,
	.logistica-conversion-board .logistica-mount-base,
	.logistica-conversion-board .logistica-mount-refs {
		min-width: max-content;
		table-layout: auto;
		width: max-content;
	}

	.logistica-conversion-board .logistica-sheet thead th {
		max-width: none;
		min-height: auto;
		white-space: nowrap;
	}

	.logistica-conversion-board .logistica-sheet th,
	.logistica-conversion-board .logistica-sheet td {
		font-size: 12px;
		line-height: 1.35;
		min-width: 76px;
		overflow: hidden;
		padding: 8px 6px;
		text-overflow: ellipsis;
		white-space: nowrap;
		word-break: normal;
	}

	.logistica-conversion-board .logistica-sheet tbody th {
		min-width: 112px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: auto;
	}

	.logistica-conversion-board .logistica-sheet input {
		font-size: 12px;
		height: auto;
		min-height: 30px;
	}

	.logistica-conversion-board .logistica-mount-base th,
	.logistica-conversion-board .logistica-mount-base td,
	.logistica-conversion-board .logistica-mount-refs th,
	.logistica-conversion-board .logistica-mount-refs td {
		min-width: 76px;
		width: auto;
	}

	.logistica-conversion-board .logistica-mount-base td[data-output="distribution_status"],
	.logistica-conversion-board .logistica-mount-refs td[data-output="ref_status"] {
		min-width: 140px;
	}

	.logistica-conversion-board .logistica-sheet-scroll::-webkit-scrollbar-thumb,
	.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar-thumb {
		background: #64748b;
		border-radius: 999px;
	}
}

.logistica-conversion-intro h2 {
	font-size: 1.35rem;
}

.logistica-conversion-board .logistica-sheet {
	background: #ffffff;
	border: 1px solid var(--lg-close-border);
	border-radius: var(--lg-close-radius);
	box-shadow: var(--lg-close-shadow);
	overflow-x: visible;
	overflow-y: hidden;
	position: relative;
}

.logistica-conversion-board .logistica-sheet.is-wide {
	background: #ffffff;
	border-width: 1px;
}

.logistica-conversion-board .logistica-sheet > h2 {
	background: #ffffff;
	border-bottom: 1px solid var(--lg-close-border);
	color: #0f172a;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
	padding: 14px 128px 14px 18px;
	text-align: left;
	text-transform: none;
}

.logistica-conversion-board .logistica-sheet-hint {
	border-bottom: 1px solid var(--lg-close-border);
	color: #475569;
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 0;
	padding: 10px 18px 14px;
}

.logistica-conversion-scroll-host {
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-conversion-board .logistica-sheet-scroll,
.logistica-conversion-board .logistica-tapas-excel-scroll {
	border-radius: 0;
	overflow-x: visible;
	width: 100%;
}

.logistica-conversion-board .logistica-sheet-scroll table {
	min-width: 0;
	table-layout: fixed;
	width: 100%;
}

.logistica-conversion-board .logistica-conversion-excel-table,
.logistica-conversion-board .logistica-sheet[data-sheet="montaje-compartido"] .logistica-mount-refs,
.logistica-conversion-board .logistica-sheet[data-sheet="montaje-compartido"] .logistica-mount-base {
	min-width: 0;
	width: 100%;
}

.logistica-conversion-board .logistica-mount-base th,
.logistica-conversion-board .logistica-mount-base td,
.logistica-conversion-board .logistica-mount-refs th,
.logistica-conversion-board .logistica-mount-refs td {
	width: auto;
}

@media (min-width: 961px) {
	.logistica-conversion-board .logistica-sheet-scroll table,
	.logistica-conversion-board .logistica-conversion-excel-table,
	.logistica-conversion-board .logistica-mount-base,
	.logistica-conversion-board .logistica-mount-refs {
		min-width: 0;
		table-layout: fixed;
		width: 100%;
	}

	.logistica-conversion-board .logistica-sheet thead th {
		max-width: none;
	}

	.logistica-conversion-board .logistica-sheet-scroll,
	.logistica-conversion-board .logistica-tapas-excel-scroll {
		overflow-x: visible;
		padding-bottom: 0;
		scrollbar-gutter: auto;
	}
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-sheet-scroll,
.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-tapas-excel-scroll {
	border-top: 1px solid var(--lg-close-border);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
	scrollbar-color: #64748b #e2e8f0;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-sheet-scroll::-webkit-scrollbar,
.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-tapas-excel-scroll::-webkit-scrollbar {
	display: block;
	height: 12px;
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-sheet-scroll::-webkit-scrollbar-thumb,
.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-tapas-excel-scroll::-webkit-scrollbar-thumb {
	background: #64748b;
	border-radius: 999px;
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host table {
	min-width: 880px;
	table-layout: auto;
	width: 100%;
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-tapas-scroll-hint {
	color: #627d98;
	display: block;
	font-size: 12px;
	margin: 0;
	padding: 8px 12px 12px;
	text-align: left;
}

.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-tapas-scroll-hint[hidden] {
	display: none;
}

@media (min-width: 961px) {
	.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-sheet-scroll,
	.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host .logistica-tapas-excel-scroll {
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-gutter: stable;
	}

	.logistica-conversion-board:not(.logistica-tapas-board):not(.logistica-bolsas-board) .logistica-conversion-scroll-host table {
		min-width: 880px;
		table-layout: auto;
		width: 100%;
	}
}

.logistica-conversion-excel-table .is-actions-head,
.logistica-conversion-excel-table .logistica-calc-excel-actions-cell,
.logistica-mount-refs .is-actions-head,
.logistica-mount-refs .logistica-calc-excel-actions-cell {
	min-width: 148px;
	position: sticky;
	right: 0;
	width: 148px;
	z-index: 1;
}

.logistica-conversion-excel-table thead .is-actions-head,
.logistica-mount-refs thead .is-actions-head {
	background: #0f5f57;
	color: #ffffff;
	z-index: 3;
}

.logistica-conversion-excel-table tbody .logistica-calc-excel-actions-cell,
.logistica-mount-refs tbody .logistica-calc-excel-actions-cell {
	background: inherit;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
	padding: 6px;
	text-align: center;
	vertical-align: middle;
}

.logistica-conversion-excel-table tbody tr:hover .logistica-calc-excel-actions-cell,
.logistica-mount-refs tbody tr:hover .logistica-calc-excel-actions-cell {
	background: #f8fffe;
}

.logistica-conversion-board .logistica-sheet-actions {
	background: #f8fafc;
	border-top: 1px solid var(--lg-close-border);
	padding: 12px 14px;
}

.logistica-conversion-board .logistica-sheet-actions .button {
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 600;
	min-height: 36px;
	padding: 8px 16px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-conversion-board .logistica-sheet-actions .button:hover,
.logistica-conversion-board .logistica-sheet-actions .button:focus {
	background: #115e59;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

.logistica-table-sheet-actions {
	background: #f8fafc;
	border: 1px solid #d7ebe8;
	border-radius: 10px;
	margin: 0 0 12px;
	padding: 12px 14px;
}

.logistica-tapas-excel-wrap .logistica-table-sheet-actions {
	border-top: 1px solid #d7ebe8;
	display: flex;
	justify-content: center;
}

.logistica-table-sheet-actions .button,
.logistica-sheet-action-btn.button {
	align-items: center;
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #ffffff;
	display: inline-flex;
	font-weight: 600;
	gap: 6px;
	min-height: 36px;
	padding: 8px 16px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-table-sheet-actions .button:hover,
.logistica-table-sheet-actions .button:focus,
.logistica-sheet-action-btn.button:hover,
.logistica-sheet-action-btn.button:focus {
	background: #115e59;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-table-pagination {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #d7ebe8;
	border-radius: 0 0 10px 10px;
	border-top: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	justify-content: space-between;
	margin-top: -1px;
	padding: 12px 14px;
}

.logistica-warehouse-table-wrap .logistica-warehouse-add-form-card {
	margin: 0 0 12px;
}

.logistica-warehouse-add-form-card[hidden] {
	display: none !important;
}

.logistica-warehouse-add-form-card.is-open {
	animation: logistica-warehouse-add-form-in 0.2s ease;
}

@keyframes logistica-warehouse-add-form-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logistica-warehouse-add-form-card {
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.06);
	padding: 16px;
}

.logistica-warehouse-add-form__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin-bottom: 14px;
}

.logistica-warehouse-add-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.logistica-warehouse-add-form__field.is-type-textarea {
	grid-column: 1 / -1;
}

.logistica-warehouse-add-form__field span {
	color: #0f766e;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.logistica-warehouse-add-form__field input,
.logistica-warehouse-add-form__field textarea {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-warehouse-add-form__field input:focus,
.logistica-warehouse-add-form__field textarea:focus {
	border-color: #0d9488;
	box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
	outline: none;
}

.logistica-warehouse-add-form__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.logistica-warehouse-add-form__submit .dashicons {
	font-size: 16px;
	height: 16px;
	margin-right: 4px;
	width: 16px;
}

.logistica-warehouse-add-form__hint {
	color: #64748b;
	font-size: 12px;
	margin: 10px 0 0;
}

.logistica-warehouse-table-wrap .logistica-warehouse-table-card,
.logistica-cierre-caracteristicas-table-wrap .logistica-cierre-caracteristicas-table-card,
.logistica-etiqueta-catalog-table-wrap .logistica-etiqueta-catalog-table-card {
	border-radius: 14px 14px 0 0;
	overflow: hidden;
}

.logistica-warehouse-table-wrap .logistica-warehouse-table-card:has(.logistica-table-pagination),
.logistica-cierre-caracteristicas-table-wrap .logistica-cierre-caracteristicas-table-card:has(.logistica-table-pagination),
.logistica-etiqueta-catalog-table-wrap .logistica-etiqueta-catalog-table-card:has(.logistica-table-pagination) {
	border-radius: 14px 14px 0 0;
}

.logistica-warehouse-table-card .logistica-table-pagination,
.logistica-cierre-caracteristicas-table-card .logistica-table-pagination,
.logistica-etiqueta-catalog-table-card .logistica-table-pagination {
	border-radius: 0 0 14px 14px;
}

.logistica-table-pagination__info {
	color: #0f766e;
	font-size: 12px;
	font-weight: 600;
	margin: 0;
}

.logistica-table-pagination__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-table-pagination__label {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	min-width: 110px;
	text-align: center;
}

.logistica-table-pagination__btn {
	background: #ffffff;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	color: #0f766e;
	font-size: 13px;
	font-weight: 600;
	min-height: 34px;
	padding: 6px 12px;
}

.logistica-table-pagination__btn:hover:not(:disabled),
.logistica-table-pagination__btn:focus:not(:disabled) {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

.logistica-table-pagination__btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.logistica-table-pagination__size {
	align-items: center;
	color: #475569;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
}

.logistica-table-pagination__size select {
	background: #ffffff;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	min-height: 34px;
	padding: 6px 10px;
}

.logistica-conversion-board .logistica-sheet th,
.logistica-conversion-board .logistica-sheet td {
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 1.35;
	padding: 8px 6px;
}

.logistica-conversion-board .logistica-sheet tbody td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-conversion-board .logistica-sheet thead th {
	background: #f1f5f9;
	color: #334155;
	font-size: 11px;
	font-weight: 600;
	height: auto;
	letter-spacing: 0.02em;
	line-height: 1.25;
	min-height: 2.75em;
	overflow: hidden;
	overflow-wrap: break-word;
	text-align: center;
	text-transform: none;
	vertical-align: bottom;
	white-space: normal;
	width: auto;
	word-break: break-word;
}

.logistica-conversion-board .logistica-sheet thead th:first-child {
	min-width: 118px;
	width: 118px;
}

.logistica-conversion-board .logistica-sheet tbody th {
	background: #f8fafc;
	color: #334155;
	font-weight: 600;
	min-width: 118px;
	overflow: hidden;
	overflow-wrap: normal;
	text-align: left;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
	width: 118px;
	word-break: normal;
}

.logistica-conversion-board .logistica-sheet tbody th.is-locked-label {
	background: #f1f5f9;
	color: #475569;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tbody td {
	background: #ffffff;
	color: #0f172a;
	min-height: auto;
}

.logistica-conversion-board .logistica-sheet tbody td.is-editable {
	background: #ffffff;
}

.logistica-conversion-board .logistica-sheet tbody td.is-result {
	background: #d1fae5;
	color: #065f46;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr.has-cavity-error td,
.logistica-conversion-board .logistica-sheet tr.has-cavity-error td.is-result {
	background: #fee2e2;
	color: #991b1b;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr.has-cut-error td {
	background: #fee2e2;
	color: #991b1b;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr.has-cut-ok td {
	background: #ecfdf5;
	color: #065f46;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr.has-ref-shortage td {
	background: #fee2e2 !important;
	color: #991b1b;
}

.logistica-conversion-board .logistica-sheet tr.has-ref-surplus td {
	background: #ffedd5 !important;
	color: #9a3412;
}

.logistica-conversion-board .logistica-sheet tr.has-ref-ok td[data-output="ref_status"] {
	background: #d1fae5 !important;
	color: #065f46;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-base {
	border-bottom: 1px solid var(--lg-close-border);
}

.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-base tbody td.is-result {
	background: #d1fae5;
	color: #065f46;
	font-size: 12px;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-refs thead th {
	background: #f1f5f9;
	border-top: 1px solid var(--lg-close-border);
	color: #334155;
}

.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td[data-output],
.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td.is-result {
	background: #ecfdf5;
}

.logistica-conversion-board .logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td.is-result {
	background: #a7f3d0;
	color: #065f46;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr[data-blank-ref] td {
	background: #f0f9ff;
	border-bottom: 1px solid #bae6fd;
	border-top: 1px solid #bae6fd;
	box-shadow: none;
	color: #0c4a6e;
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet tr[data-blank-ref] td:first-child {
	background: #e0f2fe;
	border-left: 0;
}

.logistica-conversion-board .logistica-sheet tr[data-blank-ref] td:last-child {
	border-right: 0;
}

.logistica-conversion-board .logistica-sheet tr[data-blank-ref] {
	box-shadow: none;
}

.logistica-conversion-board .logistica-sheet tr[data-blank-ref] td.is-result {
	background: #bae6fd;
	color: #0c4a6e;
}

.logistica-conversion-board .logistica-cut-summary td {
	border-top: 2px solid var(--lg-close-border);
	font-weight: 600;
}

.logistica-conversion-board .logistica-sheet input {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	height: auto;
	min-height: 32px;
	padding: 6px 8px;
	text-align: center;
}

.logistica-conversion-board .logistica-sheet input:hover {
	border-color: #94a3b8;
}

.logistica-conversion-board .logistica-sheet input:focus {
	background: #ffffff;
	border-color: var(--lg-close-accent, #0f766e);
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
	outline: none;
}

.logistica-conversion-board .logistica-sheet tbody th.is-editable input {
	text-align: left;
	text-transform: none;
}

.logistica-conversion-board .logistica-row-button {
	background: #fff1f2;
	border: 1px solid #fecaca;
	border-radius: 6px;
	color: #b91c1c;
	font-size: 12px;
	font-weight: 700;
	height: 28px;
	line-height: 26px;
	width: 28px;
}

.logistica-conversion-board .logistica-row-button:hover {
	background: #fee2e2;
	border-color: #f87171;
}

.logistica-sheet {
	background: #ffffff;

}

.logistica-sheet.is-wide {
	background: #f8fafc;
	border-width: 2px;
}

.logistica-sheet h2 {
	border-bottom: 2px solid #111827;
	font-size: 34px;
	font-weight: 700;
	margin: 0;
	padding: 12px 10px;
	text-align: center;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.logistica-sheet-scroll {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

.logistica-sheet-presets {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 0 0 12px;
}

.logistica-sheet-presets label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

.logistica-sheet-presets select {
	appearance: none;
	background-color: #ffffff;
	background-image: linear-gradient(45deg, transparent 50%, #0f766e 50%), linear-gradient(135deg, #0f766e 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	border: 1px solid #0f766e;
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	min-height: 38px;
	min-width: 260px;
	padding: 7px 38px 7px 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-sheet-presets select:hover {
	border-color: #0b5e58;
}

.logistica-sheet-presets select:focus {
	border-color: #0b5e58;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-sheet-presets select:disabled {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
	color: #64748b;
}

.logistica-sheet-presets__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-sheet-presets__actions .button {
	background: #0f766e;
	border: 1px solid #0b5e58;
	border-radius: 10px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	min-height: 38px;
	min-width: 118px;
	padding: 8px 14px;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.logistica-sheet-presets__actions .button:hover,
.logistica-sheet-presets__actions .button:focus {
	background: #0b5e58;
	border-color: #084843;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	color: #ffffff;
	transform: translateY(-1px);
}

.logistica-sheet-presets__actions .button:disabled {
	background: #94a3b8;
	border-color: #94a3b8;
	box-shadow: none;
	color: #e2e8f0;
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}

.logistica-sheet-presets__actions .button.button-link-delete {
	background: #b91c1c;
	border-color: #991b1b;
}

.logistica-sheet-presets__actions .button.button-link-delete:hover,
.logistica-sheet-presets__actions .button.button-link-delete:focus {
	background: #991b1b;
	border-color: #7f1d1d;
	box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}

.logistica-sheet-actions {
	background: #eef2ff;
	border-top: 3px solid #1e3a8a;
	padding: 10px;
}

.logistica-sheet-actions .button {
	background: #1d4ed8;
	border-color: #1e40af;
	color: #ffffff;
	font-weight: 700;
}

.logistica-row-button {
	background: #fee2e2;
	border: 1px solid #dc2626;
	border-radius: 50%;
	color: #991b1b;
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
	height: 22px;
	line-height: 20px;
	padding: 0;
	text-align: center;
	width: 22px;
}

.logistica-row-button:hover {
	background: #fecaca;
}

.logistica-sheet table {
	border-collapse: collapse;
	min-width: 0;
	table-layout: fixed;
	width: 100%;
}

.logistica-sheet table + table {
	margin-top: 14px;
}

.logistica-mount-refs {
	min-width: 920px;
}

.logistica-mount-base th:nth-child(7),
.logistica-mount-base td:nth-child(7),
.logistica-mount-refs th:nth-child(7),
.logistica-mount-refs td:nth-child(7) {
	min-width: 145px;
	white-space: normal;
}

.logistica-mount-base td[data-output="distribution_status"],
.logistica-mount-refs td[data-output="ref_status"] {
	line-height: 1.2;
	overflow-wrap: anywhere;
	padding: 4px 5px;
	white-space: normal;
}

.logistica-sheet.is-wide .logistica-mount-base th,
.logistica-sheet.is-wide .logistica-mount-base td,
.logistica-sheet.is-wide .logistica-mount-refs th,
.logistica-sheet.is-wide .logistica-mount-refs td {
	padding-left: 3px;
	padding-right: 3px;
}

.logistica-mount-base th,
.logistica-mount-base td {
	width: 10%;
}

.logistica-mount-base th:nth-child(1),
.logistica-mount-base td:nth-child(1),
.logistica-mount-base th:nth-child(2),
.logistica-mount-base td:nth-child(2) {
	width: 11%;
}

.logistica-mount-base th:nth-child(3),
.logistica-mount-base td:nth-child(3),
.logistica-mount-base th:nth-child(4),
.logistica-mount-base td:nth-child(4),
.logistica-mount-base th:nth-child(5),
.logistica-mount-base td:nth-child(5),
.logistica-mount-base th:nth-child(6),
.logistica-mount-base td:nth-child(6) {
	width: 10%;
}

.logistica-mount-base th:nth-child(7),
.logistica-mount-base td:nth-child(7) {
	width: 11%;
}

.logistica-mount-base th:nth-child(8),
.logistica-mount-base td:nth-child(8),
.logistica-mount-base th:nth-child(9),
.logistica-mount-base td:nth-child(9) {
	width: 9%;
}

.logistica-mount-refs th:nth-child(1),
.logistica-mount-refs td:nth-child(1) {
	width: 13%;
}

.logistica-mount-refs th:nth-child(2),
.logistica-mount-refs td:nth-child(2) {
	width: 8%;
}

.logistica-mount-refs th:nth-child(3),
.logistica-mount-refs td:nth-child(3) {
	width: 14%;
}

.logistica-mount-refs th:nth-child(4),
.logistica-mount-refs td:nth-child(4),
.logistica-mount-refs th:nth-child(5),
.logistica-mount-refs td:nth-child(5),
.logistica-mount-refs th:nth-child(6),
.logistica-mount-refs td:nth-child(6) {
	width: 13%;
}

.logistica-mount-refs th:nth-child(8),
.logistica-mount-refs td:nth-child(8) {
	width: 7%;
}

.logistica-sheet.is-wide .logistica-mount-base {
	border-bottom: 4px solid #111827;
}

.logistica-sheet.is-wide .logistica-mount-base tbody td {
	font-size: 15px;
	height: 30px;
}

.logistica-sheet.is-wide .logistica-mount-base tbody td.is-result {
	background: #f59e0b;
	color: #111827;
	font-size: 16px;
	font-weight: 800;
}

.logistica-sheet.is-wide .logistica-mount-refs thead th {
	background: #3f8fca;
	border-top: 4px solid #111827;
}

.logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td {
	background: #ffffff;
}

.logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td[data-output],
.logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td.is-result {
	background: #fef08a;
}

.logistica-sheet.is-wide .logistica-mount-refs tbody tr:not([data-blank-ref]) td.is-result {
	background: #fbbf24;
	font-weight: 800;
}

.logistica-sheet th,
.logistica-sheet td {
	border: 2px solid #111827;
	font-size: 15px;
	height: auto;
	line-height: 1.25;
	padding: 5px 6px;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.logistica-sheet thead th {
	background: #5b9bd5;
	color: #ffffff;
	font-weight: 700;
	height: 42px;
	text-transform: uppercase;
}

.logistica-sheet tbody th {
	background: #ffffff;
	color: #111827;
	font-weight: 500;
	text-align: left;
	text-transform: uppercase;
	width: 105px;
}

.logistica-sheet tbody th.is-editable {
	padding: 0;
}

.logistica-sheet tbody th.is-editable input {
	font-weight: 500;
	text-align: left;
	text-transform: uppercase;
}

.logistica-sheet tbody th.is-locked-label {
	background: #e5e7eb;
	color: #374151;
	font-weight: 800;
}

.logistica-sheet tbody td {
	background: #ffff00;
	color: #111827;
	min-height: 30px;
}

.logistica-sheet tbody td.is-editable {
	background: #ffffff;
}

.logistica-sheet tbody td.is-result {
	background: #ffc000;
	font-weight: 700;
}

.logistica-sheet tr.has-cavity-error td,
.logistica-sheet tr.has-cavity-error td.is-result {
	background: #fecaca;
	color: #7f1d1d;
	font-weight: 700;
}

.logistica-sheet tr.has-cut-error td {
	background: #fecaca;
	color: #7f1d1d;
	font-weight: 800;
}

.logistica-sheet tr.has-cut-ok td {
	background: #bbf7d0;
	color: #14532d;
	font-weight: 800;
}

.logistica-sheet tr.has-ref-shortage td {
	background: #fecaca !important;
	color: #7f1d1d;
}

.logistica-sheet tr.has-ref-surplus td {
	background: #fed7aa !important;
	color: #7c2d12;
}

.logistica-sheet tr.has-ref-ok td[data-output="ref_status"] {
	background: #bbf7d0 !important;
	color: #14532d;
	font-weight: 800;
}

.logistica-cut-summary td {
	border-top: 4px solid #111827;
	height: 30px;
}

.logistica-sheet[data-sheet="pliego-conversion"] thead th:first-child,
.logistica-sheet[data-sheet="pliego-conversion"] tbody th {
	line-height: 1.25;
	min-width: 118px;
	white-space: nowrap;
	width: 118px;
	word-break: normal;
}

.logistica-sheet[data-sheet="pliego-conversion"] thead th,
.logistica-sheet[data-sheet="pliego-conversion"] td[data-output="cut_status"],
.logistica-sheet[data-sheet="pliego-conversion"] .logistica-cut-summary td {
	line-height: 1.15;
	overflow-wrap: anywhere;
	white-space: normal;
}

.logistica-sheet[data-sheet="pliego-conversion"] td[data-output="cut_status"] {
	font-size: 13px;
	padding-left: 3px;
	padding-right: 3px;
}

.logistica-sheet[data-sheet="bobina-conversion"] thead th:first-child,
.logistica-sheet[data-sheet="bobina-conversion"] tbody th {
	line-height: 1.25;
	min-width: 118px;
	white-space: nowrap;
	width: 118px;
	word-break: normal;
}

.logistica-sheet[data-sheet="bobina-conversion"] thead th,
.logistica-sheet[data-sheet="bobina-conversion"] td[data-output="cut_status"],
.logistica-sheet[data-sheet="bobina-conversion"] .logistica-cut-summary td {
	line-height: 1.15;
	overflow-wrap: anywhere;
	white-space: normal;
}

.logistica-sheet[data-sheet="bobina-conversion"] td[data-output="cut_status"] {
	font-size: 13px;
	padding-left: 3px;
	padding-right: 3px;
}

.logistica-sheet tr[data-blank-ref] td {
	background: #e0f2fe;
	border-bottom: 4px solid #1e3a8a;
	border-top: 4px solid #1e3a8a;
	color: #0c4a6e;
	font-weight: 800;
}

.logistica-sheet tr[data-blank-ref] td:first-child {
	background: #bae6fd;
	border-left: 4px solid #1e3a8a;
	font-weight: 700;
}

.logistica-sheet tr[data-blank-ref] td:last-child {
	border-right: 4px solid #1e3a8a;
}

.logistica-sheet tr[data-blank-ref] {
	box-shadow: inset 0 4px 0 #1e3a8a;
}

.logistica-sheet tr[data-blank-ref] td.is-result {
	background: #38bdf8;
	color: #082f49;
}

.logistica-close-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(440px, 1fr));
	margin-bottom: 24px;
}

.logistica-close-bases {
	border-top: 4px solid #111827;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(360px, 1.25fr) minmax(230px, 0.8fr) minmax(330px, 1fr);
	padding-top: 16px;
}

.logistica-close-order th,
.logistica-close-order td,
.logistica-close-bases th,
.logistica-close-bases td {
	height: 32px;
	padding-left: 4px;
	padding-right: 4px;
	white-space: normal;
}

.logistica-close-order {
	box-shadow: 0 0 0 3px #111827 inset;
}

.logistica-close-order th:first-child,
.logistica-close-bases th:first-child {
	width: 28%;
}

.logistica-close-order td:nth-child(2) {
	width: 18%;
}

.logistica-close-order thead th:first-child {
	background: #ffffff;
	color: #111827;
	font-size: 18px;
}

.logistica-close-order .close-title {
	background: #ffff00;
	color: #111827;
	font-weight: 800;
	text-align: left;
}

.logistica-close-order .close-size {
	background: #ffffff;
}

.logistica-close-order tbody th {
	background: #d99694;
}

.logistica-close-order td[data-output],
.logistica-close-bases td[data-output] {
	background: #00b050;
	color: #111827;
	font-weight: 700;
}

.logistica-close-order td.is-adjusted {
	color: #ff0000;
	font-weight: 900;
}

.logistica-close-bases thead tr:first-child th {
	background: #ffffff;
	color: #111827;
	font-size: 18px;
	font-weight: 700;
}

.logistica-close-bases thead tr:nth-child(2) th {
	background: #d99694;
	color: #111827;
}

.logistica-close-bases tbody th {
	background: #d99694;
}

.logistica-close-bases [data-field="cod"] {
	background: #ffff00;
}

.logistica-close-order input,
.logistica-close-bases input {
	font-weight: 600;
}

.logistica-close-order .close-title input {
	text-align: left;
	text-transform: uppercase;
}

.logistica-close-workspace {
	background: #f1f5f9;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	border: 0;
	border-radius: var(--lg-close-radius);
	margin: 16px 0;
	padding: 20px;
	position: relative;
}

.logistica-close-loading {
	align-items: center;
	background: rgba(248, 255, 254, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 30;
}

.logistica-close-loading:not([hidden]),
.logistica-close-workspace.is-tab-loading > .logistica-close-loading,
.logistica-close-workspace.is-close-workspace-loading > .logistica-close-loading,
.logistica-close-workspace.is-tab-loading > [data-close-loading],
.logistica-close-workspace.is-close-workspace-loading > [data-close-loading] {
	position: fixed;
	z-index: 100050;
}

.logistica-close-loading[hidden] {
	display: none !important;
}

.logistica-tab-panel,
.logistica-warehouse-board,
.logistica-minutas-board,
.logistica-planeacion,
.logistica-conversion-board,
.logistica-cierre-caracteristicas-board,
.logistica-etiqueta-catalog-board {
	position: relative;
}

.logistica-tab-panel {
	min-height: 120px;
}

.logistica-tab-panel.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]):not([data-user-panel-loading]):not([data-close-loading]),
.logistica-warehouse-board.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-minutas-board.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-planeacion.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-conversion-board.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-cierre-caracteristicas-board.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-etiqueta-catalog-board.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]),
.logistica-close-workspace.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]):not([data-close-loading]),
.logistica-close-workspace.is-close-workspace-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]):not([data-close-loading]) {
	opacity: 0.58;
	pointer-events: none;
	user-select: none;
}

.logistica-etiqueta-catalog-board.is-tab-loading > [data-logistica-tab-loading][hidden] ~ *,
.logistica-tab-panel[data-tab-panel="logistica-codigos-etiqueta"].is-tab-loading > [data-logistica-tab-loading][hidden] ~ * {
	opacity: 1;
	pointer-events: auto;
	user-select: auto;
}

.logistica-tab-panel[data-tab-panel="logistica-codigos-etiqueta"].is-tab-loading .logistica-etiqueta-catalog-filters,
.logistica-tab-panel[data-tab-panel="logistica-codigos-etiqueta"].is-tab-loading .logistica-etiqueta-catalog-table-card {
	opacity: 1;
	pointer-events: auto;
	user-select: auto;
}

.logistica-close-workspace.is-tab-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]):not([data-close-loading]),
.logistica-close-workspace.is-close-workspace-loading > :not(.logistica-tab-loading):not([data-logistica-tab-loading]):not([data-close-loading]) {
	opacity: 0;
	visibility: hidden;
}

.logistica-tab-loading,
.logistica-user-panel__loading {
	align-items: center;
	background: rgba(248, 255, 254, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	pointer-events: none;
	position: absolute;
	z-index: 40;
}

.logistica-tab-panel > .logistica-tab-loading:not([hidden]) {
	position: absolute;
	z-index: 100040;
}

.logistica-tab-loading:not([hidden]),
.logistica-user-panel__loading:not([hidden]) {
	position: fixed;
	z-index: 100040;
}

.logistica-tab-loading[hidden],
.logistica-user-panel__loading[hidden] {
	display: none !important;
}

.logistica-tab-loading__inner,
.logistica-close-loading-inner,
.logistica-user-panel__loading-inner {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.14);
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 300px;
	pointer-events: auto;
	padding: 24px 28px;
	text-align: center;
}

.logistica-tab-loading__inner p,
.logistica-close-loading-inner p,
.logistica-user-panel__loading-inner p {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

.logistica-tab-loading__spinner,
.logistica-close-loading-spinner,
.logistica-user-panel__loading-spinner {
	animation: logistica-tab-spin 0.85s linear infinite;
	border: 3px solid #ccfbf1;
	border-radius: 50%;
	border-top-color: #0f766e;
	flex-shrink: 0;
	height: 32px;
	width: 32px;
}

@keyframes logistica-tab-spin {
	to {
		transform: rotate(360deg);
	}
}

.logistica-close-loading-inner {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--lg-close-border, #e2e8f0);
	border-radius: 12px;
	box-shadow: var(--lg-close-shadow, 0 8px 24px rgba(15, 23, 42, 0.12));
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 220px;
	padding: 22px 28px;
	text-align: center;
}

.logistica-close-loading-inner p {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.logistica-close-loading-spinner {
	animation: logistica-close-spin 0.8s linear infinite;
	border: 3px solid #cbd5e1;
	border-radius: 50%;
	border-top-color: var(--lg-close-accent, #0f766e);
	height: 36px;
	width: 36px;
}

@keyframes logistica-close-spin {
	to {
		transform: rotate(360deg);
	}
}

.logistica-close-workspace.is-close-workspace-loading {
	pointer-events: none;
}

.logistica-close-workspace.is-close-workspace-loading .logistica-close-loading {
	pointer-events: auto;
}

.logistica-close-toolbar {
	align-items: flex-start;
	background: #ffffff;
	border: 1px solid var(--lg-close-border);
	border-radius: var(--lg-close-radius);
	box-shadow: var(--lg-close-shadow);
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(260px, 1fr) auto;
	padding: 18px 20px;
}

.logistica-close-toolbar-heading {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.logistica-close-toolbar h2 {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0;
	text-transform: none;
}

@media (max-width: 960px) {
	.logistica-admin :is(.logistica-close-toolbar, .logistica-page-toolbar__intro) h2,
	.logistica-admin .logistica-help__hero h2,
	.logistica-admin .logistica-panel > h2,
	.logistica-admin .logistica-conversion-board .logistica-sheet > h2,
	.logistica-admin .logistica-pedidos-sheet > h2 {
		font-family: inherit !important;
		font-size: clamp(1.6rem, 3vw, 2rem) !important;
		font-weight: 700 !important;
		letter-spacing: -0.01em !important;
		line-height: 1.3 !important;
		margin: 0 0 0.35rem !important;
	}
}

.logistica-page-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-page-toolbar__badge {
	align-items: center;
	background: linear-gradient(145deg, #e6f6f3, #d2eee8);
	border: 1px solid #d7ebe8;
	border-radius: 14px;
	color: #13776d;
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.logistica-page-toolbar__badge .dashicons {
	font-size: 24px;
	height: 24px;
	width: 24px;
}

.logistica-page-toolbar__intro > div:not(.logistica-page-toolbar__badge) h2 {
	margin: 0 0 6px;
}

.logistica-page-toolbar__intro p {
	color: #475569;
	margin: 0;
}

.logistica-close-toolbar p,
.logistica-close-sidebar,
.logistica-close-sidebar p {
	font-family: inherit;
}

.logistica-close-sidebar p {
	color: #64748b;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
}

.logistica-autosave-status {
	background: #f1f5f9;
	border: 0;
	border-radius: 999px;
	color: #64748b;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
	padding: 3px 10px;
	white-space: nowrap;
}

.logistica-close-toolbar .logistica-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-column: 1 / -1;
}

.logistica-close-toolbar .logistica-actions .button {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #334155;
	font-weight: 600;
	line-height: 1.2;
	min-height: 36px;
	padding: 8px 14px;
	text-shadow: none;
}

.logistica-close-toolbar .logistica-actions .button:hover,
.logistica-close-toolbar .logistica-actions .button:focus {
	background: #f8fafc;
	border-color: #94a3b8;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
	color: #0f172a;
}

.logistica-close-toolbar .logistica-actions .button[data-action="add-close-ref"],
.logistica-close-toolbar .logistica-actions .logistica-sheet-action-btn.button {
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	box-shadow: none;
	color: #ffffff;
}

.logistica-close-ref-modal .logistica-label-print-modal__dialog {
	max-width: min(1180px, calc(100vw - 24px));
}

.logistica-close-ref-modal .logistica-label-print-modal__scroll {
	display: block;
	padding: 12px 14px 8px;
}

.logistica-close-ref-modal__mount {
	min-width: 0;
}

.logistica-close-ref-modal .logistica-close-reference {
	margin: 0;
}

.logistica-close-ref-modal .logistica-reference-pick,
.logistica-close-ref-modal .logistica-variant-actions,
.logistica-close-ref-modal [data-action="edit-close-variant"],
.logistica-close-ref-modal [data-action="delete-close-variant"],
.logistica-close-ref-modal [data-field="nombre"],
.logistica-close-ref-modal [data-field="variante"],
.logistica-close-ref-modal [data-field="tipo_producto"] {
	display: none !important;
}

.logistica-close-ref-modal .logistica-close-reference > header {
	grid-template-areas:
		'title'
		'meta'
		'status';
	grid-template-columns: minmax(0, 1fr);
}

.logistica-close-ref-modal .logistica-close-table-wrap {
	max-height: min(42vh, 420px);
	overflow: auto;
}

.logistica-close-toolbar .logistica-actions .button[data-action="add-close-ref"]:hover,
.logistica-close-toolbar .logistica-actions .button[data-action="add-close-ref"]:focus,
.logistica-close-toolbar .logistica-actions .logistica-sheet-action-btn.button:hover,
.logistica-close-toolbar .logistica-actions .logistica-sheet-action-btn.button:focus {
	background: #115e59;
	border: 0;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-close-toolbar .logistica-tapas-excel-toolbar {
	flex: 1 1 auto;
	justify-content: flex-start;
	margin: 0;
}

.logistica-close-toolbar .logistica-actions .button-primary {
	background: #0f172a;
	border-color: transparent;
	color: #ffffff;
}

.logistica-close-toolbar .logistica-actions .button-primary:hover {
	background: #1e293b;
	color: #ffffff;
}

.logistica-close-toolbar .logistica-actions a.button:not(.logistica-excel-btn) {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.logistica-close-toolbar .logistica-actions a.button:not(.logistica-excel-btn):hover,
.logistica-close-toolbar .logistica-actions a.button:not(.logistica-excel-btn):focus {
	background: #fef3c7;
	color: #78350f;
}

.logistica-excel-btn,
.logistica-excel-btn.button,
a.logistica-excel-btn.button,
button.logistica-excel-btn.button {
	align-items: center;
	appearance: none;
	background: #0f766e;
	border: 1px solid #0b5e58;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1.3;
	min-height: 38px;
	min-width: 190px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.logistica-excel-btn:hover,
.logistica-excel-btn:focus {
	background: #0b5e58;
	border-color: #084843;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.logistica-excel-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-excel-btn:disabled {
	background: #94a3b8;
	border-color: #94a3b8;
	box-shadow: none;
	color: #e2e8f0;
	cursor: not-allowed;
	transform: none;
}

.logistica-excel-btn__label {
	min-width: 0;
}

@media (max-width: 640px) {
	.logistica-tapas-excel-toolbar:not(.logistica-excel-zoom-toolbar),
	.logistica-user-panel__section-tools--excel,
	.logistica-excel-bulk {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		justify-content: stretch;
		width: 100%;
	}

	.logistica-tapas-excel-toolbar:not(.logistica-excel-zoom-toolbar) {
		justify-content: stretch;
		margin-left: 0;
		margin-right: 0;
	}

	.logistica-close-toolbar .logistica-tapas-excel-toolbar:not(.logistica-excel-zoom-toolbar) {
		justify-content: stretch;
	}

	.logistica-tapas-excel-toolbar .logistica-excel-zoom {
		flex: 1 1 100%;
		justify-content: center;
		width: 100%;
	}

	.logistica-excel-btn,
	.logistica-excel-btn.button,
	a.logistica-excel-btn.button,
	button.logistica-excel-btn.button {
		border-radius: 8px;
		flex: 1 1 calc(50% - 3px);
		font-size: 10px;
		font-weight: 600;
		gap: 4px;
		justify-content: center;
		line-height: 1.2;
		max-width: calc(50% - 3px);
		min-height: 32px;
		min-width: 0 !important;
		padding: 6px 8px;
	}

	.logistica-excel-btn__label {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.logistica-excel-btn .dashicons {
		flex-shrink: 0;
		font-size: 14px;
		height: 14px;
		line-height: 14px;
		width: 14px;
	}

	.logistica-tapas-excel-toolbar .logistica-excel-btn {
		flex-shrink: 1;
	}
}

.logistica-excel-bulk {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-excel-upload-form-source {
	display: none;
}

.logistica-excel-upload {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-excel-upload input[type="file"],
.logistica-warehouse-import input[type="file"] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	max-width: 100%;
	min-height: 38px;
	padding: 6px 8px;
}

.logistica-excel-bulk-help {
	color: #64748b;
	font-size: 12px;
	grid-column: 1 / -1;
	margin: 0;
}

.logistica-close-toolbar--ordenes {
	align-items: stretch;
	grid-template-areas:
		"intro"
		"actions"
		"help";
	grid-template-columns: 1fr;
}

.logistica-close-toolbar--ordenes .logistica-page-toolbar__intro {
	grid-area: intro;
}

.logistica-close-toolbar--ordenes .logistica-page-toolbar__intro > div:not(.logistica-page-toolbar__badge) p {
	margin-top: 6px;
}

.logistica-close-toolbar--ordenes .logistica-close-toolbar__actions {
	align-items: center;
	border-top: 1px solid var(--lg-close-border);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-area: actions;
	justify-content: center;
	padding-top: 12px;
}

.logistica-close-toolbar--ordenes .logistica-close-toolbar__actions .logistica-actions {
	flex: 0 1 auto;
	grid-column: auto;
	justify-content: center;
}

.logistica-close-toolbar--ordenes .logistica-close-toolbar__actions .logistica-tapas-excel-toolbar {
	flex: 0 1 auto;
	justify-content: center;
	margin: 0;
	width: auto;
}

.logistica-close-toolbar--ordenes .logistica-close-toolbar__help {
	grid-area: help;
	margin: 0;
	max-width: 760px;
	justify-self: center;
	text-align: center;
}

.logistica-autosave-status.is-saving {
	background: #fffbeb;
	color: #a16207;
}

.logistica-autosave-status.is-saved {
	background: #f0fdf4;
	color: #166534;
}

.logistica-autosave-status.is-error {
	background: #fef2f2;
	color: #b91c1c;
}

.logistica-close-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0 16px;
}

.logistica-close-legend span {
	border: 0;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	padding: 5px 12px;
}

.logistica-close-layout {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-areas: "left main";
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
}

.logistica-close-layout > * {
	min-width: 0;
}

.logistica-close-left-column {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 16px;
	grid-area: left;
	max-height: calc(100vh - 120px);
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
	overflow-y: auto;
	position: sticky;
	scrollbar-gutter: stable;
	top: calc(var(--logistica-nav-height, 52px) + 16px);
	width: 100%;
}

body:not(.logistica-panel-page) .logistica-close-left-column {
	top: 54px;
}

.logistica-close-sidebar {
	background: #ffffff;
	border: 1px solid var(--lg-close-border, #e2e8f0);
	border-radius: var(--lg-close-radius, 10px);
	box-shadow: var(--lg-close-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
	flex: 0 0 auto;
	max-width: 100%;
	overflow: visible;
	padding: 16px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.wrap.logistica-admin .logistica-close-sidebar .logistica-close-sidebar-title,
.logistica-frontend .logistica-close-sidebar .logistica-close-sidebar-title {
	box-sizing: border-box;
	font-family: inherit !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 4px;
	max-width: 100%;
	text-transform: none;
	white-space: nowrap;
}

.logistica-close-bases-list {
	display: grid;
	flex: 0 0 auto;
	gap: 10px;
	margin-top: 0;
	min-height: auto;
	position: relative;
	z-index: 2;
}

.logistica-base-navigator {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	contain: inline-size;
	display: grid;
	font-family: inherit;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 12px;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-base-navigator:focus-within {
	border-color: #99f6e4;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.08);
}

.logistica-base-navigator label {
	color: #475569;
	display: grid;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 5px;
	grid-template-columns: minmax(0, 1fr);
	max-width: 100%;
	min-width: 0;
	text-transform: none;
}

.logistica-base-field-control {
	display: flex;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

.logistica-base-navigator input,
.logistica-base-navigator select {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	display: block;
	font-size: 13px;
	line-height: 1.35;
	max-width: 100%;
	min-height: 38px;
	min-width: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-base-navigator .logistica-base-field-control > input,
.logistica-base-navigator .logistica-base-field-control > select {
	flex: 1 1 0;
	max-width: 100%;
	min-width: 0;
	width: 0;
}

.logistica-base-navigator input:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
}

.logistica-base-navigator select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 12px;
	color: #0f172a;
	cursor: pointer;
	max-width: 100%;
	overflow: hidden;
	padding: 8px 36px 8px 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-base-navigator select:hover {
	background-color: #f0fdfa;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	border-color: #5eead4;
	box-shadow: 0 1px 4px rgba(15, 118, 110, 0.12);
}

.logistica-base-navigator input:focus,
.logistica-base-navigator input:focus-visible,
.logistica-base-navigator select:focus,
.logistica-base-navigator select:focus-visible {
	background-color: #ffffff;
	border-color: var(--lg-close-accent, #0f766e);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-base-navigator select:focus,
.logistica-base-navigator select:focus-visible {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
}

.logistica-base-nav-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-base-quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.logistica-base-quick-actions .button {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	min-height: 32px;
	padding: 5px 10px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-base-quick-actions .button:hover {
	background: #f0fdfa;
	border-color: #5eead4;
	box-shadow: 0 1px 4px rgba(15, 118, 110, 0.1);
	color: #0f766e;
}

.logistica-base-quick-actions .button:focus-visible {
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
	outline: none;
}

.wrap.logistica-admin .logistica-base-navigator .logistica-base-count,
.logistica-frontend .logistica-base-navigator .logistica-base-count {
	box-sizing: border-box;
	color: #475569;
	display: flex;
	flex-direction: column;
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 600;
	gap: 3px;
	letter-spacing: 0.01em;
	line-height: 1.4;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.wrap.logistica-admin .logistica-base-navigator .logistica-base-count-line,
.wrap.logistica-admin .logistica-base-navigator .logistica-base-count-summary,
.wrap.logistica-admin .logistica-base-navigator .logistica-base-count-meta,
.wrap.logistica-admin .logistica-base-navigator .logistica-base-count-hint,
.logistica-frontend .logistica-base-navigator .logistica-base-count-line,
.logistica-frontend .logistica-base-navigator .logistica-base-count-summary,
.logistica-frontend .logistica-base-navigator .logistica-base-count-meta,
.logistica-frontend .logistica-base-navigator .logistica-base-count-hint {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
	width: 100%;
	word-break: break-word;
}

.wrap.logistica-admin .logistica-base-navigator .logistica-base-count-hint,
.logistica-frontend .logistica-base-navigator .logistica-base-count-hint {
	color: #64748b;
	font-weight: 500;
}

.logistica-base-card {
	background: #ffffff;
	border: 1px solid var(--lg-close-border, #e2e8f0);
	border-left: 4px solid var(--lg-close-accent, #0f766e);
	border-radius: 8px;
	box-shadow: var(--lg-close-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
	box-sizing: border-box;
	flex-shrink: 0;
	min-height: 54px;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.logistica-base-card.is-variant-nacional {
	border-color: #bfdbfe;
	border-left-color: #2563eb;
}

.logistica-base-card.is-variant-exportacion {
	border-color: #a7f3d0;
	border-left-color: #059669;
}

.logistica-base-card.is-variant-bionatura {
	border-color: #ddd6fe;
	border-left-color: #7c3aed;
}

.logistica-base-card.is-variant-estandar {
	border-color: #fed7aa;
	border-left-color: #d97706;
}

.logistica-base-card.is-variant-sin-variante {
	border-color: #e2e8f0;
	border-left-color: #64748b;
}

.logistica-base-card.is-variant-custom {
	border-color: #c7d2fe;
	border-left-color: #6366f1;
}

.logistica-base-card.is-variant-nacional .logistica-base-toggle {
	background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.logistica-base-card.is-variant-exportacion .logistica-base-toggle {
	background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

.logistica-base-card.is-variant-bionatura .logistica-base-toggle {
	background: linear-gradient(180deg, #f5f3ff 0%, #f8fafc 100%);
}

.logistica-base-card.is-variant-estandar .logistica-base-toggle {
	background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
}

.logistica-base-card.is-variant-sin-variante .logistica-base-toggle,
.logistica-base-card.is-variant-custom .logistica-base-toggle {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.logistica-base-card-head {
	align-items: stretch;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34px;
	min-width: 0;
}

.logistica-base-toggle {
	align-items: center;
	background: #f8fafc;
	border: 0;
	box-sizing: border-box;
	color: #0f172a;
	cursor: pointer;
	display: grid;
	font-size: 13px;
	font-weight: 600;
	gap: 0 8px;
	grid-template-columns: minmax(0, 1fr) 24px;
	grid-template-rows: auto;
	line-height: 1.25;
	min-height: 54px;
	min-width: 0;
	padding: 7px 10px;
	text-align: left;
	text-transform: none;
	width: 100%;
}

.logistica-base-card-title {
	align-content: center;
	display: grid;
	gap: 3px;
	grid-column: 1;
	min-height: 38px;
	min-width: 0;
	width: 100%;
}

.logistica-base-card-headline {
	align-items: center;
	column-gap: 6px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 26px;
	min-width: 0;
}

.logistica-base-card-subtitle {
	align-items: center;
	color: #334155;
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.2;
	min-height: 15px;
	min-width: 0;
}

.logistica-base-reference {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-base-block-label {
	background: #f1f5f9;
	border-radius: 4px;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	padding: 1px 6px;
}

.logistica-base-block-label[hidden] {
	display: none !important;
}

.logistica-base-type-badge {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	background: #64748b;
	border-radius: 6px;
	color: #ffffff;
	display: -webkit-box;
	font-size: 9px;
	font-weight: 800;
	grid-column: 1;
	letter-spacing: 0.02em;
	line-height: 1.2;
	min-width: 0;
	overflow: hidden;
	padding: 3px 7px;
	text-transform: uppercase;
	white-space: normal;
}

.logistica-base-type-badge[data-base-tipo="cajas"] {
	background: #0369a1;
}

.logistica-base-type-badge[data-base-tipo="cajas_saldo"] {
	background: #c2410c;
}

.logistica-base-type-badge[data-base-tipo="bolsas"] {
	background: #0f766e;
}

.logistica-base-type-badge[data-base-tipo="rollos"],
.logistica-base-type-badge[data-base-tipo="papel_bobinas"] {
	background: #6d28d9;
}

.logistica-base-type-badge[data-base-tipo="plastico"] {
	background: #be185d;
}

.logistica-base-type-badge[data-base-tipo="acetato"] {
	background: #0e7490;
}

.logistica-base-type-badge[data-base-tipo="papel_hojas"] {
	background: #b45309;
}

.logistica-base-type-badge[data-base-tipo="microcorrugado"] {
	background: #475569;
}

.logistica-base-type-badge:not([data-base-tipo]),
.logistica-base-type-badge[data-base-tipo=""] {
	background: #64748b;
}

.logistica-base-variant-chip {
	border-radius: 999px;
	flex-shrink: 0;
	font-size: 8px;
	font-weight: 800;
	grid-column: 2;
	grid-row: 1;
	letter-spacing: 0.02em;
	line-height: 1.1;
	max-width: 92px;
	overflow: hidden;
	padding: 2px 6px;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.logistica-base-card.is-variant-nacional .logistica-base-variant-chip {
	background: #dbeafe;
	border: 1px solid #93c5fd;
	color: #1e40af;
}

.logistica-base-card.is-variant-exportacion .logistica-base-variant-chip {
	background: #d1fae5;
	border: 1px solid #6ee7b7;
	color: #047857;
}

.logistica-base-card.is-variant-bionatura .logistica-base-variant-chip {
	background: #ede9fe;
	border: 1px solid #c4b5fd;
	color: #5b21b6;
}

.logistica-base-card.is-variant-estandar .logistica-base-variant-chip {
	background: #ffedd5;
	border: 1px solid #fdba74;
	color: #9a3412;
}

.logistica-base-card.is-variant-sin-variante .logistica-base-variant-chip {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	color: #475569;
}

.logistica-base-card.is-variant-custom .logistica-base-variant-chip {
	background: #e0e7ff;
	border: 1px solid #a5b4fc;
	color: #3730a3;
}

.logistica-base-delete {
	align-self: stretch;
	background: #fff1f2;
	border: 0;
	border-left: 1px solid var(--lg-close-border, #e2e8f0);
	box-sizing: border-box;
	color: #dc2626;
	cursor: pointer;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	min-height: 54px;
	padding: 0;
	width: 34px;
}

.logistica-base-delete:hover,
.logistica-base-delete:focus {
	background: #fee2e2;
	outline: 2px solid #ef4444;
	outline-offset: -2px;
}

.logistica-base-card.is-variant-nacional .logistica-base-toggle:hover,
.logistica-base-card.is-variant-nacional .logistica-base-toggle:focus {
	background: #dbeafe;
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

.logistica-base-card.is-variant-exportacion .logistica-base-toggle:hover,
.logistica-base-card.is-variant-exportacion .logistica-base-toggle:focus {
	background: #d1fae5;
	outline: 2px solid #059669;
	outline-offset: -2px;
}

.logistica-base-card.is-variant-bionatura .logistica-base-toggle:hover,
.logistica-base-card.is-variant-bionatura .logistica-base-toggle:focus {
	background: #ede9fe;
	outline: 2px solid #7c3aed;
	outline-offset: -2px;
}

.logistica-base-card.is-variant-estandar .logistica-base-toggle:hover,
.logistica-base-card.is-variant-estandar .logistica-base-toggle:focus {
	background: #ffedd5;
	outline: 2px solid #d97706;
	outline-offset: -2px;
}

.logistica-base-card.is-variant-sin-variante .logistica-base-toggle:hover,
.logistica-base-card.is-variant-sin-variante .logistica-base-toggle:focus,
.logistica-base-card.is-variant-custom .logistica-base-toggle:hover,
.logistica-base-card.is-variant-custom .logistica-base-toggle:focus {
	background: #e2e8f0;
	outline: 2px solid #64748b;
	outline-offset: -2px;
}

.logistica-base-chevron {
	align-items: center;
	align-self: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	display: inline-grid;
	grid-column: 2;
	grid-row: 1;
	height: 24px;
	place-items: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	width: 24px;
}

.logistica-base-chevron::before {
	border-bottom: 2px solid #0f766e;
	border-right: 2px solid #0f766e;
	content: "";
	display: block;
	height: 7px;
	margin-top: -2px;
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
	width: 7px;
}

.logistica-base-toggle[aria-expanded="true"] .logistica-base-chevron::before {
	margin-top: 2px;
	transform: rotate(45deg);
}

.logistica-base-toggle:hover .logistica-base-chevron,
.logistica-base-toggle:focus .logistica-base-chevron {
	background: #f0fdfa;
	border-color: #5eead4;
}

.logistica-base-card-body {
	padding: 10px;
}

.logistica-base-card-body[hidden] {
	display: none !important;
}

.logistica-base-sustitucion-chip {
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 999px;
	color: #92400e;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 3px 7px;
	text-transform: uppercase;
}

.logistica-base-sustitucion-chip[hidden] {
	display: none !important;
}

.logistica-base-card.is-sustitucion-activa {
	box-shadow: inset 3px 0 0 #f59e0b;
}

.logistica-base-card.is-sustitucion-overdue {
	box-shadow: inset 3px 0 0 #dc2626;
}

.logistica-base-card.is-sustitucion-overdue .logistica-base-sustitucion-chip {
	background: #fee2e2;
	border-color: #f87171;
	color: #991b1b;
}

.logistica-base-sustitucion {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	box-sizing: border-box;
	display: grid;
	gap: 8px;
	margin-top: 10px;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 12px;
}

.logistica-base-sustitucion-toggle {
	align-items: flex-start;
	color: #92400e !important;
	cursor: pointer;
	display: flex !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	gap: 10px;
	grid-template-columns: none !important;
	line-height: 1.35;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-base-sustitucion-toggle > span {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.logistica-base-sustitucion-toggle input[type="checkbox"],
.logistica-base-card .logistica-base-sustitucion-toggle input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	background: #ffffff;
	border: 2px solid #d97706;
	border-radius: 5px;
	box-shadow: none;
	cursor: pointer;
	flex: 0 0 18px;
	height: 18px !important;
	margin: 1px 0 0;
	max-height: 18px;
	max-width: 18px;
	min-height: 18px !important;
	min-width: 18px !important;
	padding: 0;
	position: relative;
	width: 18px !important;
}

.logistica-base-sustitucion-toggle input[type="checkbox"]::after {
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	content: "";
	display: none;
	height: 8px;
	left: 5px;
	position: absolute;
	top: 1px;
	transform: rotate(45deg);
	width: 4px;
}

.logistica-base-sustitucion-toggle input[type="checkbox"]:checked {
	background: #ea580c;
	border-color: #ea580c;
}

.logistica-base-sustitucion-toggle input[type="checkbox"]:checked::after {
	display: block;
}

.logistica-base-sustitucion-toggle input[type="checkbox"]:focus {
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
	outline: none;
}

.logistica-base-sustitucion-hint {
	color: #a16207;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.logistica-base-sustitucion-hint[hidden] {
	display: none !important;
}

.logistica-base-sustitucion-body {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.logistica-base-sustitucion-body[hidden] {
	display: none !important;
}

.logistica-base-sustitucion-fields {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	min-width: 0;
}

.logistica-base-sustitucion-fields > label {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.logistica-base-sustitucion-fields > label > span {
	color: #78350f;
	font-size: 12px;
	font-weight: 700;
}

.logistica-base-sustitucion-fields > label > small {
	color: #a16207;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
}

.logistica-base-sustitucion-fields input {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-base-sustitucion-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.logistica-base-sustitucion-actions .button,
.logistica-base-card .logistica-base-sustitucion-actions .button,
.logistica-base-sustitucion-actions .logistica-base-sustitucion-restore,
.logistica-base-sustitucion-actions [data-action="restore-closing-habitual-cod"] {
	align-items: center;
	background: #ea580c;
	border: 1px solid #c2410c;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(154, 52, 18, 0.18);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	line-height: 1.3;
	margin: 0;
	max-width: 100%;
	min-height: 34px;
	padding: 8px 12px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: 100%;
}

.logistica-base-sustitucion-actions .button:hover,
.logistica-base-card .logistica-base-sustitucion-actions .button:hover,
.logistica-base-sustitucion-actions .logistica-base-sustitucion-restore:hover,
.logistica-base-sustitucion-actions [data-action="restore-closing-habitual-cod"]:hover {
	background: #c2410c;
	border-color: #9a3412;
	color: #ffffff;
}

.logistica-base-sustitucion-actions .button:focus,
.logistica-base-sustitucion-actions .logistica-base-sustitucion-restore:focus,
.logistica-base-sustitucion-actions [data-action="restore-closing-habitual-cod"]:focus {
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.28);
	outline: none;
}

.logistica-base-sustitucion-alert {
	align-items: flex-start;
	background: #fff7ed;
	border: 1px solid #fdba74;
	border-left: 4px solid #f97316;
	border-radius: 8px;
	box-sizing: border-box;
	color: #9a3412;
	display: flex;
	gap: 10px;
	max-width: 100%;
	min-width: 0;
	padding: 10px 12px;
}

.logistica-base-sustitucion-alert[hidden] {
	display: none !important;
}

.logistica-base-sustitucion-alert.is-overdue {
	background: #fef2f2;
	border-color: #fca5a5;
	border-left-color: #dc2626;
	color: #991b1b;
}

.logistica-base-sustitucion-alert .dashicons {
	color: #ea580c;
	flex-shrink: 0;
	font-size: 18px;
	height: 18px;
	margin-top: 1px;
	width: 18px;
}

.logistica-base-sustitucion-alert.is-overdue .dashicons {
	color: #dc2626;
}

.logistica-base-sustitucion-alert-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.logistica-base-sustitucion-alert-copy strong {
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
}

.logistica-base-sustitucion-alert-copy p {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.logistica-close-sustitucion-summary {
	align-items: flex-start;
	background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
	border: 1px solid #fdba74;
	border-left: 4px solid #f97316;
	border-radius: 10px;
	color: #9a3412;
	display: flex;
	gap: 12px;
	margin: 0 0 10px;
	padding: 12px 14px;
}

.logistica-close-sustitucion-summary[hidden] {
	display: none !important;
}

.logistica-close-sustitucion-summary.is-overdue {
	background: linear-gradient(90deg, #fef2f2 0%, #fff7ed 100%);
	border-color: #fca5a5;
	border-left-color: #dc2626;
	color: #991b1b;
}

.logistica-close-sustitucion-summary .dashicons {
	color: #ea580c;
	flex-shrink: 0;
	font-size: 20px;
	height: 20px;
	margin-top: 2px;
	width: 20px;
}

.logistica-close-sustitucion-summary.is-overdue .dashicons {
	color: #dc2626;
}

.logistica-close-sustitucion-summary p {
	line-height: 1.45;
	margin: 4px 0 0;
}

.logistica-base-card-body > label:first-of-type input {
	background: #f8fafc;
	border-color: #cbd5e1;
	font-weight: 600;
	text-transform: none;
}

.logistica-base-card label,
.logistica-close-reference label {
	color: #475569;
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 5px;
	text-transform: none;
}

.logistica-base-card label[hidden],
.logistica-close-reference label[hidden],
.logistica-base-grid > [hidden],
.logistica-base-card .is-base-field-hidden {
	display: none !important;
}

.logistica-base-card input,
.logistica-base-card select,
.logistica-close-reference input,
.logistica-close-reference select {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	min-height: 34px;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-base-card .logistica-base-sustitucion-toggle input[type="checkbox"] {
	height: 18px !important;
	max-width: 18px !important;
	min-height: 18px !important;
	width: 18px !important;
}

.logistica-base-card input:hover,
.logistica-base-card select:hover,
.logistica-close-reference input:hover,
.logistica-close-reference select:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
}

.logistica-close-reference select:hover,
.logistica-ref-title select:hover {
	background-color: #f0fdfa;
	border-color: #5eead4;
}

.logistica-base-card input:focus,
.logistica-base-card input:focus-visible,
.logistica-base-card select:focus,
.logistica-base-card select:focus-visible,
.logistica-close-reference input:focus,
.logistica-close-reference input:focus-visible,
.logistica-close-reference select:focus,
.logistica-close-reference select:focus-visible {
	background-color: #ffffff;
	border-color: var(--lg-close-accent, #0f766e);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-calculated-field span {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	color: #065f46;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 34px;
	padding: 4px 10px;
	white-space: normal;
}

.logistica-base-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 8px 0;
}

.logistica-close-main {
	display: grid;
	gap: 14px;
	grid-area: main;
	min-width: 0;
}

.logistica-close-reference[data-ref-filtered-out],
.logistica-close-reference[hidden] {
	display: none !important;
}

.logistica-close-reference {
	background: #ffffff;
	border: 1px solid var(--lg-close-border, #e2e8f0);
	border-left-width: 4px;
	border-radius: var(--lg-close-radius, 10px);
	box-shadow: var(--lg-close-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
	overflow: hidden;
}

.logistica-close-reference.is-variant-nacional {
	border-color: #bfdbfe;
	border-left-color: #2563eb;
}

.logistica-close-reference.is-variant-nacional > header {
	background: linear-gradient(180deg, #eff6ff 0%, #ffffff 72%);
}

.logistica-close-reference.is-variant-exportacion {
	border-color: #a7f3d0;
	border-left-color: #059669;
}

.logistica-close-reference.is-variant-exportacion > header {
	background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 72%);
}

.logistica-close-reference.is-variant-bionatura {
	border-color: #ddd6fe;
	border-left-color: #7c3aed;
}

.logistica-close-reference.is-variant-bionatura > header {
	background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 72%);
}

.logistica-close-reference.is-variant-estandar {
	border-color: #fed7aa;
	border-left-color: #d97706;
}

.logistica-close-reference.is-variant-estandar > header {
	background: linear-gradient(180deg, #fffbeb 0%, #ffffff 72%);
}

.logistica-close-reference.is-variant-sin-variante {
	border-color: #e2e8f0;
	border-left-color: #64748b;
}

.logistica-close-reference.is-variant-custom {
	border-color: #c7d2fe;
	border-left-color: #6366f1;
}

.logistica-close-reference.is-variant-custom > header {
	background: linear-gradient(180deg, #eef2ff 0%, #ffffff 72%);
}

.logistica-variant-legend {
	border-left: 4px solid #64748b;
	font-weight: 700;
	padding-left: 8px;
}

.logistica-variant-legend.is-variant-nacional {
	border-left-color: #2563eb;
	color: #1d4ed8;
}

.logistica-variant-legend.is-variant-exportacion {
	border-left-color: #059669;
	color: #047857;
}

.logistica-variant-legend.is-variant-bionatura {
	border-left-color: #7c3aed;
	color: #6d28d9;
}

.logistica-variant-legend.is-variant-estandar {
	border-left-color: #d97706;
	color: #b45309;
}

.logistica-ref-title {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 2fr) minmax(180px, 0.7fr);
}

.logistica-ref-title input,
.logistica-ref-title select {
	box-sizing: border-box;
	min-height: 40px;
	padding: 10px 14px;
}

.logistica-ref-title input {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 600;
	text-transform: none;
}

.logistica-ref-title input[data-field="nombre"]:not([readonly]) {
	background: #fffbeb;
	border-color: #fde68a;
	padding: 10px 16px;
}

.logistica-close-reference.is-ref-meta-locked [data-field="nombre"] {
	background: #e8f4f2;
	border-color: #8ec9c1;
	box-shadow: inset 0 0 0 1px rgba(19, 119, 109, 0.08);
	caret-color: transparent;
	color: #0f4c47;
	cursor: default;
	pointer-events: none;
	user-select: none;
}

.logistica-ref-title select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #f8fafc;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	padding-right: 36px;
	text-transform: none;
	width: 100%;
}

.logistica-ref-title label:nth-child(2) input {
	background: #f8fafc;
	font-size: 0.95rem;
}

.logistica-ref-title .logistica-variant-value {
	margin-top: 6px;
}

.logistica-ref-title .logistica-variant-value[hidden] {
	display: none;
}

.logistica-product-type-value[hidden] {
	display: none;
}

.logistica-variant-actions {
	display: flex;
	gap: 6px;
	margin-top: 6px;
}

.logistica-variant-actions .button {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	min-height: 30px;
	padding: 4px 10px;
}

.logistica-variant-actions .button:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.logistica-close-reference.is-ref-meta-locked [data-field="variante_selector"],
.logistica-close-reference.is-ref-meta-locked [data-field="tipo_producto_selector"],
.logistica-close-reference.is-ref-meta-locked [data-field="formula_template"],
.logistica-close-reference.is-ref-meta-locked [data-field="variante"],
.logistica-close-reference.is-ref-meta-locked [data-field="tipo_producto"] {
	background-color: #f1f5f9;
	color: #475569;
	cursor: not-allowed;
}

.logistica-base-card.is-base-identity-locked .logistica-base-identity-field input,
.logistica-base-card.is-base-identity-locked .logistica-base-identity-field select {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
	color: #475569;
	cursor: not-allowed;
	pointer-events: none;
}

.logistica-base-card.is-base-identity-locked .logistica-base-identity-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: none;
}

.logistica-base-identity-group {
	display: grid;
	gap: 8px;
	margin-bottom: 10px;
}

.logistica-base-identity-field {
	gap: 4px;
}

.logistica-base-field-label-row {
	color: #475569;
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.logistica-base-field-control {
	display: block;
	position: relative;
}

.logistica-base-identity-field .logistica-base-field-control input,
.logistica-base-identity-field .logistica-base-field-control select {
	padding-right: 34px;
	width: 100%;
}

.logistica-base-identity-lock {
	align-items: center;
	background: #dbeafe;
	border: 1px solid #60a5fa;
	border-radius: 5px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	color: #1d4ed8;
	display: inline-flex;
	height: 22px;
	justify-content: center;
	pointer-events: auto;
	position: absolute;
	right: 7px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	z-index: 1;
}

.logistica-base-identity-lock svg {
	display: block;
	height: 13px;
	width: 13px;
}

.logistica-base-card.is-variant-exportacion .logistica-base-identity-lock {
	background: #d1fae5;
	border-color: #34d399;
	color: #047857;
}

.logistica-base-card.is-variant-bionatura .logistica-base-identity-lock {
	background: #ede9fe;
	border-color: #a78bfa;
	color: #5b21b6;
}

.logistica-base-card.is-variant-estandar .logistica-base-identity-lock {
	background: #ffedd5;
	border-color: #fb923c;
	color: #9a3412;
}

.logistica-variant-actions .button[data-action="edit-close-variant"][aria-pressed="true"] {
	background: #ecfdf5;
	border-color: #059669;
	color: #047857;
}

.logistica-variant-actions .button[data-action="delete-close-variant"] {
	border-color: #fecaca;
	color: #b91c1c;
}

.logistica-variant-actions .button[data-action="delete-close-variant"]:hover {
	background: #fef2f2;
}

.logistica-close-ref-empty {
	background: #ffffff;
	border: 1px dashed var(--lg-close-border, #e2e8f0);
	border-radius: var(--lg-close-radius, 10px);
	color: #64748b;
	margin: 0;
	padding: 32px 24px;
	text-align: center;
}

.logistica-close-ref-empty[hidden] {
	display: none;
}

.logistica-close-ref-empty.is-visible {
	display: block;
}

.logistica-close-ref-empty p {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.logistica-close-ref-body[hidden] {
	display: none;
}

.logistica-ref-meta {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-ref-meta input,
.logistica-ref-meta select {
	box-sizing: border-box;
	min-height: 38px;
	padding: 9px 12px;
}

.logistica-close-reference .logistica-close-ref-body {
	margin: 0;
	padding: 0;
}

.logistica-close-matrix-bar {
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--lg-close-border, #e2e8f0);
	border-bottom: 0;
	border-left: 0;
	border-radius: 0 var(--lg-close-radius, 10px) 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	padding: 10px 14px 10px 12px;
}

.logistica-close-matrix-bar-label {
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-close-matrix-bar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

.logistica-close-matrix-bar .button[data-action="add-close-block"] {
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	min-height: 34px;
	padding: 7px 14px;
}

.logistica-close-matrix-bar .button[data-action="add-close-block"]:hover,
.logistica-close-matrix-bar .button[data-action="add-close-block"]:focus {
	background: #115e59;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-close-matrix-bar .button[data-action="add-close-saldo-block"],
.logistica-close-matrix-bar .logistica-close-saldo-btn {
	align-items: center;
	background: #c2410c;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.2;
	margin: 0;
	min-height: 34px;
	padding: 7px 14px;
}

.logistica-close-matrix-bar .button[data-action="add-close-saldo-block"] .dashicons,
.logistica-close-matrix-bar .logistica-close-saldo-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 1;
	margin: 0;
	width: 16px;
}

.logistica-close-matrix-bar .button[data-action="add-close-saldo-block"]:hover,
.logistica-close-matrix-bar .button[data-action="add-close-saldo-block"]:focus,
.logistica-close-matrix-bar .logistica-close-saldo-btn:hover,
.logistica-close-matrix-bar .logistica-close-saldo-btn:focus {
	background: #9a3412;
	box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.22);
	color: #ffffff;
}

.logistica-close-matrix-bar .button[data-action="add-close-saldo-block"][hidden],
.logistica-close-matrix-bar .logistica-close-saldo-btn[hidden] {
	display: none !important;
}

.logistica-close-reference > header {
	background: #ffffff;
	border-bottom: 1px solid var(--lg-close-border, #e2e8f0);
	column-gap: 12px;
	display: grid;
	gap: 10px;
	grid-template-areas:
		'pick title'
		'pick meta'
		'status status';
	grid-template-columns: max-content minmax(0, 1fr);
	padding: 16px 18px;
	row-gap: 10px;
}

.logistica-reference-pick {
	align-items: center;
	align-self: start;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	font-size: 10px;
	font-weight: 700;
	gap: 4px;
	grid-area: pick;
	justify-content: center;
	line-height: 1.1;
	margin-top: 1.35rem;
	min-height: 3.25rem;
	min-width: 3.25rem;
	padding: 6px 8px;
	text-align: center;
	text-transform: uppercase;
}

.logistica-reference-pick input {
	accent-color: var(--lg-close-accent, #0f766e);
	cursor: pointer;
	height: 1rem;
	margin: 0;
	width: 1rem;
}

.logistica-reference-pick span {
	line-height: 1.1;
}

.logistica-close-reference.is-reference-pick-selected {
	box-shadow:
		inset 0 0 0 2px rgba(15, 118, 110, 0.4),
		var(--lg-close-shadow, 0 1px 3px rgba(15, 23, 42, 0.06));
}

.logistica-close-reference.is-reference-pick-selected > header .logistica-reference-pick {
	background: #ecfdf5;
	border-color: var(--lg-close-accent, #0f766e);
	color: #115e59;
}

.logistica-close-reference > header .logistica-ref-title {
	grid-area: title;
}

.logistica-close-reference > header .logistica-ref-meta {
	grid-area: meta;
}

.logistica-close-reference > header .logistica-ref-status {
	grid-area: status;
}

.logistica-ref-status {
	background: #ecfdf5;
	border: 0;
	border-radius: 8px;
	color: #065f46;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0;
	padding: 10px 12px;
}

.logistica-formula-auto {
	color: #4338ca;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 0;
}

.logistica-close-table-wrap {
	border: 1px solid var(--lg-wh-border, #d7ebe8);
	border-left: 0;
	border-radius: 0 0 var(--lg-close-radius, 10px) 0;
	box-shadow: 0 4px 14px rgba(15, 95, 87, 0.06);
	overflow-x: auto;
}

.logistica-close-matrix {
	border-collapse: collapse;
	min-width: 980px;
	table-layout: fixed;
	width: 100%;
}

.logistica-close-matrix th,
.logistica-close-matrix td {
	border: 1px solid #e2e8f0;
	font-size: 12px;
	line-height: 1.35;
	padding: 8px 6px;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: anywhere;
}

.logistica-close-matrix th {
	background: #f1f5f9;
	color: #334155;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

.logistica-close-matrix td.is-editable {
	background: #ffffff;
}

.logistica-close-matrix td.is-editable select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	background-position: right 8px center;
	background-repeat: no-repeat;
	background-size: 11px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 500;
	max-width: 100%;
	min-height: 34px;
	padding: 7px 28px 7px 10px;
	width: 100%;
}

.logistica-close-matrix td.is-editable select:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
}

.logistica-close-matrix td.is-editable select:focus {
	border-color: var(--lg-close-accent, #0f766e);
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
	outline: none;
}

.logistica-close-matrix td.is-auto {
	background: #eef2ff;
	box-shadow: inset 0 0 0 1px #c7d2fe;
	color: #4338ca;
	font-weight: 600;
}

.logistica-close-matrix td.is-auto [data-output] {
	align-items: center;
	background: #e0e7ff;
	border: 1px dashed #a5b4fc;
	border-radius: 6px;
	box-sizing: border-box;
	color: #3730a3;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 34px;
	min-width: 100%;
	padding: 4px 8px;
}

.logistica-close-matrix .logistica-close-copy-value {
	cursor: pointer;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	position: relative;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	user-select: none;
}

.logistica-close-matrix .logistica-close-copy-value:hover,
.logistica-close-matrix .logistica-close-copy-value:focus {
	background: #c7d2fe;
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-close-matrix .logistica-close-copy-value.is-copied {
	background: #dcfce7;
	border-color: #16a34a;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.logistica-close-matrix .logistica-close-copy-value.is-copied::after {
	background: #16a34a;
	border-radius: 4px;
	color: #ffffff;
	content: 'Copiado';
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 2px 6px;
	pointer-events: none;
	position: absolute;
	right: 6px;
	top: -8px;
	white-space: nowrap;
	z-index: 2;
}

.logistica-close-matrix td.is-auto .logistica-readonly-field,
.logistica-close-matrix td.is-auto input[readonly] {
	background: #e0e7ff !important;
	border: 1px dashed #a5b4fc !important;
	border-radius: 6px;
	box-shadow: none !important;
	color: #3730a3 !important;
	cursor: not-allowed;
	font-weight: 700;
}

.logistica-close-matrix td.is-auto .logistica-readonly-field:hover,
.logistica-close-matrix td.is-auto .logistica-readonly-field:focus,
.logistica-close-matrix td.is-auto input[readonly]:hover,
.logistica-close-matrix td.is-auto input[readonly]:focus,
.logistica-close-matrix td.is-auto input[readonly]:focus-visible {
	background: #e0e7ff !important;
	border-color: #a5b4fc !important;
	box-shadow: none !important;
	outline: none;
}

.logistica-close-matrix tr.is-formula td.is-editable {
	background: #ecfdf5;
}

.logistica-close-matrix tr.is-formula td.is-auto {
	background: #eef2ff;
	box-shadow: inset 0 0 0 1px #c7d2fe;
}

.logistica-close-matrix tr.is-pending td.is-editable {
	background: #fffbeb;
}

.logistica-close-matrix tr.is-pending td.is-auto {
	background: #eef2ff;
}

.logistica-close-matrix tr.is-missing td.is-editable {
	background: #ffedd5;
}

.logistica-close-matrix tr.is-missing td.is-auto {
	background: #eef2ff;
}

.logistica-close-matrix tr.is-error td.is-editable {
	background: #fee2e2;
}

.logistica-close-matrix tr.is-error td.is-auto {
	background: #eef2ff;
}

.logistica-close-matrix .is-status-head,
.logistica-close-matrix td.has-status-detail,
.logistica-close-matrix td[data-output="estado"] {
	max-width: 8.5rem;
	min-width: 6.5rem;
	overflow-wrap: normal;
	position: sticky;
	right: 88px;
	word-break: normal;
	white-space: normal;
	z-index: 2;
}

.logistica-close-matrix thead .is-status-head {
	background: var(--lg-wh-teal, #13776d);
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
	color: #ffffff;
	z-index: 3;
}

.logistica-close-matrix tbody td[data-output="estado"],
.logistica-close-matrix tbody td.has-status-detail {
	background: #ffffff;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
}

.logistica-close-matrix tr.is-formula td[data-output="estado"] {
	background: #ecfdf5;
}

.logistica-close-matrix tr.is-pending td[data-output="estado"] {
	background: #fffbeb;
}

.logistica-close-matrix tr.is-missing td[data-output="estado"] {
	background: #ffedd5;
}

.logistica-close-matrix tr.is-error td[data-output="estado"] {
	background: #fee2e2;
}

.logistica-close-matrix tbody tr:hover td[data-output="estado"] {
	background: #f8fffe;
}

.logistica-close-matrix .is-actions-head,
.logistica-close-matrix .logistica-warehouse-actions-cell {
	min-width: 88px;
	position: sticky;
	right: 0;
	width: 88px;
	z-index: 2;
}

.logistica-close-matrix thead .is-actions-head {
	background: var(--lg-wh-teal-dark, #0f5f57);
	box-shadow: -8px 0 16px rgba(15, 23, 42, 0.14);
	color: #ffffff;
	z-index: 4;
}

.logistica-close-matrix tbody .logistica-warehouse-actions-cell {
	background: #ffffff;
	border-left: 1px solid #d9e2ec;
	box-shadow: -8px 0 16px rgba(15, 23, 42, 0.14);
	padding: 6px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.logistica-close-matrix tr.is-formula .logistica-warehouse-actions-cell {
	background: #ecfdf5;
}

.logistica-close-matrix tr.is-pending .logistica-warehouse-actions-cell {
	background: #fffbeb;
}

.logistica-close-matrix tr.is-missing .logistica-warehouse-actions-cell {
	background: #ffedd5;
}

.logistica-close-matrix tr.is-error .logistica-warehouse-actions-cell {
	background: #fee2e2;
}

.logistica-close-matrix tbody tr:hover .logistica-warehouse-actions-cell {
	background: #f8fffe;
}

.logistica-close-status {
	align-items: center;
	cursor: help;
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
	justify-content: center;
	max-width: 100%;
	overflow-wrap: normal;
	word-break: normal;
	white-space: normal;
}

.logistica-close-status-label {
	display: inline;
	line-height: 1.3;
	overflow-wrap: normal;
	text-align: center;
	word-break: normal;
}

.logistica-close-status-tail {
	display: inline-block;
	white-space: nowrap;
}

.logistica-close-status-hint {
	align-items: center;
	background: #9a3412;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.65rem;
	font-style: italic;
	font-weight: 700;
	height: 1rem;
	justify-content: center;
	line-height: 1;
	width: 1rem;
}

.logistica-close-status-detail {
	display: none !important;
}

.logistica-close-status-portal {
	background: #fff7ed;
	border: 1px solid #fdba74;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	color: #7c2d12;
	display: none;
	font-size: 0.78rem;
	font-weight: 500;
	left: 0;
	line-height: 1.35;
	max-width: min(16rem, calc(100vw - 1rem));
	min-width: 11rem;
	padding: 0.45rem 0.55rem;
	pointer-events: auto;
	position: fixed;
	text-align: left;
	top: 0;
	white-space: normal;
	z-index: 100050;
}

.logistica-close-status-portal.is-visible {
	display: block;
}

.logistica-close-status-portal ul {
	list-style: disc;
	margin: 0;
	padding-left: 1.1rem;
}

.logistica-close-status-portal li + li {
	margin-top: 0.2rem;
}

.logistica-close-matrix tr.is-error td {
	background: #fee2e2;
	color: #991b1b;
	font-weight: 600;
}

.logistica-close-legend .is-formula {
	background: #d1fae5;
	color: #065f46;
}

.logistica-close-legend .is-pending {
	background: #fef3c7;
	color: #92400e;
}

.logistica-close-legend .is-editable {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px #e2e8f0;
	color: #475569;
}

.logistica-close-legend .is-auto {
	background: #e0e7ff;
	box-shadow: inset 0 0 0 1px #a5b4fc;
	color: #3730a3;
}

.logistica-close-legend .is-missing {
	background: #ffedd5;
	color: #9a3412;
}

.logistica-close-legend .is-error {
	background: #fee2e2;
	color: #991b1b;
}

.logistica-sheet input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #111827;
	font-size: 15px;
	height: 28px;
	margin: 0;
	max-width: none;
	min-height: 28px;
	padding: 0;
	text-align: center;
	width: 100%;
}

.logistica-sheet tbody td {
	overflow-wrap: anywhere;
	white-space: normal;
}

.logistica-sheet input:focus {
	background: #ffffff;
	box-shadow: inset 0 0 0 2px #0f766e;
	outline: none;
}

/* Pagina del panel: sin cabecera ni menu del tema. */
body.logistica-panel-page {
	padding-top: 0 !important;
	scroll-padding-top: 0;
}

body.logistica-panel-page #menu,
body.logistica-panel-page #overlay,
body.logistica-panel-page #sliding-menu,
body.logistica-panel-page #loader,
body.logistica-config-panel-page #loader {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

body.logistica-panel-page.menu-open {
	overflow: auto !important;
}

body.logistica-panel-page .post-title-overlay,
body.logistica-panel-page .post-hero {
	display: none !important;
}

body.logistica-panel-page .container-fluid.mt-5 {
	margin-top: 0 !important;
}

body.logistica-panel-page .entry-content.text-center {
	text-align: left !important;
}

body.logistica-panel-page .container:has(> footer),
body.logistica-panel-page footer.border-top {
	display: none !important;
}

body.logistica-panel-page #topbutton,
body.logistica-panel-page #jb-cookies-revisit,
body.logistica-panel-page .jb-cookies-revisit {
	display: none !important;
}

/* Panel público: ancho completo (sin márgenes del tema ni del editor). */
body.logistica-panel-page .container-fluid.mt-5,
body.logistica-panel-page .container-fluid.mt-5 > .row,
body.logistica-panel-page .container-fluid.mt-5 > .row > [class*="col-"],
body.logistica-panel-page .entry-content,
body.logistica-panel-page .entry-content.p-3,
body.logistica-panel-page {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	width: 100% !important;
}

html:has(body.logistica-panel-page),
body.logistica-panel-page {
	height: auto;
	max-height: none;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

/* Evitar scroll vertical atrapado en contenedores intermedios del tema. */
body.logistica-panel-page .container-fluid.mt-5,
body.logistica-panel-page .container-fluid.mt-5 > .row,
body.logistica-panel-page .container-fluid.mt-5 > .row > [class*="col-"],
body.logistica-panel-page .entry-content,
body.logistica-panel-page .entry-content.p-3,
body.logistica-panel-page [data-logistica-inventory-shell],
body.logistica-panel-page [data-logistica-inventory-shell] .logistica-inventory-body,
body.logistica-panel-page .logistica-tab-panels,
body.logistica-panel-page .logistica-tab-panel,
body.logistica-panel-page .wrap.logistica-admin.logistica-frontend {
	height: auto;
	max-height: none;
	overflow: visible;
}

body.logistica-panel-page .container-fluid.mt-5 > .row {
	--bs-gutter-x: 0;
}

body.logistica-panel-page .wp-block-group,
body.logistica-panel-page .alignwide,
body.logistica-panel-page .alignfull {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

body.logistica-panel-page .wrap.logistica-admin.logistica-frontend,
body.logistica-panel-page [data-logistica-inventory-shell],
body.logistica-panel-page .logistica-tab-panels,
body.logistica-panel-page .logistica-tab-panel,
body.logistica-panel-page .logistica-user-panel {
	box-sizing: border-box;
	max-width: 100% !important;
	min-width: 0;
	width: 100% !important;
}

body.logistica-panel-page [data-logistica-inventory-shell] .logistica-inventory-body {
	box-sizing: border-box;
	margin-left: 0;
	max-width: 100% !important;
	min-width: 0;
	overflow: visible;
	width: 100% !important;
}

body.logistica-panel-page .logistica-frontend,
body.logistica-panel-page [data-logistica-inventory-shell].logistica-frontend {
	margin: 0 !important;
	max-width: 100% !important;
	overflow: visible;
	padding: 0 10px 12px calc(var(--logistica-app-rail-width, 52px) + var(--logistica-app-rail-gap, 4px)) !important;
	width: 100% !important;
}

@media (min-width: 901px) {
	body.logistica-panel-page .logistica-frontend,
	body.logistica-panel-page [data-logistica-inventory-shell].logistica-frontend {
		padding: 0 10px 16px calc(var(--logistica-app-rail-width, 52px) + var(--logistica-app-rail-gap, 4px)) !important;
	}
}

body.logistica-panel-page .logistica-header,
body.logistica-panel-page .logistica-header--frontend {
	margin: 8px 0 10px;
	padding-left: 12px;
	padding-right: 12px;
}

body.logistica-panel-page .logistica-conversion-board,
body.logistica-panel-page .logistica-user-panel {
	margin-left: 0;
	margin-right: 0;
}

body.wp-admin [data-logistica-inventory-shell] .logistica-inventory-body:has(> .logistica-planeacion) > .logistica-header {
	display: none;
}

body.logistica-panel-page .logistica-conversion-board {
	padding-left: 1px;
	padding-right: 1px;
}

body.wp-admin [data-logistica-inventory-shell].wrap.logistica-admin.logistica-frontend {
	box-sizing: border-box;
	float: none;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	padding-left: calc(var(--logistica-app-rail-width, 52px) + var(--logistica-app-rail-gap, 8px));
	width: 100%;
}

body.wp-admin [data-logistica-inventory-shell].wrap.logistica-admin:not(.logistica-frontend) {
	padding-left: calc(var(--logistica-app-rail-width, 52px) + var(--logistica-app-rail-gap, 8px));
}

body.wp-admin [data-logistica-inventory-shell] .logistica-inventory-body,
body.wp-admin [data-logistica-inventory-shell] .logistica-tab-panels,
body.wp-admin [data-logistica-inventory-shell] .logistica-tab-panel,
body.wp-admin [data-logistica-inventory-shell] .logistica-user-panel {
	max-width: none;
	overflow: visible;
	width: 100%;
}

/* —— UX: navegacion, avisos, formularios, tablas —— */

/* Menú principal JB Planeación (barra lateral colapsable con animación) */
[data-logistica-inventory-shell] {
	--logistica-app-rail-width: 52px;
	--logistica-app-rail-gap: 6px;
	--logistica-inventory-nav-width: 220px;
	--logistica-inventory-nav-duration: 0.32s;
	--logistica-inventory-nav-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--logistica-inventory-nav-top: 0;
	box-sizing: border-box;
	display: block;
	max-width: 100%;
	min-width: 0;
	padding-left: calc(var(--logistica-app-rail-width) + var(--logistica-app-rail-gap));
	position: relative;
	width: 100%;
}

.logistica-app-rail {
	align-items: center;
	background: #ffffff;
	border-right: 1px solid #e2e8f0;
	bottom: 0;
	box-shadow: 1px 0 8px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 6px;
	left: 0;
	padding: 10px 0;
	position: fixed;
	top: var(--logistica-inventory-nav-top);
	width: var(--logistica-app-rail-width);
	z-index: 1004;
}

.logistica-app-rail__footer {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
}

.logistica-app-rail__pin {
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
	color: #475569;
	display: inline-flex;
	flex-shrink: 0;
	height: 20px;
	justify-content: center;
	margin: 0 0 2px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
	width: 20px;
}

.logistica-app-rail__pin:hover,
.logistica-app-rail__pin:focus {
	background: #ecfdf5;
	border-color: #b8e0dc;
	box-shadow: 0 1px 3px rgba(15, 118, 110, 0.16);
	color: #0f766e;
	outline: none;
}

.logistica-app-rail__pin--config {
	background: #ffffff;
}

.logistica-app-rail__pin--home.is-active {
	background: #ecfdf5;
	border-color: #b8e0dc;
	box-shadow: inset 0 0 0 1px #b8e0dc;
	color: #0f766e;
}

.logistica-app-rail__pin--config .dashicons,
.logistica-app-rail__pin--operations .dashicons,
.logistica-app-rail__pin--home .dashicons {
	font-size: 12px;
	height: 12px;
	width: 12px;
}

.logistica-app-rail__btn {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	width: 40px;
}

.logistica-app-rail__btn .dashicons {
	font-size: 20px;
	height: 20px;
	width: 20px;
}

.logistica-app-rail__icon {
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	display: block;
	flex-shrink: 0;
	height: 20px;
	width: 20px;
}

.logistica-app-rail__icon--section-nav {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%23475569' stroke-linecap='round' stroke-width='1.6' d='M3.5 5.5h8M3.5 10h8M3.5 14.5h8'/%3E%3Cpath stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M13.5 10h3M15.5 8l2 2-2 2'/%3E%3C/svg%3E");
}

.logistica-app-rail__btn.is-active .logistica-app-rail__icon--section-nav,
.logistica-app-rail__btn--section[aria-expanded='true'] .logistica-app-rail__icon--section-nav {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%2313776d' stroke-linecap='round' stroke-width='1.6' d='M3.5 5.5h8M3.5 10h8M3.5 14.5h8'/%3E%3Cpath stroke='%2313776d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M13.5 10h3M15.5 8l2 2-2 2'/%3E%3C/svg%3E");
}

.logistica-app-rail__btn:hover,
.logistica-app-rail__btn:focus {
	background: #f1f5f9;
	color: #0f172a;
	outline: none;
}

.logistica-app-rail__btn[hidden] {
	display: none !important;
}

.logistica-app-rail__btn.is-active,
.logistica-app-rail__btn[aria-expanded="true"] {
	background: #ecfdf5;
	box-shadow: inset 0 0 0 1px #b8e0dc;
	color: #13776d;
}

.logistica-section-nav-backdrop {
	background: rgba(15, 23, 42, 0.22);
	border: 0;
	bottom: 0;
	cursor: pointer;
	left: var(--logistica-app-rail-width);
	margin: 0;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: var(--logistica-inventory-nav-top);
	transition: opacity var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease);
	z-index: 1000;
}

body.logistica-section-nav-open .logistica-section-nav-backdrop {
	opacity: 1;
	pointer-events: auto;
}

body.wp-admin [data-logistica-inventory-shell] {
	--logistica-inventory-nav-top: 32px;
}

body.logistica-panel-page [data-logistica-inventory-shell] {
	--logistica-inventory-nav-top: 0;
}

[data-logistica-inventory-shell] .logistica-inventory-body {
	margin-left: 0;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	width: 100%;
}

[data-logistica-inventory-shell] .logistica-tab-panels,
[data-logistica-inventory-shell] .logistica-tab-panel,
[data-logistica-inventory-shell] .logistica-conversion-board,
[data-logistica-inventory-shell] .logistica-conversion-main,
[data-logistica-inventory-shell] .logistica-conversion-scroll-host {
	max-width: 100%;
	min-width: 0;
}

.logistica-inventory-nav {
	--logistica-inventory-nav-teal: #13776d;
	--logistica-inventory-nav-border: #b8e0dc;
	background: #ffffff;
	border: 1px solid var(--logistica-inventory-nav-border);
	border-left: 0;
	border-radius: 0;
	box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
	bottom: 0;
	display: block;
	left: var(--logistica-app-rail-width);
	margin: 0;
	max-height: none;
	opacity: 0;
	overflow: auto;
	pointer-events: none;
	position: fixed;
	top: var(--logistica-inventory-nav-top);
	transform: translateX(-100%);
	transition:
		transform var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		opacity var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		visibility 0s linear var(--logistica-inventory-nav-duration);
	visibility: hidden;
	width: var(--logistica-inventory-nav-width);
	z-index: 1002;
}

[data-logistica-inventory-shell]:not(.is-nav-collapsed) .logistica-inventory-nav {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
	transition:
		transform var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		opacity var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		visibility 0s;
	visibility: visible;
}

.logistica-inventory-nav-backdrop {
	background: rgba(15, 23, 42, 0.28);
	border: 0;
	bottom: 0;
	cursor: pointer;
	left: 0;
	margin: 0;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	top: var(--logistica-inventory-nav-top);
	transition:
		opacity var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		visibility 0s linear var(--logistica-inventory-nav-duration);
	visibility: hidden;
	width: 100%;
	z-index: 1001;
}

[data-logistica-inventory-shell]:not(.is-nav-collapsed) .logistica-inventory-nav-backdrop {
	opacity: 1;
	pointer-events: auto;
	transition:
		opacity var(--logistica-inventory-nav-duration) var(--logistica-inventory-nav-ease),
		visibility 0s;
	visibility: visible;
}

.logistica-inventory-nav__head {
	align-items: center;
	border-bottom: 0;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	padding: 8px 10px 4px;
}

.logistica-inventory-nav__title {
	color: #0f172a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-inventory-nav__toggle {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 28px;
	justify-content: center;
	line-height: 1;
	min-width: 28px;
	padding: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.logistica-inventory-nav__toggle:hover,
.logistica-inventory-nav__toggle:focus {
	background: #ecfdf5;
	border-color: var(--logistica-inventory-nav-teal);
	color: #0f766e;
	outline: none;
}

.logistica-inventory-nav__inner {
	box-sizing: border-box;
	padding: 10px 12px 12px;
	width: 100%;
}

.logistica-inventory-nav__list {
	align-items: stretch;
	border: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 100%;
}

.logistica-inventory-nav--admin .logistica-inventory-nav__frontend-link {
	margin: 0 0 6px;
}

.logistica-inventory-nav-reopen {
	display: none !important;
}

.logistica-frontend-page-picker {
	margin: 0 0 18px;
	max-width: 520px;
}

.logistica-frontend-page-picker label {
	display: block;
	margin: 0 0 8px;
}

.logistica-frontend-page-picker select {
	max-width: 100%;
	width: 100%;
}

.logistica-frontend-page-picker .description {
	margin-top: 8px;
}

.logistica-frontend-menu-picker {
	display: grid;
	gap: 10px 16px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	margin: 0 0 12px;
}

.logistica-frontend-menu-picker__item {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	font-weight: 600;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
}

.logistica-frontend-menu-picker__item:hover {
	border-color: #13776d;
}

.logistica-frontend-menu-picker__item input {
	margin: 0;
	width: auto;
}

.logistica-tapas-board__metrics {
	display: grid;
	gap: 14px;
	margin: 0 0 16px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period {
	background: #fff;
	border: 1px solid var(--planeacion-border, #e2e8f0);
	border-radius: 12px;
	overflow: hidden;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period > summary {
	align-items: center;
	color: var(--planeacion-text, #334155);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	justify-content: space-between;
	list-style: none;
	padding: 12px 16px;
	transition: background-color 0.15s ease;
	user-select: none;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period__head {
	align-items: center;
	display: inline-flex;
	flex: 1;
	gap: 8px;
	min-width: 0;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period__chevron {
	color: #64748b;
	flex-shrink: 0;
	font-size: 20px;
	height: 20px;
	transition: transform 0.2s ease, color 0.15s ease;
	width: 20px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period[open] > summary .logistica-tapas-metrics-period__chevron {
	color: var(--planeacion-brand, #0f766e);
	transform: rotate(180deg);
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period > summary:hover .logistica-tapas-metrics-period__chevron {
	color: var(--planeacion-brand, #0f766e);
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period > summary:hover {
	background: var(--planeacion-surface, #f8fafc);
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period > summary::-webkit-details-marker {
	display: none;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period > summary .dashicons-chart-area {
	color: var(--planeacion-brand, #0f766e);
	flex-shrink: 0;
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period[open] > summary {
	border-bottom: 1px solid var(--planeacion-border, #e2e8f0);
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-tapas-period .logistica-planeacion__metrics-compare-body {
	padding: 14px 16px 16px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-compare-hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 12px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-charts--tapas {
	margin-top: 0;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 14px;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form__field {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form__label {
	color: #475569;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form input[type="date"] {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: inherit;
	font-size: 13px;
	min-height: 36px;
	min-width: 150px;
	padding: 6px 10px;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form__btn.button-primary {
	background: #0f766e !important;
	border-color: #0b5e58 !important;
	border-radius: 8px !important;
	box-shadow: none;
	font-weight: 600;
	min-height: 36px;
	padding: 6px 16px !important;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form__btn.button-primary:hover,
.logistica-tapas-board__metrics .logistica-tapas-metrics-period-form__btn.button-primary:focus {
	background: #0b5e58 !important;
	border-color: #0b5e58 !important;
	color: #fff !important;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-charts {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-chart-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-chart-card h4 {
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px;
}

.logistica-tapas-board__metrics .logistica-tapas-metrics-chart__desc {
	color: #64748b;
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 10px;
}

.logistica-tapas-board__metrics .logistica-planeacion__metrics-chart-wrap {
	height: 220px;
	position: relative;
}

@media (max-width: 1100px) {
	.logistica-tapas-board__metrics .logistica-planeacion__metrics-charts {
		grid-template-columns: 1fr;
	}
}

.logistica-tapas-board .logistica-tapas-settings,
.logistica-bolsas-board .logistica-tapas-settings {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: center;
	margin: 0 0 14px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
}

.logistica-tapas-board .logistica-tapas-settings label {
	color: #334e68;
	display: grid;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	min-width: 180px;
}

.logistica-tapas-board .logistica-tapas-settings input {
	max-width: 140px;
}

.logistica-sheet--tapas,
.logistica-sheet--bolsas {
	max-width: 100%;
}

.logistica-bolsas-board .logistica-tapas-excel-groups th.is-col-bolsas-peso {
	background: #f0fdfa;
	color: #0f766e;
}

.logistica-bolsas-board .logistica-tapas-excel-groups th.is-col-bolsas-cantidad {
	background: #eff6ff;
	color: #1d4ed8;
}

.logistica-bolsas-board .logistica-tapas-excel-groups th.is-col-bolsas-precio {
	background: #fff7ed;
	color: #c2410c;
}

.logistica-bolsas-excel-table thead th.is-col-bolsas-peso {
	background: #ccfbf1;
	color: #115e59;
}

.logistica-bolsas-excel-table thead th.is-col-bolsas-cantidad {
	background: #dbeafe;
	color: #1e40af;
}

.logistica-bolsas-excel-table thead th.is-col-bolsas-precio {
	background: #ffedd5;
	color: #9a3412;
}

.logistica-bolsas-excel-table tbody td.is-col-bolsas-peso {
	background: #f0fdfa;
}

.logistica-bolsas-excel-table tbody td.is-col-bolsas-cantidad {
	background: #eff6ff;
	font-weight: 800;
}

.logistica-bolsas-excel-table tbody td.is-col-bolsas-precio {
	background: #fff7ed;
}

.logistica-bolsas-excel-summary td.is-col-bolsas-cantidad,
.logistica-bolsas-excel-summary td[data-output="sum_cantidad_bolsas"] {
	background: #bfdbfe;
	font-weight: 800;
}

.logistica-bolsas-excel-summary td[data-output="sum_precio_total"] {
	background: #fed7aa;
	font-weight: 800;
}

.logistica-bolsas-card .logistica-tapas-field.is-auto.is-bolsas-cantidad {
	background: #eff6ff;
	border-color: #3b82f6;
}

.logistica-bolsas-card .logistica-tapas-field.is-auto.is-bolsas-gramos {
	background: #f0fdfa;
	border-color: #5eead4;
}

.logistica-tapas-excel-table td.is-copy-cell {
	padding: 4px 6px;
	vertical-align: middle;
}

.logistica-tapas-excel-table td.is-col-bolsas-codigo {
	background: #f8fafc;
	max-width: 120px;
}

.logistica-bolsas-excel-table .logistica-tapas-excel-copy-input {
	min-width: 56px;
}

.logistica-tapas-excel-table td.is-copy-cell {
	padding: 4px 6px;
}

.logistica-tapas-excel-copy-input {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #0f172a;
	cursor: pointer;
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	min-height: 32px;
	min-width: 72px;
	padding: 6px 8px;
	text-align: left;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	user-select: all;
	-webkit-user-select: all;
	width: 100%;
}

.logistica-tapas-excel-copy-input:hover,
.logistica-tapas-excel-copy-input:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-tapas-excel-copy-input.is-copied {
	background: #dcfce7;
	border-color: #16a34a;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.logistica-bolsas-excel-table tbody td.is-editable input:not(.logistica-tapas-excel-copy-input) {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	box-sizing: border-box;
	color: #0f172a;
	font-size: 13px;
	line-height: 1.3;
	min-height: 28px;
	padding: 4px 6px;
	width: 100%;
}

.logistica-bolsas-excel-table tbody td.is-editable input:not(.logistica-tapas-excel-copy-input):focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-money-field,
.logistica-units-field,
.logistica-tapas-field__value.is-money,
.logistica-tapas-excel-table td.is-money-col,
.logistica-tapas-excel-table tbody td.is-num .logistica-tapas-field__value.is-money {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.logistica-tapas-field.is-editable .logistica-money-field {
	font-weight: 600;
}

.logistica-copy-field {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 600;
	user-select: all;
	-webkit-user-select: all;
}

.logistica-tapas-excel-wrap {
	margin: 0 0 24px;
	position: relative;
}

.logistica-tapas-excel-wrap > .logistica-tapas-section__title,
.logistica-tapas-excel-wrap > h5.logistica-tapas-section__title {
	padding-left: 118px;
	padding-right: 118px;
}

.logistica-tapas-excel__intro {
	color: #627d98;
	font-size: 13px;
	margin: -4px 0 12px;
	padding-left: 12px;
	padding-right: 12px;
	text-align: center;
}

.logistica-tapas-filters {
	background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
	border: 1px solid #99f6e4;
	border-radius: 14px;
	box-shadow: 0 1px 0 rgba(15, 118, 110, 0.06);
	margin: 0 0 14px;
	padding: 14px 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-tapas-filters.is-active {
	background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.logistica-tapas-filters__head {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	margin: 0 0 12px;
}

.logistica-tapas-filters__icon {
	align-items: center;
	background: #0f766e;
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.logistica-tapas-filters.is-active .logistica-tapas-filters__icon {
	background: #0d9488;
	box-shadow: 0 2px 6px rgba(15, 118, 110, 0.28);
}

.logistica-tapas-filters__title {
	color: #0f766e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0;
	text-transform: uppercase;
}

.logistica-tapas-filters__badge {
	background: #0f766e;
	border-radius: 999px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 5px 10px;
	text-transform: uppercase;
}

.logistica-tapas-filters__fields {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: center;
}

.logistica-tapas-filters__field {
	display: grid;
	gap: 4px;
	min-width: 160px;
}

.logistica-tapas-filters__label {
	color: #486581;
	font-size: 12px;
	font-weight: 600;
}

.logistica-tapas-filters__field select {
	appearance: none;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 32px 8px 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-tapas-filters__field select:hover {
	border-color: #5eead4;
}

.logistica-tapas-filters__field select:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-tapas-filters__field input[type="month"] {
	background: #ffffff;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-tapas-filters__field input[type="month"]:hover {
	border-color: #5eead4;
}

.logistica-tapas-filters__field input[type="month"]:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-tapas-filters__field--checkbox {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	flex-direction: row;
	gap: 8px;
	min-height: 38px;
	padding-top: 22px;
}

.logistica-tapas-filters__field--checkbox input[type="checkbox"] {
	accent-color: #0f766e;
	height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-tapas-filters__field--checkbox .logistica-tapas-filters__label {
	font-weight: 600;
}

.logistica-excel-btn--summary {
	background: #ecfdf5;
	border-color: #5eead4;
	color: #0f766e;
}

.logistica-tapas-filters__field--multiselect {
	position: relative;
}

.logistica-filter-multiselect {
	position: relative;
	width: 100%;
}

.logistica-filter-multiselect__trigger {
	appearance: none;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 32px 8px 12px;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-filter-multiselect__trigger:hover,
.logistica-filter-multiselect.is-open .logistica-filter-multiselect__trigger {
	border-color: #5eead4;
}

.logistica-filter-multiselect__trigger:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-filter-multiselect__label {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-filter-multiselect__panel {
	background: #fff;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
	left: 0;
	margin-top: 6px;
	max-height: 240px;
	overflow: auto;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 30;
}

.logistica-filter-multiselect__options {
	display: grid;
	gap: 2px;
	padding: 8px;
}

.logistica-filter-multiselect__option {
	align-items: center;
	border-radius: 8px;
	color: #0f172a;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	padding: 8px 10px;
}

.logistica-filter-multiselect__option:hover {
	background: #ecfeff;
}

.logistica-filter-multiselect__option input {
	accent-color: #0f766e;
	flex: 0 0 auto;
	margin: 0;
}

.logistica-filter-multiselect__option span {
	flex: 1 1 auto;
	line-height: 1.3;
}

.logistica-tapas-filters__field input[type="search"],
.logistica-tapas-filters__field input[type="text"] {
	appearance: none;
	background: #ffffff;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.logistica-tapas-filters__field input[type="search"]:hover,
.logistica-tapas-filters__field input[type="text"]:hover {
	border-color: #5eead4;
}

.logistica-tapas-filters__field input[type="search"]:focus,
.logistica-tapas-filters__field input[type="text"]:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-tapas-filters__field--search {
	min-width: 220px;
}

.logistica-tapas-filters__actions {
	align-self: end;
	display: flex;
}

.logistica-tapas-filters__btn {
	align-items: center;
	background: #ffffff;
	border: 1px solid #0f766e;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #0f766e;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0;
	min-height: 40px;
	min-width: 168px;
	padding: 8px 16px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.logistica-tapas-filters__btn-icon {
	align-items: center;
	display: inline-flex;
	height: 16px;
	justify-content: center;
	width: 16px;
}

.logistica-tapas-filters__btn:hover,
.logistica-tapas-filters__btn:focus {
	background: #0f766e;
	border-color: #0b5e58;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	color: #ffffff;
}

.logistica-tapas-filters__btn:active {
	transform: translateY(1px);
}

.logistica-tapas-filters__btn:disabled {
	background: #f1f5f9;
	border-color: #cbd5e1;
	box-shadow: none;
	color: #94a3b8;
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}

.logistica-tapas-filters.is-active .logistica-tapas-filters__btn:not(:disabled) {
	background: #0f766e;
	border-color: #0b5e58;
	color: #ffffff;
}

.logistica-tapas-filters.is-active .logistica-tapas-filters__btn:not(:disabled):hover,
.logistica-tapas-filters.is-active .logistica-tapas-filters__btn:not(:disabled):focus {
	background: #0b5e58;
	border-color: #084843;
}

.logistica-tapas-filters__meta {
	background: #ffffff;
	border: 1px dashed #5eead4;
	border-radius: 8px;
	color: #0f766e;
	font-size: 12px;
	font-weight: 600;
	margin: 12px 0 0;
	padding: 8px 10px;
	text-align: center;
}

.logistica-tapas-excel-table tbody tr.is-tapas-filter-hidden {
	display: none;
}

.logistica-tapas-record.is-tapas-filter-hidden {
	display: none;
}

.logistica-sheet--tapas.is-tapas-filtered .logistica-tapas-excel-summary th {
	color: #9a3412;
}

.logistica-sheet--tapas.is-tapas-filtered .logistica-tapas-excel-summary td[data-output] {
	background: #fff7ed;
}

.logistica-sheet--bolsas.is-bolsas-filtered .logistica-tapas-excel-summary th {
	color: #9a3412;
}

.logistica-sheet--bolsas.is-bolsas-filtered .logistica-bolsas-excel-summary td[data-output] {
	background: #fff7ed;
}

.logistica-tapas-cards-panel[data-bolsas-view="single"] .logistica-tapas-list {
	gap: 0;
}

.logistica-tapas-excel-toolbar {
	align-content: center;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: center;
	margin: 0 auto 12px;
	width: 100%;
}

.logistica-excel-zoom-toolbar {
	justify-content: flex-end;
	margin: 0;
	position: absolute;
	right: 12px;
	top: 8px;
	width: auto;
	z-index: 6;
}

.logistica-excel-zoom-toolbar .logistica-excel-zoom {
	box-shadow: 0 1px 6px rgba(15, 118, 110, 0.14);
}

.logistica-excel-zoom {
	align-items: center;
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	display: inline-flex;
	flex-shrink: 0;
	gap: 4px;
	padding: 2px 6px;
}

.logistica-excel-zoom__label {
	color: #0f766e;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.logistica-excel-zoom__value {
	color: #134e4a;
	font-size: 10px;
	font-weight: 700;
	min-width: 2.25rem;
	text-align: center;
}

.logistica-excel-zoom__btn {
	align-items: center;
	background: #0f766e;
	border: 1px solid #0b5e58;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-excel-zoom__btn:hover,
.logistica-excel-zoom__btn:focus {
	background: #0b5e58;
	border-color: #084843;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	color: #fff;
	outline: none;
}

.logistica-excel-zoom__btn:disabled {
	background: #94a3b8;
	border-color: #94a3b8;
	box-shadow: none;
	color: #e2e8f0;
	cursor: not-allowed;
}

.logistica-excel-zoom__btn--density {
	margin-left: 2px;
}

.logistica-excel-zoom__btn--density .dashicons {
	font-size: 14px;
	height: 14px;
	line-height: 1;
	width: 14px;
}

.logistica-excel-zoom__btn--density.is-active {
	background: #134e4a;
	border-color: #0f3f3b;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

body.logistica-table-compact [data-excel-zoom-root] table th,
body.logistica-table-compact [data-excel-zoom-root] table td,
body.logistica-table-compact .logistica-sheet table th,
body.logistica-table-compact .logistica-sheet table td,
[data-excel-zoom-root].is-table-compact table th,
[data-excel-zoom-root].is-table-compact table td,
.logistica-sheet.is-table-compact table th,
.logistica-sheet.is-table-compact table td {
	font-size: 11px;
	line-height: 1.25;
	padding: 3px 5px;
}

body.logistica-table-compact [data-excel-zoom-root] input:not([type="checkbox"]):not([type="radio"]),
body.logistica-table-compact [data-excel-zoom-root] select,
body.logistica-table-compact [data-excel-zoom-root] textarea,
body.logistica-table-compact .logistica-sheet input:not([type="checkbox"]):not([type="radio"]),
body.logistica-table-compact .logistica-sheet select,
body.logistica-table-compact .logistica-sheet textarea,
[data-excel-zoom-root].is-table-compact input:not([type="checkbox"]):not([type="radio"]),
[data-excel-zoom-root].is-table-compact select,
[data-excel-zoom-root].is-table-compact textarea,
.logistica-sheet.is-table-compact input:not([type="checkbox"]):not([type="radio"]),
.logistica-sheet.is-table-compact select,
.logistica-sheet.is-table-compact textarea {
	font-size: 11px;
	line-height: 1.2;
	min-height: 26px;
	padding: 2px 5px;
}

body.logistica-table-compact [data-excel-zoom-root] .button,
body.logistica-table-compact .logistica-sheet .button,
[data-excel-zoom-root].is-table-compact .button,
.logistica-sheet.is-table-compact .button {
	font-size: 11px;
	line-height: 1.2;
	min-height: 26px;
	padding: 2px 8px;
}

body.logistica-table-compact [data-excel-zoom-root] .logistica-tapas-excel-row,
body.logistica-table-compact .logistica-sheet .logistica-tapas-excel-row,
[data-excel-zoom-root].is-table-compact .logistica-tapas-excel-row,
.logistica-sheet.is-table-compact .logistica-tapas-excel-row {
	min-height: 0;
}

.logistica-tapas-excel-toolbar .logistica-excel-btn {
	flex-shrink: 0;
}

.logistica-tapas-status-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	list-style: none;
	margin: 0 auto 12px;
	padding: 0;
	width: 100%;
}

.logistica-tapas-status-legend li {
	align-items: center;
	color: #486581;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

.logistica-tapas-status-legend__swatch {
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 4px;
	display: inline-block;
	height: 14px;
	width: 22px;
}

.logistica-tapas-scroll-host {
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-tapas-scroll-host .logistica-tapas-excel-scroll {
	border-radius: 8px 8px 0 0;
}

.logistica-tapas-scroll-host .logistica-table-pagination {
	border-color: #d9e2ec;
	border-radius: 0 0 8px 8px;
}

/* Calculadoras tapas/bolsas: restaurar scroll y ancho fijo (conversion-board lo anula) */
.logistica-tapas-board.logistica-conversion-board .logistica-tapas-excel-scroll,
.logistica-bolsas-board.logistica-conversion-board .logistica-tapas-excel-scroll {
	border: 1px solid #d9e2ec;
	border-radius: 8px 8px 0 0;
	margin: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
	scrollbar-color: #64748b #e2e8f0;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	width: 100%;
}

.logistica-tapas-board.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar,
.logistica-bolsas-board.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar {
	display: block;
	height: 12px;
}

.logistica-tapas-board.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar-thumb,
.logistica-bolsas-board.logistica-conversion-board .logistica-tapas-excel-scroll::-webkit-scrollbar-thumb {
	background: #64748b;
	border-radius: 999px;
}

@media (min-width: 961px) {
	.logistica-tapas-board.logistica-conversion-board .logistica-tapas-excel-scroll,
	.logistica-bolsas-board.logistica-conversion-board .logistica-tapas-excel-scroll {
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-gutter: stable;
	}
}

.logistica-tapas-board.logistica-conversion-board .logistica-tapas-excel-table {
	min-width: 1560px;
	table-layout: fixed;
	width: 100%;
}

.logistica-bolsas-board.logistica-conversion-board .logistica-bolsas-excel-table {
	min-width: 1120px;
	table-layout: fixed;
	width: 100%;
}

.logistica-tapas-board .logistica-tapas-scroll-hint,
.logistica-bolsas-board .logistica-tapas-scroll-hint {
	color: #627d98;
	display: block;
	font-size: 12px;
	margin: 6px 0 0;
	text-align: center;
}

.logistica-tapas-board .logistica-tapas-scroll-hint[hidden],
.logistica-bolsas-board .logistica-tapas-scroll-hint[hidden] {
	display: none;
}

.logistica-tapas-excel-scroll {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.logistica-tapas-excel-scroll::-webkit-scrollbar {
	height: 12px;
}

.logistica-tapas-excel-scroll::-webkit-scrollbar-thumb {
	background: #64748b;
	border-radius: 999px;
}

.logistica-tapas-scroll-hint {
	color: #627d98;
	font-size: 12px;
	margin: 6px 0 0;
	text-align: center;
}

.logistica-tapas-scroll-hint[hidden] {
	display: none;
}

.logistica-tapas-excel-table {
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	min-width: 1520px;
	table-layout: fixed;
	width: 100%;
}

.logistica-bolsas-excel-table.logistica-tapas-excel-table {
	min-width: 1120px;
}

.logistica-tapas-col--actions {
	width: 148px;
}

.logistica-tapas-col--codigo {
	width: 88px;
}

.logistica-tapas-col--estado {
	width: 96px;
}

.logistica-tapas-col--validacion {
	width: 80px;
}

.logistica-tapas-excel-table td.logistica-tapas-excel__validacion,
.logistica-tapas-excel-table td[data-output='validacion'] {
	min-width: 6.5rem;
	max-width: 8.5rem;
	overflow-wrap: normal;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	word-break: normal;
}

.logistica-tapas-excel-table tbody tr.is-calc-missing td:not(.logistica-tapas-excel__validacion):not([data-output='validacion']):not(.logistica-calc-excel-actions-cell):not(.logistica-tapas-excel__status) {
	background-image: linear-gradient(180deg, rgba(255, 237, 213, 0.35), rgba(255, 237, 213, 0.15));
}

.logistica-tapas-excel-table tbody tr.is-calc-missing td.logistica-tapas-excel__validacion,
.logistica-tapas-excel-table tbody tr.is-calc-missing td[data-output='validacion'] {
	background: #ffedd5;
}

.logistica-tapas-status-legend__swatch.is-calc-missing {
	background: #ffedd5;
	box-shadow: inset 0 0 0 1px #fdba74;
}

.logistica-tapas-col--producto {
	width: 88px;
}

.logistica-tapas-col--color {
	width: 80px;
}

.logistica-tapas-col--fecha-actual,
.logistica-tapas-col--fecha-requerida {
	width: 72px;
}

.logistica-tapas-excel-table thead th.logistica-tapas-col--fecha-actual,
.logistica-tapas-excel-table thead th.logistica-tapas-col--fecha-requerida {
	overflow: visible;
	padding: 6px 2px;
	white-space: normal;
}

.logistica-tapas-excel-table thead th.logistica-tapas-col--fecha-actual .logistica-tapas-excel-th__label,
.logistica-tapas-excel-table thead th.logistica-tapas-col--fecha-requerida .logistica-tapas-excel-th__label {
	display: block;
	line-height: 1.2;
	overflow-wrap: anywhere;
	white-space: normal;
	word-break: break-word;
}

.logistica-tapas-excel-table tbody td.logistica-tapas-col--fecha-actual,
.logistica-tapas-excel-table tbody td.logistica-tapas-col--fecha-requerida {
	font-size: 10px;
	line-height: 1.2;
	max-width: 72px;
	padding: 4px 2px;
	text-align: center;
	white-space: nowrap;
}

.logistica-tapas-col--num {
	width: 64px;
}

.logistica-tapas-col--num-sm {
	width: 56px;
}

.logistica-bolsas-excel-table .logistica-tapas-col--producto {
	width: 96px;
}

.logistica-tapas-col--edit {
	width: 52px;
}

.logistica-tapas-excel-table thead th {
	background: #e0f2f1;
	border-bottom: 2px solid #99f6e4;
	color: #0f766e;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	padding: 8px 6px;
	position: sticky;
	text-align: center;
	top: 0;
	vertical-align: middle;
	white-space: normal;
	z-index: 1;
}

.logistica-tapas-excel-th__label {
	display: block;
	hyphens: auto;
	line-height: 1.2;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
	word-break: break-word;
}

.logistica-tapas-excel-table tbody td {
	border-bottom: 1px solid #e2e8f0;
	overflow: hidden;
	padding: 8px 6px;
	text-align: right;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
}

.logistica-tapas-excel-table tbody td.is-text {
	text-align: left;
	white-space: normal;
	word-break: break-word;
}

.logistica-tapas-excel-table .is-actions-head,
.logistica-tapas-excel-table .logistica-calc-excel-actions-cell {
	min-width: 148px;
	position: sticky;
	right: 0;
	width: 148px;
	z-index: 1;
}

.logistica-bolsas-excel-table .is-actions-head,
.logistica-bolsas-excel-table .logistica-calc-excel-actions-cell {
	min-width: 148px;
	width: 148px;
}

.logistica-tapas-excel-table thead .is-actions-head {
	background: #0f5f57;
	color: #ffffff;
	z-index: 3;
}

.logistica-tapas-excel-table tbody .logistica-calc-excel-actions-cell {
	background: inherit;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
	padding: 6px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.logistica-tapas-excel-table tbody tr:hover .logistica-calc-excel-actions-cell {
	background: #f8fffe;
}

.logistica-calc-excel-actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	justify-content: center;
}

.logistica-bolsas-excel-table .logistica-calc-excel-actions .button-small {
	height: 32px;
	min-height: 32px;
	width: 32px;
}


.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion td {
	background: #e0f2fe;
}

.logistica-tapas-excel-table tbody tr.is-row-status-formado td {
	background: #fef3c7;
}

.logistica-tapas-excel-table tbody tr.is-row-status-finalizado td {
	background: #dcfce7;
}

.logistica-tapas-excel-table tbody tr.is-row-status-pendiente td {
	background: #ede9fe;
}

.logistica-tapas-excel-table tbody tr.is-row-status-cancelado td {
	background: #ffe4e6;
}

.logistica-tapas-excel-table tbody tr.is-row-status-otro td {
	background: #f1f5f9;
}

.logistica-tapas-status-legend__swatch.is-row-status-pendiente {
	background: #ede9fe;
}

.logistica-tapas-status-legend__swatch.is-row-status-fabricacion {
	background: #e0f2fe;
}

.logistica-tapas-status-legend__swatch.is-row-status-cancelado {
	background: #ffe4e6;
}

.logistica-tapas-status-legend__swatch.is-row-status-formado {
	background: #fef3c7;
}

.logistica-tapas-status-legend__swatch.is-row-status-finalizado {
	background: #dcfce7;
}

.logistica-tapas-status-legend__swatch.is-row-status-otro {
	background: #f1f5f9;
}

.logistica-tapas-status-legend__swatch.is-warehouse-legend-diff {
	background: #fee2e2;
	border: 1px solid #fca5a5;
}

.logistica-tapas-status-legend__swatch.is-warehouse-legend-ok {
	background: #dcfce7;
	border: 1px solid #86efac;
}

.logistica-tapas-status-legend__swatch.is-warehouse-legend-improved {
	background: #dbeafe;
	border: 1px solid #93c5fd;
}

.logistica-tapas-status-legend__swatch.is-warehouse-legend-inactive {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
}

.logistica-tapas-status-legend__swatch.is-warehouse-legend-vigente {
	background: #ccfbf1;
	border: 1px solid #5eead4;
}

.logistica-tapas-status-legend__swatch.is-car-legend-complete {
	background: #f0fdf4;
	border: 1px solid #86efac;
}

.logistica-tapas-status-legend__swatch.is-car-legend-incomplete {
	background: #ffedd5;
	border: 1px solid #fdba74;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-despacho {
	background: #ffedd5;
	border: 1px solid #fdba74;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-entregado {
	background: #dcfce7;
	border: 1px solid #86efac;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-sin-confirmar {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-aprobado {
	background: #dbeafe;
	border: 1px solid #93c5fd;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-programado {
	background: #e0e7ff;
	border: 1px solid #a5b4fc;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-conversion {
	background: #ede9fe;
	border: 1px solid #c4b5fd;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-impresion {
	background: #cffafe;
	border: 1px solid #67e8f9;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-troquelado {
	background: #f3e8ff;
	border: 1px solid #d8b4fe;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-descartone {
	background: #fef9c3;
	border: 1px solid #fde047;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-formado {
	background: #ecfccb;
	border: 1px solid #bef264;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-embalaje {
	background: #ccfbf1;
	border: 1px solid #5eead4;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-finalizado {
	background: #d1fae5;
	border: 1px solid #6ee7b7;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-cancelado {
	background: #ffe4e6;
	border: 1px solid #fda4af;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-entrega-cercano,
.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn__swatch.is-pedidos-legend-entrega-cercano {
	background: #fef3c7;
	border: 1px solid #f59e0b;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-entrega-manana,
.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn__swatch.is-pedidos-legend-entrega-manana {
	background: #dbeafe;
	border: 1px solid #3b82f6;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-entrega-atrasados,
.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn__swatch.is-pedidos-legend-entrega-atrasados {
	background: #fee2e2;
	border: 1px solid #ef4444;
}

.logistica-tapas-status-legend__swatch.is-pedidos-legend-entrega-prorroga,
.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn__swatch.is-pedidos-legend-entrega-prorroga {
	background: #ede9fe;
	border: 1px solid #8b5cf6;
}

.logistica-warehouse-table tbody tr.has-warehouse-diff td {
	background-color: #fff1f2;
}

.logistica-warehouse-board.is-warehouse-loading .logistica-warehouse-table-card {
	opacity: 0.72;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.logistica-warehouse-table tbody tr[data-warehouse-loading] td,
.logistica-warehouse-table tbody tr[data-warehouse-empty] td {
	text-align: center;
	color: #64748b;
	padding: 1.5rem 0.75rem;
}

.logistica-warehouse-table tbody tr.has-warehouse-improved td {
	background-color: #eff6ff;
}

.logistica-warehouse-table tbody tr.is-warehouse-inactive td {
	background-color: #f8fafc;
}

.logistica-warehouse-table tbody tr.has-warehouse-diff:hover td,
.logistica-warehouse-table tbody tr.has-warehouse-improved:hover td,
.logistica-warehouse-table tbody tr.is-warehouse-inactive:hover td {
	filter: brightness(0.98);
}

.logistica-cierre-caracteristicas-table tbody tr.is-car-complete td {
	background-color: #f0fdf4;
}

.logistica-cierre-caracteristicas-table tbody tr.is-car-incomplete td {
	background-color: #fff7ed;
}

.logistica-cierre-caracteristicas-table tbody tr.is-car-complete:hover td,
.logistica-cierre-caracteristicas-table tbody tr.is-car-incomplete:hover td {
	filter: brightness(0.98);
}

.logistica-tapas-excel-table tbody td.is-auto {
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.logistica-tapas-excel-table tbody tr.is-row-status-pendiente td.is-auto {
	background: #ddd6fe;
}

.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion td.is-auto {
	background: #bae6fd;
}

.logistica-tapas-excel-table tbody tr.is-row-status-formado td.is-auto {
	background: #fde68a;
}

.logistica-tapas-excel-table tbody tr.is-row-status-cancelado td.is-auto {
	background: #fecdd3;
}

.logistica-tapas-excel-table tbody tr.is-row-status-finalizado td.is-auto {
	background: #bbf7d0;
}

.logistica-tapas-excel-table tbody tr.is-row-status-otro td.is-auto {
	background: #e2e8f0;
}

.logistica-tapas-excel-table tbody tr[class*='is-row-status-'] td.is-auto.is-col-base-kg {
	background: #f0fdfa;
}

.logistica-tapas-excel-table tbody tr[class*='is-row-status-'] td.is-auto.is-col-envio-retal {
	background: #fffbeb;
	box-shadow: inset 3px 0 0 #f59e0b;
}

.logistica-tapas-excel-table tbody tr[class*='is-row-status-'] td.is-auto.is-col-envio-resina {
	background: #ffedd5;
}

.logistica-tapas-excel-table tbody tr[class*='is-row-status-'] td.is-auto.is-col-envio-total {
	background: #fed7aa;
	box-shadow: inset -3px 0 0 #ea580c;
}

.logistica-tapas-excel-table tbody td.is-num {
	font-variant-numeric: tabular-nums;
}

.logistica-tapas-excel-table tbody td.logistica-tapas-excel__status {
	font-weight: 600;
	text-transform: capitalize;
}

.logistica-tapas-excel-table tbody td.logistica-tapas-excel__status.is-editable {
	padding: 0;
	text-align: center;
	text-transform: none;
}

.logistica-tapas-excel__status-select {
	appearance: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 7px center;
	background-repeat: no-repeat;
	background-size: 10px 10px;
	border: 1px solid transparent;
	border-radius: 0;
	box-sizing: border-box;
	color: inherit;
	cursor: pointer;
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	max-width: 100%;
	min-height: 100%;
	overflow: hidden;
	padding: 8px 22px 8px 6px;
	text-align: left;
	text-align-last: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel__status-select:focus {
	outline: none;
}

.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion td.logistica-tapas-excel__status {
	background: #e0f2fe;
}

.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion .logistica-tapas-excel__status-select {
	background-color: #e0f2fe;
	border-color: transparent;
	color: #0369a1;
}

.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-fabricacion .logistica-tapas-excel__status-select:focus {
	background-color: #bae6fd;
	border-color: rgba(2, 132, 199, 0.35);
	box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.15);
}

.logistica-tapas-excel-table tbody tr.is-row-status-formado td.logistica-tapas-excel__status {
	background: #fef3c7;
}

.logistica-tapas-excel-table tbody tr.is-row-status-formado .logistica-tapas-excel__status-select {
	background-color: #fef3c7;
	border-color: transparent;
	color: #b45309;
}

.logistica-tapas-excel-table tbody tr.is-row-status-formado .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-formado .logistica-tapas-excel__status-select:focus {
	background-color: #fde68a;
	border-color: rgba(217, 119, 6, 0.35);
	box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15);
}

.logistica-tapas-excel-table tbody tr.is-row-status-finalizado td.logistica-tapas-excel__status {
	background: #dcfce7;
}

.logistica-tapas-excel-table tbody tr.is-row-status-finalizado .logistica-tapas-excel__status-select {
	background-color: #dcfce7;
	border-color: transparent;
	color: #15803d;
}

.logistica-tapas-excel-table tbody tr.is-row-status-finalizado .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-finalizado .logistica-tapas-excel__status-select:focus {
	background-color: #bbf7d0;
	border-color: rgba(22, 163, 74, 0.35);
	box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.15);
}

.logistica-tapas-excel-table tbody tr.is-row-status-pendiente td.logistica-tapas-excel__status {
	background: #ede9fe;
}

.logistica-tapas-excel-table tbody tr.is-row-status-pendiente .logistica-tapas-excel__status-select {
	background-color: #ede9fe;
	border-color: transparent;
	color: #6d28d9;
}

.logistica-tapas-excel-table tbody tr.is-row-status-pendiente .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-pendiente .logistica-tapas-excel__status-select:focus {
	background-color: #ddd6fe;
	border-color: rgba(109, 40, 217, 0.35);
	box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.15);
}

.logistica-tapas-excel-table tbody tr.is-row-status-cancelado td.logistica-tapas-excel__status {
	background: #ffe4e6;
}

.logistica-tapas-excel-table tbody tr.is-row-status-cancelado .logistica-tapas-excel__status-select {
	background-color: #ffe4e6;
	border-color: transparent;
	color: #be123c;
}

.logistica-tapas-excel-table tbody tr.is-row-status-cancelado .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-cancelado .logistica-tapas-excel__status-select:focus {
	background-color: #fecdd3;
	border-color: rgba(190, 18, 60, 0.35);
	box-shadow: inset 0 0 0 1px rgba(190, 18, 60, 0.15);
}

.logistica-tapas-excel-table tbody tr.is-row-status-otro td.logistica-tapas-excel__status {
	background: #f1f5f9;
}

.logistica-tapas-excel-table tbody tr.is-row-status-otro .logistica-tapas-excel__status-select {
	background-color: #f1f5f9;
	border-color: transparent;
	color: #475569;
}

.logistica-tapas-excel-table tbody tr.is-row-status-otro .logistica-tapas-excel__status-select:hover,
.logistica-tapas-excel-table tbody tr.is-row-status-otro .logistica-tapas-excel__status-select:focus {
	background-color: #e2e8f0;
	border-color: rgba(100, 116, 139, 0.35);
	box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.15);
}

.logistica-tapas-excel-summary th,
.logistica-tapas-excel-summary td {
	background: #ecfdf5;
	border-top: 2px solid #99f6e4;
	font-weight: 700;
	padding: 10px 8px;
	text-align: right;
}

.logistica-tapas-excel-summary th {
	text-align: left;
}

.logistica-tapas-cards-toolbar {
	display: flex;
	justify-content: center;
	margin: 20px 0 12px;
}

.logistica-tapas-cards-toggle {
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	color: #0f766e;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	gap: 10px;
	min-height: 42px;
	padding: 8px 16px;
}

.logistica-tapas-cards-toggle:hover,
.logistica-tapas-cards-toggle:focus,
.logistica-tapas-cards-toggle.is-active {
	background: #f0fdfa;
	border-color: #0f766e;
}

.logistica-tapas-icon--cards {
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='6' rx='2'/%3E%3Crect x='3' y='14' width='18' height='6' rx='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logistica-tapas-icon--edit {
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logistica-tapas-icon-btn--edit {
	color: #0f766e;
}

.logistica-tapas-card.is-tapas-card-active {
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.35);
	outline: 2px solid #0f766e;
}

.logistica-tapas-card.is-tapas-card-hidden,
.logistica-tapas-card[hidden] {
	display: none !important;
}

.logistica-tapas-cards-panel[data-tapas-view="single"] .logistica-tapas-list {
	gap: 0;
}

.logistica-tapas-single-edit-bar {
	align-items: center;
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 12px 14px;
}

.logistica-tapas-single-edit-bar[hidden] {
	display: none;
}

.logistica-tapas-back-btn {
	background: #ffffff;
	border: 1px solid #0f766e;
	border-radius: 8px;
	color: #0f766e;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
}

.logistica-tapas-back-btn:hover,
.logistica-tapas-back-btn:focus {
	background: #ccfbf1;
}

.logistica-tapas-single-edit-bar__label {
	color: #334e68;
	font-size: 13px;
	margin: 0;
}

.logistica-tapas-single-edit-bar__label strong {
	color: #0f766e;
}

.logistica-tapas-form-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.logistica-tapas-board .logistica-tapas-form-actions .button,
.logistica-bolsas-board .logistica-tapas-form-actions .button {
	align-items: center;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.2;
	min-height: 38px;
	padding: 8px 18px;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.logistica-tapas-board .logistica-tapas-form-actions .button-primary,
.logistica-bolsas-board .logistica-tapas-form-actions .button-primary {
	background: #0f766e;
	border: 0;
	color: #ffffff;
}

.logistica-tapas-board .logistica-tapas-form-actions .button-primary:hover,
.logistica-tapas-board .logistica-tapas-form-actions .button-primary:focus,
.logistica-bolsas-board .logistica-tapas-form-actions .button-primary:hover,
.logistica-bolsas-board .logistica-tapas-form-actions .button-primary:focus {
	background: #115e59;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-tapas-board .logistica-tapas-form-actions .button:not(.button-primary),
.logistica-bolsas-board .logistica-tapas-form-actions .button:not(.button-primary) {
	background: #ffffff;
	border: 1px solid #94a3b8;
	color: #334155;
}

.logistica-tapas-board .logistica-tapas-form-actions .button:not(.button-primary):hover,
.logistica-tapas-board .logistica-tapas-form-actions .button:not(.button-primary):focus,
.logistica-bolsas-board .logistica-tapas-form-actions .button:not(.button-primary):hover,
.logistica-bolsas-board .logistica-tapas-form-actions .button:not(.button-primary):focus {
	background: #f8fafc;
	border-color: #64748b;
	color: #0f172a;
}

.logistica-tapas-form-actions .button .dashicons {
	font-size: 16px;
	height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-tapas-board .logistica-table-pagination__btn,
.logistica-bolsas-board .logistica-table-pagination__btn {
	background: #ffffff;
	border: 1px solid #99f6e4;
	color: #0f766e;
	font-size: 13px;
	font-weight: 600;
	min-height: 34px;
	opacity: 1;
	padding: 6px 14px;
}

.logistica-tapas-board .logistica-table-pagination__btn:hover:not(:disabled),
.logistica-tapas-board .logistica-table-pagination__btn:focus:not(:disabled),
.logistica-bolsas-board .logistica-table-pagination__btn:hover:not(:disabled),
.logistica-bolsas-board .logistica-table-pagination__btn:focus:not(:disabled) {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

.logistica-tapas-board .logistica-table-pagination__btn:disabled,
.logistica-bolsas-board .logistica-table-pagination__btn:disabled {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #64748b;
	cursor: not-allowed;
	opacity: 1;
}

.logistica-tapas-excel-wrap .logistica-tapas-inline-form-slot {
	margin: 0 0 12px;
}

.logistica-tapas-inline-form-slot.is-open {
	animation: logistica-tapas-inline-form-in 0.2s ease;
}

@keyframes logistica-tapas-inline-form-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logistica-tapas-cards-panel[hidden] {
	display: none !important;
}

.logistica-tapas-cards-title {
	margin: 0 0 16px;
}

.logistica-tapas-list {
	display: grid;
	gap: 16px;
	margin: 0 0 20px;
}

.logistica-tapas-card {
	background: #ffffff;
	border: 1px solid #d9e2ec;
	border-left: 4px solid #0f766e;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
}

.logistica-tapas-card.is-status-formado {
	border-left-color: #d97706;
}

.logistica-tapas-card.is-status-finalizado {
	border-left-color: #16a34a;
}

.logistica-tapas-card.is-status-pendiente {
	border-left-color: #7c3aed;
}

.logistica-tapas-card.is-status-cancelado {
	border-left-color: #e11d48;
}

.logistica-tapas-card.is-status-otro {
	border-left-color: #64748b;
}

.logistica-tapas-card__head {
	align-items: flex-start;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
	padding: 14px 16px;
}

.logistica-tapas-card__status-wrap {
	display: grid;
	gap: 8px;
}

.logistica-tapas-card__identity {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-tapas-card__identity .logistica-tapas-field__date {
	font-size: 12px;
	min-width: 0;
	padding: 4px 6px;
}

.logistica-tapas-card__actions {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
}

.logistica-tapas-card__body {
	display: grid;
	gap: 0;
}

.logistica-tapas-section {
	border-top: 1px solid #edf2f7;
	padding: 14px 16px;
}

.logistica-tapas-section:first-child {
	border-top: 0;
}

.logistica-tapas-section--results {
	background: #f0fdfa;
}

.logistica-tapas-results-groups {
	display: grid;
	gap: 14px;
}

.logistica-tapas-results-group {
	background: #ffffff;
	border: 1px solid #ccfbf1;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.logistica-tapas-results-group--envio {
	background: #fff7ed;
	border-color: #fdba74;
}

.logistica-tapas-results-group--rollos {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.logistica-tapas-results-group__title {
	color: #0f766e;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.logistica-tapas-results-group--envio .logistica-tapas-results-group__title {
	color: #c2410c;
}

.logistica-tapas-results-group--rollos .logistica-tapas-results-group__title {
	color: #475569;
}

.logistica-tapas-field.is-auto.is-base-kg {
	background: #f0fdfa;
	border-color: #5eead4;
	border-style: solid;
}

.logistica-tapas-field.is-auto.is-envio {
	border-style: solid;
	font-weight: 600;
}

.logistica-tapas-field.is-auto.is-envio-retal {
	background: #fffbeb;
	border-color: #fbbf24;
}

.logistica-tapas-field.is-auto.is-envio-resina {
	background: #ffedd5;
	border-color: #fb923c;
}

.logistica-tapas-field.is-auto.is-envio-total {
	background: #fed7aa;
	border-color: #ea580c;
}

.logistica-tapas-field.is-auto.is-envio-total .logistica-tapas-field__value,
.logistica-tapas-field.is-auto.is-base-kg.is-total .logistica-tapas-field__value {
	font-size: 16px;
}

.logistica-tapas-totals__group--results .logistica-tapas-results-group {
	padding: 10px;
}

.logistica-tapas-kg-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	justify-content: center;
	list-style: none;
	margin: 0 auto 12px;
	padding: 0;
	width: 100%;
}

.logistica-tapas-kg-legend li {
	align-items: center;
	color: #475569;
	display: inline-flex;
	font-size: 12px;
	gap: 6px;
}

.logistica-tapas-kg-legend__swatch {
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	display: inline-block;
	height: 14px;
	width: 22px;
}

.logistica-tapas-kg-legend__swatch.is-col-base-kg {
	background: #f0fdfa;
	border-color: #5eead4;
}

.logistica-tapas-kg-legend__swatch.is-col-envio-retal {
	background: #fffbeb;
	border-color: #fbbf24;
}

.logistica-tapas-kg-legend__swatch.is-col-envio-resina {
	background: #ffedd5;
	border-color: #fb923c;
}

.logistica-tapas-kg-legend__swatch.is-col-envio-total {
	background: #fed7aa;
	border-color: #ea580c;
}

.logistica-tapas-excel-groups th {
	background: #f8fafc;
	border-bottom: 1px solid #cbd5e1;
	color: #475569;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 6px 4px;
	text-align: center;
	text-transform: uppercase;
	vertical-align: middle;
}

.logistica-tapas-excel-groups th.is-col-base-kg-group {
	background: #f0fdfa;
	color: #0f766e;
}

.logistica-tapas-excel-groups th.is-col-envio-group {
	background: #ffedd5;
	color: #c2410c;
}

.logistica-tapas-excel-table thead tr:not(.logistica-tapas-excel-groups) th.is-col-base-kg {
	background: #ccfbf1;
	color: #115e59;
}

.logistica-tapas-excel-table thead th.is-col-envio {
	color: #9a3412;
	font-weight: 800;
}

.logistica-tapas-excel-table thead th.is-col-envio-retal {
	background: #fef3c7;
}

.logistica-tapas-excel-table thead th.is-col-envio-resina {
	background: #ffedd5;
}

.logistica-tapas-excel-table thead th.is-col-envio-total {
	background: #fed7aa;
}

.logistica-tapas-excel-table tbody td.is-col-base-kg {
	background: #f0fdfa;
}

.logistica-tapas-excel-table tbody td.is-col-envio-retal {
	background: #fffbeb;
	box-shadow: inset 3px 0 0 #f59e0b;
}

.logistica-tapas-excel-table tbody td.is-col-envio-resina {
	background: #ffedd5;
}

.logistica-tapas-excel-table tbody td.is-col-envio-total {
	background: #fed7aa;
	box-shadow: inset -3px 0 0 #ea580c;
	font-weight: 800;
}

.logistica-tapas-excel-summary--kg td.is-col-base-kg {
	background: #ccfbf1;
}

.logistica-tapas-excel-summary--kg td.is-col-envio-retal {
	background: #fde68a;
}

.logistica-tapas-excel-summary--kg td.is-col-envio-resina {
	background: #fdba74;
}

.logistica-tapas-excel-summary--kg td.is-col-envio-total {
	background: #fb923c;
	color: #431407;
	font-size: 13px;
}

.logistica-tapas-section__title,
h2.logistica-tapas-section__title,
h4.logistica-tapas-section__title,
h5.logistica-tapas-section__title {
	background: transparent;
	border: 0;
	color: #0f766e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	margin: 0 0 12px;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}

.logistica-tapas-section--results .logistica-tapas-section__title {
	color: #115e59;
}

.logistica-tapas-grid {
	display: grid;
	gap: 12px;
}

.logistica-tapas-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-tapas-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logistica-tapas-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-tapas-section--control {
	background: #f8fafc;
}

.logistica-tapas-control-groups {
	display: grid;
	gap: 16px;
}

.logistica-tapas-control-group {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.logistica-tapas-control-group--due {
	background: #fffbeb;
	border-color: #fde68a;
}

.logistica-tapas-control-group--service {
	background: #f0fdfa;
	border-color: #99f6e4;
}

.logistica-tapas-control-group__title {
	color: #64748b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.logistica-tapas-control-group--due .logistica-tapas-control-group__title {
	color: #b45309;
}

.logistica-tapas-control-group--service .logistica-tapas-control-group__title {
	color: #0f766e;
}

.logistica-tapas-field.is-auto.is-total {
	background: #ffffff;
	border-color: #64748b;
	border-style: solid;
	border-width: 1px;
}

.logistica-tapas-control-group--due .logistica-tapas-field.is-auto.is-total {
	background: #fff7ed;
	border-color: #d97706;
}

.logistica-tapas-control-group--service .logistica-tapas-field.is-auto.is-total {
	background: #ecfeff;
	border-color: #0d9488;
}

.logistica-tapas-field.is-auto.is-total .logistica-tapas-field__value {
	color: #0f172a;
	font-size: 16px;
}

.logistica-tapas-totals__group--control .logistica-tapas-control-group {
	padding: 10px;
}

.logistica-tapas-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.logistica-tapas-field__label {
	color: #486581;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.logistica-tapas-field input,
.logistica-tapas-field select,
.logistica-tapas-status-select {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 14px;
	min-height: 38px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-tapas-field input {
	appearance: auto;
}

.logistica-tapas-field select,
.logistica-tapas-status-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23334e68' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-size: 12px;
	padding-right: 32px;
}

.logistica-tapas-field.is-auto {
	background: #ffffff;
	border: 1px dashed #94a3b8;
	border-radius: 8px;
	padding: 10px 12px;
}

.logistica-tapas-section--results .logistica-tapas-field.is-auto {
	background: #ffffff;
	border-color: #99f6e4;
}

.logistica-tapas-field__value {
	color: #0f172a;
	display: block;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.2;
}

.logistica-tapas-field--status-other.is-hidden {
	display: none;
}


.logistica-tapas-icon {
	display: block;
	height: 16px;
	width: 16px;
}

.logistica-tapas-icon--duplicate {
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logistica-tapas-icon--close,
.logistica-tapas-icon--remove {
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logistica-tapas-icon--delete {
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m3 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6h14zM10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
}


.logistica-tapas-totals {
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 12px;
	margin: 0 0 16px;
	padding: 16px;
}

.logistica-tapas-totals.is-collapsed {
	padding-bottom: 12px;
}

.logistica-tapas-totals__group.is-collapsed {
	margin-bottom: 0;
}

.logistica-tapas-collapse__trigger {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 8px;
	justify-content: center;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

.logistica-tapas-collapse__trigger:hover,
.logistica-tapas-collapse__trigger:focus {
	color: #0f766e;
	outline: none;
}

.logistica-tapas-collapse__trigger:focus-visible {
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}

.logistica-tapas-collapse__chevron {
	color: #0f766e;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 12px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.logistica-tapas-collapse__chevron::before {
	content: '\25B8';
}

.logistica-tapas-collapse__trigger[aria-expanded="true"] .logistica-tapas-collapse__chevron {
	transform: rotate(90deg);
}

.logistica-tapas-collapse__body {
	padding-top: 10px;
}

.logistica-tapas-totals > .logistica-tapas-collapse__trigger {
	margin-bottom: 0;
}

.logistica-tapas-totals.is-expanded > .logistica-tapas-collapse__trigger {
	margin-bottom: 14px;
}

.logistica-tapas-totals__group > .logistica-tapas-collapse__trigger {
	margin-bottom: 0;
}

.logistica-tapas-totals__group.is-expanded > .logistica-tapas-collapse__trigger {
	margin-bottom: 10px;
}

.logistica-tapas-totals__title,
h2.logistica-tapas-totals__title {
	background: transparent;
	border: 0;
	color: #115e59;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 14px;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}

.logistica-tapas-totals__groups {
	display: grid;
	gap: 16px;
}

.logistica-tapas-totals__group .logistica-tapas-section__title {
	margin-bottom: 10px;
}

.logistica-tapas-totals .logistica-tapas-field.is-auto {
	background: #ffffff;
	border-style: solid;
}

@media (max-width: 1100px) {
	.logistica-tapas-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logistica-excel-zoom-toolbar {
		justify-content: center;
		margin: 0 auto 8px;
		position: static;
		width: 100%;
	}

	.logistica-tapas-excel-wrap > .logistica-tapas-section__title,
	.logistica-tapas-excel-wrap > h5.logistica-tapas-section__title {
		margin-bottom: 6px;
		padding-left: 0;
		padding-right: 0;
	}

	.logistica-tapas-excel__intro {
		margin-top: 0;
	}

	.logistica-conversion-board .logistica-sheet > h2 {
		padding-right: 18px;
	}
}

@media (max-width: 782px) {
	.logistica-excel-zoom__label {
		font-size: 9px;
	}

	.logistica-excel-zoom__value {
		font-size: 9px;
		min-width: 2rem;
	}

	.logistica-excel-zoom__btn {
		font-size: 13px;
		height: 22px;
		min-width: 22px;
	}
}

@media (max-width: 782px) {
	.logistica-tapas-card__head {
		grid-template-columns: 1fr;
	}

	.logistica-tapas-card__identity {
		grid-template-columns: 1fr;
	}

	.logistica-tapas-grid--3,
	.logistica-tapas-grid--4 {
		grid-template-columns: 1fr;
	}

	.logistica-tapas-totals__groups {
		grid-template-columns: 1fr;
	}
}

.logistica-inventory-nav__list .nav-tab,
.logistica-inventory-nav__link {
	background: transparent;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #334155;
	display: block;
	float: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	padding: 9px 12px;
	text-align: left;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
	width: 100%;
}

.logistica-inventory-nav__link--hidden,
.logistica-inventory-nav__list .nav-tab.logistica-inventory-nav__link--hidden {
	display: none !important;
}

.logistica-inventory-nav__list .nav-tab:hover,
.logistica-inventory-nav__link:hover {
	background: #f1f5f9;
	color: var(--logistica-inventory-nav-teal);
}

.logistica-inventory-nav__list .nav-tab-active,
.logistica-inventory-nav__list .nav-tab-active:hover,
.logistica-inventory-nav__list .nav-tab.nav-tab-active {
	background: var(--logistica-inventory-nav-teal);
	border: 0;
	color: #ffffff;
	font-weight: 700;
}

body.logistica-panel-page .logistica-inventory-body {
	padding-top: 0;
}

body.logistica-panel-page .wrap.logistica-admin.logistica-frontend {
	padding-top: 0;
}

body.wp-admin [data-logistica-inventory-shell].wrap.logistica-admin {
	margin-top: 10px;
}

@media screen and (max-width: 782px) {
	body.wp-admin [data-logistica-inventory-shell] {
		--logistica-inventory-nav-top: 46px;
	}

	body.wp-admin .logistica-app-rail {
		top: 46px;
	}

	body.wp-admin .logistica-section-nav-backdrop {
		top: 46px;
	}
}

@media screen and (max-width: 960px) {
	.logistica-inventory-nav {
		box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18);
		width: min(var(--logistica-inventory-nav-width), 86vw);
	}

	.logistica-inventory-nav.logistica-nav-tab-wrap {
		width: min(var(--logistica-inventory-nav-width), 86vw);
	}
}

@media (prefers-reduced-motion: reduce) {
	.logistica-inventory-nav,
	.logistica-inventory-nav-backdrop,
	.logistica-app-rail__btn,
	.logistica-conversion-nav,
	.logistica-section-nav-backdrop {
		transition-duration: 0.01ms !important;
	}
}

@media screen and (max-width: 782px) {
	.logistica-inventory-nav__inner {
		padding: 10px;
	}

	.logistica-inventory-nav__list .nav-tab,
	.logistica-inventory-nav__link {
		font-size: 14px;
		padding: 10px 12px;
	}
}

/* Compatibilidad con clases anteriores */
.logistica-nav-tab-wrap {
	display: block;
	margin: 0;
	width: 100%;
}

.logistica-inventory-nav.logistica-nav-tab-wrap {
	width: var(--logistica-inventory-nav-width);
}

.logistica-nav-tab-wrapper {
	border-bottom: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	width: 100%;
}

.logistica-nav-tab-wrapper .nav-tab {
	float: none;
	flex: 0 0 auto;
	margin: 0;
	width: 100%;
}

.logistica-tab-panels {
	clear: both;
	display: block;
	margin-top: 0;
	width: 100%;
}

.logistica-tab-panel {
	max-width: 100%;
	width: 100%;
}

.logistica-tab-panel[hidden] {
	display: none !important;
}

.logistica-tab-panel.is-active {
	display: block;
}

.wrap.logistica-admin.logistica-frontend {
	box-sizing: border-box;
	float: none;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

.logistica-header--frontend {
	margin-bottom: 12px;
}

.logistica-notice {
	align-items: flex-start;
	border-radius: 8px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 12px 14px;
}

.logistica-notice p {
	flex: 1;
	font-weight: 700;
	margin: 0;
}

.logistica-notice--success {
	background: #ecfdf5;
	border: 1px solid #86efac;
	color: #166534;
}

.logistica-notice--info {
	background: #eff6ff;
	border: 1px solid #93c5fd;
	color: #1e40af;
}

.logistica-notice--warning {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
}

.logistica-notice-close {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	opacity: 0.7;
	padding: 0 4px;
}

.logistica-notice-close:hover {
	opacity: 1;
}

.logistica-field-hint {
	color: #627d98;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.logistica-computed input[readonly] {
	background: #f0fdfa;
	border-color: #5eead4;
	color: #115e59;
	font-weight: 700;
}

.logistica-form input:focus,
.logistica-form select:focus,
.logistica-form textarea:focus,
.logistica-calculator input:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	outline: none;
}

.logistica-form.is-submitting {
	opacity: 0.75;
	pointer-events: none;
}

.logistica-form.is-submitting .button-primary::after {
	content: '…';
}

.logistica-empty-cell {
	color: #52616b;
	padding: 28px 16px !important;
	text-align: center;
	white-space: normal !important;
}

.logistica-empty-cell strong {
	display: block;
	font-size: 15px;
	margin: 8px 0 4px;
}

.logistica-empty-cell span:last-child {
	display: block;
	font-size: 13px;
	font-weight: 500;
}

.logistica-empty-icon {
	color: #94a3b8;
	display: block;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
}

.logistica-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 3px 10px;
	text-transform: uppercase;
}

.logistica-badge--activo {
	background: #dcfce7;
	color: #14532d;
}

.logistica-badge--retenido {
	background: #fef3c7;
	color: #92400e;
}

.logistica-badge--agotado {
	background: #fee2e2;
	color: #7f1d1d;
}

.logistica-badge--mov {
	text-transform: none;
}

.logistica-badge--entrada,
.logistica-badge--devolucion {
	background: #dcfce7;
	color: #14532d;
}

.logistica-badge--salida,
.logistica-badge--produccion {
	background: #dbeafe;
	color: #1e40af;
}

.logistica-badge--ajuste,
.logistica-badge--traslado {
	background: #f3f4f6;
	color: #374151;
}

.logistica-table tbody tr:hover td {
	background: #f8fafc;
}

@media (min-width: 901px) {
	.logistica-frontend {
		padding: 24px;
	}

	.logistica-conversion-board {
		gap: 24px;
	}

	.logistica-conversion-board .logistica-sheet thead th {
		font-size: 11px;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) thead th {
		font-size: 14px;
	}

	.logistica-sheet tbody th,
	.logistica-sheet tbody td {
		font-size: 15px;
	}

	.logistica-row-button {
		height: 24px;
		line-height: 22px;
		width: 24px;
	}
}

@media (max-width: 1100px) {
	.logistica-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logistica-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.logistica-frontend {
		padding: 12px;
		width: calc(100vw - 16px);
	}

	.logistica-header {
		align-items: flex-start;
		display: block;
		padding: 16px;
	}

	.logistica-grid-2,
	.logistica-grid-4,
	.logistica-form,
	.logistica-formula-list {
		grid-template-columns: 1fr;
	}

	.logistica-panel,
	.logistica-stat {
		padding: 14px;
	}

	.logistica-sheet table {
		min-width: 980px;
	}
}

@media (max-width: 900px) {
	.logistica-frontend {
		margin: 0;
		padding: 10px;
		transform: none;
		width: 100%;
	}

	.logistica-sheet {
		border-width: 1px;
		max-width: 100%;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) h2 {
		font-size: 22px;
		letter-spacing: 0;
		line-height: 1.1;
		padding: 10px 8px;
		white-space: normal;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) th,
	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) td {
		font-size: 10px;
		line-height: 1.15;
		padding: 3px 2px;
		white-space: normal;
		word-break: break-word;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) input {
		font-size: 10px;
		height: 22px;
		min-height: 22px;
	}

	.logistica-close-grid,
	.logistica-close-bases {
		display: grid;
		gap: 12px;
		grid-template-columns: 1fr;
	}

	.logistica-close-grid table,
	.logistica-close-bases table {
		min-width: 100%;
	}

	.logistica-close-order th,
	.logistica-close-order td,
	.logistica-close-bases th,
	.logistica-close-bases td {
		font-size: 10px;
		height: 26px;
		padding-left: 2px;
		padding-right: 2px;
	}

	.logistica-close-order thead th:first-child,
	.logistica-close-bases thead tr:first-child th {
		font-size: 13px;
	}

	.logistica-close-toolbar {
		display: block;
	}

	.logistica-close-toolbar--ordenes .logistica-close-toolbar__actions {
		justify-content: center;
		margin-top: 12px;
	}

	.logistica-autosave-status {
		white-space: normal;
	}

	.logistica-close-layout {
		grid-template-areas:
			"left"
			"main";
		grid-template-columns: 1fr;
	}

	.logistica-close-left-column {
		max-height: none;
		overflow: visible;
		position: static;
	}

	.logistica-close-sidebar {
		max-height: none;
		position: static;
	}

	.logistica-ref-meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logistica-close-matrix {
		min-width: 760px;
	}

	.logistica-sheet-scroll:not(.logistica-tapas-excel-scroll) {
		overflow-x: visible;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) thead th {
		font-size: 9px;
		line-height: 1.1;
		padding: 4px 2px;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) tbody th {
		font-size: 9px;
		width: auto;
	}

	.logistica-mount-base th,
	.logistica-mount-base td,
	.logistica-mount-refs th,
	.logistica-mount-refs td {
		width: auto;
	}

	.logistica-row-button {
		font-size: 10px;
		height: 18px;
		line-height: 16px;
		width: 18px;
	}

	.logistica-sheet-actions {
		padding: 8px;
	}

	.logistica-sheet-actions .button {
		min-height: 34px;
	}
}

@media (max-width: 420px) {
	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) h2 {
		font-size: 16px;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) th,
	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) td {
		font-size: 9px;
		padding: 2px 1px;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) thead th {
		font-size: 8px;
	}

	.logistica-sheet:not(.logistica-conversion-board .logistica-sheet) input {
		font-size: 9px;
	}

	.logistica-conversion-board {
		padding: 8px;
	}

	.logistica-front-nav {
		border-radius: 6px;
		overflow-x: auto;
		position: sticky;
		top: 0;
	}

	.logistica-front-nav a {
		font-size: 12px;
		padding: 7px 8px;
	}

	.logistica-ref-meta,
	.logistica-ref-title,
	.logistica-base-grid,
	.logistica-base-nav-grid {
		grid-template-columns: 1fr;
	}
}

/* Inventario bodega (Kardex vs fisico) */
.logistica-warehouse-board {
	--lg-wh-teal: #13776d;
	--lg-wh-teal-dark: #0f5f57;
	--lg-wh-border: #d7ebe8;
	--lg-wh-shadow: 0 10px 28px rgba(15, 95, 87, 0.08);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.logistica-warehouse-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-warehouse-toolbar__badge {
	align-items: center;
	background: linear-gradient(145deg, #e6f6f3, #d2eee8);
	border: 1px solid var(--lg-wh-border);
	border-radius: 14px;
	color: var(--lg-wh-teal);
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.logistica-warehouse-toolbar__badge .dashicons {
	font-size: 24px;
	height: 24px;
	width: 24px;
}

.logistica-warehouse-toolbar .logistica-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-column: 1 / -1;
	justify-content: flex-start;
}

.logistica-warehouse-board .button:not(.logistica-excel-btn):not(.logistica-table-icon-btn),
.logistica-warehouse-board button.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn) {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.3;
	min-height: 36px;
	padding: 8px 14px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-warehouse-board .button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):hover,
.logistica-warehouse-board .button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):focus,
.logistica-warehouse-board button.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):hover,
.logistica-warehouse-board button.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
	outline: none;
}

.logistica-warehouse-board .button:disabled,
.logistica-warehouse-board button.button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.logistica-warehouse-board .button.button-primary {
	background: var(--lg-wh-teal);
	border-color: var(--lg-wh-teal);
	color: #ffffff;
}

.logistica-warehouse-board .button.button-primary:hover,
.logistica-warehouse-board .button.button-primary:focus {
	background: var(--lg-wh-teal-dark);
	border-color: var(--lg-wh-teal-dark);
	color: #ffffff;
}

.logistica-warehouse-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button {
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	box-shadow: none;
	color: #ffffff;
}

.logistica-warehouse-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button:hover,
.logistica-warehouse-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button:focus {
	background: #115e59;
	border: 0;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-warehouse-btn-add,
.logistica-warehouse-btn-upload {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.logistica-warehouse-btn-add {
	background: var(--lg-wh-teal);
	border-color: var(--lg-wh-teal);
	color: #ffffff;
}

.logistica-warehouse-btn-add:hover,
.logistica-warehouse-btn-add:focus {
	background: var(--lg-wh-teal-dark);
	border-color: var(--lg-wh-teal-dark);
	color: #ffffff;
}

.logistica-warehouse-board .logistica-warehouse-actions .logistica-table-icon-btn,
.logistica-warehouse-board .logistica-warehouse-actions .button-small.logistica-table-icon-btn {
	background: #111827;
	border-color: #4b5563;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #ffffff;
	font-size: 0;
	gap: 0;
	height: 34px;
	line-height: 0;
	min-height: 34px;
	padding: 0;
	width: 34px;
}

.logistica-warehouse-board .logistica-warehouse-actions .logistica-table-icon-btn .dashicons {
	color: #ffffff;
}

.logistica-warehouse-stats {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.logistica-warehouse-stat {
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 12px;
	box-shadow: var(--lg-wh-shadow);
	display: grid;
	gap: 2px;
	padding: 12px 14px;
}

.logistica-warehouse-stat__value {
	color: #0f172a;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
}

.logistica-warehouse-stat__label {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-warehouse-stat.is-alert .logistica-warehouse-stat__value {
	color: #c2410c;
}

.logistica-warehouse-stat.is-ok .logistica-warehouse-stat__value {
	color: #15803d;
}

.logistica-warehouse-stat.is-improved .logistica-warehouse-stat__value {
	color: #1d4ed8;
}

.logistica-warehouse-import-card {
	align-items: flex-start;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border: 1px dashed #9fd9d1;
	border-radius: 12px;
	display: flex;
	gap: 14px;
	padding: 16px 18px;
}

.logistica-warehouse-import-card__icon {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 10px;
	color: var(--lg-wh-teal);
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.logistica-warehouse-import-card__icon .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.logistica-warehouse-import-card__body {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.logistica-warehouse-import-card__body strong {
	color: #0f172a;
	font-size: 14px;
}

.logistica-warehouse-import-card__body p {
	color: #64748b;
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}

.logistica-warehouse-import {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.logistica-warehouse-alert {
	align-items: flex-start;
	background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
	border: 1px solid #fdba74;
	border-left: 4px solid #f97316;
	border-radius: 10px;
	color: #9a3412;
	display: flex;
	gap: 12px;
	padding: 14px 16px;
}

.logistica-warehouse-alert__icon {
	color: #ea580c;
	flex-shrink: 0;
	font-size: 22px;
	height: 22px;
	margin-top: 2px;
	width: 22px;
}

.logistica-warehouse-alert p {
	line-height: 1.45;
	margin: 4px 0 0;
}

.logistica-warehouse-filters {
	align-items: end;
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 12px;
	box-shadow: var(--lg-wh-shadow);
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1.1fr) minmax(180px, 1.1fr) minmax(150px, 0.9fr) minmax(140px, 0.7fr) auto;
	padding: 14px 16px;
}

.logistica-warehouse-filter {
	display: grid;
	gap: 6px;
}

.logistica-warehouse-filter span {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
}

.logistica-warehouse-filter input,
.logistica-warehouse-filter select {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	min-height: 36px;
	padding: 7px 10px;
	width: 100%;
}

.logistica-warehouse-filter input:focus,
.logistica-warehouse-filter select:focus {
	border-color: var(--lg-wh-teal);
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.12);
	outline: none;
}

.logistica-warehouse-filter-meta {
	color: #64748b;
	font-size: 12px;
	grid-column: 1 / -1;
	margin: 0;
}

.logistica-warehouse-filter-empty {
	color: #64748b;
	font-size: 13px;
	margin: 12px 0 0;
	padding: 0 4px;
	text-align: center;
}

.logistica-warehouse-copy-value {
	cursor: pointer;
	position: relative;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	user-select: none;
}

.logistica-warehouse-codigo.logistica-warehouse-copy-value:hover,
.logistica-warehouse-codigo.logistica-warehouse-copy-value:focus,
.logistica-warehouse-lote.logistica-warehouse-copy-value:hover,
.logistica-warehouse-lote.logistica-warehouse-copy-value:focus {
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.18);
	outline: none;
}

.logistica-warehouse-codigo.logistica-warehouse-copy-value.is-copied {
	background: #dcfce7;
	border-color: #16a34a;
	color: #166534;
}

.logistica-warehouse-lote.logistica-warehouse-copy-value.is-copied {
	background: #dcfce7;
	border-color: #16a34a;
	color: #166534;
}

.logistica-warehouse-copy-value.is-copied::after {
	background: #16a34a;
	border-radius: 4px;
	color: #ffffff;
	content: 'Copiado';
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 10px;
	font-weight: 700;
	left: 50%;
	line-height: 1;
	padding: 3px 6px;
	pointer-events: none;
	position: absolute;
	top: -22px;
	transform: translateX(-50%);
	white-space: nowrap;
	z-index: 2;
}

.logistica-warehouse-table-card {
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 12px;
	box-shadow: var(--lg-wh-shadow);
	overflow: visible;
}

.logistica-warehouse-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.logistica-warehouse-table {
	border-collapse: separate;
	border-spacing: 0;
	min-width: 1040px;
	width: 100%;
}

.logistica-warehouse-table th,
.logistica-warehouse-table td {
	border-bottom: 1px solid #e8f2f0;
	font-size: 13px;
	padding: 12px 14px;
	text-align: left;
	vertical-align: middle;
}

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

.logistica-warehouse-table thead th.logistica-warehouse-sortable:hover {
	background: linear-gradient(180deg, #1a8f84 0%, #0f5f57 100%);
}

/* Flechas de ordenamiento dibujadas en CSS (Chrome, Brave, Firefox, Safari) */
.logistica-warehouse-sort-indicator,
.logistica-cierre-car-sort-indicator {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	font-size: 0;
	gap: 2px;
	height: 12px;
	justify-content: center;
	line-height: 0;
	margin-left: 6px;
	overflow: hidden;
	vertical-align: middle;
	width: 10px;
}

.logistica-warehouse-sort-indicator::before,
.logistica-warehouse-sort-indicator::after,
.logistica-cierre-car-sort-indicator::before,
.logistica-cierre-car-sort-indicator::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	content: '';
	display: block;
	height: 0;
	transition: border-color 0.15s ease;
	width: 0;
}

.logistica-warehouse-sort-indicator::before,
.logistica-cierre-car-sort-indicator::before {
	border-bottom: 4px solid rgba(255, 255, 255, 0.45);
}

.logistica-warehouse-sort-indicator::after,
.logistica-cierre-car-sort-indicator::after {
	border-top: 4px solid rgba(255, 255, 255, 0.45);
}

.logistica-warehouse-sort-indicator.is-asc::before,
.logistica-cierre-car-sort-indicator.is-asc::before {
	border-bottom-color: #fff;
}

.logistica-warehouse-sort-indicator.is-asc::after,
.logistica-cierre-car-sort-indicator.is-asc::after {
	border-top-color: rgba(255, 255, 255, 0.2);
}

.logistica-warehouse-sort-indicator.is-desc::before,
.logistica-cierre-car-sort-indicator.is-desc::before {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

.logistica-warehouse-sort-indicator.is-desc::after,
.logistica-cierre-car-sort-indicator.is-desc::after {
	border-top-color: #fff;
}

.logistica-warehouse-table thead th.logistica-warehouse-sortable:hover .logistica-warehouse-sort-indicator:not(.is-asc):not(.is-desc)::before,
.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable:hover .logistica-cierre-car-sort-indicator:not(.is-asc):not(.is-desc)::before {
	border-bottom-color: rgba(255, 255, 255, 0.72);
}

.logistica-warehouse-table thead th.logistica-warehouse-sortable:hover .logistica-warehouse-sort-indicator:not(.is-asc):not(.is-desc)::after,
.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable:hover .logistica-cierre-car-sort-indicator:not(.is-asc):not(.is-desc)::after {
	border-top-color: rgba(255, 255, 255, 0.72);
}

.logistica-warehouse-sort-indicator {
	color: transparent;
}

.logistica-warehouse-table thead th.logistica-warehouse-sort-active .logistica-warehouse-sort-indicator {
	color: transparent;
}

.logistica-warehouse-table thead th {
	background: linear-gradient(180deg, var(--lg-wh-teal) 0%, var(--lg-wh-teal-dark) 100%);
	border-bottom: 0;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	white-space: nowrap;
	z-index: 2;
}

.logistica-warehouse-table tbody tr {
	transition: background-color 0.15s ease;
}

.logistica-warehouse-table tbody tr:hover {
	background: #f8fffe;
}

.logistica-warehouse-table tbody tr.has-warehouse-diff {
	background: #fff8f1;
}

.logistica-warehouse-table tbody tr.has-warehouse-diff:hover {
	background: #fff1e6;
}

.logistica-warehouse-table tbody tr.has-warehouse-improved {
	background: #f0fdf8;
}

.logistica-warehouse-table .is-codigo,
.logistica-warehouse-table .is-lote,
.logistica-warehouse-table .is-inventario-fisico {
	text-align: center;
}

.logistica-warehouse-table .is-codigo {
	left: 0;
	position: sticky;
	z-index: 1;
}

.logistica-warehouse-table thead .is-codigo {
	z-index: 3;
}

.logistica-warehouse-table tbody .is-codigo {
	background: inherit;
	box-shadow: 4px 0 8px rgba(15, 23, 42, 0.04);
}

.logistica-warehouse-codigo {
	align-items: center;
	background: #e8f6f3;
	border: 1px solid #b8e0dc;
	border-radius: 999px;
	box-sizing: border-box;
	color: var(--lg-wh-teal-dark);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.04em;
	min-height: 28px;
	min-width: 64px;
	padding: 4px 12px;
}

.logistica-warehouse-lote {
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #0f172a;
	display: inline-flex;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.3;
	min-height: 32px;
	min-width: 72px;
	padding: 4px 8px;
}

.logistica-warehouse-medida,
.logistica-warehouse-clase {
	color: #475569;
	font-size: 12px;
}

.logistica-warehouse-table .is-description {
	color: #0f172a;
	font-weight: 600;
	max-width: 180px;
}

.logistica-warehouse-table .is-numeric {
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.logistica-warehouse-table thead .is-numeric {
	text-align: right;
}

.logistica-warehouse-table .is-diff.is-negative {
	color: #b91c1c;
	font-weight: 700;
}

.logistica-warehouse-table .is-diff.is-positive {
	color: #15803d;
	font-weight: 700;
}

.logistica-warehouse-table .is-diff.is-zero {
	color: #64748b;
}

.logistica-warehouse-table .is-inventario-fisico {
	padding: 8px 10px;
}

.logistica-warehouse-table .is-inventario-fisico input {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #0f172a;
	display: inline-block;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	height: 32px;
	line-height: 1.3;
	margin: 0;
	padding: 4px 8px;
	text-align: center;
	width: 72px;
}

.logistica-warehouse-table .is-inventario-fisico input:focus {
	border-color: var(--lg-wh-teal);
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.15);
	outline: none;
}

.logistica-warehouse-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 4px 10px;
	text-transform: uppercase;
}

.logistica-warehouse-badge.is-ok {
	background: #dcfce7;
	color: #166534;
}

.logistica-warehouse-badge.is-alert {
	background: #fee2e2;
	color: #991b1b;
}

.logistica-warehouse-badge.is-improved {
	background: #dbeafe;
	color: #1d4ed8;
}

.logistica-warehouse-badge.is-registro-activo {
	background: #dcfce7;
	color: #166534;
}

.logistica-warehouse-badge.is-registro-inactivo {
	background: #f1f5f9;
	color: #64748b;
}

.logistica-warehouse-lote-vigente {
	background: #ccfbf1;
	border-radius: 999px;
	color: #0f766e;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-left: 6px;
	padding: 2px 8px;
	text-transform: uppercase;
	vertical-align: middle;
}

.logistica-warehouse-table tbody .is-fecha {
	color: #475569;
	font-size: 12px;
	white-space: nowrap;
}

.logistica-warehouse-table thead .is-fecha {
	color: #ffffff;
}

.logistica-warehouse-table tbody tr.is-warehouse-inactive {
	opacity: 0.72;
}

.logistica-warehouse-table tbody tr.is-warehouse-inactive .is-inventario-fisico input {
	background: #f8fafc;
}

.logistica-warehouse-table .is-actions-head,
.logistica-warehouse-table .logistica-warehouse-actions-cell {
	min-width: 160px;
	position: sticky;
	right: 0;
	width: 160px;
	z-index: 1;
}

.logistica-warehouse-table thead .is-actions-head {
	background: var(--lg-wh-teal-dark);
	z-index: 3;
}

.logistica-warehouse-table tbody .logistica-warehouse-actions-cell {
	background: inherit;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
}

.logistica-warehouse-table tbody tr.has-warehouse-diff .logistica-warehouse-actions-cell {
	background: #fff8f1;
}

.logistica-warehouse-table tbody tr.has-warehouse-improved .logistica-warehouse-actions-cell {
	background: #f0fdf8;
}

.logistica-warehouse-table tbody tr:hover .logistica-warehouse-actions-cell {
	background: #f8fffe;
}

.logistica-warehouse-actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	justify-content: center;
}


body.logistica-warehouse-modal-open {
	overflow: hidden;
}

.logistica-warehouse-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.logistica-warehouse-modal[hidden] {
	display: none !important;
}

.logistica-warehouse-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-warehouse-modal__panel {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
	display: grid;
	gap: 0;
	max-height: calc(100vh - 40px);
	max-width: 640px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-warehouse-modal__head {
	align-items: center;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-warehouse-modal__head h3 {
	font-size: 1.05rem;
	margin: 0;
}

.logistica-warehouse-modal__head [data-warehouse-modal-codigo] {
	background: #e8f6f3;
	border: 1px solid #b8e0dc;
	border-radius: 999px;
	color: #0f5f57;
	font-weight: 700;
	margin-left: 6px;
	padding: 2px 10px;
}

.logistica-warehouse-modal__close {
	background: transparent;
	border: 0;
	color: #64748b;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	padding: 0;
}

.logistica-warehouse-modal__form {
	display: grid;
	gap: 14px;
	overflow-y: auto;
	padding: 16px 18px 18px;
}

.logistica-warehouse-modal__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-warehouse-modal__field {
	display: grid;
	gap: 6px;
}

.logistica-warehouse-modal__field.is-type-textarea {
	grid-column: 1 / -1;
}

.logistica-warehouse-modal__field span {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
}

.logistica-warehouse-modal__field input,
.logistica-warehouse-modal__field textarea {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 14px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-warehouse-modal__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-warehouse-modal__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

@media (max-width: 960px) {
	.logistica-warehouse-scroll::before {
		color: #64748b;
		content: 'Desliza horizontalmente para ver todas las columnas.';
		display: block;
		font-size: 12px;
		margin-bottom: 8px;
	}

	.logistica-warehouse-modal__grid {
		grid-template-columns: 1fr;
	}

	.logistica-warehouse-filters {
		grid-template-columns: 1fr;
	}

	.logistica-warehouse-codigo,
	.logistica-warehouse-lote {
		max-width: 88px;
		min-width: 88px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 88px;
	}

	.logistica-warehouse-table .is-codigo,
	.logistica-warehouse-table .is-lote {
		max-width: 104px;
		min-width: 104px;
		width: 104px;
	}

	.logistica-warehouse-table .is-inventario-fisico input {
		width: 72px;
	}

	.logistica-warehouse-table .is-actions-head,
	.logistica-warehouse-table .logistica-warehouse-actions-cell {
		min-width: 148px;
		width: 148px;
	}

	.logistica-warehouse-actions {
		gap: 4px;
	}
}

.logistica-cierre-subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.logistica-cierre-subnav__link {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-cierre-subnav__link:hover,
.logistica-cierre-subnav__link:focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

.logistica-cierre-subnav__link.is-active {
	background: #13776d;
	border-color: #13776d;
	box-shadow: 0 2px 6px rgba(19, 119, 109, 0.25);
	color: #ffffff;
}

.logistica-cierre-caracteristicas-board {
	--lg-wh-teal: #13776d;
	--lg-wh-teal-dark: #0f5f57;
	--lg-wh-border: #d7ebe8;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.logistica-cierre-caracteristicas-toolbar {
	align-items: start;
}

.logistica-cierre-caracteristicas-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-cierre-caracteristicas-toolbar__badge {
	align-items: center;
	background: linear-gradient(145deg, #e6f6f3, #d2eee8);
	border: 1px solid var(--lg-wh-border);
	border-radius: 14px;
	color: var(--lg-wh-teal);
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.logistica-cierre-caracteristicas-toolbar__badge .dashicons {
	font-size: 24px;
	height: 24px;
	width: 24px;
}

.logistica-cierre-caracteristicas-toolbar__intro h2 {
	margin: 0 0 4px;
}

.logistica-cierre-caracteristicas-toolbar__intro p {
	color: #475569;
	margin: 0;
}

.logistica-cierre-caracteristicas-actions-top {
	justify-content: flex-start;
}

.logistica-cierre-caracteristicas-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.logistica-cierre-caracteristicas-stat {
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(15, 95, 87, 0.06);
	min-width: 120px;
	padding: 12px 16px;
}

.logistica-cierre-caracteristicas-stat__value {
	color: var(--lg-wh-teal-dark);
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
}

.logistica-cierre-caracteristicas-stat__label {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin-top: 4px;
	text-transform: uppercase;
}

.logistica-cierre-caracteristicas-table-wrap .logistica-cierre-caracteristicas-form-card {
	margin: 0 0 12px;
}

.logistica-cierre-caracteristicas-form-card[hidden] {
	display: none !important;
}

.logistica-cierre-caracteristicas-form-card.is-open {
	animation: logistica-cierre-car-form-in 0.2s ease;
}

@keyframes logistica-cierre-car-form-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logistica-cierre-caracteristicas-form-card,
.logistica-cierre-caracteristicas-table-card,
.logistica-cierre-caracteristicas-filters {
	background: #ffffff;
	border: 1px solid var(--lg-wh-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.06);
	padding: 16px;
}

.logistica-cierre-caracteristicas-import-card {
	border-radius: 14px;
}

.logistica-cierre-caracteristicas__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin-bottom: 14px;
}

.logistica-cierre-caracteristicas-filter {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.logistica-cierre-caracteristicas-filter[hidden],
.logistica-cierre-caracteristicas-filter.is-base-field-hidden {
	display: none !important;
}

.logistica-cierre-caracteristicas-filter span {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.logistica-cierre-caracteristicas-filter input,
.logistica-cierre-caracteristicas-filter select {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	font-size: 13px;
	min-height: 36px;
	padding: 7px 10px;
	width: 100%;
}

.logistica-cierre-caracteristicas-filter input:focus,
.logistica-cierre-caracteristicas-filter select:focus {
	border-color: var(--lg-wh-teal);
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.15);
	outline: none;
}

.logistica-cierre-caracteristicas-filter input.logistica-readonly-field {
	background: #f8fafc;
	cursor: default;
}

.logistica-cierre-caracteristicas-board .button:not(.logistica-excel-btn):not(.logistica-table-icon-btn),
.logistica-cierre-caracteristicas-board button.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn),
.logistica-cierre-caracteristicas-board a.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn) {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.3;
	min-height: 36px;
	padding: 8px 14px;
	text-decoration: none;
}

.logistica-cierre-caracteristicas-board .button.button-primary {
	background: var(--lg-wh-teal);
	border-color: var(--lg-wh-teal);
	color: #ffffff;
}

.logistica-cierre-caracteristicas-board .button.button-primary:hover,
.logistica-cierre-caracteristicas-board .button.button-primary:focus {
	background: var(--lg-wh-teal-dark);
	border-color: var(--lg-wh-teal-dark);
	color: #ffffff;
}

.logistica-cierre-caracteristicas-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button {
	background: var(--lg-close-accent, #0f766e);
	border: 0;
	box-shadow: none;
	color: #ffffff;
}

.logistica-cierre-caracteristicas-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button:hover,
.logistica-cierre-caracteristicas-board .logistica-table-sheet-actions .logistica-sheet-action-btn.button:focus {
	background: #115e59;
	border: 0;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
	color: #ffffff;
}

.logistica-cierre-caracteristicas-board .logistica-cierre-caracteristicas-actions .logistica-table-icon-btn,
.logistica-cierre-caracteristicas-board .logistica-cierre-caracteristicas-actions .button-small.logistica-table-icon-btn {
	background: #111827;
	border-color: #4b5563;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #ffffff;
	font-size: 0;
	gap: 0;
	height: 34px;
	line-height: 0;
	min-height: 34px;
	padding: 0;
	width: 34px;
}

.logistica-cierre-caracteristicas-board .logistica-cierre-caracteristicas-actions .logistica-table-icon-btn .dashicons {
	color: #ffffff;
}

.logistica-cierre-caracteristicas__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.logistica-cierre-caracteristicas__hint {
	color: #64748b;
	font-size: 12px;
	margin: 0;
}

.logistica-cierre-caracteristicas__status {
	font-size: 13px;
	margin: 8px 0 0;
	min-height: 1.2em;
}

.logistica-cierre-caracteristicas__status.is-success {
	color: #15803d;
}

.logistica-cierre-caracteristicas__status.is-error {
	color: #b91c1c;
}

.logistica-cierre-caracteristicas-filters {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) minmax(160px, 0.8fr) auto;
}

.logistica-cierre-caracteristicas-filter-meta {
	color: #64748b;
	font-size: 12px;
	grid-column: 1 / -1;
	margin: 0;
}

.logistica-cierre-caracteristicas-filter-empty {
	color: #64748b;
	font-size: 13px;
	margin: 12px 0 0;
}

.logistica-cierre-caracteristicas-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.logistica-cierre-caracteristicas-table {
	border-collapse: separate;
	border-spacing: 0;
	min-width: 920px;
	width: 100%;
}

.logistica-cierre-caracteristicas-table thead th {
	background: linear-gradient(180deg, var(--lg-wh-teal) 0%, var(--lg-wh-teal-dark) 100%);
	border-bottom: 0;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 12px 14px;
	position: sticky;
	text-align: left;
	text-transform: uppercase;
	top: 0;
	white-space: nowrap;
	z-index: 2;
}

.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable:hover {
	background: linear-gradient(180deg, #1a8f84 0%, #0f5f57 100%);
}

.logistica-cierre-car-sort-indicator {
	color: transparent;
}

.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable .logistica-cierre-car-sort-indicator::before {
	border-bottom-color: rgba(255, 255, 255, 0.58);
}

.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sortable .logistica-cierre-car-sort-indicator::after {
	border-top-color: rgba(255, 255, 255, 0.58);
}

.logistica-cierre-caracteristicas-table thead th.logistica-cierre-car-sort-active .logistica-cierre-car-sort-indicator {
	color: transparent;
}

.logistica-cierre-caracteristicas-table tbody td {
	border-bottom: 1px solid #e8f2f0;
	color: #334155;
	font-size: 13px;
	padding: 10px 12px;
	vertical-align: middle;
}

.logistica-cierre-caracteristicas-table tbody tr:hover {
	background: #f8fffe;
}

.logistica-cierre-caracteristicas-table .is-numeric {
	text-align: right;
}

.logistica-cierre-caracteristicas-table thead .is-numeric {
	text-align: right;
}

.logistica-cierre-caracteristicas-codigo {
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 6px;
	color: #0f766e;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 8px;
}

.logistica-cierre-caracteristicas-actions {
	align-items: center;
	display: flex;
	gap: 6px;
	justify-content: center;
}

.logistica-cierre-caracteristicas-actions form {
	margin: 0;
}

.logistica-cierre-caracteristicas-actions .button-small {
	font-size: 0;
	gap: 0;
	height: 34px;
	justify-content: center;
	line-height: 0;
	min-height: 34px;
	padding: 0;
	width: 34px;
}

.logistica-cierre-caracteristicas-actions .button-small .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	width: 16px;
}


.logistica-cierre-caracteristicas-table .is-actions-head,
.logistica-cierre-caracteristicas-actions-cell {
	min-width: 104px;
	position: sticky;
	right: 0;
	text-align: center;
	width: 104px;
	z-index: 1;
}

.logistica-cierre-caracteristicas-table thead .is-actions-head {
	background: linear-gradient(180deg, var(--lg-wh-teal) 0%, var(--lg-wh-teal-dark) 100%);
	z-index: 3;
}

.logistica-cierre-caracteristicas-table tbody .logistica-cierre-caracteristicas-actions-cell {
	background: #ffffff;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
}

.logistica-cierre-caracteristicas-table tbody tr:hover .logistica-cierre-caracteristicas-actions-cell {
	background: #f8fffe;
}

@media (max-width: 960px) {
	.logistica-cierre-caracteristicas-filters {
		grid-template-columns: 1fr;
	}

	.logistica-cierre-caracteristicas-scroll::before {
		color: #64748b;
		content: 'Desliza horizontalmente para ver todas las columnas.';
		display: block;
		font-size: 12px;
		margin-bottom: 8px;
	}
}

.logistica-base-catalog-field input.logistica-readonly-field {
	background: #f1f5f9;
	caret-color: transparent;
	cursor: default;
	user-select: none;
}

/* Casillas editables: contraste claro frente a campos formulados */
[data-close-workspace] .logistica-base-grid > label:not(.logistica-base-catalog-field):not(.logistica-calculated-field) > input:not([readonly]):not(.logistica-readonly-field):not([data-closing-locked="1"]):not([type="hidden"]),
[data-close-workspace] .logistica-close-reference input.logistica-units-field,
[data-close-workspace] .logistica-close-reference [data-field="unidades"]:not([readonly]),
[data-close-workspace] .logistica-close-matrix td.is-editable input:not([readonly]):not(.logistica-readonly-field),
[data-close-workspace] .logistica-close-matrix td.is-editable select:not([disabled]) {
	background: #ffffff;
	border: 1.5px solid #14b8a6;
	box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.12);
	color: #0f172a;
	cursor: text;
}

[data-close-workspace] .logistica-close-matrix td.is-editable select:not([disabled]) {
	cursor: pointer;
}

[data-close-workspace] .logistica-base-grid > label:not(.logistica-base-catalog-field):not(.logistica-calculated-field) > input:not([readonly]):not(.logistica-readonly-field):not([data-closing-locked="1"]):not([type="hidden"]):hover,
[data-close-workspace] .logistica-close-reference input.logistica-units-field:hover,
[data-close-workspace] .logistica-close-reference [data-field="unidades"]:not([readonly]):hover,
[data-close-workspace] .logistica-close-matrix td.is-editable input:not([readonly]):not(.logistica-readonly-field):hover,
[data-close-workspace] .logistica-close-matrix td.is-editable select:not([disabled]):hover {
	background: #f0fdfa;
	border-color: #0f766e;
	box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.16);
}

[data-close-workspace] .logistica-base-grid > label:not(.logistica-base-catalog-field):not(.logistica-calculated-field) > input:not([readonly]):not(.logistica-readonly-field):not([data-closing-locked="1"]):not([type="hidden"]):focus,
[data-close-workspace] .logistica-base-grid > label:not(.logistica-base-catalog-field):not(.logistica-calculated-field) > input:not([readonly]):not(.logistica-readonly-field):not([data-closing-locked="1"]):not([type="hidden"]):focus-visible,
[data-close-workspace] .logistica-close-reference input.logistica-units-field:focus,
[data-close-workspace] .logistica-close-reference input.logistica-units-field:focus-visible,
[data-close-workspace] .logistica-close-reference [data-field="unidades"]:not([readonly]):focus,
[data-close-workspace] .logistica-close-reference [data-field="unidades"]:not([readonly]):focus-visible,
[data-close-workspace] .logistica-close-matrix td.is-editable input:not([readonly]):not(.logistica-readonly-field):focus,
[data-close-workspace] .logistica-close-matrix td.is-editable input:not([readonly]):not(.logistica-readonly-field):focus-visible,
[data-close-workspace] .logistica-close-matrix td.is-editable select:not([disabled]):focus,
[data-close-workspace] .logistica-close-matrix td.is-editable select:not([disabled]):focus-visible {
	background: #ffffff;
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
	outline: none;
}

[data-close-workspace] .logistica-close-matrix td.is-editable {
	background: #f0fdfa;
	box-shadow: inset 0 0 0 1px #99f6e4;
}

.logistica-close-legend .is-editable {
	background: #ffffff;
	box-shadow: inset 0 0 0 1.5px #14b8a6;
	color: #0f766e;
}

/* Campos formulados / sincronizados: aspecto bloqueado, sin cursor de escritura */
[data-close-workspace] input.logistica-readonly-field,
[data-close-workspace] input[readonly],
[data-close-workspace] input[data-closing-locked="1"] {
	background: #f1f5f9 !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: none !important;
	caret-color: transparent !important;
	color: #64748b !important;
	cursor: default !important;
	user-select: none;
}

[data-close-workspace] input.logistica-readonly-field:hover,
[data-close-workspace] input[readonly]:hover,
[data-close-workspace] input[data-closing-locked="1"]:hover,
[data-close-workspace] input.logistica-readonly-field:focus,
[data-close-workspace] input[readonly]:focus,
[data-close-workspace] input[data-closing-locked="1"]:focus,
[data-close-workspace] input.logistica-readonly-field:focus-visible,
[data-close-workspace] input[readonly]:focus-visible,
[data-close-workspace] input[data-closing-locked="1"]:focus-visible {
	background: #f1f5f9 !important;
	border-color: #cbd5e1 !important;
	box-shadow: none !important;
	outline: none !important;
}

.logistica-help {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 8px;
}

.logistica-help__hero {
	align-items: flex-start;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
	border: 1px solid #bbf7d0;
	border-radius: 14px;
	display: flex;
	gap: 16px;
	padding: 20px 22px;
}

.logistica-help__hero-icon {
	align-items: center;
	background: #166534;
	border-radius: 12px;
	color: #fff;
	display: flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.logistica-help__hero-icon .dashicons {
	font-size: 24px;
	height: 24px;
	width: 24px;
}

.logistica-help__hero h2 {
	font-size: 22px;
	margin: 0 0 8px;
}

.logistica-help__hero p {
	color: #334155;
	margin: 0 0 6px;
}

.logistica-help__version {
	color: #64748b !important;
	font-size: 12px;
	font-weight: 600;
}

.logistica-help__toc {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
}

.logistica-help__toc h3 {
	font-size: 14px;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.logistica-help__toc ol {
	margin: 0;
	padding-left: 20px;
}

.logistica-help__toc li + li {
	margin-top: 6px;
}

.logistica-help__toc a {
	color: #166534;
	font-weight: 600;
	text-decoration: none;
}

.logistica-help__toc a:hover {
	text-decoration: underline;
}

.logistica-help-section-board.logistica-conversion-board {
	margin-top: 0;
}

.logistica-help__sections {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.logistica-help__section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 22px;
	scroll-margin-top: 1.5rem;
}

.logistica-help__section-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.logistica-help__section-head h3 {
	font-size: 18px;
	margin: 0;
}

.logistica-help__section-link {
	color: #2563eb;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.logistica-help__section-link:hover {
	text-decoration: underline;
}

.logistica-help__intro {
	color: #475569;
	margin: 0 0 14px;
}

.logistica-help__table-wrap {
	overflow-x: auto;
}

.logistica-help__table {
	border-collapse: collapse;
	min-width: 480px;
	width: 100%;
}

.logistica-help__table th,
.logistica-help__table td {
	border: 1px solid #e2e8f0;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.logistica-help__table th {
	background: #f8fafc;
	font-size: 13px;
}

.logistica-help__table td:first-child {
	font-weight: 600;
	min-width: 120px;
	white-space: nowrap;
}

.logistica-help__list {
	color: #334155;
	margin: 0;
	padding-left: 20px;
}

.logistica-help__list li + li {
	margin-top: 6px;
}

.logistica-help__notes {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
	margin-top: 14px;
	padding: 12px 14px;
}

.logistica-help__notes strong {
	display: block;
	font-size: 12px;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.logistica-help__notes ul {
	margin: 0;
	padding-left: 18px;
}

.logistica-help__notes li + li {
	margin-top: 4px;
}

.logistica-help__examples {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.logistica-help__example {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	padding: 14px 16px;
}

.logistica-help__example-title {
	color: #0f766e;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 8px;
}

.logistica-help__example-body {
	color: #334155;
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 10px;
}

.logistica-help__example .logistica-help__table-wrap {
	margin-top: 8px;
}

.logistica-help__list--example {
	margin: 8px 0 0;
	padding-left: 18px;
}

/* Etiquetas de producción — botón en catálogo */
.logistica-ref-label-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.logistica-label-print-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 1;
	margin-right: 4px;
	vertical-align: -2px;
	width: 16px;
}

/* Modal imprimir etiqueta */
body.logistica-label-print-modal-open {
	overflow: hidden;
}

.logistica-label-print-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.logistica-label-print-modal[hidden] {
	display: none !important;
}

.logistica-label-print-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-label-print-modal__dialog {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-height: min(calc(100vh - 40px), calc(100dvh - 40px));
	max-width: 680px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-label-print-modal__head {
	align-items: center;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	flex-shrink: 0;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-label-print-modal__head h3 {
	font-size: 1.05rem;
	margin: 0;
}

.logistica-label-print-modal__close {
	background: transparent;
	border: 0;
	color: #64748b;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	padding: 0;
}

.logistica-label-print-modal__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.logistica-label-print-modal__scroll {
	display: grid;
	flex: 1 1 auto;
	gap: 14px;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px 18px;
	scrollbar-color: #94a3b8 #e2e8f0;
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
}

.logistica-label-print-modal__scroll::-webkit-scrollbar {
	width: 10px;
}

.logistica-label-print-modal__scroll::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 999px;
}

.logistica-label-print-modal__scroll::-webkit-scrollbar-thumb {
	background: #94a3b8;
	border: 2px solid #f1f5f9;
	border-radius: 999px;
}

.logistica-label-print-modal__scroll::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}

.logistica-label-print-modal__ref {
	color: #475569;
	font-size: 13px;
	margin: 0;
}

.logistica-label-print-modal__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-label-print-modal__grid label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

/* Cantidad calculada: estilo tipo campo automático (fórmula + candado). */
.logistica-label-calc-field {
	display: grid;
	gap: 6px;
	min-width: 0;
	position: relative;
}

.logistica-label-calc-field__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	min-width: 0;
}

.logistica-label-calc-field__label {
	color: #1e293b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	min-width: 0;
}

.logistica-label-calc-field__formula {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #64748b;
	cursor: pointer;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 5px 8px;
	text-transform: uppercase;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.logistica-label-calc-field__formula:hover,
.logistica-label-calc-field__formula:focus {
	background: #eff6ff;
	border-color: #94a3b8;
	color: #334155;
	outline: none;
}

.logistica-label-calc-field__formula[aria-expanded="true"] {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #1e293b;
}

.logistica-label-calc-field__box {
	align-items: center;
	background: #ebf2f7;
	border: 1px solid #94a3b8;
	border-radius: 10px;
	display: flex;
	gap: 8px;
	min-height: 42px;
	padding: 0 12px 0 14px;
	position: relative;
}

.logistica-label-print-modal .logistica-label-calc-field__value,
.logistica-label-print-modal input.logistica-label-calc-field__value,
.logistica-label-print-modal input.logistica-label-calc-field__value.logistica-readonly-field,
.logistica-label-print-modal input.logistica-label-calc-field__value:hover,
.logistica-label-print-modal input.logistica-label-calc-field__value:focus,
.logistica-label-print-modal input.logistica-label-calc-field__value:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #1e293b !important;
	cursor: default !important;
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	min-width: 0;
	padding: 10px 0 !important;
	width: auto;
}

.logistica-label-calc-field__icons {
	align-items: center;
	color: #64748b;
	display: inline-flex;
	flex-shrink: 0;
	gap: 6px;
}

.logistica-label-calc-field__icon {
	display: block;
}

.logistica-label-calc-field__icon--lock {
	color: #64748b;
}

.logistica-label-calc-field__popover {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	display: grid;
	gap: 4px;
	padding: 10px 12px;
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	width: min(100%, 280px);
	z-index: 5;
}

.logistica-label-calc-field__popover[hidden] {
	display: none !important;
}

.logistica-label-calc-field__popover strong {
	color: #334155;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.logistica-label-calc-field__popover span {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.logistica-label-calc-field__popover-example {
	color: #64748b !important;
	font-weight: 500 !important;
}

.logistica-label-print-modal__saldo-grid {
	margin-top: 10px;
}

.logistica-label-print-modal__saldo-grid[hidden] {
	display: none;
}

.logistica-label-print-modal [data-label-extra-zone-wrap] {
	margin-top: 10px;
}

.logistica-label-print-modal [data-label-extra-zone-wrap][hidden] {
	display: none;
}

.logistica-label-print-modal [data-label-extra-zone-wrap] .logistica-label-print-modal__history-field {
	grid-column: 1 / -1;
}

.logistica-label-print-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.logistica-label-print-modal select,
.logistica-label-print-modal textarea,
.logistica-etiqueta-catalog-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.logistica-etiqueta-catalog-form select,
.logistica-etiqueta-catalog-form textarea,
.logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.logistica-rotulo-rollos-form select,
.logistica-rotulo-rollos-form textarea,
.logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.logistica-rotulo-rollos-print-settings select,
.logistica-rotulo-rollos-print-settings textarea {
	appearance: none;
	-webkit-appearance: none;
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	color: #0f172a;
	display: block;
	font-size: 14px;
	line-height: 1.35;
	max-width: 100%;
	min-height: 38px;
	min-width: 0;
	padding: 8px 12px;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-label-print-modal select,
.logistica-etiqueta-catalog-form select,
.logistica-rotulo-rollos-form select,
.logistica-rotulo-rollos-print-settings select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 12px;
	cursor: pointer;
	padding-right: 36px;
}

.logistica-label-print-modal textarea,
.logistica-etiqueta-catalog-form textarea,
.logistica-rotulo-rollos-form textarea,
.logistica-rotulo-rollos-print-settings textarea {
	min-height: 72px;
	resize: vertical;
}

.logistica-label-print-modal input[type="number"]::-webkit-outer-spin-button,
.logistica-label-print-modal input[type="number"]::-webkit-inner-spin-button,
.logistica-etiqueta-catalog-form input[type="number"]::-webkit-outer-spin-button,
.logistica-etiqueta-catalog-form input[type="number"]::-webkit-inner-spin-button,
.logistica-rotulo-rollos-form input[type="number"]::-webkit-outer-spin-button,
.logistica-rotulo-rollos-form input[type="number"]::-webkit-inner-spin-button,
.logistica-rotulo-rollos-print-settings input[type="number"]::-webkit-outer-spin-button,
.logistica-rotulo-rollos-print-settings input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.logistica-label-print-modal input[type="number"],
.logistica-etiqueta-catalog-form input[type="number"],
.logistica-rotulo-rollos-form input[type="number"],
.logistica-rotulo-rollos-print-settings input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.logistica-label-print-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover:not(:disabled):not([readonly]),
.logistica-label-print-modal select:hover:not(:disabled),
.logistica-label-print-modal textarea:hover:not(:disabled):not([readonly]),
.logistica-etiqueta-catalog-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover:not(:disabled):not([readonly]),
.logistica-etiqueta-catalog-form select:hover:not(:disabled),
.logistica-etiqueta-catalog-form textarea:hover:not(:disabled):not([readonly]),
.logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover:not(:disabled):not([readonly]),
.logistica-rotulo-rollos-form select:hover:not(:disabled),
.logistica-rotulo-rollos-form textarea:hover:not(:disabled):not([readonly]),
.logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover:not(:disabled):not([readonly]),
.logistica-rotulo-rollos-print-settings select:hover:not(:disabled),
.logistica-rotulo-rollos-print-settings textarea:hover:not(:disabled):not([readonly]) {
	background-color: #f8fafc;
	border-color: #94a3b8;
}

.logistica-label-print-modal select:hover:not(:disabled),
.logistica-etiqueta-catalog-form select:hover:not(:disabled),
.logistica-rotulo-rollos-form select:hover:not(:disabled),
.logistica-rotulo-rollos-print-settings select:hover:not(:disabled) {
	background-color: #f0fdfa;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2313776d' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
	border-color: #5eead4;
}

.logistica-label-print-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-label-print-modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-label-print-modal select:focus,
.logistica-label-print-modal select:focus-visible,
.logistica-label-print-modal textarea:focus,
.logistica-label-print-modal textarea:focus-visible,
.logistica-etiqueta-catalog-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-etiqueta-catalog-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-etiqueta-catalog-form select:focus,
.logistica-etiqueta-catalog-form select:focus-visible,
.logistica-etiqueta-catalog-form textarea:focus,
.logistica-etiqueta-catalog-form textarea:focus-visible,
.logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-rotulo-rollos-form select:focus,
.logistica-rotulo-rollos-form select:focus-visible,
.logistica-rotulo-rollos-form textarea:focus,
.logistica-rotulo-rollos-form textarea:focus-visible,
.logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-rotulo-rollos-print-settings select:focus,
.logistica-rotulo-rollos-print-settings select:focus-visible,
.logistica-rotulo-rollos-print-settings textarea:focus,
.logistica-rotulo-rollos-print-settings textarea:focus-visible {
	background-color: #ffffff;
	border-color: var(--lg-label-teal, #13776d);
	box-shadow: 0 0 0 3px rgba(19, 119, 109, 0.16);
	outline: none;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form select:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form select:focus-visible,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form textarea:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form textarea:focus-visible,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings select:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings select:focus-visible {
	border-color: var(--lg-rotulo-teal, #13776d);
	box-shadow: 0 0 0 3px rgba(19, 119, 109, 0.16);
}

.logistica-label-print-modal select:focus,
.logistica-label-print-modal select:focus-visible,
.logistica-etiqueta-catalog-form select:focus,
.logistica-etiqueta-catalog-form select:focus-visible,
.logistica-rotulo-rollos-form select:focus,
.logistica-rotulo-rollos-form select:focus-visible,
.logistica-rotulo-rollos-print-settings select:focus,
.logistica-rotulo-rollos-print-settings select:focus-visible {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2313776d' d='M4.427 6.427l3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
}

.logistica-label-print-modal input.logistica-readonly-field,
.logistica-label-print-modal input:disabled,
.logistica-label-print-modal select:disabled,
.logistica-label-print-modal textarea:disabled,
.logistica-etiqueta-catalog-form input.logistica-readonly-field,
.logistica-etiqueta-catalog-form input:disabled,
.logistica-etiqueta-catalog-form select:disabled,
.logistica-etiqueta-catalog-form textarea:disabled,
.logistica-rotulo-rollos-form input.logistica-readonly-field,
.logistica-rotulo-rollos-form input:disabled,
.logistica-rotulo-rollos-form select:disabled,
.logistica-rotulo-rollos-form textarea:disabled,
.logistica-rotulo-rollos-print-settings input.logistica-readonly-field,
.logistica-rotulo-rollos-print-settings input:disabled,
.logistica-rotulo-rollos-print-settings select:disabled,
.logistica-rotulo-rollos-print-settings textarea:disabled {
	background-color: #f1f5f9;
	border-color: #e2e8f0;
	box-shadow: none;
	color: #64748b;
	cursor: not-allowed;
}

.logistica-label-print-modal input.logistica-readonly-field,
.logistica-etiqueta-catalog-form input.logistica-readonly-field {
	cursor: default;
}

.logistica-label-print-modal__check input[type="checkbox"] {
	accent-color: var(--lg-label-teal, #13776d);
	border-radius: 4px;
	cursor: pointer;
	height: 16px;
	margin: 0;
	min-height: 16px;
	width: 16px;
}

.logistica-label-print-modal__date-wrap input[type="text"] {
	width: 100%;
}

.logistica-label-print-modal__date-wrap {
	align-items: stretch;
	display: grid;
	gap: 6px;
	grid-template-columns: minmax(0, 1fr) auto;
	position: relative;
}

.logistica-label-print-modal__date-wrap [data-label-fecha-native] {
	height: 1px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 1px;
}

.logistica-label-print-modal__date-btn {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	height: auto;
	justify-content: center;
	min-height: 38px;
	min-width: 38px;
	padding: 0;
}

.logistica-label-print-modal__date-btn:hover {
	background: #eef2ff;
	border-color: #94a3b8;
	color: #1e293b;
}

.logistica-label-print-modal__date-btn .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-label-print-modal__history-wrap,
.logistica-label-print-modal__op-wrap {
	display: block;
	position: relative;
	width: 100%;
}

.logistica-label-print-modal__history-wrap input[data-label-field],
.logistica-label-print-modal__op-wrap input[data-label-field="op"] {
	padding-right: 36px;
	width: 100%;
}

.logistica-label-print-modal__history-btn,
.logistica-label-print-modal__op-history-btn {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	z-index: 2;
}

.logistica-label-print-modal__history-btn:hover,
.logistica-label-print-modal__history-btn:focus-visible,
.logistica-label-print-modal__history-btn[aria-expanded="true"],
.logistica-label-print-modal__op-history-btn:hover,
.logistica-label-print-modal__op-history-btn:focus-visible,
.logistica-label-print-modal__op-history-btn[aria-expanded="true"] {
	background: #f0fdfa;
	color: #0f766e;
	outline: none;
}

.logistica-label-print-modal__history-btn .dashicons,
.logistica-label-print-modal__op-history-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 1;
	width: 16px;
}

.logistica-label-print-modal__history-dropdown,
.logistica-label-print-modal__op-history {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	left: 0;
	margin: 0;
	max-width: 100%;
	min-width: 148px;
	padding: 6px;
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 30;
}

.logistica-label-print-modal__history-dropdown[hidden],
.logistica-label-print-modal__op-history[hidden] {
	display: none !important;
}

.logistica-label-print-modal__history-empty,
.logistica-label-print-modal__op-history-empty {
	color: #64748b;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
	padding: 8px 10px;
}

.logistica-label-print-modal__history-list,
.logistica-label-print-modal__op-history-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logistica-label-print-modal__history-row {
	align-items: stretch;
	display: flex;
	gap: 4px;
	position: relative;
	width: 100%;
}

.logistica-label-print-modal__history-item,
.logistica-label-print-modal__op-history-item {
	appearance: none;
	background: #f8fafc;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #0f172a;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 10px;
	text-align: left;
	width: 100%;
}

.logistica-label-print-modal__history-row .logistica-label-print-modal__history-item {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-label-print-modal__history-remove {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	line-height: 1;
	margin-top: 4px;
	padding: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 28px;
}

.logistica-label-print-modal__history-remove:hover,
.logistica-label-print-modal__history-remove:focus-visible {
	background: #fef2f2;
	border-color: #dc2626;
	color: #dc2626;
	outline: none;
}

.logistica-label-print-modal__history-item:hover,
.logistica-label-print-modal__history-item:focus-visible,
.logistica-label-print-modal__op-history-item:hover,
.logistica-label-print-modal__op-history-item:focus-visible {
	background: #ecfdf5;
	border-color: #99f6e4;
	color: #0f766e;
	outline: none;
}

.logistica-label-print-modal__history-item.is-active,
.logistica-label-print-modal__op-history-item.is-active {
	background: #ccfbf1;
	border-color: #5eead4;
	color: #0f766e;
}

.logistica-label-print-modal__barcode {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: grid;
	gap: 6px;
	padding: 12px;
}

.logistica-label-print-modal__segments {
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.logistica-label-print-modal__foot {
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	padding: 12px 18px 16px;
}

.logistica-label-print-modal__foot-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.logistica-etiqueta-print-modal .logistica-label-print-modal__foot {
	align-items: center;
	justify-content: space-between;
}

.logistica-etiqueta-print-modal .logistica-label-print-modal__foot .logistica-label-print-modal__status {
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
}

.logistica-label-print-modal {
	--lg-label-teal: #13776d;
	--lg-label-teal-dark: #0f5f57;
}

.logistica-label-print-modal .button,
.logistica-label-print-modal button.button {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.3;
	min-height: 38px;
	padding: 8px 16px;
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-label-print-modal .button:hover,
.logistica-label-print-modal .button:focus,
.logistica-label-print-modal button.button:hover,
.logistica-label-print-modal button.button:focus {
	background: #f8fafc;
	border-color: #94a3b8;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
	color: #0f172a;
	outline: none;
}

.logistica-label-print-modal .button.button-primary,
.logistica-label-print-modal button.button.button-primary {
	background: var(--lg-label-teal);
	border-color: var(--lg-label-teal);
	color: #ffffff;
}

.logistica-label-print-modal .button.button-primary:hover,
.logistica-label-print-modal .button.button-primary:focus,
.logistica-label-print-modal button.button.button-primary:hover,
.logistica-label-print-modal button.button.button-primary:focus {
	background: var(--lg-label-teal-dark);
	border-color: var(--lg-label-teal-dark);
	color: #ffffff;
}

.logistica-label-print-modal__foot .button {
	min-width: 132px;
}

.logistica-label-print-modal__status {
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	margin: 4px 0 0;
	padding: 0 2px;
}

.logistica-label-print-modal__status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.logistica-label-print-modal__section {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
}

.logistica-label-print-modal__section legend {
	font-size: 13px;
	font-weight: 700;
	padding: 0 4px;
}

.logistica-label-print-modal__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.logistica-label-logo-history {
	margin-top: 10px;
}

.logistica-label-logo-history__title {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 8px;
}

.logistica-label-logo-history__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-label-logo-history__list--gallery {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 280px;
}

.logistica-label-logo-history__cell {
	position: relative;
}

.logistica-label-logo-history__cell.is-active .logistica-label-logo-history__item--thumb {
	background: #ecfdf5;
	border-color: #00685b;
	box-shadow: 0 0 0 2px rgba(0, 104, 91, 0.28);
}

.logistica-label-logo-history__item {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	line-height: 1.2;
	max-width: 100%;
	padding: 6px 12px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-label-logo-history__item span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-label-logo-history__item img {
	border-radius: 4px;
	flex-shrink: 0;
	height: 22px;
	object-fit: contain;
	width: 22px;
}

.logistica-label-logo-history__item--thumb {
	aspect-ratio: 1;
	border-radius: 10px;
	display: flex;
	justify-content: center;
	max-width: none;
	min-height: 76px;
	overflow: hidden;
	padding: 8px;
	position: relative;
	width: 100%;
}

.logistica-label-logo-history__item--thumb img {
	border-radius: 4px;
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	pointer-events: none;
	width: 100%;
}

.logistica-label-logo-history__remove {
	align-items: center;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: -4px;
	top: -4px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 22px;
	z-index: 2;
}

.logistica-label-logo-history__remove:hover,
.logistica-label-logo-history__remove:focus {
	background: #fef2f2;
	border-color: #dc2626;
	color: #dc2626;
	outline: none;
}

.logistica-label-logo-history__item:hover,
.logistica-label-logo-history__item:focus {
	background: #ecfdf5;
	border-color: #00685b;
	color: #00685b;
	outline: none;
}

.logistica-label-logo-history__item--thumb:hover,
.logistica-label-logo-history__item--thumb:focus {
	box-shadow: 0 0 0 2px rgba(0, 104, 91, 0.18);
}

.logistica-label-logo-history__item.is-active {
	background: #ecfdf5;
	border-color: #00685b;
	color: #00685b;
}

.logistica-label-logo-history__item--thumb.is-active {
	box-shadow: 0 0 0 2px rgba(0, 104, 91, 0.28);
}

.logistica-label-print-modal__scroll .logistica-prod-label-preview-wrap {
	flex-shrink: 0;
	margin-top: 12px;
	min-height: 320px;
	overflow: visible;
}

.logistica-etiqueta-print-modal .logistica-label-print-modal__scroll .logistica-etiqueta-label-preview-wrap {
	margin-bottom: 12px;
	margin-top: 0;
	min-height: 400px;
	overflow: auto;
}

.logistica-label-logo-settings__mode {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 12px;
}

.logistica-label-logo-settings__panel[hidden],
[data-label-logo-panel][hidden] {
	display: none !important;
}

.logistica-label-logo-settings__radio {
	align-items: center;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
}

.logistica-label-logo-settings__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-label-logo-settings__url-row {
	align-items: stretch;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.logistica-label-logo-settings__preview {
	align-items: center;
	background: #fff;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	margin-top: 8px;
	min-height: 72px;
	padding: 8px;
}

.logistica-label-logo-settings__preview img {
	max-height: 64px;
	max-width: 100%;
	object-fit: contain;
}

.logistica-label-print-modal__logo-mode {
	margin-bottom: 10px;
}

.logistica-label-print-modal__check {
	align-items: center;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
}

.logistica-label-print-modal__total-produccion {
	align-items: center;
	background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
	border: 1px solid #86efac;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	padding: 14px 16px;
}

.logistica-label-print-modal__total-produccion__copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.logistica-label-print-modal__total-produccion__copy strong {
	color: #14532d;
	font-size: 14px;
}

.logistica-label-print-modal__total-produccion__value {
	color: #0f766e;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

/* Modal biblioteca de medios (selector de logo) */
body.logistica-label-print-modal-open .media-modal {
	z-index: 200000 !important;
}

body.logistica-label-print-modal-open .media-modal-backdrop {
	z-index: 199900 !important;
}

.media-modal .media-frame-title {
	height: 50px;
	left: 200px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 200;
}

.media-modal .media-frame-title h1 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	height: 50px;
	letter-spacing: normal !important;
	line-height: 50px !important;
	margin: 0 !important;
	max-width: 100%;
	overflow: hidden;
	padding: 0 16px !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.media-modal .media-frame.hide-menu .media-frame-title {
	left: 0;
}

.media-modal .media-frame h1,
.media-modal .media-frame h2,
.media-modal .media-frame h3 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	letter-spacing: normal !important;
}

.media-modal .media-sidebar h2,
.media-modal .attachment-details h2 {
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 12px 0 8px !important;
}

.logistica-etiqueta-catalog-actions .logistica-label-print-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	vertical-align: middle;
	width: 16px;
}

/* Catálogo códigos etiqueta */
.logistica-label-barcode-scanner {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid #dbe3ee;
	border-radius: 12px;
	margin: 0 0 16px;
	padding: 14px 16px 16px;
}

.logistica-label-barcode-scanner__head {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
}

.logistica-label-barcode-scanner__intro {
	align-items: flex-start;
	display: flex;
	flex: 1 1 280px;
	gap: 12px;
	min-width: 0;
}

.logistica-label-barcode-scanner__icon {
	align-items: center;
	background: #e8f6f3;
	border: 1px solid #b8e0dc;
	border-radius: 10px;
	color: #0f5f57;
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.logistica-label-barcode-scanner__title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
}

.logistica-label-barcode-scanner__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-label-barcode-scanner__form {
	align-items: center;
	display: flex;
	flex: 1 1 320px;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	min-width: 0;
}

.logistica-label-barcode-scanner__input {
	flex: 1 1 220px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	min-width: 180px;
	padding: 8px 12px;
}

.logistica-label-barcode-scanner__status {
	font-size: 13px;
	margin: 10px 0 0;
	min-height: 1.2em;
}

.logistica-label-barcode-scanner__status.is-success {
	color: #0f766e;
	font-weight: 600;
}

.logistica-label-barcode-scanner__status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.logistica-label-barcode-scanner__result {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 10px;
	margin-top: 12px;
	padding: 14px;
}

.logistica-label-barcode-scanner__result-main {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.logistica-label-barcode-scanner__barcode-wrap {
	flex: 0 0 auto;
	max-width: 100%;
	min-width: 200px;
}

.logistica-label-barcode-scanner__barcode-svg {
	display: block;
	height: auto;
	max-width: 100%;
}

.logistica-label-barcode-scanner__details {
	flex: 1 1 260px;
	min-width: 0;
}

.logistica-label-barcode-scanner__ref {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.logistica-label-barcode-scanner__meta {
	display: grid;
	gap: 8px 16px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin: 0;
}

.logistica-label-barcode-scanner__meta dt {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-transform: uppercase;
}

.logistica-label-barcode-scanner__meta dd {
	font-size: 14px;
	font-weight: 700;
	margin: 2px 0 0;
}

.logistica-label-barcode-scanner__obs {
	color: #475569;
	font-size: 13px;
	line-height: 1.45;
	margin: 10px 0 0;
}

.logistica-label-barcode-scanner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.logistica-label-barcode-scanner__camera-open .dashicons {
	font-size: 16px;
	height: 16px;
	margin: 0 4px 0 0;
	width: 16px;
}

.logistica-label-barcode-scanner__camera {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 10px;
	margin-top: 12px;
	overflow: hidden;
}

.logistica-label-barcode-scanner__camera-head {
	align-items: center;
	background: rgba(15, 23, 42, 0.92);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 12px;
}

.logistica-label-barcode-scanner__camera-hint {
	color: #cbd5e1;
	flex: 1 1 220px;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-label-barcode-scanner__camera-close {
	background: transparent;
	border-color: #475569;
	color: #e2e8f0;
}

.logistica-label-barcode-scanner__camera-mount {
	background: #020617;
	min-height: 220px;
	position: relative;
}

.logistica-label-barcode-scanner__camera-video {
	display: block;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	width: 100%;
}

.logistica-label-barcode-scanner__html5-reader video {
	object-fit: cover;
	width: 100%;
}

.logistica-label-barcode-scanner__movement {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 10px;
	margin-top: 14px;
	padding: 14px 16px 16px;
}

.logistica-label-barcode-scanner__movement-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.logistica-label-barcode-scanner__movement-title {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.logistica-label-barcode-scanner__movement-type {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 8px;
}

.logistica-label-barcode-scanner__movement-type select {
	min-width: 140px;
}

.logistica-label-barcode-scanner__movement-section {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin: 0 0 12px;
	padding: 12px;
}

.logistica-label-barcode-scanner__movement-section legend {
	font-size: 12px;
	font-weight: 700;
	padding: 0 6px;
}

.logistica-label-barcode-scanner__movement-hint {
	color: #64748b;
	font-size: 11px;
	line-height: 1.45;
	margin: 0 0 10px;
}

.logistica-label-barcode-scanner__movement-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.logistica-label-barcode-scanner__movement-grid label,
.logistica-label-barcode-scanner__movement-notes {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	gap: 4px;
}

.logistica-label-barcode-scanner__movement-grid input,
.logistica-label-barcode-scanner__movement-notes textarea {
	font-size: 14px;
	width: 100%;
}

.logistica-label-barcode-scanner__movement-readonly input {
	background: #f8fafc;
	color: #334155;
}

.logistica-label-barcode-scanner__movement-check {
	align-items: center;
	display: flex;
	font-size: 13px;
	gap: 8px;
	margin: 0 0 10px;
}

.logistica-label-barcode-scanner__movement-total {
	align-items: baseline;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px;
	margin-bottom: 12px;
	padding: 10px 12px;
}

.logistica-label-barcode-scanner__movement-total strong {
	color: #065f46;
}

.logistica-label-barcode-scanner__movement-total span:first-of-type {
	color: #047857;
	font-size: 18px;
	font-weight: 700;
}

.logistica-label-barcode-scanner__movement-total-detail {
	color: #64748b;
	font-size: 12px;
}

.logistica-label-barcode-scanner__movement-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.logistica-label-barcode-scanner__history {
	border-top: 1px solid #dbe3ee;
	margin-top: 16px;
	padding-top: 14px;
}

.logistica-label-barcode-scanner__history-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.logistica-label-barcode-scanner__history-head h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.logistica-label-barcode-scanner__history-empty {
	color: #64748b;
	font-size: 13px;
	margin: 0;
}

.logistica-label-barcode-scanner__history-table-wrap {
	overflow-x: auto;
}

.logistica-label-barcode-scanner__history-table {
	border-collapse: collapse;
	font-size: 12px;
	min-width: 760px;
	width: 100%;
}

.logistica-label-barcode-scanner__history-table th,
.logistica-label-barcode-scanner__history-table td {
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.logistica-label-barcode-scanner__history-table th {
	background: #f8fafc;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.logistica-label-barcode-scanner__history-actions {
	white-space: nowrap;
}

.logistica-etiqueta-catalog-row--scan-hit {
	animation: logistica-etiqueta-scan-hit 1.2s ease;
	box-shadow: inset 0 0 0 2px #0f766e;
}

@keyframes logistica-etiqueta-scan-hit {
	0% {
		background: #ccfbf1;
	}
	100% {
		background: transparent;
	}
}

.logistica-etiqueta-catalog-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-etiqueta-catalog-toolbar__badge {
	align-items: center;
	background: #e8f6f3;
	border: 1px solid #b8e0dc;
	border-radius: 10px;
	color: #0f5f57;
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.logistica-etiqueta-catalog-status {
	font-size: 13px;
	margin: 0 0 12px;
	min-height: 1.2em;
}

.logistica-etiqueta-catalog-status.is-success {
	color: #0f766e;
	font-weight: 600;
}

.logistica-etiqueta-catalog-status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.logistica-etiqueta-catalog-status.is-warning {
	color: #c2410c;
	font-weight: 600;
}

.logistica-etiqueta-edit-modal .logistica-label-print-modal__dialog {
	max-width: 640px;
}

.logistica-etiqueta-edit-form__grid {
	margin-bottom: 12px;
}

.logistica-etiqueta-edit-form__obs {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	margin: 0 0 12px;
}

.logistica-etiqueta-catalog-form label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

.logistica-etiqueta-edit-modal .logistica-etiqueta-preview {
	margin: 0 0 8px;
}

.logistica-etiqueta-edit-modal .logistica-etiqueta-preview code {
	color: #be123c;
}

.logistica-etiqueta-catalog-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	margin-top: 16px;
}

.logistica-etiqueta-catalog-form-column {
	align-self: start;
	position: sticky;
	top: 12px;
	width: 100%;
}

.logistica-etiqueta-catalog-form {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	display: grid;
	gap: 12px;
	padding: 16px;
}

.logistica-field-uppercase {
	text-transform: uppercase;
}

.logistica-field-uppercase::placeholder {
	text-transform: none;
}

.logistica-etiqueta-catalog-form__actions {
	display: block;
	margin: 0;
	width: 100%;
}

.logistica-etiqueta-catalog-form__actions .button,
.logistica-etiqueta-catalog-form__actions [data-etiqueta-new-submit] {
	justify-content: center;
	min-height: 40px;
	width: 100%;
}

.logistica-etiqueta-catalog-add-field {
	display: grid;
	gap: 8px;
}

.logistica-etiqueta-catalog-add-field > label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

.logistica-etiqueta-catalog-add-field__new[hidden],
.logistica-etiqueta-tamano-field__new[hidden],
[data-etiqueta-tipo-new][hidden],
[data-etiqueta-tamano-new][hidden] {
	display: none !important;
}

.logistica-etiqueta-catalog-add-field__new:not([hidden]),
.logistica-etiqueta-tamano-field__new:not([hidden]) {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.logistica-etiqueta-catalog-add-field__new-label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	margin: 0;
}

.logistica-etiqueta-catalog-add-field__new-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-etiqueta-catalog-add-field__new-status {
	color: #0f766e;
	font-size: 12px;
	margin: 0;
	min-height: 1em;
}

.logistica-etiqueta-tamano-field,
.logistica-etiqueta-tipo-field {
	display: grid;
	gap: 8px;
}

.logistica-label-print-modal__grid .logistica-etiqueta-tamano-field,
.logistica-label-print-modal__grid .logistica-etiqueta-tipo-field {
	grid-column: 1 / -1;
}

.logistica-etiqueta-tamano-field > label,
.logistica-etiqueta-tipo-field > label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

.logistica-etiqueta-tamano-field__new:not([hidden]) {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.logistica-etiqueta-tamano-field__new-label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	margin: 0;
}

.logistica-etiqueta-tamano-field__new-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-etiqueta-tamano-field__new-status {
	color: #0f766e;
	font-size: 12px;
	margin: 0;
	min-height: 1em;
}

.logistica-label-print-modal__grid .logistica-etiqueta-tamano-field {
	grid-column: 1 / -1;
}

.logistica-etiqueta-catalog-table-wrap h3 {
	margin: 0;
	margin-top: 0;
}

.logistica-etiqueta-catalog-section-head {
	align-items: center;
	display: flex;
	gap: 10px;
	min-width: 0;
}

.logistica-etiqueta-catalog-section-head--compact {
	margin: 0 0 4px;
}

.logistica-etiqueta-catalog-section-head__icon {
	align-items: center;
	background: linear-gradient(135deg, var(--lg-etq-teal) 0%, var(--lg-etq-teal-dark) 100%);
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(19, 119, 109, 0.22);
	color: #ffffff;
	display: inline-flex;
	flex-shrink: 0;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.logistica-etiqueta-catalog-section-head__icon .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-etiqueta-catalog-section-head__text {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.logistica-etiqueta-catalog-section-head__title {
	color: #0f172a;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0;
}

.logistica-etiqueta-catalog-section-head__count {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 28px;
	padding: 0 9px;
}

.logistica-etiqueta-catalog-table-wrap__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.logistica-etiqueta-catalog-table-wrap__head .logistica-tapas-excel-toolbar {
	align-items: center;
	flex: 1 1 auto;
	justify-content: flex-end;
	margin: 0;
	min-width: 0;
}

.logistica-etiqueta-catalog-table-wrap__head .logistica-excel-zoom {
	flex-shrink: 0;
}

.logistica-etiqueta-catalog-filters {
	margin-bottom: 14px;
}

.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings {
	margin-bottom: 14px;
}

.logistica-etiqueta-catalog-board--admin-settings .logistica-rotulo-rollos-print-settings {
	margin-bottom: 0;
	max-width: 960px;
}

.logistica-etiqueta-catalog-options {
	--lg-etq-opt-teal: #13776d;
	--lg-etq-opt-teal-dark: #0f5f57;
	--lg-etq-opt-border: #dbe3ee;
	--lg-etq-opt-muted: #64748b;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--lg-etq-opt-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	margin-top: 18px;
	max-width: none;
	padding: 20px 22px 22px;
}

.logistica-etiqueta-catalog-options__intro {
	align-items: flex-start;
	border-bottom: 1px solid #e8eef5;
	display: flex;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.logistica-etiqueta-catalog-options__icon {
	align-items: center;
	background: linear-gradient(135deg, var(--lg-etq-opt-teal) 0%, var(--lg-etq-opt-teal-dark) 100%);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(19, 119, 109, 0.28);
	color: #ffffff;
	display: inline-flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.logistica-etiqueta-catalog-options__icon .dashicons {
	font-size: 20px;
	height: 20px;
	width: 20px;
}

.logistica-etiqueta-catalog-options__intro h3 {
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
}

.logistica-etiqueta-catalog-options__intro p {
	color: var(--lg-etq-opt-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	max-width: 760px;
}

.logistica-etiqueta-catalog-options__status {
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	color: #0f766e;
	font-size: 13px;
	margin: 0 0 14px;
	min-height: 1.2em;
	padding: 8px 12px;
}

.logistica-etiqueta-catalog-options__status:empty {
	display: none;
}

.logistica-etiqueta-catalog-options__status.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.logistica-etiqueta-catalog-options__status.is-success {
	background: #ecfdf5;
	border-color: #99f6e4;
	color: #0f766e;
}

.logistica-etiqueta-catalog-options__grid {
	align-items: stretch;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1280px) {
	.logistica-etiqueta-catalog-options__grid {
		grid-template-columns: 1fr;
	}
}

.logistica-etiqueta-catalog-options__panel {
	background: #ffffff;
	border: 1px solid var(--lg-etq-opt-border);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	display: grid;
	gap: 0;
	overflow: hidden;
}

.logistica-etiqueta-catalog-options__panel-head {
	align-items: center;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid var(--lg-etq-opt-border);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 12px 14px;
}

.logistica-etiqueta-catalog-options__panel-head h4 {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.logistica-etiqueta-catalog-options__count {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	line-height: 1;
	min-width: 22px;
	padding: 0 8px;
}

.logistica-etiqueta-catalog-options__table-wrap {
	max-height: 320px;
	overflow: auto;
	padding: 0 10px;
}

.logistica-etiqueta-catalog-options__table {
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	width: 100%;
}

.logistica-etiqueta-catalog-options__table.widefat {
	border: 0 !important;
	box-shadow: none;
}

.logistica-etiqueta-catalog-options__table.widefat td,
.logistica-etiqueta-catalog-options__table.widefat th {
	border: 0;
}

.logistica-etiqueta-catalog-options__table .is-actions-head,
.logistica-etiqueta-catalog-options__table tbody td:last-child {
	min-width: 82px;
	width: 82px;
}

.logistica-etiqueta-catalog-options__table thead th {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 10px 8px;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	z-index: 1;
}

.logistica-etiqueta-catalog-options__table tbody td {
	border-bottom: 1px solid #f1f5f9;
	padding: 8px;
	vertical-align: middle;
}

.logistica-base-type-fields {
	margin-top: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	padding: 6px 8px;
}

.logistica-base-type-fields > summary {
	cursor: pointer;
	color: #0f766e;
	font-size: 12px;
	font-weight: 700;
	list-style: none;
}

.logistica-base-type-fields > summary::-webkit-details-marker {
	display: none;
}

.logistica-base-type-fields > summary::before {
	content: '▸';
	display: inline-block;
	margin-right: 4px;
	transition: transform 0.15s ease;
}

.logistica-base-type-fields[open] > summary::before {
	transform: rotate(90deg);
}

.logistica-base-type-fields__note {
	margin: 8px 0 6px;
	color: #64748b;
	font-size: 11px;
	line-height: 1.35;
}

.logistica-base-type-fields__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 4px 8px;
	margin-bottom: 4px;
}

.logistica-base-type-fields__item {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	color: #334155;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 500;
}

.logistica-base-type-fields__item input {
	margin: 2px 0 0;
}

.logistica-etiqueta-catalog-options__table tbody tr:last-child td {
	border-bottom: 0;
}

.logistica-etiqueta-catalog-options__table tbody tr:hover td {
	background: #f8fafc;
}

.logistica-etiqueta-catalog-options__table input[type="text"] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	font-size: 13px;
	min-height: 34px;
	padding: 6px 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-etiqueta-catalog-options__table input[type="text"]:focus {
	border-color: var(--lg-etq-opt-teal);
	box-shadow: 0 0 0 3px rgba(19, 119, 109, 0.15);
	outline: none;
}

.logistica-etiqueta-catalog-options__table input.logistica-readonly-field {
	background: #f1f5f9;
	color: #64748b;
}

.logistica-etiqueta-catalog-options .logistica-input-uppercase,
.logistica-etiqueta-catalog-options input.logistica-input-uppercase {
	text-transform: uppercase;
}

.logistica-etiqueta-catalog-options .logistica-input-uppercase::placeholder {
	text-transform: none;
}

.logistica-etiqueta-catalog-options .logistica-input-sentence-case::placeholder {
	text-transform: none;
}

.logistica-etiqueta-catalog-options__key-badge {
	align-items: center;
	background: #eef2ff;
	border: 0;
	border-radius: 6px;
	color: #3730a3;
	display: inline-flex;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	min-width: 44px;
	padding: 4px 8px;
}

.logistica-etiqueta-catalog-options__meta {
	color: var(--lg-etq-opt-muted);
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-top: 4px;
	text-transform: uppercase;
}

.logistica-etiqueta-catalog-options__actions {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 6px;
	justify-content: flex-end;
	min-width: 0;
	white-space: nowrap;
}

.logistica-etiqueta-catalog-options__btn-save,
.logistica-etiqueta-catalog-options__btn-delete {
	background: var(--lg-etq-opt-teal) !important;
	border-color: var(--lg-etq-opt-teal-dark) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	flex-shrink: 0;
	font-size: 0 !important;
	height: 34px !important;
	line-height: 0 !important;
	min-height: 34px !important;
	padding: 0 !important;
	width: 34px !important;
}

.logistica-etiqueta-catalog-options__btn-save .dashicons,
.logistica-etiqueta-catalog-options__btn-delete .dashicons {
	color: #ffffff;
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-etiqueta-catalog-options__btn-save:hover,
.logistica-etiqueta-catalog-options__btn-save:focus {
	background: var(--lg-etq-opt-teal-dark) !important;
	border-color: var(--lg-etq-opt-teal-dark) !important;
	color: #ffffff !important;
}

.logistica-etiqueta-catalog-options__btn-delete {
	background: #ffffff !important;
	border-color: #fecaca !important;
	color: #b91c1c !important;
}

.logistica-etiqueta-catalog-options__btn-delete .dashicons {
	color: #b91c1c;
}

.logistica-etiqueta-catalog-options__btn-delete:hover,
.logistica-etiqueta-catalog-options__btn-delete:focus {
	background: #fef2f2 !important;
	border-color: #f87171 !important;
	color: #991b1b !important;
}

.logistica-etiqueta-catalog-options__btn-delete:hover .dashicons,
.logistica-etiqueta-catalog-options__btn-delete:focus .dashicons {
	color: #991b1b;
}

.logistica-etiqueta-catalog-options__btn-delete.is-disabled,
.logistica-etiqueta-catalog-options__btn-delete:disabled {
	background: #f8fafc !important;
	border-color: #e2e8f0 !important;
	color: #94a3b8 !important;
	cursor: not-allowed;
	opacity: 0.72;
	pointer-events: none;
}

.logistica-etiqueta-catalog-options__btn-delete.is-disabled .dashicons,
.logistica-etiqueta-catalog-options__btn-delete:disabled .dashicons {
	color: #94a3b8;
}

.logistica-etiqueta-catalog-options__btn-add {
	background: linear-gradient(135deg, var(--lg-etq-opt-teal) 0%, var(--lg-etq-opt-teal-dark) 100%) !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(19, 119, 109, 0.25);
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	justify-content: center;
	line-height: 1.2 !important;
	min-height: 34px !important;
	padding: 6px 12px !important;
	width: 100%;
}

.logistica-etiqueta-catalog-options__add {
	background: #f8fafc;
	border-top: 1px solid var(--lg-etq-opt-border);
	margin: 0;
	padding: 14px;
}

.logistica-etiqueta-catalog-options__add-title {
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.logistica-etiqueta-catalog-options__add-fields {
	align-items: end;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

.logistica-etiqueta-catalog-options__add-fields label {
	color: #334155;
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
}

.logistica-etiqueta-catalog-options__add-fields input[type="text"] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	min-height: 34px;
	padding: 6px 10px;
	width: 100%;
}

.logistica-etiqueta-catalog-options__hint {
	background: #fffbeb;
	border-top: 1px solid #fde68a;
	color: #92400e;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
	padding: 10px 14px;
}

.logistica-etiqueta-catalog-options__panel--hidden {
	background: #fcfdff;
	border-style: dashed;
	margin-top: 6px;
}

.logistica-etiqueta-catalog-options__panel--hidden .logistica-etiqueta-catalog-options__hint {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	color: #64748b;
}

.logistica-etiqueta-catalog-options__empty {
	color: #64748b;
	font-size: 13px;
	margin: 0;
	padding: 12px 14px 14px;
}

.logistica-etiqueta-catalog-options__empty[hidden],
.logistica-etiqueta-catalog-options__table-wrap[hidden] {
	display: none;
}

.logistica-etiqueta-catalog-options__kind-badge {
	align-items: center;
	background: #f1f5f9;
	border-radius: 6px;
	color: #334155;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	justify-content: center;
	min-width: 64px;
	padding: 4px 8px;
	text-transform: uppercase;
}

.logistica-etiqueta-catalog-options__btn-restore {
	background: #ffffff !important;
	border-color: #bae6fd !important;
	color: #0369a1 !important;
	flex-shrink: 0;
	font-size: 0 !important;
	height: 34px !important;
	line-height: 0 !important;
	min-height: 34px !important;
	padding: 0 !important;
	width: 34px !important;
}

.logistica-etiqueta-catalog-options__btn-restore .dashicons {
	color: #0369a1;
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-etiqueta-catalog-options__btn-restore:hover,
.logistica-etiqueta-catalog-options__btn-restore:focus {
	background: #eff6ff !important;
	border-color: #7dd3fc !important;
	color: #0c4a6e !important;
}

.logistica-etiqueta-catalog-board--admin-settings .logistica-etiqueta-catalog-options {
	margin-bottom: 8px;
}

.logistica-label-print-settings--readonly .logistica-rotulo-rollos-print-settings__form--readonly {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
}

.logistica-label-print-settings--readonly .logistica-rotulo-rollos-print-settings__fields {
	align-items: center;
	flex: 0 0 auto;
	gap: 12px;
	margin-left: auto;
}

.logistica-etiqueta-catalog-filter-empty {
	color: #64748b;
	font-size: 13px;
	margin: 0 0 12px;
}

.logistica-etiqueta-catalog-board {
	--lg-etq-teal: #13776d;
	--lg-etq-teal-dark: #0f5f57;
}

.logistica-etiqueta-catalog-table-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	min-width: 0;
	padding: 16px;
}

.logistica-etiqueta-catalog-table-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.06);
	margin-top: 12px;
	overflow: hidden;
}

.logistica-etiqueta-catalog-scroll {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.logistica-etiqueta-catalog-table {
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 1080px;
	width: 100%;
}

.logistica-etiqueta-catalog-observaciones-cell {
	color: #475569;
	font-size: 12px;
	line-height: 1.45;
	max-width: 220px;
	min-width: 140px;
	white-space: normal;
	word-break: break-word;
}

.logistica-etiqueta-catalog-table thead th {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 12px;
	position: sticky;
	text-align: left;
	top: 0;
	white-space: nowrap;
	z-index: 2;
}

.logistica-etiqueta-catalog-table tbody td {
	border-bottom: 1px solid #eef2f7;
	color: #1e293b;
	font-size: 13px;
	padding: 12px;
	vertical-align: middle;
}

.logistica-etiqueta-catalog-table tbody tr:last-child td {
	border-bottom: 0;
}

.logistica-etiqueta-catalog-table-wrap .logistica-table-pagination,
.logistica-etiqueta-catalog-table-card .logistica-table-pagination {
	border-radius: 0 0 14px 14px;
	margin-top: 0;
}

.logistica-etiqueta-catalog-board .logistica-table-pagination__btn {
	border-color: #cbd5e1;
	color: #334155;
}

.logistica-etiqueta-catalog-board .logistica-table-pagination__btn:hover:not(:disabled),
.logistica-etiqueta-catalog-board .logistica-table-pagination__btn:focus:not(:disabled) {
	border-color: #0f766e;
	color: #0f766e;
}

.logistica-etiqueta-catalog-board .logistica-table-pagination__btn:disabled {
	opacity: 0.45;
}

.logistica-etiqueta-catalog-board .logistica-table-pagination__size select {
	border-color: #cbd5e1;
	border-radius: 8px;
	min-height: 34px;
}

.logistica-etiqueta-catalog-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option td {
	background: #fff7ed;
	cursor: help;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option:nth-child(even) td {
	background: #ffedd5;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option:hover td,
.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option.is-selected td,
.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option:focus-within td {
	background: #fed7aa;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--hidden-option.is-selected td:first-child {
	box-shadow: inset 3px 0 0 #ea580c;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate td {
	background: #fef2f2;
	cursor: help;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate:nth-child(even) td {
	background: #fee2e2;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate:hover td,
.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate.is-selected td,
.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate:focus-within td {
	background: #fecaca;
}

.logistica-etiqueta-catalog-table tbody tr.logistica-etiqueta-catalog-row--duplicate.is-selected td:first-child {
	box-shadow: inset 3px 0 0 #dc2626;
}

.logistica-etiqueta-catalog-duplicate-alert {
	align-items: flex-start;
	background: linear-gradient(90deg, #fef2f2 0%, #fff7ed 100%);
	border: 1px solid #fca5a5;
	border-left: 4px solid #dc2626;
	border-radius: 10px;
	color: #991b1b;
	display: flex;
	gap: 12px;
	margin: 0 0 12px;
	padding: 14px 16px;
}

.logistica-etiqueta-catalog-duplicate-alert[hidden] {
	display: none;
}

.logistica-etiqueta-catalog-duplicate-alert__icon {
	color: #dc2626;
	flex-shrink: 0;
	font-size: 22px;
	height: 22px;
	margin-top: 2px;
	width: 22px;
}

.logistica-etiqueta-catalog-duplicate-alert p {
	line-height: 1.45;
	margin: 4px 0 0;
}

.logistica-etiqueta-catalog-ref-cell {
	position: relative;
}

.logistica-etiqueta-catalog-row-tooltip {
	background: #9a3412;
	border-radius: 8px;
	bottom: calc(100% + 8px);
	box-shadow: 0 8px 24px rgba(154, 52, 18, 0.24);
	color: #fff7ed;
	font-size: 12px;
	font-weight: 500;
	left: 0;
	line-height: 1.45;
	max-width: min(360px, 70vw);
	opacity: 0;
	padding: 10px 12px;
	pointer-events: none;
	position: absolute;
	top: auto;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
	width: max-content;
	z-index: 20;
}

.logistica-etiqueta-catalog-row-tooltip::before {
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 7px solid #9a3412;
	bottom: -7px;
	content: "";
	height: 0;
	left: 16px;
	position: absolute;
	top: auto;
	width: 0;
}

.logistica-etiqueta-catalog-row--hidden-option:hover .logistica-etiqueta-catalog-row-tooltip,
.logistica-etiqueta-catalog-row--hidden-option.is-selected .logistica-etiqueta-catalog-row-tooltip,
.logistica-etiqueta-catalog-row--hidden-option:focus-within .logistica-etiqueta-catalog-row-tooltip {
	opacity: 1;
	transform: translateY(0);
}

.logistica-etiqueta-catalog-cell--hidden {
	background: #ffedd5;
	border-radius: 6px;
	box-decoration-break: clone;
	color: #9a3412;
	display: inline-block;
	font-weight: 600;
	padding: 2px 8px;
}

.logistica-etiqueta-hidden-options-alert {
	background: #fff7ed;
	border: 1px solid #fdba74;
	border-radius: 10px;
	margin-bottom: 14px;
	padding: 12px 14px;
}

.logistica-etiqueta-hidden-options-alert[hidden] {
	display: none;
}

.logistica-etiqueta-hidden-options-alert__title {
	color: #9a3412;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px;
}

.logistica-etiqueta-hidden-options-alert__hint {
	color: #c2410c;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 10px;
}

.logistica-etiqueta-hidden-options-alert__list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.logistica-etiqueta-hidden-options-alert__item {
	align-items: center;
	background: #ffffff;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #7c2d12;
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 8px 12px;
	justify-content: space-between;
	padding: 8px 10px;
}

.logistica-etiqueta-hidden-options-alert__item em {
	color: #c2410c;
	font-style: normal;
	font-weight: 600;
}

.logistica-etiqueta-hidden-options-alert__restore {
	background: #ffffff !important;
	border-color: #fdba74 !important;
	color: #c2410c !important;
	flex-shrink: 0;
}

.logistica-etiqueta-hidden-options-alert__restore:hover,
.logistica-etiqueta-hidden-options-alert__restore:focus {
	background: #ffedd5 !important;
	border-color: #fb923c !important;
	color: #9a3412 !important;
}

.logistica-etiqueta-catalog-table code {
	background: #f1f5f9;
	border-radius: 4px;
	color: #0f172a;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 6px;
}

.logistica-etiqueta-catalog-actions {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	justify-content: center;
}

.logistica-etiqueta-catalog-actions form {
	margin: 0;
}

.logistica-etiqueta-catalog-actions .button-small {
	font-size: 0;
	gap: 0;
	height: 34px;
	justify-content: center;
	line-height: 0;
	min-height: 34px;
	padding: 0;
	width: 34px;
}

.logistica-etiqueta-catalog-actions .button-small .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-etiqueta-catalog-table .is-actions-head,
.logistica-etiqueta-catalog-actions-cell {
	min-width: 132px;
	position: sticky;
	right: 0;
	text-align: center;
	width: 132px;
	z-index: 1;
}

.logistica-etiqueta-catalog-table thead .is-actions-head {
	background: #f8fafc;
	z-index: 3;
}

.logistica-etiqueta-catalog-table tbody .logistica-etiqueta-catalog-actions-cell {
	background: #ffffff;
	box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
}

.logistica-etiqueta-catalog-table tbody tr:nth-child(even) .logistica-etiqueta-catalog-actions-cell {
	background: #fafbfc;
}

.logistica-etiqueta-catalog-table tbody tr:hover .logistica-etiqueta-catalog-actions-cell {
	background: #f8fffe;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):not(.logistica-etiqueta-catalog-btn-print):not(.logistica-etiqueta-catalog-btn-edit):not(.logistica-etiqueta-catalog-btn-delete),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions button.button:not(.logistica-excel-btn):not(.logistica-table-icon-btn):not(.logistica-etiqueta-catalog-btn-print):not(.logistica-etiqueta-catalog-btn-edit):not(.logistica-etiqueta-catalog-btn-delete) {
	min-height: 34px;
	padding: 0;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form .button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form a.button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form button.button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head .button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head a.button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head button.button:not(.logistica-excel-btn),
.logistica-etiqueta-catalog-board .logistica-tapas-filters__btn {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.3;
	min-height: 32px;
	padding: 6px 12px;
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form .button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form .button:not(.logistica-excel-btn):focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form a.button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form a.button:not(.logistica-excel-btn):focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form button.button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form button.button:not(.logistica-excel-btn):focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head .button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head .button:not(.logistica-excel-btn):focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head a.button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head a.button:not(.logistica-excel-btn):focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head button.button:not(.logistica-excel-btn):hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-table-wrap__head button.button:not(.logistica-excel-btn):focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
	outline: none;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-table-icon-btn,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-print,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-edit,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-delete {
	background: #111827;
	border-color: #4b5563;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #ffffff;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-table-icon-btn .dashicons,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-print .dashicons,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-edit .dashicons,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-actions .logistica-etiqueta-catalog-btn-delete .dashicons {
	color: #ffffff;
}

.logistica-etiqueta-catalog-actions .logistica-inline-delete-form {
	display: inline-flex;
	margin: 0;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions .button-primary,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions [data-etiqueta-new-submit] {
	background: var(--lg-etq-teal);
	border-color: var(--lg-etq-teal);
	color: #ffffff;
	width: 100%;
}

.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions .button-primary:hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions .button-primary:focus,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions [data-etiqueta-new-submit]:hover,
.logistica-etiqueta-catalog-board .logistica-etiqueta-catalog-form__actions [data-etiqueta-new-submit]:focus {
	background: var(--lg-etq-teal-dark);
	border-color: var(--lg-etq-teal-dark);
	color: #ffffff;
}

.logistica-etiqueta-preview {
	margin: 0;
}

@media (max-width: 960px) {
	.logistica-label-print-modal__grid,
	.logistica-etiqueta-catalog-layout {
		grid-template-columns: 1fr;
	}

	.logistica-etiqueta-catalog-form-column {
		position: static;
	}

	.logistica-etiqueta-catalog-filters .logistica-tapas-filters__fields {
		grid-template-columns: 1fr;
	}

	.logistica-etiqueta-catalog-scroll::before {
		color: #64748b;
		content: 'Desliza horizontalmente para ver todas las columnas.';
		display: block;
		font-size: 12px;
		margin-bottom: 8px;
		padding: 0 2px;
	}

	.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings__form {
		justify-content: flex-start;
	}

	.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings__intro {
		flex: 0 1 auto;
	}

	.logistica-etiqueta-catalog-board .logistica-label-print-settings--readonly .logistica-rotulo-rollos-print-settings__fields {
		align-self: flex-start;
		margin-left: 0;
	}

	.logistica-etiqueta-catalog-toolbar.logistica-close-toolbar {
		gap: 10px;
		padding: 14px 16px;
	}

	.logistica-etiqueta-catalog-toolbar__intro {
		gap: 10px;
	}

	.logistica-etiqueta-catalog-toolbar p {
		color: #64748b;
		font-size: 12px;
		line-height: 1.45;
	}

	.logistica-etiqueta-catalog-toolbar__badge {
		border-radius: 8px;
		height: 36px;
		width: 36px;
	}

	.logistica-etiqueta-catalog-toolbar__badge .dashicons {
		font-size: 18px;
		height: 18px;
		width: 18px;
	}
}

/* Rótulos rollos */
.logistica-rotulo-rollos-board {
	--lg-rotulo-teal: #13776d;
	--lg-rotulo-teal-dark: #0f5f57;
	position: relative;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-toolbar__badge {
	align-items: center;
	background: linear-gradient(135deg, #e8f6f3 0%, #d1fae5 100%);
	border: 1px solid #99f6e4;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(19, 119, 109, 0.12);
	color: var(--lg-rotulo-teal-dark);
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-toolbar__badge .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.logistica-rotulo-rollos-status {
	font-size: 13px;
	margin: 0 0 12px;
	min-height: 1.2em;
}

.logistica-rotulo-rollos-status.is-success {
	color: #0f766e;
	font-weight: 600;
}

.logistica-rotulo-rollos-status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.logistica-rotulo-rollos-print-settings {
	--lg-rotulo-teal: #13776d;
	--lg-rotulo-teal-dark: #0f5f57;
	background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
	border: 1px solid #b8e0dc;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.08);
	margin-bottom: 20px;
	padding: 16px 18px;
}

.logistica-config-module-block {
	margin-bottom: 28px;
}

.logistica-config-module-block .logistica-rotulo-rollos-toolbar {
	margin-bottom: 12px;
}

.logistica-rotulo-rollos-print-settings__status {
	flex: 1 1 100%;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	min-height: 1.2em;
}

.logistica-rotulo-rollos-print-settings__status.is-success {
	color: #0f766e;
}

.logistica-rotulo-rollos-print-settings__status.is-error {
	color: #b91c1c;
}

.logistica-rotulo-rollos-print-settings__form {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	justify-content: space-between;
}

.logistica-rotulo-rollos-print-settings__intro {
	align-items: flex-start;
	display: flex;
	flex: 1 1 280px;
	gap: 12px;
	min-width: 0;
}

.logistica-rotulo-rollos-print-settings__icon {
	align-items: center;
	background: linear-gradient(135deg, #e8f6f3 0%, #d1fae5 100%);
	border: 1px solid #99f6e4;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(19, 119, 109, 0.12);
	color: var(--lg-rotulo-teal-dark, #0f5f57);
	display: inline-flex;
	flex-shrink: 0;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.logistica-rotulo-rollos-print-settings__icon .dashicons {
	color: var(--lg-rotulo-teal-dark, #0f5f57);
	font-size: 20px;
	height: 20px;
	width: 20px;
}

.logistica-rotulo-rollos-print-settings__copy strong {
	color: var(--lg-rotulo-teal-dark);
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.logistica-rotulo-rollos-print-settings__copy p {
	color: #64748b;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-width: 520px;
}

.logistica-rotulo-rollos-print-settings__fields {
	align-items: flex-end;
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.logistica-rotulo-rollos-print-settings__fields label {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	margin: 0;
}

.logistica-rotulo-rollos-print-settings__badge {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	height: 36px;
	justify-content: center;
	min-width: 96px;
	padding: 0 14px;
	white-space: nowrap;
}

.logistica-rotulo-rollos-edit-modal {
	--lg-rotulo-teal: #13776d;
	--lg-rotulo-teal-dark: #0f5f57;
}

.logistica-rotulo-rollos-layout {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	margin-top: 4px;
}

.logistica-rotulo-rollos-form-column {
	align-self: start;
	position: sticky;
	top: 12px;
}

.logistica-rotulo-rollos-form {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.06);
	display: grid;
	gap: 12px;
	padding: 16px;
}

.logistica-rotulo-rollos-form label {
	display: grid;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	margin: 0;
}

.logistica-rotulo-rollos-form input,
.logistica-rotulo-rollos-form select,
.logistica-rotulo-rollos-form textarea {
	margin: 0;
}

.logistica-rotulo-rollos-print-settings__fields input[type="number"] {
	min-width: 110px;
	width: 110px;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button:not(.logistica-table-icon-btn),
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button:not(.logistica-table-icon-btn),
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button:not(.logistica-table-icon-btn),
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button:not(.logistica-table-icon-btn),
.logistica-rotulo-rollos-edit-modal .button:not(.logistica-table-icon-btn),
.logistica-rotulo-rollos-edit-modal button.button:not(.logistica-table-icon-btn) {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.3;
	min-height: 38px;
	padding: 8px 16px;
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button:not(.logistica-table-icon-btn):focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button:not(.logistica-table-icon-btn):focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button:not(.logistica-table-icon-btn):focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button:not(.logistica-table-icon-btn):focus,
.logistica-rotulo-rollos-edit-modal .button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-edit-modal .button:not(.logistica-table-icon-btn):focus,
.logistica-rotulo-rollos-edit-modal button.button:not(.logistica-table-icon-btn):hover,
.logistica-rotulo-rollos-edit-modal button.button:not(.logistica-table-icon-btn):focus {
	background: #f8fafc;
	border-color: #94a3b8;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
	color: #0f172a;
	outline: none;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button-primary,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button-primary,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button-primary,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button-primary,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings .button-primary,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings button.button-primary,
.logistica-rotulo-rollos-edit-modal .button-primary,
.logistica-rotulo-rollos-edit-modal button.button-primary {
	background: var(--lg-rotulo-teal, #13776d);
	border-color: var(--lg-rotulo-teal, #13776d);
	color: #ffffff;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button-primary:hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button-primary:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button-primary:hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button-primary:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button-primary:hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button-primary:focus,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button-primary:hover,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button-primary:focus,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings .button-primary:hover,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings .button-primary:focus,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings button.button-primary:hover,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings button.button-primary:focus,
.logistica-rotulo-rollos-edit-modal .button-primary:hover,
.logistica-rotulo-rollos-edit-modal .button-primary:focus,
.logistica-rotulo-rollos-edit-modal button.button-primary:hover,
.logistica-rotulo-rollos-edit-modal button.button-primary:focus {
	background: var(--lg-rotulo-teal-dark, #0f5f57);
	border-color: var(--lg-rotulo-teal-dark, #0f5f57);
	color: #ffffff;
}

.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form .button-primary:disabled,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-form button.button-primary:disabled,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings .button-primary:disabled,
.logistica-rotulo-rollos-board .logistica-rotulo-rollos-print-settings button.button-primary:disabled,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings .button-primary:disabled,
.logistica-etiqueta-catalog-board .logistica-rotulo-rollos-print-settings button.button-primary:disabled {
	background: #94a3b8;
	border-color: #94a3b8;
	color: #ffffff;
	cursor: not-allowed;
	opacity: 0.85;
}

.logistica-rotulo-rollos-form__actions {
	margin: 4px 0 0;
}

.logistica-rotulo-rollos-form__actions .button-primary {
	justify-content: center;
	min-height: 40px;
	width: 100%;
}

.logistica-rotulo-rollos-print-settings__fields .button-primary {
	min-height: 38px;
	padding-inline: 18px;
}

.logistica-label-print-settings__options {
	border-top: 1px solid #e2e8f0;
	margin-top: 14px;
	padding-top: 14px;
}

.logistica-label-print-settings__options-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 12px;
}

.logistica-label-print-settings__options-actions .button-primary {
	min-height: 38px;
	padding-inline: 18px;
}

.logistica-label-print-settings__options-status {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.logistica-label-print-settings__options-status:empty {
	display: none;
}

.logistica-label-print-settings__options-status.is-error {
	color: #b91c1c;
}

.logistica-label-print-settings__options-status.is-success {
	color: #0f766e;
}

.logistica-label-print-settings__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 6px 0 0;
	max-width: 52rem;
}

.logistica-rotulo-rollos-section-head {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	min-width: 0;
}

.logistica-rotulo-rollos-section-head--compact {
	margin-bottom: 4px;
}

.logistica-rotulo-rollos-section-head__icon {
	align-items: center;
	background: linear-gradient(135deg, var(--lg-rotulo-teal, #13776d) 0%, var(--lg-rotulo-teal-dark, #0f5f57) 100%);
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(19, 119, 109, 0.22);
	color: #ffffff;
	display: inline-flex;
	flex-shrink: 0;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.logistica-rotulo-rollos-section-head__icon .dashicons {
	color: #ffffff;
	font-family: dashicons !important;
	font-size: 18px;
	height: 18px;
	line-height: 1;
	width: 18px;
}

.logistica-rotulo-rollos-section-head__icon .dashicons-edit::before {
	content: "\f464";
}

.logistica-rotulo-rollos-section-head__icon .dashicons-visibility::before {
	content: "\f177";
}

.logistica-rotulo-rollos-section-head__icon .dashicons-list-view::before {
	content: "\f163";
}

.logistica-rotulo-rollos-section-head__icon .dashicons-media-default::before {
	content: "\f123";
}

.logistica-rotulo-rollos-section-head__text {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.logistica-rotulo-rollos-section-head__title {
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.logistica-rotulo-rollos-section-head__count {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 28px;
	padding: 0 9px;
}

.logistica-rotulo-rollos-color-preview {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	margin: 0;
	padding: 8px 10px;
}

.logistica-rotulo-rollos-color-preview__swatch,
.logistica-rotulo-rollos-color-chip {
	border: 1px solid rgba(15, 23, 42, 0.15);
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	display: inline-block;
	flex-shrink: 0;
	height: 24px;
	width: 24px;
}

.logistica-rotulo-rollos-table-wrap__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.logistica-rotulo-rollos-table-wrap__head .logistica-tapas-excel-toolbar {
	align-items: center;
	flex: 1 1 auto;
	justify-content: flex-end;
	margin: 0;
	min-width: 0;
}

.logistica-rotulo-rollos-table-wrap__head .logistica-excel-zoom {
	flex-shrink: 0;
}

.logistica-rotulo-rollos-filters {
	margin-bottom: 14px;
}

.logistica-rotulo-rollos-filter-empty {
	color: #64748b;
	font-size: 13px;
	margin: 0 0 12px;
}

.logistica-rotulo-rollos-excel-hint {
	flex-basis: 100%;
	margin: 0;
}

.logistica-rotulo-rollos-table-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 95, 87, 0.06);
	min-width: 0;
	padding: 16px;
}

.logistica-rotulo-rollos-table-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-top: 0;
	overflow: hidden;
}

.logistica-rotulo-rollos-table {
	border-collapse: separate;
	border-spacing: 0;
	min-width: 720px;
	width: 100%;
}

.logistica-rotulo-rollos-table thead th {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 12px;
	position: sticky;
	text-align: left;
	top: 0;
	z-index: 1;
}

.logistica-rotulo-rollos-table tbody td {
	border-bottom: 1px solid #eef2f7;
	color: #1e293b;
	font-size: 13px;
	padding: 12px;
	vertical-align: middle;
}

.logistica-rotulo-rollos-table tbody tr:hover td {
	background: #f8fafc;
}

.logistica-rotulo-rollos-table tbody tr:last-child td {
	border-bottom: 0;
}

.logistica-rotulo-rollos-observaciones-cell {
	color: #475569;
	font-size: 12px;
	line-height: 1.45;
	max-width: 220px;
	word-break: break-word;
}

.logistica-rotulo-rollos-actions {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.logistica-rotulo-rollos-actions-cell {
	white-space: nowrap;
}

.logistica-rotulo-rollos-scroll {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.logistica-rotulo-print-history {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	margin-top: 14px;
	padding: 12px;
}

.logistica-rotulo-print-history__head {
	margin-bottom: 10px;
}

.logistica-rotulo-print-history__title {
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 2px;
}

.logistica-rotulo-print-history__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

.logistica-rotulo-print-history__list {
	display: grid;
	gap: 8px;
}

.logistica-rotulo-print-history__item {
	align-items: flex-start;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
	display: grid;
	gap: 2px 12px;
	grid-template-columns: 1fr auto;
	padding: 10px 12px;
	text-align: left;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-rotulo-print-history__item:hover,
.logistica-rotulo-print-history__item:focus {
	border-color: #00685b;
	box-shadow: 0 0 0 2px rgba(0, 104, 91, 0.12);
	outline: none;
}

.logistica-rotulo-print-history__item.is-active {
	background: #ecfdf5;
	border-color: #00685b;
}

.logistica-rotulo-print-history__item-badge {
	color: #00685b;
	font-size: 11px;
	font-weight: 700;
	grid-column: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-rotulo-print-history__item-when {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	text-align: right;
	white-space: nowrap;
}

.logistica-rotulo-print-history__item-range {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	grid-column: 1;
	line-height: 1.25;
}

.logistica-rotulo-print-history__item-meta {
	color: #475569;
	font-size: 12px;
	font-weight: 500;
	grid-column: 1;
}

.logistica-rotulo-peso-por-lote {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-top: 12px;
	padding: 12px 14px;
}

.logistica-rotulo-peso-por-lote__title {
	color: #0f5f57;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px;
}

.logistica-rotulo-peso-por-lote__hint {
	margin: 0 0 10px;
}

.logistica-rotulo-peso-por-lote__list {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.logistica-rotulo-peso-por-lote__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.logistica-rotulo-peso-por-lote__label {
	color: #334155;
	font-size: 12px;
	font-weight: 600;
}

.logistica-rotulo-peso-por-lote__item input {
	width: 100%;
}

.logistica-rotulo-rollos-print-modal .logistica-label-print-modal__scroll .logistica-roll-label-preview-wrap {
	flex-shrink: 0;
	margin-bottom: 12px;
	min-height: 400px;
	overflow: auto;
}

.logistica-rotulo-rollos-print-modal .logistica-label-print-modal__scroll .logistica-prod-label-preview-wrap.logistica-roll-label-preview-wrap {
	min-height: 400px;
}

@media (max-width: 960px) {
	.logistica-rotulo-rollos-layout {
		grid-template-columns: 1fr;
	}

	.logistica-rotulo-rollos-form-column {
		position: static;
	}

	.logistica-rotulo-rollos-print-settings__form {
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
	}

	.logistica-rotulo-rollos-print-settings__intro {
		flex: 0 1 auto;
	}

	.logistica-rotulo-rollos-print-settings__fields {
		align-items: stretch;
	}

	.logistica-rotulo-rollos-print-settings__fields .button-primary {
		width: 100%;
	}

	.logistica-label-print-settings--readonly .logistica-rotulo-rollos-print-settings__form--readonly {
		align-items: stretch;
		gap: 12px;
	}

	.logistica-label-print-settings--readonly .logistica-rotulo-rollos-print-settings__fields {
		align-self: flex-start;
		margin-left: 0;
	}
}

/* Cuadro de pedidos */
.logistica-pedidos-board__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

.logistica-pedidos-board {
	--planeacion-brand: #0f766e;
	--planeacion-brand-dark: #0b5e58;
	--planeacion-brand-light: #ecfdf5;
	--planeacion-brand-ring: rgba(15, 118, 110, 0.22);
	--planeacion-surface: #f8fafc;
	--planeacion-border: #cbd5e1;
	--planeacion-text: #334155;
	background: #fff;
	position: relative;
}

.logistica-pedidos-board__view-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.logistica-pedidos-board__view-tab {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-pedidos-board__view-tab:hover,
.logistica-pedidos-board__view-tab:focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
	outline: none;
}

.logistica-pedidos-board__view-tab.is-active {
	background: #13776d;
	border-color: #13776d;
	box-shadow: 0 2px 6px rgba(19, 119, 109, 0.25);
	color: #ffffff;
}

.logistica-pedidos-board__clientes-view[hidden] {
	display: none !important;
}

.logistica-pedidos-clientes__toolbar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 14px;
}

.logistica-pedidos-clientes__search {
	flex: 1 1 220px;
	margin: 0;
	max-width: 360px;
}

.logistica-pedidos-clientes__search input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	min-height: 36px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-pedidos-table-wrap--clientes {
	margin-bottom: 18px;
}

/* Selector de estilo: mismo aspecto que planeación formado (Máquina + select + botones) */
.logistica-pedidos-board__ordenes-view .logistica-pedidos-board__styles-nav,
.logistica-pedidos-board > .logistica-pedidos-board__styles-nav {
	border-bottom: none;
	box-shadow: none;
	isolation: auto;
	margin: 0 0 16px;
	min-height: 0;
	padding: 12px 14px;
	position: sticky;
	top: 0;
	width: auto;
	z-index: 40;
}

.logistica-pedidos-board__ordenes-view .logistica-pedidos-board__styles-nav::before,
.logistica-pedidos-board > .logistica-pedidos-board__styles-nav::before {
	content: none;
	display: none;
}

.logistica-pedidos-board__ordenes-view .logistica-pedidos-board__metrics,
.logistica-pedidos-board > .logistica-pedidos-board__metrics {
	gap: 14px;
	margin: 0 0 18px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos {
	background: #fff;
	border: none;
	border-radius: 0;
	padding: 0 0 4px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period {
	background: #fff;
	border: 1px solid var(--planeacion-border, #e2e8f0);
	border-radius: 12px;
	overflow: hidden;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period > summary {
	align-items: center;
	color: var(--planeacion-text, #334155);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	justify-content: space-between;
	list-style: none;
	padding: 12px 16px;
	transition: background-color 0.15s ease;
	user-select: none;
}

.logistica-pedidos-board__metrics .logistica-pedidos-metrics-period__head {
	align-items: center;
	display: inline-flex;
	flex: 1;
	gap: 8px;
	min-width: 0;
}

.logistica-pedidos-board__metrics .logistica-pedidos-metrics-period__chevron {
	color: #64748b;
	flex-shrink: 0;
	font-size: 20px;
	height: 20px;
	transition: transform 0.2s ease, color 0.15s ease;
	width: 20px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period[open] > summary .logistica-pedidos-metrics-period__chevron {
	color: var(--planeacion-brand, #0f766e);
	transform: rotate(180deg);
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period > summary:hover .logistica-pedidos-metrics-period__chevron {
	color: var(--planeacion-brand, #0f766e);
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period > summary:hover {
	background: var(--planeacion-surface, #f8fafc);
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period > summary::-webkit-details-marker {
	display: none;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period > summary .dashicons-chart-area {
	color: var(--planeacion-brand, #0f766e);
	flex-shrink: 0;
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period[open] > summary {
	border-bottom: 1px solid var(--planeacion-border, #e2e8f0);
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-pedidos-period .logistica-planeacion__metrics-compare-body {
	padding: 14px 16px 16px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-compare-hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 12px;
}

.logistica-pedidos-board__metrics .logistica-planeacion__metrics-charts--pedidos {
	margin-top: 0;
}

body.wp-admin .logistica-pedidos-board__ordenes-view .logistica-pedidos-board__styles-nav,
body.wp-admin .logistica-pedidos-board > .logistica-pedidos-board__styles-nav {
	top: 32px;
}

body.logistica-panel-page .logistica-pedidos-board__ordenes-view .logistica-pedidos-board__styles-nav,
body.logistica-panel-page .logistica-pedidos-board > .logistica-pedidos-board__styles-nav,
.logistica-admin.logistica-panel .logistica-pedidos-board__ordenes-view .logistica-pedidos-board__styles-nav,
.logistica-admin.logistica-panel .logistica-pedidos-board > .logistica-pedidos-board__styles-nav {
	margin-left: -22px;
	margin-right: -22px;
	margin-top: 0;
	padding-left: 22px;
	padding-right: 22px;
	box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.14);
	top: var(--logistica-nav-height, 0px);
	z-index: 550;
}

.logistica-pedidos-board__styles-nav .logistica-planeacion__machine-select-wrap {
	flex: 1 1 280px;
	min-width: 0;
}

.logistica-pedidos-board__main {
	background: #fff;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.logistica-pedidos-board [data-pedidos-board-sheet-title] {
	display: none;
}

.logistica-pedidos-board__main .logistica-pedidos-sheet[hidden] {
	display: none !important;
}

.logistica-close-toolbar.logistica-conversion-intro {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.logistica-pedidos-board__status {
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 12px;
}

.logistica-pedidos-board__status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.logistica-pedidos-board__placeholder {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	color: #64748b;
	padding: 24px;
}

.logistica-pedidos-section {
	margin-bottom: 28px;
}

.logistica-pedidos-section__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.logistica-pedidos-section__head--start {
	justify-content: flex-start;
}

.logistica-pedidos-board .logistica-pedidos-btn-add-oc,
.logistica-pedidos-board .logistica-pedidos-section__actions .button-primary,
.logistica-pedidos-board .logistica-pedidos-section__head--start .button-primary,
.logistica-pedidos-board .logistica-pedidos-board__toolbar-actions .button-primary {
	align-items: center;
	background: linear-gradient(180deg, #11968d 0%, #0f766e 100%);
	border: 1px solid #0d5f58;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	height: auto;
	line-height: 1.2;
	min-height: 36px;
	padding: 8px 14px;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-pedidos-board .logistica-pedidos-btn-add-oc .dashicons,
.logistica-pedidos-board .logistica-pedidos-section__head--start .button-primary .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-pedidos-board .logistica-pedidos-btn-add-oc:hover,
.logistica-pedidos-board .logistica-pedidos-btn-add-oc:focus,
.logistica-pedidos-board .logistica-pedidos-section__actions .button-primary:hover,
.logistica-pedidos-board .logistica-pedidos-section__actions .button-primary:focus,
.logistica-pedidos-board .logistica-pedidos-section__head--start .button-primary:hover,
.logistica-pedidos-board .logistica-pedidos-section__head--start .button-primary:focus,
.logistica-pedidos-board .logistica-pedidos-board__toolbar-actions .button-primary:hover,
.logistica-pedidos-board .logistica-pedidos-board__toolbar-actions .button-primary:focus {
	background: linear-gradient(180deg, #0f766e 0%, #0d5f58 100%);
	border-color: #0b4f49;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
	color: #ffffff;
}

.logistica-pedidos-section__head h3 {
	font-size: 1rem;
	margin: 0;
}

.logistica-pedidos-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-pedidos-hornitos__intro,
.logistica-pedidos-sheet__intro {
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 16px;
	max-width: 960px;
}

.logistica-pedidos-table-wrap {
	border: none;
	border-radius: 0;
	box-shadow: none;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	outline: none;
}

.logistica-pedidos-table-wrap:focus,
.logistica-pedidos-table-wrap:focus-visible {
	box-shadow: none;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-table {
	border-collapse: collapse;
	font-size: 12px;
	min-width: max-content;
	table-layout: auto;
	width: max-content;
}

.logistica-pedidos-board .logistica-pedidos-table th,
.logistica-pedidos-board .logistica-pedidos-table td {
	border: 1px solid #dbeafe;
	box-sizing: border-box;
	overflow: visible;
	padding: 6px 8px;
	text-overflow: clip;
	vertical-align: middle;
	white-space: normal;
	word-break: normal;
}

.logistica-pedidos-board .logistica-pedidos-table thead th {
	background: #13776d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	height: auto;
	line-height: 1.25;
	min-height: 0;
	min-width: 0;
	overflow: visible;
	overflow-wrap: normal;
	position: sticky;
	text-align: center;
	text-transform: none;
	top: 0;
	vertical-align: middle;
	white-space: nowrap;
	width: auto;
	word-break: normal;
	z-index: 1;
}

.logistica-pedidos-board .logistica-pedidos-table thead th:first-child {
	min-width: auto;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th {
	background: #13776d;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario .logistica-pedidos-table__group-head th {
	background: #0f5f57;
	line-height: 1.3;
	padding: 10px 12px;
	vertical-align: middle;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario .logistica-pedidos-table__group-head th[rowspan] {
	min-width: 132px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:last-child th:nth-child(n+10) {
	background: #ea580c;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(1),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(1) {
	min-width: 72px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(2),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(2) {
	min-width: 108px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(3),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(3),
.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(6),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(6),
.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(7),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(7),
.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(9),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(9) {
	min-width: 76px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(4),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(4) {
	min-width: 96px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(5),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(5) {
	min-width: 92px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(8),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(8) {
	min-width: 128px;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario thead tr:nth-child(2) th:nth-child(n+10),
.logistica-pedidos-board .logistica-pedidos-table--inventario tbody td:nth-child(n+10):not(.logistica-pedidos-table__actions-col) {
	min-width: 84px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__group-head th {
	background: #0f5f57;
	line-height: 1.3;
	padding: 10px 12px;
	vertical-align: middle;
}

.logistica-pedidos-board .logistica-pedidos-entregas-group-head__inner {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
}

.logistica-pedidos-board .logistica-pedidos-entrega-add-btn {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #0f5f57;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 16px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-pedidos-board .logistica-pedidos-entrega-add-btn:hover:not(:disabled),
.logistica-pedidos-board .logistica-pedidos-entrega-add-btn:focus:not(:disabled) {
	background: #ecfdf5;
	border-color: #ffffff;
	color: #0f766e;
}

.logistica-pedidos-board .logistica-pedidos-entrega-add-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-entrega-add-btn.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="cantidad"] {
	background: #1e4d8c;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="cantidad-finalizada"] {
	background: #047857;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="pendiente"] {
	background: #c2410c;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="cantidad"]:hover,
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="cantidad-finalizada"]:hover,
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="pendiente"]:hover {
	filter: brightness(1.08);
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead tr:last-child th.logistica-pedidos-entregas-subhead {
	background: #ea580c;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes td[data-pedidos-orden-parciales-wrap] {
	min-width: 240px;
	padding: 6px 8px;
	vertical-align: middle;
}

.logistica-pedidos-board .logistica-pedidos-parciales-row {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
}

.logistica-pedidos-board .logistica-pedidos-parcial-pair {
	align-items: flex-end;
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	gap: 6px;
}

.logistica-pedidos-board .logistica-pedidos-parcial-pair__label {
	color: #475569;
	display: block;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-parcial-pair__field {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: 2px;
	min-width: 72px;
}

.logistica-pedidos-board .logistica-pedidos-parcial-pair__field input.logistica-pedidos-orden-parcial-cell {
	min-width: 0;
	width: 72px;
}

.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn {
	flex-shrink: 0;
	margin-bottom: 1px;
}

.logistica-pedidos-board .logistica-pedidos-parcial-controls {
	align-items: center;
	border-left: 1px solid rgba(148, 163, 184, 0.35);
	display: inline-flex;
	flex-shrink: 0;
	gap: 4px;
	margin-left: auto;
	padding-left: 8px;
}

.logistica-pedidos-board .logistica-pedidos-parcial-slot-btn {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #0f5f57;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 16px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-pedidos-board .logistica-pedidos-parcial-slot-btn:hover:not(:disabled),
.logistica-pedidos-board .logistica-pedidos-parcial-slot-btn:focus:not(:disabled) {
	background: #ecfdf5;
	border-color: #14b8a6;
	color: #0f766e;
}

.logistica-pedidos-board .logistica-pedidos-parcial-slot-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-parcial-slot-btn.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead tr:nth-child(2) th.logistica-pedidos-entregas-subhead,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-parciales-wrap] {
	min-width: 84px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes td[data-pedidos-orden-total-entregado] {
	font-weight: 700;
	min-width: 96px;
	text-align: center;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot .logistica-pedidos-table__totals td {
	background: #ecfdf5;
	border-top: 2px solid #99f6e4;
	font-weight: 700;
	padding: 10px 8px;
	vertical-align: middle;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot .logistica-pedidos-table__totals-label {
	color: #0f5f57;
	text-align: left;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot [data-pedidos-orden-total-cantidad] {
	background: #dbeafe;
	color: #1e3a8a;
	text-align: right;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot [data-pedidos-orden-total-cantidad-finalizada] {
	background: #d1fae5;
	color: #065f46;
	text-align: right;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot [data-pedidos-orden-total-pendiente] {
	background: #ffedd5;
	color: #9a3412;
	text-align: right;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot [data-pedidos-orden-total-entregado] {
	background: #eef2ff;
	color: #1e293b;
	text-align: center;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tfoot .logistica-pedidos-table__actions-col {
	background: #ecfdf5;
	box-shadow: -4px 0 10px rgba(15, 23, 42, 0.08);
	position: sticky;
	right: 0;
	z-index: 2;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(4),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(4) {
	min-width: 180px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(5),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(5) {
	min-width: 160px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes select[data-field="articulo"] {
	min-width: 168px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(1),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(1),
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(3),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(3),
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(6),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(6),
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(7),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(7),
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(8),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(8) {
	min-width: 132px;
}

.logistica-pedidos-board .logistica-pedidos-pct-field {
	align-items: center;
	display: inline-flex;
	gap: 2px;
	justify-content: flex-end;
	white-space: nowrap;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-pct-field__sign,
.logistica-pedidos-board .logistica-pedidos-pct-field__suffix {
	color: #64748b;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
}

.logistica-pedidos-board .logistica-pedidos-pct-field__input {
	flex: 0 1 56px;
	min-width: 40px;
	text-align: right;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(9),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(9),
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(11),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(11) {
	min-width: 96px;
}

.logistica-pedidos-oc-modal__field input[data-field="cantidad_maxima_recibida"] {
	max-width: 120px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes td[data-pedidos-orden-cantidad-finalizada],
.logistica-pedidos-board .logistica-pedidos-table--ordenes td[data-pedidos-orden-pendiente] {
	padding-top: 3px;
	padding-bottom: 3px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-cantidad] {
	box-shadow: inset 3px 0 0 #1e4d8c;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-cantidad-finalizada] {
	box-shadow: inset 3px 0 0 #047857;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-pendiente] {
	box-shadow: inset 3px 0 0 #c2410c;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-wrap {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-finalizada-accuracy {
	border-radius: 6px;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	max-width: 100%;
	padding: 2px 6px;
	white-space: normal;
}

.logistica-pedidos-board .logistica-pedidos-finalizada-accuracy.is-within-tolerance {
	background: #ecfdf5;
	color: #047857;
}

.logistica-pedidos-board .logistica-pedidos-finalizada-accuracy.is-over-tolerance {
	background: #fff7ed;
	color: #c2410c;
}

.logistica-pedidos-board .logistica-pedidos-finalizada-accuracy.is-empty {
	display: none;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-field {
	align-items: center;
	display: flex;
	gap: 4px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-field input[data-field="cantidad_entregada"] {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn {
	flex-shrink: 0;
	height: 28px;
	min-height: 28px;
	min-width: 28px;
	width: 28px;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn .dashicons {
	font-size: 14px;
	height: 14px;
	line-height: 14px;
	width: 14px;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn.is-disabled,
.logistica-pedidos-board .logistica-pedidos-op-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-op-btn.is-disabled,
.logistica-pedidos-board .logistica-pedidos-fa-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-fa-btn.is-disabled,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:disabled,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn.is-disabled {
	background: #9ca3af !important;
	border-color: #9ca3af !important;
	box-shadow: none;
	color: #ffffff !important;
	cursor: not-allowed;
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn.is-disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-op-btn:disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-op-btn.is-disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-fa-btn:disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-fa-btn.is-disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:disabled .dashicons,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn.is-disabled .dashicons {
	color: #ffffff !important;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-op-btn:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-fa-btn:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-table__actions-col [data-action="pedidos-edit-orden-linea"]:not(:disabled):not(.is-disabled) {
	background: #111827 !important;
	border-color: #111827 !important;
	color: #ffffff !important;
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:not(:disabled):not(.is-disabled) .dashicons,
.logistica-pedidos-board .logistica-pedidos-op-btn:not(:disabled):not(.is-disabled) .dashicons,
.logistica-pedidos-board .logistica-pedidos-fa-btn:not(:disabled):not(.is-disabled) .dashicons,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:not(:disabled):not(.is-disabled) .dashicons,
.logistica-pedidos-board .logistica-pedidos-table__actions-col [data-action="pedidos-edit-orden-linea"]:not(:disabled):not(.is-disabled) .dashicons {
	color: #ffffff !important;
}

.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:not(:disabled):not(.is-disabled):hover,
.logistica-pedidos-board .logistica-pedidos-cantidad-finalizada-btn:not(:disabled):not(.is-disabled):focus,
.logistica-pedidos-board .logistica-pedidos-op-btn:not(:disabled):not(.is-disabled):hover,
.logistica-pedidos-board .logistica-pedidos-op-btn:not(:disabled):not(.is-disabled):focus,
.logistica-pedidos-board .logistica-pedidos-fa-btn:not(:disabled):not(.is-disabled):hover,
.logistica-pedidos-board .logistica-pedidos-fa-btn:not(:disabled):not(.is-disabled):focus,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:not(:disabled):not(.is-disabled):hover,
.logistica-pedidos-board .logistica-pedidos-parcial-edit-btn:not(:disabled):not(.is-disabled):focus,
.logistica-pedidos-board .logistica-pedidos-table__actions-col [data-action="pedidos-edit-orden-linea"]:not(:disabled):not(.is-disabled):hover,
.logistica-pedidos-board .logistica-pedidos-table__actions-col [data-action="pedidos-edit-orden-linea"]:not(:disabled):not(.is-disabled):focus {
	background: #000000 !important;
	border-color: #000000 !important;
	color: #ffffff !important;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-op] {
	min-width: 88px;
}

.logistica-pedidos-board .logistica-pedidos-op-field {
	align-items: center;
	display: flex;
	gap: 4px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-op-field input[data-field="op"] {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-op-field.is-op-pending input[data-field="op"] {
	background: #fffbeb;
	border-color: #f59e0b;
	color: #92400e;
	cursor: pointer;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-fecha-aprobacion] {
	min-width: 108px;
}

.logistica-pedidos-board .logistica-pedidos-fa-field {
	align-items: center;
	display: flex;
	gap: 4px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-fa-field input[data-field="fecha_aprobacion"] {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-fa-field.is-fa-pending input[data-field="fecha_aprobacion"] {
	background: #fffbeb;
	border-color: #f59e0b;
	color: #92400e;
	cursor: pointer;
}

.logistica-pedidos-board .logistica-pedidos-fa-btn {
	flex-shrink: 0;
	height: 28px;
	min-height: 28px;
	min-width: 28px;
	padding: 0;
	width: 28px;
}

.logistica-pedidos-board .logistica-pedidos-op-btn {
	flex-shrink: 0;
	height: 28px;
	min-height: 28px;
	min-width: 28px;
	width: 28px;
}

.logistica-pedidos-board .logistica-pedidos-op-btn .dashicons {
	font-size: 14px;
	height: 14px;
	line-height: 14px;
	width: 14px;
}

.logistica-pedidos-board .logistica-pedidos-table input.is-computed-locked {
	cursor: default;
	font-weight: 600;
	text-align: right;
}

.logistica-pedidos-board .logistica-pedidos-table input.is-computed-editable {
	background: #ecfdf5;
	border: 1px solid #14b8a6;
	border-radius: 6px;
	box-sizing: border-box;
	color: #0f172a;
	cursor: text;
	font-weight: 600;
	text-align: right;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-table input.is-computed-editable:focus {
	background: #f0fdfa;
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th:nth-child(2),
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td:nth-child(2) {
	min-width: 108px;
}

.logistica-pedidos-board .logistica-pedidos-table tbody td {
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
	background: transparent;
	color: inherit;
	min-height: auto;
}

.logistica-conversion-board.logistica-pedidos-board .logistica-pedidos-table thead th {
	height: auto;
	min-height: 0;
	overflow: visible;
	overflow-wrap: normal;
	vertical-align: middle;
	white-space: nowrap;
	word-break: normal;
}

.logistica-conversion-board.logistica-pedidos-board .logistica-pedidos-table thead th:first-child {
	min-width: auto;
	width: auto;
}

.logistica-conversion-board.logistica-pedidos-board .logistica-sheet .logistica-pedidos-table {
	min-width: max-content;
	table-layout: auto;
	width: max-content;
}

.logistica-pedidos-board .logistica-pedidos-table--inventario tbody tr:nth-child(even) {
	background: #f8fafc;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr:nth-child(even):not([class*="is-estado-"]) {
	background: #f8fafc;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-sin-confirmar {
	background: #f1f5f9;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-aprobado {
	background: #dbeafe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-programado {
	background: #e0e7ff;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-conversion {
	background: #ede9fe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-impresion {
	background: #cffafe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-troquelado {
	background: #f3e8ff;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-descartone {
	background: #fef9c3;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-formado {
	background: #ecfccb;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-embalaje {
	background: #ccfbf1;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-despacho,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-despacho {
	background: #ffedd5;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-entregado,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-entregado {
	background: #dcfce7;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-finalizado {
	background: #d1fae5;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-cancelado {
	background: #ffe4e6;
}

.logistica-pedidos-board .logistica-pedidos-table tbody tr.is-en-produccion {
	box-shadow: inset 3px 0 0 #22c55e;
}

.logistica-pedidos-board .logistica-pedidos-table td.is-auto {
	background: #eef2ff;
	color: #1e293b;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-table input[type="date"],
.logistica-pedidos-board .logistica-pedidos-table select,
.logistica-pedidos-board .logistica-pedidos-table input[type="text"],
.logistica-pedidos-board .logistica-pedidos-table input[inputmode="numeric"] {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
	min-height: 30px;
	min-width: 0;
	padding: 4px 6px;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-table input[type="date"] {
	min-width: 132px;
}

.logistica-pedidos-board .logistica-pedidos-table input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.75;
}

.logistica-pedidos-board .logistica-pedidos-table input[type="date"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-table input:focus,
.logistica-pedidos-board .logistica-pedidos-table select:focus {
	border-color: #13776d;
	box-shadow: 0 0 0 1px #13776d;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-table input:disabled,
.logistica-pedidos-board .logistica-pedidos-table input.is-disabled {
	background: #fff;
	border: 1px dashed #94a3b8;
	color: #64748b;
	cursor: not-allowed;
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td.logistica-pedidos-orden-parcial-cell,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td[data-pedidos-orden-parciales-wrap] .logistica-pedidos-orden-parcial-cell {
	background: transparent;
}

.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_cantidad"],
.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_factura"] {
	background: #fff;
	border: 1px solid #64748b;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_cantidad"]:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_factura"]:not(:disabled):not(.is-disabled) {
	background: #ecfdf5;
	border-color: #14b8a6;
	box-shadow: none;
}

.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_cantidad"]:not(:disabled):not(.is-disabled):focus,
.logistica-pedidos-board .logistica-pedidos-table input[data-field="parcial_factura"]:not(:disabled):not(.is-disabled):focus {
	background: #f0fdfa;
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.logistica-pedidos-board .logistica-pedidos-table tbody tr.is-despacho input[data-field="parcial_cantidad"]:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-table tbody tr.is-despacho input[data-field="parcial_factura"]:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-table tbody tr.is-entregado input[data-field="parcial_cantidad"]:not(:disabled):not(.is-disabled),
.logistica-pedidos-board .logistica-pedidos-table tbody tr.is-entregado input[data-field="parcial_factura"]:not(:disabled):not(.is-disabled) {
	border-color: #0f766e;
}

.logistica-pedidos-board .logistica-pedidos-table__actions-col {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-start;
	min-width: 132px;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes th.logistica-pedidos-table__actions-col,
.logistica-pedidos-board .logistica-pedidos-table--ordenes td.logistica-pedidos-table__actions-col {
	box-sizing: border-box;
	display: table-cell;
	max-width: 80px;
	min-width: 80px;
	padding: 8px 4px;
	position: sticky;
	right: 0;
	text-align: center;
	vertical-align: middle;
	width: 80px;
	z-index: 2;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-table__actions-col {
	background: #0f5f57;
	box-shadow: -4px 0 10px rgba(15, 23, 42, 0.14);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 10px 4px;
	text-align: center;
	z-index: 4;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody td.logistica-pedidos-table__actions-col {
	background: #f8fafc;
	border-left: 1px solid rgba(148, 163, 184, 0.45);
	box-shadow: -4px 0 10px rgba(15, 23, 42, 0.08);
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-sin-confirmar td.logistica-pedidos-table__actions-col {
	background: #f1f5f9;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-aprobado td.logistica-pedidos-table__actions-col {
	background: #dbeafe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-programado td.logistica-pedidos-table__actions-col {
	background: #e0e7ff;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-conversion td.logistica-pedidos-table__actions-col {
	background: #ede9fe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-impresion td.logistica-pedidos-table__actions-col {
	background: #cffafe;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-troquelado td.logistica-pedidos-table__actions-col {
	background: #f3e8ff;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-descartone td.logistica-pedidos-table__actions-col {
	background: #fef9c3;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-formado td.logistica-pedidos-table__actions-col {
	background: #ecfccb;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-embalaje td.logistica-pedidos-table__actions-col {
	background: #ccfbf1;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-despacho td.logistica-pedidos-table__actions-col,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-despacho td.logistica-pedidos-table__actions-col {
	background: #ffedd5;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-entregado td.logistica-pedidos-table__actions-col,
.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-entregado td.logistica-pedidos-table__actions-col {
	background: #dcfce7;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-finalizado td.logistica-pedidos-table__actions-col {
	background: #d1fae5;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr.is-estado-cancelado td.logistica-pedidos-table__actions-col {
	background: #ffe4e6;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes tbody tr:nth-child(even):not([class*="is-estado-"]) td.logistica-pedidos-table__actions-col {
	background: #f8fafc;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__actions-col .logistica-table-icon-btn,
.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__actions-col .button.button-small.logistica-table-icon-btn {
	box-sizing: border-box;
	display: inline-flex;
	flex-shrink: 0;
	height: 32px;
	line-height: 0;
	margin: 0;
	min-height: 32px;
	min-width: 32px;
	padding: 0;
	vertical-align: middle;
	width: 32px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__actions-col .logistica-table-icon-btn + .logistica-table-icon-btn,
.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__actions-col .button.button-small.logistica-table-icon-btn + .button.button-small.logistica-table-icon-btn {
	margin-left: 4px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes .logistica-pedidos-table__actions-col .logistica-table-icon-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-pedidos-board .logistica-pedidos-table__actions-col .button:not(.logistica-table-icon-btn),
.logistica-pedidos-board .logistica-pedidos-table__actions-col button.button:not(.logistica-table-icon-btn) {
	appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 30px;
	padding: 4px 10px;
}

.logistica-pedidos-board .logistica-pedidos-table__actions-col .button:not(.logistica-table-icon-btn):hover,
.logistica-pedidos-board .logistica-pedidos-table__actions-col .button:not(.logistica-table-icon-btn):focus,
.logistica-pedidos-board .logistica-pedidos-table__actions-col button.button:not(.logistica-table-icon-btn):hover,
.logistica-pedidos-board .logistica-pedidos-table__actions-col button.button:not(.logistica-table-icon-btn):focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

.logistica-pedidos-board .logistica-pedidos-table__actions-col .logistica-table-icon-btn {
	flex-shrink: 0;
}

.logistica-pedidos-board .logistica-pedidos-section__actions .button:not(.button-primary),
.logistica-pedidos-board .logistica-pedidos-board__toolbar-actions .button:not(.button-primary) {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #334155;
}

.logistica-pedidos-board .logistica-pedidos-stock-cell {
	align-items: stretch;
	display: flex;
	gap: 6px;
}

.logistica-pedidos-board .logistica-pedidos-stock-cell input {
	flex: 1 1 auto;
	min-width: 72px;
}

.logistica-pedidos-board .logistica-pedidos-stock-actions {
	display: inline-flex;
	flex-shrink: 0;
	gap: 4px;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn {
	align-items: center;
	appearance: none;
	border-radius: 8px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-family: inherit;
	height: 32px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-height: 32px;
	min-width: 32px;
	padding: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	width: 32px;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--minus {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	box-shadow: 0 1px 2px rgba(190, 18, 60, 0.08);
	color: #be123c;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--minus span {
	margin-top: -1px;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--minus:hover,
.logistica-pedidos-board .logistica-pedidos-stock-btn--minus:focus {
	background: #ffe4e6;
	border-color: #fda4af;
	box-shadow: 0 0 0 1px #fda4af;
	color: #9f1239;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--minus:active {
	background: #fecdd3;
	transform: scale(0.96);
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--plus {
	background: #13776d;
	border: 1px solid #0f635b;
	box-shadow: 0 1px 2px rgba(19, 119, 109, 0.24);
	color: #ffffff;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--plus:hover,
.logistica-pedidos-board .logistica-pedidos-stock-btn--plus:focus {
	background: #0f635b;
	border-color: #0b524b;
	box-shadow: 0 0 0 1px #0b524b;
	color: #ffffff;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-stock-btn--plus:active {
	background: #0b524b;
	transform: scale(0.96);
}

.logistica-pedidos-board .logistica-pedidos-table input.is-modal-locked,
.logistica-pedidos-board .logistica-pedidos-table input.is-modal-locked:focus {
	background: #f8fafc;
	border-color: #e2e8f0;
	box-shadow: none;
	color: #334155;
	cursor: default;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-locked-value {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-sizing: border-box;
	color: #334155;
	cursor: default;
	display: block;
	font: inherit;
	min-height: 30px;
	padding: 4px 6px;
	pointer-events: none;
	user-select: none;
	width: 100%;
}


.logistica-pedidos-board .logistica-pedidos-table input.is-sync-readonly {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #475569;
	cursor: default;
}

.logistica-pedidos-board .logistica-pedidos-table input.is-sync-readonly:focus {
	border-color: #e2e8f0;
	box-shadow: none;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-section__hint {
	color: #64748b;
	font-size: 13px;
	margin: 4px 0 0;
}

.logistica-pedidos-board .logistica-pedidos-stock-disponible {
	color: #64748b;
	display: block;
	font-size: 11px;
	margin-top: 4px;
}

.logistica-pedidos-board .logistica-pedidos-table__empty td {
	color: #64748b;
	padding: 18px;
	text-align: center;
}

body.logistica-pedidos-oc-modal-open {
	overflow: hidden;
}

.logistica-pedidos-oc-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100050;
}

.logistica-pedidos-oc-modal[hidden] {
	display: none;
}

.logistica-pedidos-oc-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-oc-modal__panel {
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 48px);
	max-width: 560px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-pedidos-oc-modal__head {
	align-items: center;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	flex-shrink: 0;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 14px;
}

.logistica-pedidos-oc-modal__head h3 {
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.logistica-pedidos-oc-modal__close {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 20px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	width: 36px;
}

.logistica-pedidos-oc-modal__close:hover,
.logistica-pedidos-oc-modal__close:focus {
	background: #fef2f2;
	border-color: #fca5a5;
	box-shadow: 0 1px 3px rgba(185, 28, 28, 0.12);
	color: #b91c1c;
	outline: none;
}

.logistica-pedidos-oc-modal__form {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.logistica-pedidos-oc-modal__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

.logistica-pedidos-oc-modal__grid {
	display: grid;
	flex: none;
	gap: 12px 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 0;
	overflow: visible;
	padding: 14px 16px 0;
}

.logistica-pedidos-oc-modal__grid--header {
	flex-shrink: 0;
	padding-bottom: 4px;
}

.logistica-pedidos-oc-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.logistica-pedidos-oc-modal__field--full {
	grid-column: 1 / -1;
}

.logistica-pedidos-oc-modal__field span {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

.logistica-pedidos-oc-cliente-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.logistica-pedidos-oc-cliente-field__row {
	align-items: stretch;
	display: flex;
	gap: 8px;
	width: 100%;
}

.logistica-pedidos-oc-cliente-field__row select {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-pedidos-oc-cliente-field__edit {
	flex-shrink: 0;
	min-width: 36px !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
	width: 36px;
}

.logistica-pedidos-oc-cliente-field__edit .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-pedidos-oc-cliente-field__manage {
	appearance: none;
	background: none;
	border: 0;
	color: #0f766e;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	padding: 0;
	text-align: left;
	text-decoration: underline;
}

.logistica-pedidos-oc-cliente-field__manage:hover,
.logistica-pedidos-oc-cliente-field__manage:focus {
	color: #0b5e58;
	outline: none;
}

.logistica-pedidos-oc-cliente-field input[data-field="cliente"][hidden] {
	display: none !important;
}

.logistica-pedidos-oc-modal__field input,
.logistica-pedidos-oc-modal__field select {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	min-height: 36px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-pedidos-oc-modal__field input:focus,
.logistica-pedidos-oc-modal__field select:focus {
	border-color: #13776d;
	box-shadow: 0 0 0 1px #13776d;
	outline: none;
}

.logistica-pedidos-oc-modal__error {
	color: #b91c1c;
	font-size: 13px;
	margin: 14px 18px 0;
}

.logistica-pedidos-oc-modal__linea-toolbar {
	align-items: center;
	border-top: 1px dashed #cbd5e1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	margin: 0 16px;
	padding: 12px 0 14px;
}

.logistica-pedidos-oc-modal__lineas-count {
	color: #0f766e;
	font-size: 12px;
	font-weight: 600;
	margin: 0;
}

.logistica-pedidos-oc-modal__add-linea {
	min-width: 0 !important;
	white-space: nowrap;
}

.logistica-pedidos-oc-modal__grid--linea {
	border-top: 1px solid #e2e8f0;
	margin-top: 0;
	padding: 12px 16px 0;
}

.logistica-pedidos-oc-modal [data-pedidos-oc-header].is-locked input,
.logistica-pedidos-oc-modal [data-pedidos-oc-header].is-locked select {
	background: #f1f5f9;
	color: #475569;
	cursor: not-allowed;
}

.logistica-pedidos-oc-modal__foot {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	flex-shrink: 0;
	margin-top: 0;
	padding: 14px 18px;
}

.logistica-pedidos-oc-modal__foot .logistica-planeacion__modal-actions {
	margin-left: auto;
}

.logistica-pedidos-oc-modal .logistica-planeacion__btn--modal {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 38px;
	min-width: 120px;
	padding: 8px 16px;
	text-shadow: none !important;
}

.logistica-pedidos-oc-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal {
	background: #fff !important;
	border: 1px solid #94a3b8 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	color: #1e293b !important;
}

.logistica-pedidos-oc-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-oc-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:focus:not(:disabled) {
	background: #ecfdf5 !important;
	border-color: #0f766e !important;
	color: #0b5e58 !important;
}

.logistica-pedidos-oc-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal,
.logistica-pedidos-oc-modal button[type="submit"].logistica-planeacion__btn--primary {
	background: linear-gradient(180deg, #11968d 0%, #0f766e 100%) !important;
	border: 1px solid #0b5e58 !important;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.24) !important;
	color: #fff !important;
}

.logistica-pedidos-oc-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-oc-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:focus:not(:disabled),
.logistica-pedidos-oc-modal button[type="submit"].logistica-planeacion__btn--primary:hover:not(:disabled),
.logistica-pedidos-oc-modal button[type="submit"].logistica-planeacion__btn--primary:focus:not(:disabled) {
	background: linear-gradient(180deg, #0f766e 0%, #0b5e58 100%) !important;
	border-color: #0b5e58 !important;
	box-shadow: 0 6px 16px rgba(15, 118, 110, 0.32) !important;
	color: #fff !important;
}

@media (max-width: 600px) {
	.logistica-pedidos-oc-modal__grid {
		grid-template-columns: 1fr;
	}

	.logistica-pedidos-oc-modal__field--full {
		grid-column: auto;
	}
}

body.logistica-pedidos-cliente-modal-open {
	overflow: hidden;
}

.logistica-pedidos-cliente-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100052;
}

.logistica-pedidos-cliente-modal[hidden] {
	display: none;
}

.logistica-pedidos-cliente-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-cliente-modal__panel {
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 48px);
	max-width: 480px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-pedidos-cliente-modal__head {
	align-items: center;
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	flex-shrink: 0;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 14px;
}

.logistica-pedidos-cliente-modal__head h3 {
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.logistica-pedidos-cliente-modal__close {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 20px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 34px;
}

.logistica-pedidos-cliente-modal__form {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow-y: auto;
	padding: 14px 16px 0;
}

.logistica-pedidos-cliente-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.logistica-pedidos-cliente-modal__field--full {
	grid-column: 1 / -1;
}

.logistica-pedidos-cliente-modal__field span {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

.logistica-pedidos-cliente-modal__field input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	min-height: 36px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-pedidos-cliente-modal__error {
	color: #b91c1c;
	font-size: 13px;
	grid-column: 1 / -1;
	margin: 0;
}

.logistica-pedidos-cliente-modal__foot {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	grid-column: 1 / -1;
	margin-top: 8px;
	padding: 12px 0 14px;
}

body.logistica-pedidos-cf-modal-open {
	overflow: hidden;
}

.logistica-pedidos-cf-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100055;
}

.logistica-pedidos-cf-modal[hidden] {
	display: none;
}

.logistica-pedidos-cf-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-cf-modal__panel {
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-width: 420px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-pedidos-cf-modal__head {
	align-items: center;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-pedidos-cf-modal__head h3 {
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.logistica-pedidos-cf-modal__close {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 20px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 36px;
}

.logistica-pedidos-cf-modal__close:hover,
.logistica-pedidos-cf-modal__close:focus {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
	outline: none;
}

.logistica-pedidos-cf-modal__form {
	display: flex;
	flex-direction: column;
	padding: 18px;
}

.logistica-pedidos-cf-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.logistica-pedidos-cf-modal__field span {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

.logistica-pedidos-cf-modal__field input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 10px;
	text-align: right;
	width: 100%;
}

.logistica-pedidos-cf-modal__field input:focus {
	border-color: #13776d;
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.15);
	outline: none;
}

.logistica-pedidos-cf-modal__hint {
	color: #64748b;
	font-size: 12px;
	margin: 10px 0 0;
}

.logistica-pedidos-cf-modal__error {
	color: #b91c1c;
	font-size: 13px;
	margin: 10px 0 0;
}

.logistica-pedidos-cf-modal__foot {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	margin: 16px -18px -18px;
	padding: 14px 18px;
}

.logistica-pedidos-cf-modal .logistica-planeacion__btn--modal {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 38px;
	min-width: 120px;
	padding: 8px 16px;
	text-shadow: none !important;
}

.logistica-pedidos-cf-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal {
	background: #fff !important;
	border: 1px solid #94a3b8 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	color: #1e293b !important;
}

.logistica-pedidos-cf-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-cf-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:focus:not(:disabled) {
	background: #ecfdf5 !important;
	border-color: #0f766e !important;
	color: #0b5e58 !important;
}

.logistica-pedidos-cf-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal,
.logistica-pedidos-cf-modal button[type="submit"].logistica-planeacion__btn--primary {
	background: linear-gradient(180deg, #11968d 0%, #0f766e 100%) !important;
	border: 1px solid #0b5e58 !important;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.24) !important;
	color: #fff !important;
}

.logistica-pedidos-cf-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-cf-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:focus:not(:disabled),
.logistica-pedidos-cf-modal button[type="submit"].logistica-planeacion__btn--primary:hover:not(:disabled),
.logistica-pedidos-cf-modal button[type="submit"].logistica-planeacion__btn--primary:focus:not(:disabled) {
	background: linear-gradient(180deg, #0f766e 0%, #0b5e58 100%) !important;
	border-color: #0b5e58 !important;
	box-shadow: 0 6px 16px rgba(15, 118, 110, 0.32) !important;
	color: #fff !important;
}

body.logistica-pedidos-op-modal-open {
	overflow: hidden;
}

.logistica-pedidos-op-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100055;
}

.logistica-pedidos-op-modal[hidden] {
	display: none;
}

.logistica-pedidos-op-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-op-modal__panel {
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	max-width: 420px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-pedidos-op-modal__head {
	align-items: center;
	background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
	border-bottom: 1px solid #d7ebe8;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-pedidos-op-modal__head h3 {
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.logistica-pedidos-op-modal__close {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 20px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 36px;
}

.logistica-pedidos-op-modal__close:hover,
.logistica-pedidos-op-modal__close:focus {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
	outline: none;
}

.logistica-pedidos-op-modal__form {
	display: flex;
	flex-direction: column;
	padding: 18px;
}

.logistica-pedidos-op-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.logistica-pedidos-op-modal__field span {
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

.logistica-pedidos-op-modal__field input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 10px;
	width: 100%;
}

.logistica-pedidos-op-modal__field input:focus {
	border-color: #13776d;
	box-shadow: 0 0 0 2px rgba(19, 119, 109, 0.15);
	outline: none;
}

.logistica-pedidos-op-modal__hint {
	color: #64748b;
	font-size: 12px;
	margin: 10px 0 0;
}

.logistica-pedidos-op-modal__error {
	color: #b91c1c;
	font-size: 13px;
	margin: 10px 0 0;
}

.logistica-pedidos-op-modal__foot {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	margin: 16px -18px -18px;
	padding: 14px 18px;
}

.logistica-pedidos-op-modal .logistica-planeacion__btn--modal {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 38px;
	min-width: 120px;
	padding: 8px 16px;
	text-shadow: none !important;
}

.logistica-pedidos-op-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal {
	background: #fff !important;
	border: 1px solid #94a3b8 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	color: #1e293b !important;
}

.logistica-pedidos-op-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-op-modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:focus:not(:disabled) {
	background: #ecfdf5 !important;
	border-color: #0f766e !important;
	color: #0b5e58 !important;
}

.logistica-pedidos-op-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal,
.logistica-pedidos-op-modal button[type="submit"].logistica-planeacion__btn--primary {
	background: linear-gradient(180deg, #11968d 0%, #0f766e 100%) !important;
	border: 1px solid #0b5e58 !important;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.24) !important;
	color: #fff !important;
}

.logistica-pedidos-op-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-pedidos-op-modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:focus:not(:disabled),
.logistica-pedidos-op-modal button[type="submit"].logistica-planeacion__btn--primary:hover:not(:disabled),
.logistica-pedidos-op-modal button[type="submit"].logistica-planeacion__btn--primary:focus:not(:disabled) {
	background: linear-gradient(180deg, #0f766e 0%, #0b5e58 100%) !important;
	border-color: #0b5e58 !important;
	box-shadow: 0 6px 16px rgba(15, 118, 110, 0.32) !important;
	color: #fff !important;
}

body.logistica-pedidos-parcial-modal-open {
	overflow: hidden;
}

.logistica-pedidos-parcial-modal {
	inset: 0;
	position: fixed;
	z-index: 100060;
}

.logistica-pedidos-parcial-modal[hidden] {
	display: none !important;
}

.logistica-pedidos-parcial-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-parcial-modal__panel {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
	left: 50%;
	max-width: 420px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.logistica-pedidos-parcial-modal__head,
.logistica-pedidos-parcial-modal__form,
.logistica-pedidos-parcial-modal__foot {
	padding: 16px 20px;
}

.logistica-pedidos-parcial-modal__head {
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
}

.logistica-pedidos-parcial-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}

.logistica-pedidos-parcial-modal__field input {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 10px;
}

.logistica-pedidos-parcial-modal__hint {
	color: #64748b;
	font-size: 12px;
	margin: 0 0 8px;
}

.logistica-pedidos-parcial-modal__error {
	color: #b91c1c;
	font-size: 12px;
	margin: 0;
}

body.logistica-pedidos-error-modal-open {
	overflow: hidden;
}

.logistica-pedidos-error-modal {
	inset: 0;
	position: fixed;
	z-index: 100070;
}

.logistica-pedidos-error-modal[hidden] {
	display: none !important;
}

.logistica-pedidos-error-modal__backdrop {
	background: rgba(15, 23, 42, 0.5);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-error-modal__panel {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
	left: 50%;
	max-width: 460px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.logistica-pedidos-error-modal__head {
	align-items: center;
	border-bottom: 1px solid #fecaca;
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
}

.logistica-pedidos-error-modal__head h3 {
	color: #b91c1c;
	margin: 0;
}

.logistica-pedidos-error-modal__body {
	color: #334155;
	padding: 16px 20px;
}

.logistica-pedidos-error-modal__body p {
	margin: 0;
}

.logistica-pedidos-error-modal__foot {
	padding: 12px 20px 16px;
}

/* Revisión minuta */
.logistica-minutas-toolbar {
	margin-bottom: 16px;
}

.logistica-minutas-toolbar__intro {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.logistica-minutas-toolbar__badge {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 12px;
	color: #0f766e;
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.logistica-minutas-toolbar__badge .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.logistica-minutas-stats {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin: 0 0 16px;
}

.logistica-minutas-stat {
	background: #fff;
	border: 1px solid #dbeafe;
	border-radius: 10px;
	padding: 12px 14px;
}

.logistica-minutas-stat.is-alert {
	border-color: #fecaca;
	background: #fff5f5;
}

.logistica-minutas-stat.is-warn {
	border-color: #fde68a;
	background: #fffbeb;
}

.logistica-minutas-stat.is-pending {
	border-color: #bbf7d0;
	background: #f0fdf4;
}

.logistica-minutas-stat__value {
	color: #0f172a;
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}

.logistica-minutas-stat__label {
	color: #64748b;
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.logistica-minutas-table-wrap .logistica-minutas-table td,
.logistica-minutas-table-wrap .logistica-minutas-table th {
	font-size: 12px;
}

.logistica-minutas-table.logistica-tapas-excel-table {
	border-collapse: collapse;
	min-width: 2200px;
	table-layout: auto;
	width: 100%;
}

.logistica-minutas-table.logistica-tapas-excel-table thead th,
.logistica-minutas-table.logistica-tapas-excel-table tbody td,
.logistica-minutas-table.logistica-tapas-excel-table tfoot th,
.logistica-minutas-table.logistica-tapas-excel-table tfoot td {
	border: 1px solid #cbd5e1;
	padding: 8px 10px;
	vertical-align: middle;
}

.logistica-minutas-table.logistica-tapas-excel-table thead th {
	background: #dbeafe;
	border-bottom: 2px solid #93c5fd;
	color: #1e3a8a;
	font-size: 11px;
	font-weight: 700;
	position: sticky;
	text-align: center;
	top: 0;
	white-space: normal;
	z-index: 2;
}

.logistica-minutas-table.logistica-tapas-excel-table tbody td {
	background: #fff;
	text-align: right;
	white-space: nowrap;
}

.logistica-minutas-table.logistica-tapas-excel-table tbody td.is-text,
.logistica-minutas-table.logistica-tapas-excel-table thead th.is-text,
.logistica-minutas-table.logistica-tapas-excel-table tfoot th.is-text,
.logistica-minutas-table.logistica-tapas-excel-table tfoot td.is-text {
	text-align: left;
	white-space: normal;
	word-break: break-word;
}

.logistica-minutas-table.logistica-tapas-excel-table tbody td.is-copy-cell {
	padding: 4px 6px;
}

.logistica-minutas-table .logistica-minutas-copy-input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #0f172a;
	cursor: pointer;
	display: block;
	font-size: 12px;
	line-height: 1.3;
	min-height: 28px;
	min-width: 48px;
	padding: 4px 8px;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-minutas-table .logistica-minutas-copy-input.is-num {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.logistica-minutas-table .is-col-minuta .logistica-minutas-copy-input {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 600;
}

.logistica-minutas-table .logistica-minutas-copy-input:hover,
.logistica-minutas-table .logistica-minutas-copy-input:focus,
.logistica-minutas-table td[data-minutas-nav-cell][tabindex]:focus,
.logistica-minutas-table .is-minutas-cell-focused {
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-minutas-table td[data-minutas-nav-cell][tabindex]:focus,
.logistica-minutas-table .is-minutas-cell-focused {
	box-shadow: inset 0 0 0 2px rgba(15, 118, 110, 0.35);
}

.logistica-minutas-table .logistica-minutas-copy-input.is-minutas-cell-focused {
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.logistica-minutas-table .logistica-minutas-copy-input.is-copied {
	background: #dcfce7;
	border-color: #16a34a;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.logistica-minutas-table tbody tr:nth-child(even):not(.is-minutas-malas):not(.is-minutas-pendiente) td {
	background: #f8fafc;
}

.logistica-minutas-table.logistica-tapas-excel-table tbody tr:hover td {
	background: #eff6ff;
}

.logistica-minutas-table.logistica-tapas-excel-table .is-col-cliente,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-referencia,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-observacio {
	min-width: 160px;
}

.logistica-minutas-table.logistica-tapas-excel-table .is-col-maquina,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-proceso,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-empleado {
	min-width: 130px;
}

.logistica-minutas-table.logistica-tapas-excel-table .is-col-minutos,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-buenas,
.logistica-minutas-table.logistica-tapas-excel-table .is-col-malas {
	min-width: 72px;
}

.logistica-minutas-table-summary th,
.logistica-minutas-table-summary td {
	background: #ecfdf5 !important;
	border-top: 2px solid #0f766e !important;
	bottom: 0;
	font-weight: 700;
	position: sticky;
	z-index: 2;
}

.logistica-minutas-table-summary td[data-minutas-total] {
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.logistica-minutas-summary-count {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	margin-left: 4px;
}

.logistica-minutas-table .is-minutas-malas {
	background: #fff1f2;
}

.logistica-minutas-table .is-minutas-sin-final {
	box-shadow: inset 3px 0 0 #38bdf8;
}

.logistica-minutas-table .is-minutas-pendiente {
	background: #f0fdf4;
}

.logistica-minutas-revision-cell select {
	font-size: 12px;
	max-width: 160px;
	min-width: 130px;
}

.logistica-minutas-empty-row td {
	color: #64748b;
	padding: 18px;
	text-align: center;
}

.is-minutas-legend-malas {
	background: #fff1f2;
}

.is-minutas-legend-sin-final {
	background: #e0f2fe;
}

.is-minutas-legend-pendiente {
	background: #dcfce7;
}

.logistica-panel-admin-settings .logistica-panel-compra-statuses-table__actions {
	width: 7rem;
	white-space: nowrap;
}

.logistica-panel-admin-settings .logistica-panel-compra-statuses-form__tools {
	margin-top: 0.75rem;
}

.logistica-panel-holidays-options {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
}

.logistica-panel-holidays-options label {
	align-items: center;
	display: flex;
	gap: 8px;
}

.logistica-panel-holidays-preview {
	margin: 0 0 20px;
}

.logistica-panel-holidays-preview__list {
	columns: 2;
	font-size: 12px;
	gap: 24px;
	margin: 8px 0 0;
	padding-left: 18px;
}

@media (max-width: 782px) {
	.logistica-panel-holidays-preview__list {
		columns: 1;
	}
}

.logistica-role-permissions-table td {
	vertical-align: top;
}

.logistica-role-permissions-table .logistica-frontend-menu-picker {
	max-height: 280px;
	overflow: auto;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable {
	cursor: pointer;
	padding-right: 22px;
	position: relative;
	user-select: none;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable:hover {
	filter: brightness(1.05);
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator {
	display: inline-block;
	height: 14px;
	margin-left: 4px;
	position: relative;
	vertical-align: middle;
	width: 10px;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator::before,
.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	content: "";
	left: 1px;
	opacity: 0.45;
	position: absolute;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator::before {
	border-bottom: 5px solid currentColor;
	top: 0;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator::after {
	border-top: 5px solid currentColor;
	bottom: 0;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator.is-asc::before {
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th.logistica-pedidos-orden-sortable .logistica-pedidos-orden-sort-indicator.is-desc::after {
	opacity: 1;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-excel-wrap {
	margin-top: 12px;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-excel-wrap .logistica-pedidos-table-wrap--ordenes {
	border: 1px solid #d9e2ec;
	border-radius: 8px 8px 0 0;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-excel-wrap .logistica-table-pagination {
	border-color: #d9e2ec;
	border-radius: 0 0 8px 8px;
}

.logistica-pedidos-board .logistica-table-pagination__btn {
	background: #ffffff;
	border: 1px solid #99f6e4;
	color: #0f766e;
	font-size: 13px;
	font-weight: 600;
	min-height: 34px;
	opacity: 1;
	padding: 6px 14px;
}

.logistica-pedidos-board .logistica-table-pagination__btn:hover:not(:disabled),
.logistica-pedidos-board .logistica-table-pagination__btn:focus:not(:disabled) {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

.logistica-pedidos-board .logistica-table-pagination__btn:disabled {
	opacity: 0.45;
}

.logistica-pedidos-board .logistica-tapas-filters {
	border: none;
	box-shadow: none;
}

.logistica-pedidos-board .logistica-tapas-filters.is-active {
	border: none;
	box-shadow: none;
}

.logistica-pedidos-board .logistica-pedidos-table__filter-empty td {
	color: #64748b;
	font-style: italic;
	padding: 18px 12px;
	text-align: center;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-entrega-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 0 12px;
	padding: 0 2px;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-entrega-filters__label {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	margin-right: 4px;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	gap: 6px;
	height: auto;
	line-height: 1.3;
	min-height: 30px;
	padding: 5px 12px;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn__swatch {
	border-radius: 4px;
	flex-shrink: 0;
	height: 12px;
	width: 18px;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="cercano"] {
	background: #fffbeb;
	border-color: #fcd34d;
	color: #92400e;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="manana"] {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e40af;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="atrasados"] {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #991b1b;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="prorroga"] {
	background: #f5f3ff;
	border-color: #c4b5fd;
	color: #5b21b6;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="cercano"].is-active {
	background: #fef3c7;
	border-color: #f59e0b;
	color: #92400e;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="manana"].is-active {
	background: #dbeafe;
	border-color: #3b82f6;
	color: #1e40af;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="atrasados"].is-active {
	background: #fee2e2;
	border-color: #ef4444;
	color: #991b1b;
}

.logistica-pedidos-board .logistica-pedidos-entrega-filter-btn[data-pedidos-orden-entrega-filter="prorroga"].is-active {
	background: #ede9fe;
	border-color: #8b5cf6;
	color: #5b21b6;
}

.logistica-pedidos-board .logistica-pedidos-fecha-entrega-cell {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 6px;
}

.logistica-pedidos-board .logistica-pedidos-fecha-entrega-cell__original {
	color: #94a3b8;
	font-size: 11px;
	text-decoration: line-through;
}

.logistica-pedidos-board .logistica-pedidos-fecha-entrega-cell__badge {
	background: #ede9fe;
	border-radius: 999px;
	color: #5b21b6;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 6px;
	text-transform: uppercase;
}

.logistica-pedidos-board .logistica-pedidos-fecha-entrega-cell__dias {
	color: #0f766e;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.logistica-pedidos-board .logistica-pedidos-fecha-entrega-cell.has-prorroga .logistica-pedidos-fecha-entrega-cell__effective {
	color: #5b21b6;
	font-weight: 600;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes [data-field="op"].is-op-locked {
	background: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}

.logistica-pedidos-board .logistica-pedidos-table--ordenes thead th[data-pedidos-orden-sort="op"] {
	min-width: 72px;
}

.logistica-pedidos-board .logistica-pedidos-oc-modal__field [data-field="op"]:disabled {
	background: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}

.logistica-header--backend .logistica-header__meta {
	margin: 0.35em 0 0;
	font-size: 13px;
	color: #646970;
}

.logistica-header__user-bar {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	margin-top: 0.65rem;
	max-width: 520px;
	padding: 0.7rem 0.85rem;
}

.logistica-header__user {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.logistica-header__user-name {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.logistica-header__user-role {
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

.logistica-header__logout,
.logistica-header__profile {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #fecaca;
	border-radius: 999px;
	color: #b42318;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	gap: 0.35rem;
	line-height: 1.2;
	margin: 0;
	padding: 0.5rem 0.95rem;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	width: auto;
}

.logistica-header__profile {
	border-color: #99f6e4;
	color: #0f766e;
}

.logistica-header__logout .dashicons,
.logistica-header__profile .dashicons {
	font-size: 16px;
	height: 16px;
	margin-top: 1px;
	width: 16px;
}

.logistica-header__logout:hover,
.logistica-header__logout:focus-visible {
	background: #fef2f2;
	border-color: #f87171;
	box-shadow: 0 2px 8px rgba(185, 28, 28, 0.12);
	color: #991b1b;
	outline: none;
}

.logistica-header__profile:hover,
.logistica-header__profile:focus-visible {
	background: #f0fdfa;
	border-color: #2dd4bf;
	box-shadow: 0 2px 8px rgba(15, 118, 110, 0.12);
	color: #0d9488;
	outline: none;
}

.logistica-header__profile[hidden],
.logistica-header__user-bar[hidden] {
	display: none !important;
}

.logistica-header__logout--card {
	margin-top: 1rem;
	width: 100%;
	justify-content: center;
}

.logistica-header--config .logistica-header__user-bar {
	margin-top: 0.85rem;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-operativo-toolbar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: center;
	margin: 0 auto 12px;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-ordenes-operativo-toolbar .logistica-tapas-excel-toolbar {
	flex: 0 1 auto;
	margin: 0;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-historial-entry {
	display: flex;
	flex: 0 0 auto;
	justify-content: flex-start;
	margin-top: 0;
	width: auto;
}

.logistica-pedidos-board .logistica-pedidos-historial-entry__btn {
	align-items: center;
	background: #ffffff;
	border: 1px solid #6ee7b7;
	border-radius: 999px;
	color: #047857;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 6px;
	height: auto;
	line-height: 1.3;
	min-height: 30px;
	padding: 5px 14px 5px 10px;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.logistica-pedidos-board .logistica-pedidos-historial-entry__btn .dashicons {
	color: #059669;
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-pedidos-board .logistica-pedidos-historial-entry__btn:hover,
.logistica-pedidos-board .logistica-pedidos-historial-entry__btn:focus {
	background: #ecfdf5;
	border-color: #059669;
	box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
	color: #065f46;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner {
	align-items: end;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 55%, #ecfeff 100%);
	border: 1px solid #6ee7b7;
	border-radius: 14px;
	box-shadow: 0 1px 0 rgba(5, 150, 105, 0.08);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 14px 16px;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__head {
	align-items: center;
	display: flex;
	flex: 1 1 240px;
	flex-wrap: wrap;
	gap: 12px 16px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__back {
	align-items: center;
	background: #ffffff;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	color: #047857;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
	height: auto;
	line-height: 1.3;
	min-height: 32px;
	padding: 6px 14px 6px 10px;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__back .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__back:hover,
.logistica-pedidos-board .logistica-pedidos-historial-banner__back:focus {
	background: #d1fae5;
	border-color: #059669;
	color: #065f46;
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__title-wrap {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__eyebrow {
	color: #059669;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0;
	text-transform: uppercase;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__title {
	color: #0f766e;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__tools {
	align-items: end;
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: flex-end;
	margin-left: auto;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__field {
	min-width: 150px;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__field input[type="date"] {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #0f172a;
	font-size: 13px;
	height: 36px;
	line-height: 1.2;
	min-height: 36px;
	padding: 6px 10px;
	width: 100%;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__field input[type="date"]:hover {
	border-color: #94a3b8;
}

.logistica-pedidos-board .logistica-pedidos-historial-banner__field input[type="date"]:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
	outline: none;
}

.logistica-pedidos-board .logistica-pedidos-historial-download.logistica-excel-btn {
	min-width: 0;
}

.logistica-pedidos-sheet.is-pedidos-historial-mode [data-pedidos-ordenes-entrega-filters],
.logistica-pedidos-sheet.is-pedidos-historial-mode [data-pedidos-orden-filters-head],
.logistica-pedidos-sheet.is-pedidos-historial-mode [data-pedidos-orden-operativo-tools],
.logistica-pedidos-sheet.is-pedidos-historial-mode [data-pedidos-orden-filter-estado-wrap],
.logistica-pedidos-sheet.is-pedidos-historial-mode .logistica-excel-zoom-toolbar,
.logistica-pedidos-sheet.is-pedidos-historial-mode .logistica-tapas-section__title,
.logistica-pedidos-sheet.is-pedidos-historial-mode .logistica-tapas-excel__intro {
	display: none !important;
}

.logistica-pedidos-sheet.is-pedidos-historial-mode .logistica-tapas-filters {
	background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
	border-color: #6ee7b7;
}

.logistica-pedidos-sheet.is-pedidos-historial-mode .logistica-tapas-filters__icon {
	background: #059669;
}

@media (max-width: 782px) {
	.logistica-pedidos-board .logistica-pedidos-ordenes-operativo-toolbar {
		align-items: stretch;
	}

	.logistica-pedidos-board .logistica-pedidos-ordenes-operativo-toolbar .logistica-tapas-excel-toolbar {
		justify-content: stretch;
		width: 100%;
	}

	.logistica-pedidos-board .logistica-pedidos-historial-entry {
		justify-content: stretch;
		width: 100%;
	}

	.logistica-pedidos-board .logistica-pedidos-historial-entry__btn {
		justify-content: center;
		width: 100%;
	}

	.logistica-pedidos-board .logistica-pedidos-historial-banner {
		align-items: stretch;
	}

	.logistica-pedidos-board .logistica-pedidos-historial-banner__tools {
		justify-content: stretch;
		margin-left: 0;
		width: 100%;
	}

	.logistica-pedidos-board .logistica-pedidos-historial-banner__field,
	.logistica-pedidos-board .logistica-pedidos-historial-download.logistica-excel-btn {
		flex: 1 1 100%;
		width: 100%;
	}
}

body.logistica-pedidos-entregado-confirm-open {
	overflow: hidden;
}

.logistica-pedidos-entregado-confirm-modal {
	inset: 0;
	position: fixed;
	z-index: 100060;
}

.logistica-pedidos-entregado-confirm-modal[hidden] {
	display: none !important;
}

.logistica-pedidos-entregado-confirm-modal__backdrop {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.logistica-pedidos-entregado-confirm-modal__panel {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
	left: 50%;
	max-width: 520px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.logistica-pedidos-entregado-confirm-modal__head {
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-pedidos-entregado-confirm-modal__head h3 {
	color: #9a3412;
	font-size: 18px;
	margin: 0;
}

.logistica-pedidos-entregado-confirm-modal__body {
	padding: 16px 18px 6px;
}

.logistica-pedidos-entregado-confirm-modal__body p {
	color: #334155;
	line-height: 1.5;
	margin: 0 0 10px;
}

.logistica-pedidos-entregado-confirm-modal__foot {
	border-top: 1px solid #e2e8f0;
	padding: 14px 18px 18px;
}

/* Panel de configuración en jb-planeacion-backend */
.logistica-config .logistica-header--config.logistica-header--slim {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0 1rem 0.75rem;
	padding: 0.85rem 0 0;
}

.logistica-config .logistica-header--slim .logistica-header__section {
	font-size: 1.35rem;
	margin: 0;
}

.logistica-config .logistica-header--slim .logistica-header__user-bar {
	margin-top: 0.65rem;
}

@media (min-width: 900px) {
	.logistica-config .logistica-header--slim {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		justify-content: space-between;
	}

	.logistica-config .logistica-header--slim .logistica-header__user-bar {
		margin-top: 0;
	}
}

.logistica-config .logistica-header--config .logistica-header__section {
	margin-bottom: 0.25rem;
}

.logistica-config-panel__back {
	display: inline-block;
	margin-left: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.logistica-config-panel__back:hover,
.logistica-config-panel__back:focus-visible {
	text-decoration: underline;
}

.logistica-config-placeholder {
	padding: 1.5rem 0 2rem;
}

.logistica-config-placeholder__empty {
	align-items: center;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	color: #94a3b8;
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
	min-height: 180px;
}

.logistica-config-placeholder__empty .dashicons {
	font-size: 48px;
	height: 48px;
	width: 48px;
}

.logistica-inventory-nav--config .logistica-inventory-nav__operations-link,
.logistica-inventory-nav--operations .logistica-inventory-nav__config-link {
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	font-weight: 600;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
	padding: 0.55rem 0.75rem;
	text-decoration: none;
}

.logistica-inventory-nav--config .logistica-inventory-nav__operations-link:hover,
.logistica-inventory-nav--operations .logistica-inventory-nav__config-link:hover {
	background: #f8fafc;
}

/* Pestaña Configuración — layout unificado (wp-admin y backend) */
.logistica-configuracion-tab {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 0.25rem 0 1.5rem;
}

.logistica-configuracion-tab__intro h2 {
	font-size: 1.5rem;
	line-height: 1.25;
	margin: 0 0 0.35rem;
}

.logistica-configuracion-tab__intro .description {
	margin: 0;
	max-width: 62ch;
}

.logistica-config-section-board.logistica-conversion-board {
	background: transparent;
	border: 0;
	gap: 0;
	margin: 0;
	padding: 0;
}

.logistica-config-section-main {
	min-width: 0;
	position: relative;
}

.logistica-config-section-board .logistica-configuracion-section {
	scroll-margin-top: 1.5rem;
}

.logistica-configuracion-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.logistica-configuracion-card__head {
	border-bottom: 1px solid #eef2f7;
	padding: 1rem 1.25rem 0.85rem;
}

.logistica-configuracion-card__head h3 {
	font-size: 1.05rem;
	line-height: 1.3;
	margin: 0 0 0.35rem;
}

.logistica-configuracion-card__head .description {
	margin: 0;
}

.logistica-configuracion-card__body {
	padding: 1rem 1.25rem 1.15rem;
}

.logistica-configuracion-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.5rem;
}

.logistica-configuracion-card__actions {
	margin: 1rem 0 0;
}

.logistica-configuracion-backend-picker {
	margin-bottom: 1.25rem;
}

.logistica-configuracion-menu-fieldset {
	border: 0;
	margin: 1rem 0 0;
	padding: 0;
}

.logistica-configuracion-menu-fieldset__hint {
	margin: 0 0 0.75rem;
}

.logistica-frontend-menu-picker--config {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	margin-bottom: 0;
}

.logistica-frontend-menu-picker--config .logistica-frontend-menu-picker__item,
.logistica-config .logistica-frontend-menu-picker__item {
	background: #fff;
	border-color: #cbd5e1;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-frontend-menu-picker--config .logistica-frontend-menu-picker__item:has(input:checked),
.logistica-config .logistica-frontend-menu-picker__item:has(input:checked) {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.logistica-frontend-menu-picker--compact {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	max-height: 280px;
	overflow: auto;
}

.logistica-configuracion-system-table th {
	font-weight: 600;
	width: 220px;
}

.logistica-config .logistica-configuracion-tab .notice {
	margin: 0 0 0.25rem;
}

.logistica-frontend .logistica-configuracion-tab select {
	max-width: 100%;
	width: min(100%, 420px);
}

.logistica-menu-order-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	max-width: 520px;
	padding: 0;
}

.logistica-menu-order-list__item {
	align-items: center;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	cursor: grab;
	display: flex;
	gap: 0.65rem;
	padding: 0.65rem 0.75rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.logistica-menu-order-list__item.is-dragging {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	cursor: grabbing;
	opacity: 0.92;
}

.logistica-menu-order-list__handle {
	color: #64748b;
	flex: 0 0 auto;
}

.logistica-menu-order-list__label {
	flex: 1 1 auto;
	font-weight: 600;
}

.logistica-menu-order-list__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.25rem;
}

.logistica-menu-order-list__actions .button {
	line-height: 1.2;
	min-height: 28px;
	min-width: 32px;
	padding: 0 0.35rem;
}

.logistica-help-config__card {
	margin-bottom: 1rem;
}

.logistica-help-config__modes {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0 0 1rem;
	padding: 0;
}

.logistica-help-config__mode {
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	gap: 0.65rem;
	padding: 0.75rem 0.85rem;
}

.logistica-help-config__mode:has(input:checked) {
	border-color: #13776d;
	box-shadow: 0 0 0 1px #13776d;
}

.logistica-help-config__mode span {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.logistica-help-config__mode small {
	color: #64748b;
	font-weight: 400;
}

.logistica-help-config__json {
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	line-height: 1.45;
}

.logistica-help__custom {
	color: #1f2933;
	line-height: 1.6;
}

.logistica-help__custom h2,
.logistica-help__custom h3,
.logistica-help__custom h4 {
	margin-top: 1.25rem;
}

.logistica-help__custom ul,
.logistica-help__custom ol {
	margin: 0.5rem 0 1rem 1.25rem;
}

/* Trazabilidad: auditoría, papelera, versiones */
.logistica-lifecycle-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.logistica-lifecycle-tabs__btn.is-active {
	background: var(--logistica-accent, #2271b1);
	border-color: var(--logistica-accent, #2271b1);
	color: #fff;
}

.logistica-lifecycle-table-wrap .logistica-lifecycle-table {
	width: 100%;
	border-collapse: collapse;
}

.logistica-tapas-filters__field[hidden],
[data-lifecycle-filter-status-wrap][hidden] {
	display: none !important;
}

.logistica-lifecycle-table th,
.logistica-lifecycle-table td {
	padding: 0.5rem 0.65rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
	vertical-align: top;
	font-size: 0.875rem;
}

.logistica-lifecycle-table-scroll {
	overflow: auto;
	max-height: 520px;
}

.logistica-lifecycle-actions {
	white-space: nowrap;
}

.logistica-lifecycle-actions .button + .button {
	margin-left: 0.35rem;
}

/* Session expired / reload guard */
.logistica-session-guard {
	--session-guard-brand: var(--panel-brand, #0f766e);
	--session-guard-text: var(--panel-text, #0f172a);
	--session-guard-muted: var(--panel-muted, #64748b);
	--session-guard-border: var(--panel-border, #e2e8f0);
	--session-guard-accent: #b91c1c;
	--session-guard-accent-soft: #fef2f2;
	--session-guard-accent-border: #fecaca;
	align-items: center;
	display: none;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 1000000;
}

.logistica-session-guard.is-mode-nonce {
	--session-guard-accent: #b45309;
	--session-guard-accent-soft: #fffbeb;
	--session-guard-accent-border: #fde68a;
}

.logistica-session-guard.is-visible {
	animation: logistica-session-guard-fade-in 0.22s ease-out;
	display: flex;
}

@keyframes logistica-session-guard-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.logistica-session-guard__backdrop {
	backdrop-filter: blur(4px);
	background: rgba(15, 23, 42, 0.52);
	inset: 0;
	position: absolute;
}

.logistica-session-guard__dialog {
	animation: logistica-session-guard-dialog-in 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
	background: #fff;
	border: 1px solid var(--session-guard-border);
	border-radius: 16px;
	box-shadow:
		0 24px 48px rgba(15, 23, 42, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.6) inset;
	max-width: 420px;
	padding: 28px 24px 22px;
	position: relative;
	text-align: center;
	width: 100%;
	z-index: 1;
}

.logistica-session-guard__dialog.is-session,
.logistica-session-guard__dialog.is-nonce {
	border-top: 4px solid var(--session-guard-accent);
}

@keyframes logistica-session-guard-dialog-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.logistica-session-guard__icon {
	align-items: center;
	display: flex;
	height: 56px;
	justify-content: center;
	margin: 0 auto 14px;
	position: relative;
	width: 56px;
}

.logistica-session-guard__icon-ring {
	background: var(--session-guard-accent-soft);
	border: 1px solid var(--session-guard-accent-border);
	border-radius: 50%;
	inset: 0;
	position: absolute;
}

.logistica-session-guard__icon .dashicons {
	color: var(--session-guard-accent);
	font-size: 28px;
	height: 28px;
	position: relative;
	width: 28px;
	z-index: 1;
}

.logistica-session-guard__brand {
	color: var(--session-guard-brand);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.logistica-session-guard__title {
	color: var(--session-guard-text);
	font-family: inherit;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 10px;
}

.logistica-session-guard__text {
	color: var(--session-guard-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0 0 22px;
	text-align: left;
}

.logistica-session-guard__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.logistica-session-guard__btn {
	border: 1px solid transparent;
	border-radius: 10px;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 18px;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.1s ease;
	width: 100%;
}

.logistica-session-guard__btn:focus-visible {
	outline: 2px solid var(--session-guard-brand);
	outline-offset: 2px;
}

.logistica-session-guard__btn--primary {
	background: var(--session-guard-brand);
	border-color: var(--session-guard-brand);
	box-shadow: 0 8px 20px rgba(15, 118, 110, 0.22);
	color: #fff;
}

.logistica-session-guard__btn--primary:hover,
.logistica-session-guard__btn--primary:focus-visible {
	background: #0d9488;
	border-color: #0d9488;
	transform: translateY(-1px);
}

.logistica-session-guard__btn--secondary {
	background: #fff;
	border-color: var(--session-guard-border);
	color: var(--session-guard-text);
}

.logistica-session-guard__btn--secondary:hover,
.logistica-session-guard__btn--secondary:focus-visible {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.logistica-session-guard__btn[hidden] {
	display: none !important;
}

body.logistica-session-guard-open {
	overflow: hidden;
}
