/* Planeación de impresión */
.logistica-planeacion,
.logistica-planeacion__modal {
	--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;
}

.logistica-planeacion {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	margin-top: 0;
	padding: 14px 22px 24px;
}

.logistica-panel.logistica-planeacion {
	border: 0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	overflow-x: clip;
	overflow-y: visible;
	padding: 14px 22px 24px;
}

/* Botones personalizados */
.logistica-planeacion__btn {
	align-items: center;
	background: #fff;
	border: 1px solid var(--planeacion-border);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	color: var(--planeacion-text);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	justify-content: center;
	line-height: 1.2;
	min-height: 38px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.logistica-planeacion__btn:hover:not(:disabled) {
	border-color: #94a3b8;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.logistica-planeacion__btn:active:not(:disabled) {
	transform: translateY(1px);
}

.logistica-planeacion__btn:focus-visible {
	box-shadow: 0 0 0 3px var(--planeacion-brand-ring);
	outline: none;
}

.logistica-planeacion__btn:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.logistica-planeacion__btn .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-planeacion__btn--primary {
	background: linear-gradient(180deg, #11968d 0%, var(--planeacion-brand) 100%);
	border-color: var(--planeacion-brand-dark);
	color: #fff;
}

.logistica-planeacion__btn--primary:hover:not(:disabled) {
	background: linear-gradient(180deg, var(--planeacion-brand) 0%, var(--planeacion-brand-dark) 100%);
	border-color: var(--planeacion-brand-dark);
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
	color: #fff;
}

.logistica-planeacion__btn--secondary {
	background: var(--planeacion-surface);
	border-color: #94a3b8;
	color: #1e293b;
}

.logistica-planeacion__btn--secondary:hover:not(:disabled) {
	background: #fff;
	border-color: #64748b;
	color: #0f172a;
}

.logistica-planeacion__btn--icon {
	background: #fff;
	border-radius: 8px;
	height: 38px;
	min-width: 38px;
	padding: 0;
	width: 38px;
}

.logistica-planeacion__btn--icon .dashicons {
	color: var(--planeacion-brand);
}

.logistica-planeacion__btn--icon:hover:not(:disabled) {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
}

.logistica-planeacion__btn--compact {
	font-size: 12px;
	min-height: 34px;
	padding: 6px 12px;
}

.logistica-planeacion__btn--danger {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: #b91c1c;
	min-height: auto;
	padding: 8px 10px;
}

.logistica-planeacion__btn--danger:hover:not(:disabled) {
	background: #fef2f2;
	border-color: #fecaca;
	box-shadow: none;
	color: #991b1b;
}

.logistica-planeacion__toolbar {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.logistica-planeacion__toolbar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.logistica-planeacion__board-section {
	min-width: 0;
	width: 100%;
}

.logistica-planeacion__board-toolbar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin: 0 0 10px;
}

.logistica-planeacion__board-toolbar .logistica-excel-zoom,
.logistica-planeacion__board-toolbar .logistica-planeacion__week-nav {
	box-shadow: 0 1px 6px rgba(15, 118, 110, 0.14);
	flex-shrink: 0;
}

.logistica-planeacion__board-toolbar .logistica-planeacion__week-nav {
	background: #f0fdfa;
	border-color: #99f6e4;
	gap: 4px;
	padding: 2px 6px;
}

.logistica-planeacion__board-toolbar .logistica-planeacion__week-label {
	color: #134e4a;
	font-size: 13px;
	min-width: 0;
	padding: 0 4px;
	white-space: nowrap;
}

.logistica-planeacion__board-toolbar .logistica-planeacion__btn--icon {
	height: 24px;
	min-width: 24px;
	width: 24px;
}

.logistica-planeacion__board-toolbar .logistica-planeacion__btn--compact {
	font-size: 11px;
	line-height: 1.2;
	min-height: 24px;
	padding: 2px 8px;
}

.logistica-planeacion__board-scroll {
	min-width: 0;
	overflow-x: visible;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

.logistica-planeacion__week-nav {
	align-items: center;
	background: var(--planeacion-surface);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 6px 8px;
}

.logistica-planeacion__week-label {
	font-size: 15px;
	font-weight: 700;
	min-width: 180px;
	text-align: center;
}

.logistica-planeacion__save-status {
	color: #52616b;
	font-size: 12px;
	font-weight: 600;
	min-height: 18px;
}

.logistica-planeacion__save-status.is-saving {
	background: var(--planeacion-brand-light);
	border-radius: 999px;
	color: var(--planeacion-brand-dark);
	padding: 4px 10px;
}

.logistica-planeacion__save-status.is-error {
	background: #fff7ed;
	border-radius: 999px;
	color: #b45309;
	padding: 4px 10px;
}

.logistica-planeacion__machines {
	background: var(--planeacion-surface);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	padding: 10px;
}

.logistica-planeacion__machine-item {
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--planeacion-border);
	border-radius: 6px;
	display: inline-flex;
	gap: 0;
	overflow: hidden;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-planeacion__machine-item:hover {
	border-color: var(--planeacion-brand);
}

.logistica-planeacion__machine-item.is-active {
	background: linear-gradient(180deg, #11968d 0%, var(--planeacion-brand) 100%);
	border-color: var(--planeacion-brand-dark);
	box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

.logistica-planeacion__machine-edit {
	align-items: center;
	background: transparent;
	border: none;
	border-left: 1px solid rgba(148, 163, 184, 0.45);
	border-radius: 0;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	height: auto;
	justify-content: center;
	min-height: 36px;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
	width: 30px;
}

.logistica-planeacion__machine-edit .dashicons {
	font-size: 15px;
	height: 15px;
	width: 15px;
}

.logistica-planeacion__machine-edit:hover {
	background: rgba(15, 118, 110, 0.08);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__machine-item.is-active .logistica-planeacion__machine-edit {
	border-left-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.logistica-planeacion__machine-item.is-active .logistica-planeacion__machine-edit:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.logistica-planeacion__machine-btn {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: var(--planeacion-text);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	letter-spacing: 0.02em;
	line-height: 1.2;
	min-height: 36px;
	padding: 8px 6px 8px 14px;
	text-transform: uppercase;
	transition: background 0.15s ease, color 0.15s ease;
}

.logistica-planeacion__machine-btn:hover:not(:disabled) {
	background: var(--planeacion-brand-light);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__machine-item.is-active .logistica-planeacion__machine-btn {
	color: #fff;
}

.logistica-planeacion__machine-item.is-active .logistica-planeacion__machine-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.logistica-planeacion__machine-btn--add {
	background: #fff;
	border: 1px dashed var(--planeacion-border);
	border-radius: 6px;
	font-size: 20px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-width: 40px;
	padding-inline: 12px;
}

.logistica-planeacion__machine-btn--add:hover:not(:disabled) {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	border-style: dashed;
	color: var(--planeacion-brand);
}

.logistica-planeacion__machines--select {
	align-items: center;
	border-left: 0;
	border-radius: 0;
	border-right: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
	padding: 12px 14px;
	position: sticky;
	top: 0;
	z-index: 40;
}

.logistica-panel.logistica-planeacion > .logistica-planeacion__machines--select {
	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);
}

body.logistica-panel-page .logistica-planeacion__machines--select {
	top: var(--logistica-nav-height, 0px);
	z-index: 550;
}

.logistica-planeacion__machine-select-wrap {
	align-items: center;
	display: flex;
	flex: 1 1 280px;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.logistica-planeacion__machine-select-label {
	align-items: center;
	display: flex;
	flex: 1 1 220px;
	gap: 10px;
	min-width: 0;
}

.logistica-planeacion__machine-select-text {
	color: #334155;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
}

.logistica-planeacion__machine-select {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #0f172a;
	flex: 1 1 180px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	min-height: 38px;
	min-width: 0;
	padding: 8px 36px 8px 12px;
}

.logistica-planeacion__machine-select:focus {
	border-color: var(--planeacion-brand);
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-planeacion__machine-select-edit,
.logistica-planeacion__machine-select-add {
	min-height: 38px;
	min-width: 38px;
	padding-inline: 10px;
}

.logistica-planeacion__machine-select-add {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.logistica-planeacion__config {
	margin-bottom: 14px;
}

.logistica-planeacion__config-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(220px, auto) minmax(280px, 1fr);
}

.logistica-planeacion__config-card {
	background: var(--planeacion-surface, #fff);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 62px;
	min-width: 0;
	padding: 10px 14px;
}

.logistica-planeacion__config-card-body {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.logistica-planeacion__config-card--excel .logistica-planeacion__excel-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-planeacion__config-card--excel .logistica-excel-btn {
	min-width: 0;
}

.logistica-planeacion__lunch-range {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.logistica-planeacion__lunch-range:has(input:disabled) {
	opacity: 0.55;
}

.logistica-planeacion__lunch-range-sep {
	color: #94a3b8;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.logistica-planeacion__config-hint {
	color: #64748b;
	font-size: 12px;
	grid-column: 1 / -1;
	line-height: 1.45;
	margin: 0;
}

@media (max-width: 720px) {
	.logistica-planeacion__config-grid {
		grid-template-columns: 1fr;
	}
}

.logistica-planeacion__btn--excel .dashicons-media-spreadsheet {
	color: #0f766e;
}

.logistica-planeacion__btn--excel:hover:not(:disabled) .dashicons-media-spreadsheet {
	color: #0b5e58;
}

.logistica-planeacion__config-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.logistica-planeacion__excel-toolbar {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
}

.logistica-planeacion__config-actions .logistica-excel-btn {
	min-width: 0;
}

.logistica-planeacion__config-options {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: 10px;
}

.logistica-planeacion__lunch-toggle {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	flex-direction: row;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	margin: 0;
	user-select: none;
}

.logistica-planeacion__lunch-toggle input[type="checkbox"] {
	accent-color: var(--planeacion-brand);
	cursor: pointer;
	flex-shrink: 0;
	height: 16px;
	margin: 0;
	width: 16px;
}

.logistica-planeacion__lunch-toggle span {
	color: #334155;
	line-height: 1.3;
}

.logistica-planeacion__lunch-time {
	align-items: center;
	display: inline-flex;
	flex-direction: row;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	margin: 0;
}

.logistica-planeacion__lunch-time span {
	color: #64748b;
	white-space: nowrap;
}

.logistica-planeacion__lunch-time input[type="time"] {
	min-width: 110px;
}

.logistica-planeacion__lunch-time input[type="time"]:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.logistica-planeacion__config label:not(.logistica-planeacion__lunch-toggle):not(.logistica-planeacion__lunch-time) {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

.logistica-planeacion__config input[type="time"] {
	min-width: 110px;
}

/* Inputs de hora */
.logistica-planeacion__time-input {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid var(--planeacion-border);
	border-radius: 8px;
	box-sizing: border-box;
	color: #0f172a;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	min-height: 36px;
	padding: 7px 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.logistica-planeacion__time-input:hover:not(:disabled) {
	border-color: #94a3b8;
}

.logistica-planeacion__time-input:focus {
	border-color: var(--planeacion-brand);
	box-shadow: 0 0 0 3px var(--planeacion-brand-ring);
	outline: none;
}

.logistica-planeacion__time-input::-webkit-calendar-picker-indicator {
	cursor: pointer;
	height: 16px;
	margin-left: 4px;
	opacity: 0.65;
	width: 16px;
}

.logistica-planeacion__time-input:hover::-webkit-calendar-picker-indicator {
	opacity: 0.9;
}

.logistica-planeacion__day-hours {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	box-sizing: border-box;
	display: flex;
	flex: unset;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	grid-area: hours;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	padding: 3px 4px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-planeacion__day-hours:focus-within {
	border-color: var(--planeacion-brand);
	box-shadow: 0 0 0 3px var(--planeacion-brand-ring);
}

.logistica-planeacion__day-hours .logistica-planeacion__time-field {
	align-items: center;
	display: flex;
	flex: 1 1 0;
	gap: 4px;
	margin: 0;
	min-height: 28px;
	min-width: 0;
	overflow: visible;
	padding: 2px 4px;
	position: relative;
	width: auto;
}

.logistica-planeacion__day-hours .logistica-planeacion__time-field + .logistica-planeacion__time-field {
	border-left: none;
	border-top: none;
}

.logistica-planeacion__day-hours .logistica-planeacion__time-field::after {
	background-color: var(--planeacion-brand);
	border-radius: 4px;
	box-sizing: border-box;
	content: '';
	flex-shrink: 0;
	height: 20px;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: 13px 13px;
	opacity: 1;
	pointer-events: none;
	width: 20px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 13px 13px;
}

.logistica-planeacion__day-hours .logistica-planeacion__time-field:focus-within::after {
	background-color: var(--planeacion-brand-dark);
	box-shadow: 0 0 0 2px var(--planeacion-brand-ring);
}

.logistica-planeacion__day-hours .logistica-planeacion__time-input {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #0f172a;
	flex: 1 1 auto;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
	max-width: 100%;
	min-height: 20px;
	min-width: 0;
	padding: 0;
	text-align: center;
	width: auto;
}

.logistica-planeacion__day-hours .logistica-planeacion__time-input::-webkit-calendar-picker-indicator {
	cursor: pointer;
	height: 22px;
	margin: 0;
	opacity: 0.001;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
}

.logistica-planeacion__day-hours .logistica-planeacion__time-input:focus {
	box-shadow: none;
	outline: none;
}

.logistica-planeacion__day-hours-sep {
	border-left: 1px solid #eef2f7;
	border-right: 1px solid #eef2f7;
	color: #94a3b8;
	display: block;
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 0 3px;
	user-select: none;
}

.logistica-planeacion__legend {
	background: var(--planeacion-surface);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	list-style: none;
	margin: 0 0 16px;
	padding: 10px 14px;
}

.logistica-planeacion__legend li {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #52616b;
	display: flex;
	font-size: 11px;
	font-weight: 600;
	gap: 6px;
	padding: 4px 10px;
}

.logistica-planeacion__status-swatch {
	border-radius: 4px;
	display: inline-block;
	height: 12px;
	width: 12px;
}

.logistica-planeacion__status-swatch--pending { background: #94a3b8; }
.logistica-planeacion__status-swatch--in_progress { background: #2563eb; }
.logistica-planeacion__status-swatch--done { background: #16a34a; }
.logistica-planeacion__status-swatch--delayed { background: #dc2626; }

.logistica-planeacion__status-swatch--sin_confirmar { background: #94a3b8; }
.logistica-planeacion__status-swatch--aprobado { background: #3b82f6; }
.logistica-planeacion__status-swatch--cancelado { background: #fb7185; }
.logistica-planeacion__status-swatch--programado { background: #6366f1; }
.logistica-planeacion__status-swatch--conversion { background: #8b5cf6; }
.logistica-planeacion__status-swatch--impresion { background: #06b6d4; }
.logistica-planeacion__status-swatch--troquelado { background: #a855f7; }
.logistica-planeacion__status-swatch--descartone { background: #eab308; }
.logistica-planeacion__status-swatch--formado { background: #84cc16; }
.logistica-planeacion__status-swatch--embalaje { background: #14b8a6; }
.logistica-planeacion__status-swatch--finalizado { background: #10b981; }
.logistica-planeacion__status-swatch--despacho { background: #f97316; }
.logistica-planeacion__status-swatch--entregado { background: #22c55e; }

.logistica-planeacion__board {
	--planeacion-day-sidebar: 210px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 8px;
	width: 100%;
}

.logistica-planeacion__prior-week,
.logistica-planeacion__overflow-weeks {
	display: none !important;
}

.logistica-planeacion__adjacent-strip {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.logistica-planeacion__adjacent-strip--prev {
	margin-bottom: 2px;
}

.logistica-planeacion__adjacent-strip--next {
	margin-top: 2px;
}

.logistica-planeacion__adjacent-strip-toggle {
	align-items: center;
	background: #eef2f7;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #475569;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	padding: 8px 12px;
	text-align: left;
	width: 100%;
}

.logistica-planeacion__adjacent-strip-toggle:hover {
	background: #e2e8f0;
	border-color: #94a3b8;
}

.logistica-planeacion__adjacent-strip.is-expanded .logistica-planeacion__adjacent-strip-toggle {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e3a8a;
}

.logistica-planeacion__adjacent-strip-toggle-icon {
	flex: 0 0 auto;
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-planeacion__adjacent-strip-toggle-text {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-planeacion__adjacent-strip-toggle-text small {
	color: #64748b;
	font-weight: 500;
}

.logistica-planeacion__adjacent-strip-toggle-meta {
	color: #64748b;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 500;
}

.logistica-planeacion__adjacent-strip-days {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.logistica-planeacion__adjacent-strip-days[hidden] {
	display: none !important;
}

.logistica-planeacion__day-body--adjacent {
	cursor: copy;
}

.logistica-planeacion__day-body--adjacent.is-drag-over {
	outline: 2px dashed #0d9488;
	outline-offset: -2px;
}

.logistica-planeacion__overflow-week-title {
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.logistica-planeacion__overflow-week-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
	margin-bottom: 4px;
}

.logistica-planeacion__day-type--readonly,
.logistica-planeacion__day-hours--readonly {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
}

.logistica-planeacion__day-hours--readonly {
	grid-area: hours;
}

.logistica-planeacion__day-type--readonly {
	grid-area: type;
}

.logistica-planeacion__day-body.is-read-only .logistica-planeacion__task-reorder,
.logistica-planeacion__day-body.is-read-only [data-action="planeacion-edit"] {
	display: none;
}

.logistica-planeacion__board--overflow {
	opacity: 0.96;
}

.logistica-planeacion__day--overflow {
	background: #f1f5f9;
}

.logistica-planeacion__day-body.is-read-only {
	pointer-events: none;
}

.logistica-planeacion__task--carryover {
	border-style: dashed;
	opacity: 0.92;
}

.logistica-planeacion__task--spills-next-week {
	box-shadow: inset 0 -2px 0 #64748b;
}

.logistica-planeacion__day {
	align-items: stretch;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	min-height: 96px;
	min-width: 0;
	overflow-x: clip;
	overflow-y: visible;
}

.logistica-planeacion__day-header {
	align-self: stretch;
	background: #eef2f7;
	border-bottom: none;
	border-radius: 0;
	border-right: 1px solid #e2e8f0;
	display: grid;
	flex: 0 0 var(--planeacion-day-sidebar);
	gap: 6px 8px;
	grid-template-areas:
		"title add"
		"type type"
		"hours hours";
	grid-template-columns: minmax(0, 1fr) auto;
	max-width: var(--planeacion-day-sidebar);
	overflow: visible;
	padding: 10px 12px;
}

.logistica-planeacion__day-title {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 2px;
	grid-area: title;
	min-width: 0;
}

.logistica-planeacion__day-header strong {
	font-size: 14px;
}

.logistica-planeacion__day-header span {
	color: #64748b;
	font-size: 12px;
}

.logistica-planeacion__day-type {
	display: block;
	grid-area: type;
	min-width: 0;
	width: 100%;
}

.logistica-planeacion__day-type select {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	padding: 4px 8px;
	width: 100%;
}

.logistica-planeacion__day-type select:focus {
	border-color: var(--planeacion-brand);
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
	outline: none;
}

.logistica-planeacion__day-type select.logistica-planeacion__day-type--off {
	font-weight: 600;
}

.logistica-planeacion__day-type select.logistica-planeacion__day-type--festivo {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}

.logistica-planeacion__day-type select.logistica-planeacion__day-type--libre {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e3a8a;
}

.logistica-planeacion__day-type select.logistica-planeacion__day-type--vacaciones {
	background: #d1fae5;
	border-color: #6ee7b7;
	color: #065f46;
}

.logistica-planeacion__day-type select.logistica-planeacion__day-type--permisos {
	background: #ffedd5;
	border-color: #fdba74;
	color: #9a3412;
}

.logistica-planeacion__day.is-day-off {
	background: #f1f5f9;
}

.logistica-planeacion__day.is-day-off.is-festivo {
	background: #fef2f2;
	border-color: #fca5a5;
}

.logistica-planeacion__day.is-day-off.is-libre {
	background: #eff6ff;
	border-color: #93c5fd;
}

.logistica-planeacion__day.is-day-off.is-vacaciones {
	background: #ecfdf5;
	border-color: #6ee7b7;
}

.logistica-planeacion__day.is-day-off.is-permisos {
	background: #fff7ed;
	border-color: #fdba74;
}

.logistica-planeacion__day-off[hidden],
.logistica-planeacion__empty[hidden] {
	display: none !important;
}

.logistica-planeacion__day-off:not([hidden]) {
	align-items: center;
	align-self: stretch;
	border-radius: 8px;
	display: flex;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
	padding: 10px 12px;
	width: 100%;
}

.logistica-planeacion__day-off-icon {
	align-items: center;
	border-radius: 10px;
	display: flex;
	flex-shrink: 0;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.logistica-planeacion__day-off-icon .dashicons {
	font-size: 20px;
	height: 20px;
	width: 20px;
}

.logistica-planeacion__day-off-body strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 4px;
}

.logistica-planeacion__day-off-body p {
	color: #64748b;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-planeacion__day.is-festivo .logistica-planeacion__day-off-icon {
	background: #fee2e2;
	color: #dc2626;
}

.logistica-planeacion__day.is-libre .logistica-planeacion__day-off-icon {
	background: #dbeafe;
	color: #2563eb;
}

.logistica-planeacion__day.is-vacaciones .logistica-planeacion__day-off-icon {
	background: #d1fae5;
	color: #059669;
}

.logistica-planeacion__day.is-permisos .logistica-planeacion__day-off-icon {
	background: #ffedd5;
	color: #ea580c;
}

.logistica-planeacion__day-body.is-disabled {
	pointer-events: none;
}

.logistica-planeacion__day-add {
	align-items: center;
	background: linear-gradient(180deg, #11968d 0%, var(--planeacion-brand) 100%);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 18px;
	font-weight: 700;
	grid-area: add;
	height: 32px;
	justify-content: center;
	line-height: 1;
	margin-left: 0;
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	width: 32px;
}

.logistica-planeacion__day-add:hover {
	background: linear-gradient(180deg, var(--planeacion-brand) 0%, var(--planeacion-brand-dark) 100%);
	box-shadow: 0 4px 10px rgba(15, 118, 110, 0.32);
}

.logistica-planeacion__day-add:active {
	transform: translateY(1px);
}

.logistica-planeacion__day-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	min-width: 0;
	overflow-x: clip;
	overflow-y: clip;
	padding: 8px 10px 10px;
}

.logistica-planeacion__timeline-scroll {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	min-width: 0;
	overflow-x: auto;
	overflow-y: clip;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
}

.logistica-planeacion__timeline-scroll[hidden] {
	display: none !important;
}

.logistica-planeacion__timeline {
	--timeline-px-per-min: 1.15;
	--timeline-span: 600;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	min-width: max(100%, calc(var(--timeline-span) * var(--timeline-px-per-min) * 1px));
	width: 100%;
}

.logistica-planeacion__timeline-ruler {
	border-bottom: 1px solid #dbe3ec;
	flex-shrink: 0;
	height: 28px;
	margin-bottom: 6px;
	position: relative;
}

.logistica-planeacion__timeline-tick {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}

.logistica-planeacion__timeline-tick--start {
	transform: translateX(0);
}

.logistica-planeacion__timeline-tick--end {
	transform: translateX(-100%);
}

.logistica-planeacion__timeline-tick--start.logistica-planeacion__timeline-tick--end {
	transform: translateX(0);
}

.logistica-planeacion__timeline-tick::before {
	background: #cbd5e1;
	bottom: 0;
	content: '';
	height: 6px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 1px;
}

.logistica-planeacion__timeline-tick--start::before {
	left: 0;
	transform: none;
}

.logistica-planeacion__timeline-tick--end::before {
	left: 100%;
	transform: translateX(-100%);
}

.logistica-planeacion__timeline-tick--start.logistica-planeacion__timeline-tick--end::before {
	left: 0;
	transform: none;
}

.logistica-planeacion__timeline-tick-label {
	color: #64748b;
	display: block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding-top: 2px;
	white-space: nowrap;
}

.logistica-planeacion__timeline-track {
	background:
		linear-gradient(to right, rgba(148, 163, 184, 0.14) 1px, transparent 1px) 0 0 / calc(100% / 10) 100%,
		#f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	flex: 1 1 auto;
	min-height: 48px;
	position: relative;
}

.logistica-planeacion__timeline-segment-link {
	border-top: 2px dashed var(--segment-link-color, #f59e0b);
	height: 0;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.logistica-planeacion__timeline-segment-link::before,
.logistica-planeacion__timeline-segment-link::after {
	background: #fff;
	border: 2px solid var(--segment-link-color, #f59e0b);
	border-radius: 50%;
	content: '';
	height: 7px;
	position: absolute;
	top: -5px;
	width: 7px;
}

.logistica-planeacion__timeline-segment-link::before {
	left: -1px;
}

.logistica-planeacion__timeline-segment-link::after {
	right: -1px;
}

.logistica-planeacion__timeline-segment-link--lunch {
	border-top-color: #eab308;
	border-top-style: dotted;
}

.logistica-planeacion__timeline-segment-link--lunch::before,
.logistica-planeacion__timeline-segment-link--lunch::after {
	border-color: #eab308;
}

.logistica-planeacion__timeline-segment-link--same-day {
	border-top-style: dashed;
}

.logistica-planeacion__timeline-drop-indicator {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 20;
}

.logistica-planeacion__timeline-drop-indicator-line {
	background: #7c3aed;
	border-radius: 999px;
	bottom: -2px;
	box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.28), 0 0 10px rgba(124, 58, 237, 0.35);
	margin-left: -2px;
	position: absolute;
	top: -2px;
	width: 4px;
	z-index: 22;
}

.logistica-planeacion__timeline-drop-indicator-ghost {
	background: rgba(124, 58, 237, 0.16);
	border: 2px solid rgba(124, 58, 237, 0.55);
	border-radius: 6px;
	bottom: 5px;
	box-sizing: border-box;
	position: absolute;
	top: 5px;
	z-index: 21;
}

.logistica-planeacion__timeline-drop-indicator-label {
	background: #7c3aed;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	left: 50%;
	line-height: 1.2;
	padding: 2px 7px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	z-index: 1;
}

.logistica-planeacion__timeline-drop-indicator.is-invalid .logistica-planeacion__timeline-drop-indicator-line {
	background: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.28), 0 0 10px rgba(220, 38, 38, 0.3);
}

.logistica-planeacion__timeline-drop-indicator.is-invalid .logistica-planeacion__timeline-drop-indicator-ghost {
	background: rgba(220, 38, 38, 0.1);
	border-color: rgba(220, 38, 38, 0.55);
}

.logistica-planeacion__timeline-drop-indicator.is-invalid .logistica-planeacion__timeline-drop-indicator-label {
	background: #dc2626;
}

.logistica-planeacion__day-body.is-drag-over .logistica-planeacion__timeline-track {
	border-color: #7c3aed;
	box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.25);
}

.logistica-planeacion__timeline-slot {
	align-items: flex-start;
	border-radius: 6px;
	bottom: 5px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	overflow: hidden;
	padding: 4px 8px;
	pointer-events: none;
	position: absolute;
	top: 5px;
	z-index: 1;
}

.logistica-planeacion__timeline-slot--free {
	background: repeating-linear-gradient(
		135deg,
		rgba(16, 185, 129, 0.08),
		rgba(16, 185, 129, 0.08) 8px,
		rgba(16, 185, 129, 0.14) 8px,
		rgba(16, 185, 129, 0.14) 16px
	);
	border: 1px dashed rgba(15, 118, 110, 0.45);
	color: #0f766e;
}

.logistica-planeacion__timeline-slot--lunch {
	background: repeating-linear-gradient(
		-45deg,
		rgba(251, 191, 36, 0.22),
		rgba(251, 191, 36, 0.22) 6px,
		rgba(251, 191, 36, 0.34) 6px,
		rgba(251, 191, 36, 0.34) 12px
	);
	border: 2px dashed rgba(217, 119, 6, 0.72);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
	color: #92400e;
	z-index: 3;
}

.logistica-planeacion__timeline-slot--lunch .logistica-planeacion__timeline-slot-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-planeacion__timeline-slot--lunch .logistica-planeacion__timeline-slot-hint {
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	opacity: 1;
}

.logistica-planeacion__timeline-slot-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
}

.logistica-planeacion__timeline-slot-hint {
	display: block;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	opacity: 0.85;
}

.logistica-planeacion__day-body.is-drag-over {
	background: #ecfdf5;
	outline: 2px dashed #0f766e;
	outline-offset: -4px;
}

.logistica-planeacion__empty {
	align-self: center;
	color: #94a3b8;
	flex: 1 1 auto;
	font-size: 12px;
	margin: 0;
	min-width: 160px;
	text-align: center;
}

.logistica-planeacion__task {
	background: #fff;
	border: 1px solid #dbe3ec;
	border-left: 4px solid #94a3b8;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	cursor: grab;
	flex: 0 0 auto;
	max-width: 280px;
	min-width: 220px;
	padding: 10px 10px 10px 8px;
	transition: box-shadow 0.15s, transform 0.15s;
	width: 240px;
}

.logistica-planeacion__task--timeline {
	align-items: stretch;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-bottom: 3px solid var(--task-accent-color, #64748b);
	border-left-width: 8px;
	border-radius: 5px;
	bottom: 5px;
	box-sizing: border-box;
	box-shadow: none;
	container-type: inline-size;
	cursor: grab;
	display: flex;
	flex-direction: row;
	height: auto;
	margin: 0;
	max-width: none;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 3px 5px 2px;
	position: absolute;
	top: 5px;
	transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	width: auto;
	z-index: 2;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--pending {
	border-left-color: #94a3b8;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--in_progress {
	border-left-color: #2563eb;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--done {
	border-left-color: #16a34a;
	opacity: 0.92;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--delayed {
	border-left-color: #dc2626;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--sin_confirmar { border-left-color: #94a3b8; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--aprobado { border-left-color: #3b82f6; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--cancelado { border-left-color: #fb7185; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--programado { border-left-color: #6366f1; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--conversion { border-left-color: #8b5cf6; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--impresion { border-left-color: #06b6d4; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--troquelado { border-left-color: #a855f7; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--descartone { border-left-color: #eab308; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--formado { border-left-color: #84cc16; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--embalaje { border-left-color: #14b8a6; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--finalizado { border-left-color: #10b981; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--despacho { border-left-color: #f97316; }
.logistica-planeacion__task--timeline.logistica-planeacion__task--entregado { border-left-color: #22c55e; }

.logistica-planeacion__task-timeline {
	align-items: center;
	display: flex;
	gap: 4px;
	min-width: 0;
	width: 100%;
}

.logistica-planeacion__task-timeline-tools {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 2px;
}

.logistica-planeacion__task-timeline-body {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 5px;
	min-width: 0;
	overflow: hidden;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-op {
	color: #0f172a;
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-op::after {
	content: none;
}

.logistica-planeacion__task-timeline-desc {
	color: #64748b;
	flex: 1 1 auto;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-timeline-body:has(.logistica-planeacion__task-timeline-desc) .logistica-planeacion__task-op::after {
	color: #cbd5e1;
	content: '·';
	font-weight: 400;
	margin: 0 2px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-edit {
	flex-shrink: 0;
	height: 22px;
	width: 22px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-edit .dashicons {
	font-size: 13px;
	height: 13px;
	width: 13px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder {
	display: inline-flex;
	gap: 1px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	color: #475569;
	cursor: pointer;
	font-size: 9px;
	height: 22px;
	line-height: 1;
	min-width: 18px;
	padding: 0 2px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button:hover:not(:disabled):not(.is-disabled) {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button.is-disabled {
	cursor: not-allowed;
	opacity: 0.4;
	pointer-events: none;
}

.logistica-planeacion__task--timeline:hover {
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.22), 0 2px 6px rgba(15, 23, 42, 0.07);
	z-index: 4;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--continuation {
	opacity: 0.94;
}

.logistica-planeacion__task-compact-tools {
	align-items: center;
	display: none;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	justify-content: center;
	min-width: 0;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-full {
	align-items: center;
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 3px 6px;
	min-width: 0;
	width: 100%;
}

.logistica-planeacion__task-icon-btn {
	align-items: center;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	height: 26px;
	justify-content: center;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 26px;
}

.logistica-planeacion__task-icon-btn .dashicons {
	font-size: 15px;
	height: 15px;
	width: 15px;
}

.logistica-planeacion__task-icon-btn:hover {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__task-icon-btn--view:hover {
	color: #2563eb;
}

@container (max-width: 200px) {
	.logistica-planeacion__task--timeline {
		align-content: center;
		justify-content: center;
		padding: 4px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-full {
		display: none !important;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-compact-tools {
		display: inline-flex;
		flex-direction: column;
		gap: 2px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-icon-btn {
		height: 20px;
		width: 20px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-icon-btn .dashicons {
		font-size: 12px;
		height: 12px;
		width: 12px;
	}
}

@container (max-width: 320px) {
	.logistica-planeacion__task--timeline {
		align-content: flex-start;
		align-items: flex-start;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-full {
		align-content: flex-start;
		align-items: flex-start;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-inline {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-actions {
		flex: 1 1 100%;
		justify-content: flex-start;
		margin-left: 0;
		width: 100%;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-actions .logistica-planeacion__task-status {
		flex: 1 1 auto;
		max-width: calc(100% - 88px);
		min-width: 0;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-body {
		flex: 1 1 100%;
		order: 3;
	}
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-head {
	display: contents;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-inline {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	flex-wrap: nowrap;
	gap: 0;
	min-width: 0;
	order: 1;
	overflow: hidden;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-time {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-time::after {
	color: #cbd5e1;
	content: '·';
	font-weight: 400;
	margin: 0 4px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-op {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-op::after {
	color: #cbd5e1;
	content: '·';
	font-weight: 400;
	margin: 0 4px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-labor-type {
	flex-shrink: 0;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	padding: 2px 6px;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-edit {
	flex-shrink: 0;
	height: 24px;
	width: 24px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-edit .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-body {
	flex: 1 1 100%;
	min-height: 0;
	min-width: 0;
	order: 5;
	overflow: hidden;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-continuation-badge {
	display: inline-block;
	font-size: 8px;
	margin: 0 4px 0 0;
	padding: 1px 4px;
	vertical-align: middle;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-labor {
	display: inline;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-meta {
	display: none;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-shrink: 0;
	flex-wrap: nowrap;
	gap: 2px;
	margin-left: auto;
	margin-top: 0;
	order: 2;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-actions .logistica-planeacion__task-status {
	flex: 0 0 auto;
	font-size: 9px;
	font-weight: 700;
	height: 24px;
	letter-spacing: 0.02em;
	line-height: 22px;
	max-width: none;
	min-width: 96px;
	padding: 0 20px 0 8px;
	width: auto;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-tools {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 2px;
	margin-left: 0;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder {
	gap: 1px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	font-size: 10px;
	height: 24px;
	line-height: 1;
	min-width: 22px;
	padding: 0 3px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button:hover:not(:disabled):not(.is-disabled) {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-reorder button.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
	pointer-events: none;
}

.logistica-planeacion__task-tip-float {
	background: #0f172a;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
	color: #f8fafc;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
	max-width: min(280px, calc(100vw - 24px));
	padding: 8px 10px;
	pointer-events: none;
	position: fixed;
	text-align: left;
	white-space: pre-line;
	z-index: 100050;
}

.logistica-planeacion__task-tip-float[hidden] {
	display: none !important;
}

.logistica-planeacion__task-tip-float::before {
	border: 6px solid transparent;
	border-top-color: #0f172a;
	bottom: -12px;
	content: '';
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.logistica-planeacion__task-tip-float.is-below::before {
	border-bottom-color: #0f172a;
	border-top-color: transparent;
	bottom: auto;
	top: -12px;
}

@media (max-width: 720px) {
	.logistica-planeacion__board {
		--planeacion-day-sidebar: 100%;
	}

	.logistica-planeacion__day {
		flex-direction: column;
		min-height: 0;
	}

	.logistica-planeacion__day-header {
		border-bottom: 1px solid #e2e8f0;
		border-right: none;
		flex: none;
		max-width: none;
		width: 100%;
	}

	.logistica-planeacion__day-body {
		min-height: 72px;
	}

	.logistica-planeacion__timeline-scroll {
		overflow-x: visible;
	}

	.logistica-planeacion__timeline {
		min-width: 100%;
	}

	.logistica-planeacion__timeline-track {
		flex: none;
		min-height: 88px;
	}

	.logistica-planeacion__timeline-slot,
	.logistica-planeacion__task--timeline {
		bottom: auto;
		min-height: 76px;
		position: relative;
		left: auto !important;
		top: auto;
		width: 100% !important;
	}

	.logistica-planeacion__task--timeline {
		flex-direction: column;
		flex-wrap: nowrap;
		height: auto;
		padding: 8px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-head {
		align-items: flex-start;
		display: flex;
		gap: 8px;
		justify-content: space-between;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-inline {
		flex-wrap: wrap;
		order: unset;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-edit {
		order: unset;
		height: 26px;
		width: 26px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-body {
		flex: unset;
		order: unset;
		width: auto;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-actions {
		margin-left: 0;
		order: unset;
		width: 100%;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-actions .logistica-planeacion__task-status {
		flex: 1 1 auto;
		font-size: 10px;
		height: auto;
		max-width: calc(100% - 56px);
		padding: 2px 8px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-time::after,
	.logistica-planeacion__task--timeline .logistica-planeacion__task-op::after {
		display: none;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-labor {
		-webkit-box-orient: vertical;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		white-space: normal;
	}

	.logistica-planeacion__timeline-track {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.logistica-planeacion__task--timeline .logistica-planeacion__task-meta {
		display: flex;
	}
}

.logistica-planeacion__task:hover {
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.logistica-planeacion__task.is-dragging {
	opacity: 0.45;
}

.logistica-planeacion__task--in_progress { border-left-color: #2563eb; }
.logistica-planeacion__task--done { border-left-color: #16a34a; opacity: 0.85; }
.logistica-planeacion__task--delayed { border-left-color: #dc2626; }

.logistica-planeacion__task--sin_confirmar { border-left-color: #94a3b8; }
.logistica-planeacion__task--aprobado { border-left-color: #3b82f6; }
.logistica-planeacion__task--cancelado { border-left-color: #fb7185; }
.logistica-planeacion__task--programado { border-left-color: #6366f1; }
.logistica-planeacion__task--conversion { border-left-color: #8b5cf6; }
.logistica-planeacion__task--impresion { border-left-color: #06b6d4; }
.logistica-planeacion__task--troquelado { border-left-color: #a855f7; }
.logistica-planeacion__task--descartone { border-left-color: #eab308; }
.logistica-planeacion__task--formado { border-left-color: #84cc16; }
.logistica-planeacion__task--embalaje { border-left-color: #14b8a6; }
.logistica-planeacion__task--finalizado { border-left-color: #10b981; }
.logistica-planeacion__task--despacho { border-left-color: #f97316; }
.logistica-planeacion__task--entregado { border-left-color: #22c55e; }

.logistica-planeacion__task--exceeds-jornada .logistica-planeacion__task-time,
.logistica-planeacion__task--spills-next-day .logistica-planeacion__task-time {
	color: #b45309;
}

.logistica-planeacion__task--continuation {
	opacity: 0.92;
}

.logistica-planeacion__task--timeline.logistica-planeacion__task--continuation {
	border-left-style: solid;
}

.logistica-planeacion__task-continuation-badge {
	background: #fef3c7;
	border-radius: 999px;
	color: #92400e;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	margin-bottom: 4px;
	padding: 2px 8px;
	text-transform: uppercase;
}

.logistica-planeacion__task-split-badges {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 3px;
}

.logistica-planeacion__task-split-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 1px 6px;
	text-transform: uppercase;
	white-space: nowrap;
}

.logistica-planeacion__task-split-badge--lunch-cut {
	background: #fef9c3;
	border: 1px solid #facc15;
	color: #a16207;
}

.logistica-planeacion__task-split-badge--resume {
	background: #ffedd5;
	border: 1px solid #fdba74;
	color: #c2410c;
}

.logistica-planeacion__task-split-badge--continuation {
	background: #fef3c7;
	border: 1px solid #fcd34d;
	color: #92400e;
}

.logistica-planeacion__task-split-badge--next-day,
.logistica-planeacion__task-split-badge--later {
	background: #ede9fe;
	border: 1px solid #c4b5fd;
	color: #6d28d9;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-split-badge {
	font-size: 8px;
	padding: 1px 4px;
}

.logistica-planeacion__task-time {
	color: #0f766e;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 0;
	min-width: 0;
}

.logistica-planeacion__task-head {
	align-items: flex-start;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 4px;
}

.logistica-planeacion__task-head .logistica-planeacion__task-inline {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-planeacion__task-inline {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
}

.logistica-planeacion__task-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.logistica-planeacion__task-edit {
	align-items: center;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	height: 26px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 26px;
}

.logistica-planeacion__task-edit .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-planeacion__task-edit:hover {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__task-head-actions {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 4px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-head-actions {
	order: unset;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-head-actions .logistica-planeacion__task-edit {
	height: 24px;
	width: 24px;
}

.logistica-planeacion__task--timeline .logistica-planeacion__task-head-actions .logistica-planeacion__task-edit .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-planeacion__task-op {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 2px;
}

.logistica-planeacion__task-labor-type {
	background: #e2e8f0;
	border-radius: 999px;
	color: #334155;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 4px 0 2px;
	padding: 2px 8px;
	text-transform: uppercase;
}

.logistica-planeacion__task--labor-impresion .logistica-planeacion__task-labor-type {
	background: #dbeafe;
	color: #1d4ed8;
}

.logistica-planeacion__task--labor-lavado_maquina .logistica-planeacion__task-labor-type,
.logistica-planeacion__task--labor-limpieza_mantenimiento .logistica-planeacion__task-labor-type {
	background: #fef3c7;
	color: #b45309;
}

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

.logistica-planeacion__labor-section[hidden] {
	display: none !important;
}

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

.logistica-planeacion__tintas-panel {
	background: #f8fafc;
	border: 1px solid #dbeafe;
	border-radius: 12px;
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	padding: 14px;
}

.logistica-planeacion__tintas-metrics {
	display: grid;
	gap: 10px 12px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logistica-planeacion__tintas-metrics label,
.logistica-planeacion__tintas-mezcla {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logistica-planeacion__tintas-metrics span,
.logistica-planeacion__tintas-mezcla span,
.logistica-planeacion__tintas-pantones-label {
	color: #334155;
	font-size: 12px;
	font-weight: 600;
}

.logistica-planeacion__tintas-count .logistica-planeacion__tintas-x {
	align-items: center;
	display: flex;
	gap: 6px;
}

.logistica-planeacion__tintas-x input {
	min-width: 0;
	width: 100%;
}

.logistica-planeacion__tintas-x-sep {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.logistica-planeacion__tintas-side {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px;
}

.logistica-planeacion__tintas-side:not(.is-active) {
	opacity: 0.72;
}

.logistica-planeacion__tintas-side:not(.is-active) .logistica-planeacion__tintas-colors,
.logistica-planeacion__tintas-side:not(.is-active) .logistica-planeacion__tintas-pantones {
	pointer-events: none;
}

.logistica-planeacion__tintas-side-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
}

.logistica-planeacion__tintas-side-toggle {
	align-items: center;
	color: #0f172a;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
}

.logistica-planeacion__tintas-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.logistica-planeacion__tintas-color {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	min-width: 52px;
	position: relative;
	text-align: center;
}

.logistica-planeacion__tintas-color input[type="checkbox"] {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.logistica-planeacion__tintas-color-box {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	display: block;
	height: 28px;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
	width: 44px;
}

.logistica-planeacion__tintas-color input[type="checkbox"]:checked + .logistica-planeacion__tintas-color-box {
	background: #ecfdf5;
	border-color: #0f766e;
	box-shadow: inset 0 0 0 2px #0f766e;
}

.logistica-planeacion__tintas-color input[type="checkbox"]:disabled + .logistica-planeacion__tintas-color-box {
	background: #f1f5f9;
	cursor: not-allowed;
	opacity: 0.55;
}

.logistica-planeacion__tintas-color input[type="checkbox"]:disabled ~ .logistica-planeacion__tintas-color-label {
	color: #94a3b8;
	cursor: not-allowed;
}

.logistica-planeacion__tintas-color-label {
	color: #334155;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.logistica-planeacion__tintas-pantones {
	align-items: end;
	display: grid;
	gap: 8px 12px;
	grid-template-columns: auto 1fr auto;
	opacity: 0.65;
	transition: opacity 0.15s ease;
}

.logistica-planeacion__tintas-pantones.is-enabled {
	opacity: 1;
}

.logistica-planeacion__tintas-pantones-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logistica-planeacion__tintas-pantones-grid input {
	min-width: 0;
}

.logistica-planeacion__tintas-mezcla {
	min-width: 120px;
}

@media (max-width: 960px) {
	.logistica-planeacion__tintas-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logistica-planeacion__tintas-pantones {
		grid-template-columns: 1fr;
	}

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

.logistica-planeacion__labor-hint {
	display: block;
	margin-top: 6px;
}

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

.logistica-planeacion__impresion-fields[hidden] {
	display: none !important;
}

.logistica-planeacion__papel-fields[hidden] {
	display: none !important;
}

.logistica-planeacion__papel-title {
	color: #0f172a;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

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

.logistica-planeacion__papel-grid label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logistica-planeacion__papel-material-otro {
	grid-column: 1 / -1;
}

.logistica-planeacion__papel-material-otro.is-visible {
	display: flex;
}

.logistica-planeacion__papel-material-otro[hidden] {
	display: none !important;
}

.logistica-planeacion__task-labor {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 6px;
}

.logistica-planeacion__task-meta {
	background: #f8fafc;
	border: 1px solid #e8eef4;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	line-height: 1.35;
	margin-top: 2px;
	padding: 8px 9px;
}

.logistica-planeacion__task-detail {
	align-items: baseline;
	display: grid;
	gap: 2px 8px;
	grid-template-columns: minmax(52px, auto) minmax(0, 1fr);
}

.logistica-planeacion__task-detail-label {
	color: #94a3b8;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.logistica-planeacion__task-detail-value {
	color: #334155;
	font-size: 11px;
	font-weight: 600;
	min-width: 0;
}

.logistica-planeacion__task-detail--duration .logistica-planeacion__task-detail-value {
	color: #0f766e;
}

.logistica-planeacion__task-actions {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	justify-content: space-between;
	margin-top: 8px;
}

.logistica-planeacion__task-actions .logistica-planeacion__task-status {
	flex: 1 1 auto;
	max-width: calc(100% - 56px);
	min-width: 0;
}

.logistica-planeacion__task-tools {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 4px;
	margin-left: auto;
}

.logistica-planeacion__task-reorder {
	display: flex;
	flex-shrink: 0;
	gap: 2px;
}

.logistica-planeacion__task-reorder button {
	font-size: 10px;
	line-height: 1;
	padding: 3px 6px;
}

.logistica-planeacion__task-reorder button.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
	pointer-events: none;
}

.logistica-planeacion__task-actions button {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	color: #334155;
	cursor: pointer;
	font-size: 11px;
	min-height: 26px;
	min-width: 26px;
	padding: 3px 8px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-planeacion__task-actions button:hover:not(:disabled) {
	background: var(--planeacion-brand-light);
	border-color: var(--planeacion-brand);
	color: var(--planeacion-brand-dark);
}

.logistica-planeacion__task-actions button:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.logistica-planeacion__task-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	margin-top: 0;
	padding: 2px 8px;
	text-transform: uppercase;
}

.logistica-planeacion__task-badge--pending { background: #e2e8f0; color: #475569; }
.logistica-planeacion__task-badge--in_progress { background: #dbeafe; color: #1d4ed8; }
.logistica-planeacion__task-badge--done { background: #dcfce7; color: #15803d; }
.logistica-planeacion__task-badge--delayed { background: #fee2e2; color: #b91c1c; }

.logistica-planeacion__task-status {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #e2e8f0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 6px center;
	background-repeat: no-repeat;
	background-size: 10px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	box-sizing: border-box;
	color: #475569;
	cursor: pointer;
	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	max-width: 100%;
	padding: 4px 22px 4px 10px;
	text-transform: uppercase;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-planeacion__task-status::-ms-expand {
	display: none;
}

.logistica-planeacion__task-status:focus {
	box-shadow: 0 0 0 2px var(--planeacion-brand-ring);
	outline: none;
}

.logistica-planeacion__task-status--pending {
	background-color: #e2e8f0;
	border-color: #cbd5e1;
	color: #475569;
}

.logistica-planeacion__task-status--in_progress {
	background-color: #dbeafe;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231d4ed8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	border-color: #93c5fd;
	color: #1d4ed8;
}

.logistica-planeacion__task-status--done {
	background-color: #dcfce7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2315803d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	border-color: #86efac;
	color: #15803d;
}

.logistica-planeacion__task-status--delayed {
	background-color: #fee2e2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23b91c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	border-color: #fca5a5;
	color: #b91c1c;
}

.logistica-planeacion__modal {
	border: none;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	max-height: 90vh;
	max-width: 720px;
	padding: 0;
	width: calc(100% - 32px);
}

.logistica-planeacion__modal::backdrop {
	background: rgba(15, 23, 42, 0.45);
}

.logistica-planeacion__modal-form {
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.logistica-planeacion__modal-header {
	align-items: center;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	padding: 16px 18px;
}

.logistica-planeacion__modal-header h3 {
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.logistica-planeacion__modal-close {
	align-items: center;
	background: var(--planeacion-surface);
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 34px;
}

.logistica-planeacion__modal-close:hover {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.logistica-planeacion__modal-body {
	overflow: auto;
	padding: 16px 18px;
}

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

.logistica-planeacion__form-span-2 {
	grid-column: 1 / -1;
}

.logistica-planeacion__form-grid label {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

.logistica-planeacion__field-hint {
	color: #64748b;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
}

.logistica-planeacion__form-check {
	align-items: center;
	flex-direction: row !important;
	gap: 8px !important;
	grid-column: 1 / -1;
}

.logistica-planeacion__form-check input {
	margin: 0;
}

.logistica-planeacion__form-check span {
	font-weight: 500;
}

.logistica-planeacion__form-grid label > span:first-child {
	color: #0f172a;
}

.logistica-planeacion__form-grid label[data-planeacion-labor-field][hidden] {
	display: none !important;
}

.logistica-planeacion__modal input[type="text"],
.logistica-planeacion__modal input[type="number"],
.logistica-planeacion__modal input[type="time"],
.logistica-planeacion__modal select,
.logistica-planeacion__modal textarea,
.logistica-planeacion__form-grid input,
.logistica-planeacion__form-grid select,
.logistica-planeacion__form-grid textarea {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid var(--planeacion-border);
	border-radius: 8px;
	box-sizing: border-box;
	color: #0f172a;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
	min-height: 38px;
	padding: 8px 11px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	width: 100%;
}

.logistica-planeacion__modal select,
.logistica-planeacion__form-grid select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
	background-position: right 11px center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	cursor: pointer;
	padding-right: 34px;
}

.logistica-planeacion__modal textarea,
.logistica-planeacion__form-grid textarea {
	min-height: 72px;
	padding-top: 9px;
	resize: vertical;
}

.logistica-planeacion__modal input::placeholder,
.logistica-planeacion__modal textarea::placeholder,
.logistica-planeacion__form-grid input::placeholder,
.logistica-planeacion__form-grid textarea::placeholder {
	color: #94a3b8;
}

.logistica-planeacion__modal input:hover:not(:disabled):not([readonly]),
.logistica-planeacion__modal select:hover:not(:disabled),
.logistica-planeacion__modal textarea:hover:not(:disabled),
.logistica-planeacion__form-grid input:hover:not(:disabled):not([readonly]),
.logistica-planeacion__form-grid select:hover:not(:disabled),
.logistica-planeacion__form-grid textarea:hover:not(:disabled) {
	border-color: #94a3b8;
}

.logistica-planeacion__modal input:focus,
.logistica-planeacion__modal select:focus,
.logistica-planeacion__modal textarea:focus,
.logistica-planeacion__form-grid input:focus,
.logistica-planeacion__form-grid select:focus,
.logistica-planeacion__form-grid textarea:focus {
	border-color: var(--planeacion-brand);
	box-shadow: 0 0 0 3px var(--planeacion-brand-ring);
	outline: none;
}

.logistica-planeacion__modal input:disabled,
.logistica-planeacion__modal select:disabled,
.logistica-planeacion__modal textarea:disabled {
	background: #f1f5f9;
	color: #64748b;
	cursor: not-allowed;
}

input[data-planeacion-duration-input][readonly] {
	background: #ecfdf5;
	border-color: #99f6e4;
	color: #0f766e;
	cursor: default;
	font-weight: 600;
}

.logistica-planeacion__form-grid input,
.logistica-planeacion__form-grid select,
.logistica-planeacion__form-grid textarea {
	font-size: 13px;
	width: 100%;
}

.logistica-planeacion__modal-form.is-view-only {
	cursor: default;
}

.logistica-planeacion__modal-form.is-view-only [data-planeacion-field],
.logistica-planeacion__modal-form.is-view-only [data-planeacion-duration-input],
.logistica-planeacion__modal-form.is-view-only select,
.logistica-planeacion__modal-form.is-view-only textarea,
.logistica-planeacion__modal-form.is-view-only input {
	background-color: #f8fafc;
	cursor: default;
}

.logistica-planeacion__modal-form.is-view-only button[type="submit"],
.logistica-planeacion__modal-form.is-view-only [data-action="planeacion-delete-task"] {
	display: none !important;
}

.logistica-planeacion__modal-form.is-preview-mode .logistica-planeacion__form-grid {
	display: none !important;
}

.logistica-planeacion__task-preview {
	display: flex;
	flex-direction: column;
}

.logistica-planeacion__preview-row {
	border-bottom: 1px solid #f1f5f9;
	display: grid;
	gap: 4px 12px;
	grid-template-columns: minmax(110px, 36%) 1fr;
	padding: 10px 0;
}

.logistica-planeacion__preview-row:last-child {
	border-bottom: none;
}

.logistica-planeacion__preview-label {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.logistica-planeacion__preview-value {
	color: #0f172a;
	font-size: 13px;
	line-height: 1.45;
	word-break: break-word;
}

.logistica-planeacion__preview-empty {
	color: #64748b;
	font-size: 13px;
	margin: 0;
	padding: 8px 0;
}

.logistica-planeacion__modal-footer {
	align-items: center;
	border-top: 1px solid #e2e8f0;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 14px 18px;
}

.logistica-planeacion__modal-footer--task {
	background: #f8fafc;
}

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

.logistica-planeacion__modal-actions--end {
	margin-left: auto;
}

.logistica-planeacion__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-planeacion__modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal,
.logistica-planeacion__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-planeacion__modal button.logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:hover:not(:disabled),
.logistica-planeacion__modal button[type="submit"].logistica-planeacion__btn--primary:hover: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;
}

.logistica-planeacion__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-planeacion__modal button.logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:hover:not(:disabled) {
	background: #ecfdf5 !important;
	border-color: #0f766e !important;
	color: #0b5e58 !important;
}

.logistica-planeacion__modal button.logistica-planeacion__btn--danger.logistica-planeacion__btn--modal {
	background: transparent !important;
	border: 1px solid transparent !important;
	box-shadow: none !important;
	color: #b91c1c !important;
	min-width: auto;
}

.logistica-planeacion__modal button.logistica-planeacion__btn--danger.logistica-planeacion__btn--modal:hover:not(:disabled) {
	background: #fef2f2 !important;
	border-color: #fecaca !important;
	color: #991b1b !important;
}

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

.logistica-planeacion__options-grid label {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

.logistica-planeacion__options-grid textarea {
	font-family: inherit;
	font-size: 13px;
	line-height: 1.45;
	min-height: 120px;
	resize: vertical;
	width: 100%;
}

.logistica-planeacion__machine-modal {
	max-width: 520px;
}

.logistica-planeacion__machine-modal .logistica-planeacion__modal-footer {
	background: #f8fafc;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn,
.logistica-planeacion__machine-modal .logistica-planeacion__btn {
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	min-height: 40px;
	padding: 9px 18px;
	text-decoration: none;
	text-shadow: none;
	vertical-align: middle;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--primary,
.logistica-planeacion__machine-modal button[data-planeacion-machine-submit],
.logistica-planeacion__machine-modal .logistica-planeacion__btn--primary.logistica-planeacion__btn--modal {
	background: #0f766e !important;
	background-image: linear-gradient(180deg, #11968d 0%, #0f766e 100%) !important;
	border: 1px solid #0b5e58 !important;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35) !important;
	color: #fff !important;
	min-width: 140px;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--primary:hover:not(:disabled),
.logistica-planeacion__machine-modal button[data-planeacion-machine-submit]:hover:not(:disabled),
.logistica-planeacion__machine-modal .logistica-planeacion__btn--primary.logistica-planeacion__btn--modal:hover:not(:disabled) {
	background: #0b5e58 !important;
	background-image: linear-gradient(180deg, #0f766e 0%, #0b5e58 100%) !important;
	border-color: #094f4a !important;
	color: #fff !important;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--secondary,
.logistica-planeacion__machine-modal .logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal {
	background: #fff !important;
	border: 1px solid #64748b !important;
	color: #0f172a !important;
	min-width: 110px;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--secondary:hover:not(:disabled),
.logistica-planeacion__machine-modal .logistica-planeacion__btn--secondary.logistica-planeacion__btn--modal:hover:not(:disabled) {
	background: #ecfdf5 !important;
	border-color: #0f766e !important;
	color: #0b5e58 !important;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--danger,
.logistica-planeacion__machine-modal .logistica-planeacion__btn--danger.logistica-planeacion__btn--modal {
	background: #fff !important;
	border: 1px solid #fca5a5 !important;
	box-shadow: none !important;
	color: #b91c1c !important;
	min-width: auto;
	padding-inline: 14px;
}

.logistica-planeacion__machine-modal button.logistica-planeacion__btn--danger:hover:not(:disabled),
.logistica-planeacion__machine-modal .logistica-planeacion__btn--danger.logistica-planeacion__btn--modal:hover:not(:disabled) {
	background: #fef2f2 !important;
	border-color: #f87171 !important;
	color: #991b1b !important;
}

.logistica-planeacion__machine-modal .logistica-planeacion__modal-close {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #475569;
	height: 36px;
	width: 36px;
}

.logistica-planeacion__machine-modal .logistica-planeacion__modal-close:hover {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
}

.logistica-planeacion__options-modal {
	max-width: 760px;
}

.logistica-planeacion__forming-yield-modal {
	max-width: 820px;
}

.logistica-planeacion__forming-yield-status {
	color: #64748b;
	font-size: 13px;
	margin: 0 0 10px;
	min-height: 1.2em;
}

.logistica-planeacion__forming-yield-status.is-error {
	color: #b91c1c;
}

.logistica-planeacion__forming-yield-status.is-success {
	color: #15803d;
}

.logistica-planeacion__forming-yield-table-wrap {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 16px;
	max-height: 360px;
	overflow: auto;
}

.logistica-planeacion__forming-yield-table {
	border-collapse: collapse;
	font-size: 13px;
	width: 100%;
}

.logistica-planeacion__forming-yield-table th,
.logistica-planeacion__forming-yield-table td {
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 10px;
	text-align: left;
	vertical-align: middle;
}

.logistica-planeacion__forming-yield-table th:last-child,
.logistica-planeacion__forming-yield-table td:last-child {
	text-align: center;
	width: 52px;
}

.logistica-planeacion__forming-yield-table thead th {
	background: #f8fafc;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	position: sticky;
	top: 0;
	z-index: 1;
}

.logistica-planeacion__forming-yield-input {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	padding: 7px 10px;
	width: 100%;
}

.logistica-planeacion__forming-yield-input--units {
	max-width: 140px;
}

.logistica-planeacion__forming-yield-add h4 {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 10px;
}

.logistica-planeacion__forming-yield-add-grid {
	align-items: end;
	display: grid;
	gap: 10px 12px;
	grid-template-columns: 1fr 160px auto;
}

@media (max-width: 640px) {
	.logistica-planeacion__forming-yield-add-grid {
		grid-template-columns: 1fr;
	}
}

.logistica-planeacion.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.logistica-planeacion__metrics {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 14px;
}

.logistica-planeacion__metrics-week {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
}

.logistica-planeacion__metrics-pedidos {
	background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 14px 16px;
}

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

.logistica-planeacion__metrics-pedidos-period-form label {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
}

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

.logistica-planeacion__metrics-charts--pedidos {
	margin-top: 4px;
}

.logistica-planeacion__metrics-week-head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.logistica-planeacion__metrics-title {
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}

.logistica-planeacion__metrics-subtitle {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.logistica-planeacion__metrics-cards {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logistica-planeacion__metrics-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 10px 12px;
}

.logistica-planeacion__metrics-card-label {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.logistica-planeacion__metrics-card-value {
	color: #0f172a;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.logistica-planeacion__metrics-card-hint {
	color: #94a3b8;
	font-size: 11px;
	line-height: 1.35;
}

.logistica-planeacion__metrics-status-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.logistica-planeacion__metrics-status {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	gap: 8px;
	padding: 4px 10px;
}

.logistica-planeacion__metrics-status-label {
	font-weight: 700;
}

.logistica-planeacion__metrics-status--pending .logistica-planeacion__metrics-status-label { color: #64748b; }
.logistica-planeacion__metrics-status--in_progress .logistica-planeacion__metrics-status-label { color: #2563eb; }
.logistica-planeacion__metrics-status--done .logistica-planeacion__metrics-status-label { color: #059669; }
.logistica-planeacion__metrics-status--delayed .logistica-planeacion__metrics-status-label { color: #dc2626; }

.logistica-planeacion__metrics-util-bar {
	background: #e2e8f0;
	border-radius: 999px;
	height: 6px;
	margin-top: 12px;
	overflow: hidden;
}

.logistica-planeacion__metrics-util-bar span {
	background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
	display: block;
	height: 100%;
	min-width: 0;
	transition: width 0.25s ease;
}

.logistica-planeacion__metrics-month {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}

.logistica-planeacion__metrics-month-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	list-style: none;
	padding: 12px 16px;
}

.logistica-planeacion__metrics-month-summary::-webkit-details-marker {
	display: none;
}

.logistica-planeacion__metrics-month-summary .dashicons {
	color: #0f766e;
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-planeacion__metrics-month-label {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.logistica-planeacion__metrics-month-body {
	border-top: 1px solid #e2e8f0;
	padding: 14px 16px 16px;
}

.logistica-planeacion__metrics-month-hint {
	color: #64748b;
	font-size: 12px;
	margin: 0 0 12px;
}

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

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

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

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

.logistica-planeacion__metrics-chart-wrap--compact {
	height: 240px;
}

@media (max-width: 1100px) {
	.logistica-planeacion__metrics-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logistica-planeacion__metrics-charts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) {
	.logistica-panel.logistica-planeacion {
		padding: 12px 14px 18px;
	}

	.logistica-panel.logistica-planeacion > .logistica-planeacion__machines--select {
		margin-left: -14px;
		margin-right: -14px;
		padding-left: 14px;
		padding-right: 14px;
	}
}

.logistica-planeacion--admin-settings .logistica-planeacion__admin-settings {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--logistica-border, #c3e6e6);
	border-radius: 12px;
	background: #fff;
}

.logistica-planeacion--admin-settings .logistica-planeacion__admin-settings-link {
	margin: 0;
}

.logistica-planeacion-pedidos-open .dashicons {
	margin-top: 2px;
}

.logistica-planeacion-pedidos-modal {
	max-width: min(960px, 96vw);
	z-index: 100050;
}

.logistica-planeacion-pedidos-modal::backdrop {
	background: rgba(15, 23, 42, 0.45);
	z-index: 100049;
}

.logistica-planeacion-pedidos-modal__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.logistica-planeacion-pedidos-modal__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 1rem;
}

.logistica-planeacion-pedidos-modal__day select,
.logistica-planeacion-pedidos-modal__select-all {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.875rem;
}

.logistica-planeacion-pedidos-modal__select-all {
	flex-direction: row;
	align-items: center;
	margin-bottom: 0.15rem;
}

.logistica-planeacion-pedidos-modal__status {
	margin: 0;
	font-size: 0.875rem;
}

.logistica-planeacion-pedidos-modal__status.is-error {
	color: #b32d2e;
}

.logistica-planeacion-pedidos-modal__status.is-empty {
	color: #5b7083;
}

.logistica-planeacion-pedidos-modal__table-wrap {
	max-height: 420px;
	overflow: auto;
	border: 1px solid var(--logistica-border, #c3e6e6);
	border-radius: 8px;
}

.logistica-planeacion-pedidos-modal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.logistica-planeacion-pedidos-modal__table th,
.logistica-planeacion-pedidos-modal__table td {
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid #e8f3f3;
	text-align: left;
	vertical-align: top;
}

.logistica-planeacion-pedidos-modal__table thead th {
	position: sticky;
	top: 0;
	background: #f4fbfb;
	z-index: 1;
}

.logistica-planeacion-pedidos-modal__col-check {
	width: 2.5rem;
	text-align: center;
}

.logistica-planeacion-pedidos-modal__op {
	display: inline-block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	color: #5b7083;
}

.logistica-planeacion-pedidos-modal__estado {
	display: inline-block;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: #eef7f7;
	font-size: 0.78rem;
}

.logistica-planeacion-pedidos-modal__empty td {
	text-align: center;
	color: #5b7083;
	padding: 1.25rem;
}
