html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	overscroll-behavior: none;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	background-color: #c5cae9;
	background-image:
		radial-gradient(ellipse 85% 65% at 82% 8%, rgba(255, 255, 255, 0.78) 0%, transparent 52%),
		radial-gradient(ellipse 55% 50% at 96% 92%, rgba(178, 235, 242, 0.45) 0%, transparent 48%),
		linear-gradient(148deg, #9fa8da 0%, #c5cae9 38%, #e8eaf6 72%, #f5f7ff 100%);
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
	body,
	body.km-root {
		max-width: 520px;
		margin: 0;
		left: 0;
		box-shadow: 0 0 40px rgba(26, 35, 126, 0.18);
		/* Mantener tambien los avisos y capas fijas dentro de la aplicacion. */
		transform: translateZ(0);
	}
}

.km-pane,
.km-horizontal,
.km-view,
.km-nova .km-view,
.km-on-ios .km-view {
	overflow: hidden !important;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.km-nova .km-back {
	display: none;
}

.km-header,
.km-nova .km-header,
.km-on-ios .km-header {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 1002;
	padding-top: env(safe-area-inset-top, 0px);
	background: rgba(255, 255, 255, 0.42) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	backdrop-filter: blur(18px) saturate(1.4);
	border-bottom: 1px solid rgba(26, 35, 126, 0.06);
	box-shadow: 0 4px 18px rgba(26, 35, 126, 0.05);
}

.km-navbar,
.km-nova .km-navbar,
.km-on-ios .km-navbar,
.km-header .km-navbar {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	position: relative !important;
	z-index: 2;
	height: 3em;
	overflow: visible;
	padding: 0 0.45em;
	box-sizing: border-box;
	background: transparent !important;
	border: none !important;
	color: #1a237e !important;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.km-leftitem,
.km-nova .km-leftitem,
.km-on-ios .km-leftitem,
.km-navbar .km-leftitem {
	display: flex !important;
	align-items: center;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	width: auto !important;
	height: auto !important;
	max-width: none;
	margin: 0 !important;
	float: none !important;
	flex: 0 0 auto;
	order: 1;
	z-index: 3;
	-webkit-transform: none !important;
	transform: none !important;
}

.km-rightitem,
.km-nova .km-rightitem,
.km-on-ios .km-rightitem,
.km-navbar .km-rightitem {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	position: relative !important;
	right: auto !important;
	left: auto !important;
	top: auto !important;
	bottom: auto !important;
	width: auto !important;
	height: auto !important;
	max-width: none;
	margin: 0 0 0 auto !important;
	float: none !important;
	flex: 0 0 auto;
	order: 3;
	z-index: 3;
	-webkit-transform: none !important;
	transform: none !important;
}

.km-view-title,
.km-nova .km-view-title,
.km-on-ios .km-view-title,
.km-navbar .km-view-title,
.km-header .km-view-title {
	display: block !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 0.4em 0 0.35em !important;
	float: none !important;
	flex: 1 1 auto;
	order: 2;
	min-width: 0;
	text-align: left !important;
	line-height: 3em !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none !important;
	z-index: 1;
	-webkit-transform: none !important;
	transform: none !important;
	color: #1a237e !important;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
	font-size: 1.08em !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
}

.km-navbar .km-button,
.km-header .km-button,
.km-navbar .m-nav-btn {
	position: relative;
	z-index: 3;
	pointer-events: auto !important;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	background: transparent !important;
	border: none !important;
	border-radius: 999px !important;
	color: #1a237e !important;
	box-shadow: none !important;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
	font-weight: 600 !important;
	min-height: 2.15em;
	opacity: 0.88;
}

.km-navbar .km-button:active,
.km-header .km-button:active,
.km-navbar .m-nav-btn:active {
	background: rgba(26, 35, 126, 0.1) !important;
	opacity: 1;
}

.km-navbar .m-nav-icon .km-text {
	display: none !important;
}

.km-navbar .m-nav-icon {
	min-width: 2.2em;
	padding-left: 0.4em !important;
	padding-right: 0.4em !important;
}

.km-navbar .m-nav-icon::after {
	content: "";
	display: inline-block;
	width: 1.28em;
	height: 1.28em;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.km-navbar .m-nav-icon-back::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
}

#home-salir-a.m-nav-icon::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
}

#historial-calendario-a.m-nav-icon::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM19 8H5V6h14v2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM19 8H5V6h14v2z'/%3E%3C/svg%3E");
}

#historial-calendario-a {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.m-nueva-version {
	display: none;
	position: fixed;
	top: calc(0.45em + env(safe-area-inset-top, 0px));
	left: 0.7em;
	right: 0.7em;
	z-index: 10050;
	margin: 0;
	padding: 0.7em 1em;
	background: #2e7d32;
	color: #fff;
	font-size: 0.95em;
	font-weight: 700;
	text-align: center;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(38, 50, 56, 0.28);
	pointer-events: none;
}

.m-nueva-version.m-nueva-version-on {
	display: block;
}

.app-version-span {
	display: none;
}

.m-app-version {
	position: absolute !important;
	top: auto !important;
	left: 0 !important;
	right: 0 !important;
	bottom: calc(0.4em + env(safe-area-inset-bottom, 0px)) !important;
	z-index: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	margin: 0;
	padding: 0;
	color: #90a4ae;
	font-size: 0.65em;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	white-space: nowrap;
	max-width: none;
	overflow: visible;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}

.m-app-politica:empty,
.m-app-horario:empty {
	display: none;
}

.m-app-horario.m-app-horario-fuera {
	color: #c62828;
}

.km-nova .km-content,
.km-content,
.km-native-scroller,
.km-view > .km-content,
.km-on-ios .km-view > .km-content {
	background: transparent;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: calc(2.85em + env(safe-area-inset-top, 0px)) !important;
	bottom: 0 !important;
	height: auto !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

#login-view.km-view > .km-header,
.km-nova #login-view > .km-header,
.km-on-ios #login-view > .km-header {
	display: none !important;
	height: 0 !important;
	padding: 0 !important;
}

#login-view.km-view > .km-content,
.km-nova #login-view > .km-content,
.km-on-ios #login-view > .km-content,
#login-view .km-native-scroller {
	top: 0 !important;
	display: flex !important;
	align-items: stretch;
	justify-content: flex-start;
	padding: calc(env(safe-area-inset-top, 0px) + 6vh) 0 calc(1.2em + env(safe-area-inset-bottom, 0px));
}

.m-login {
	width: 100%;
	max-width: 22.5em;
	margin: 0 auto;
	padding: 1.4em 1.25em 1.6em;
	box-sizing: border-box;
}

.m-login-brand {
	text-align: center;
	margin: 0 0 1.15em;
}

.m-login-logo-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.4em;
	height: 4.4em;
	margin: 0 0 0.7em;
	background: #fff;
	border-radius: 1.15em;
	box-shadow: 0 8px 22px rgba(26, 35, 126, 0.16);
}

.m-login-logo {
	display: block;
	width: 2.7em;
	height: 2.7em;
	object-fit: contain;
}

.m-login-title {
	margin: 0;
	font-size: 1.7em;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1a237e;
	line-height: 1.15;
}

.m-login-sub {
	margin: 0.28em 0 0;
	font-size: 0.98em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5c6bc0;
}

.m-login-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(26, 35, 126, 0.12), 0 1px 4px rgba(38, 50, 56, 0.1);
	padding: 1.25em 1.15em 1.2em;
	box-sizing: border-box;
}

#login-error-ul {
	margin: 0 0 0.85em;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.km-nova #login-error-ul > li,
#login-error-ul li {
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(198, 40, 40, 0.22);
	text-align: center;
	font-weight: 700;
	font-size: 0.95em;
}

.m-login-field {
	display: block;
	margin: 0 0 0.85em;
}

.m-login-field span {
	display: block;
	margin: 0 0 0.35em;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #546e7a;
}

.m-login-field input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 2.85em;
	padding: 0 0.9em;
	font-size: 1.05em;
	font-family: inherit;
	color: #263238;
	background: #f4f6fb;
	border: 1px solid #d5dbe8;
	border-radius: 10px;
	-webkit-appearance: none;
	appearance: none;
}

.m-login-field input:focus {
	outline: none;
	background: #fff;
	border-color: #3f51b5;
	box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.18);
}

.login-entrar-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0.35em 0 0;
	padding: 0.95em 0.5em;
	font-size: 1.08em;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: #3f51b5;
	border: none;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(63, 81, 181, 0.32);
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.login-entrar-btn:active {
	background: #303f9f;
	box-shadow: 0 2px 8px rgba(63, 81, 181, 0.28);
}

.m-login-field-oculto {
	display: none !important;
}

#login-olvidar-btn {
	display: none;
	width: 100%;
	box-sizing: border-box;
	margin: 0.75em 0 0;
	min-height: 3.1em;
	padding: 0.85em 0.5em;
	font-size: 0.95em;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 12px;
}

#login-olvidar-btn.mp-accion-hold {
	border-color: #1565c0;
	background-color: #74aef0;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(21, 101, 192, 0.18) 8px,
		rgba(21, 101, 192, 0.18) 16px
	);
}

#login-olvidar-btn .mp-accion-hold-fill {
	background: #1565c0;
}

#login-error-ul li.home-mensaje-ok,
#password-error-ul li.home-mensaje-ok {
	box-shadow: 0 2px 8px rgba(46, 125, 50, 0.22);
}

.m01-generic-error-message-ul {
	display: none;
	margin: 0.5em 1em;
	flex-shrink: 0;
}

.m01-generic-error-message-ul li {
	padding: 0.6em 0.8em;
	color: #fff;
	border-radius: 8px;
}

#home-mensaje-ul {
	position: absolute;
	top: calc(env(safe-area-inset-top, 0px) + 0.2em);
	left: 0.35em;
	right: 0.35em;
	z-index: 6;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 12px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.km-nova #home-mensaje-ul > li,
#home-mensaje-ul li {
	margin: 0 !important;
	padding: 0.7em 0.85em !important;
	min-height: 2.6em;
	box-sizing: border-box;
	border-radius: 12px !important;
	border: none !important;
	box-shadow: 0 2px 10px rgba(38, 50, 56, 0.22);
	text-align: center;
	font-weight: 700;
}

.km-nova #home-mensaje-ul.home-mensaje-ul-ok > li,
#home-mensaje-ul.home-mensaje-ul-ok li,
#home-mensaje-ul li.home-mensaje-ok {
	margin: 0 !important;
	line-height: 1.2 !important;
	font-size: 0.9em !important;
}

#incidencia-mensaje-ul {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0.55em 0 0.85em;
}

.km-nova #incidencia-mensaje-ul > li,
#incidencia-mensaje-ul li {
	border: none !important;
	border-radius: 12px !important;
	box-shadow: 0 2px 10px rgba(38, 50, 56, 0.22);
	text-align: center;
	font-weight: 700;
}

.km-nova .m01-generic-error-message-ul > li.home-mensaje-error,
.m01-generic-error-message-ul li.home-mensaje-error,
.home-mensaje-error {
	background: #c62828;
	color: #fff;
	border-radius: 12px !important;
}

.km-nova .m01-generic-error-message-ul > li.home-mensaje-ok,
.m01-generic-error-message-ul li.home-mensaje-ok,
.home-mensaje-ok {
	background: #2e7d32;
	color: #fff;
	border-radius: 12px !important;
}

.home-estado-box,
.home-centros-sec {
	margin: 0.85em 1em 0;
	padding: 1em 1.05em;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(26, 35, 126, 0.08);
	border: 1px solid rgba(26, 35, 126, 0.08);
	text-align: center;
	box-sizing: border-box;
}

.home-centros-sec {
	margin-top: 0.7em;
}

.home-estado-box {
	padding: 1.15em 1.15em 1.05em;
	text-align: left;
}

.home-estado-cab {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75em;
	margin-bottom: 0.85em;
}

.home-nombre {
	font-size: 1.28em;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1a237e;
	margin: 0;
	line-height: 1.25;
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.home-fecha {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 0.12em;
	margin: 0;
	padding: 0.5em 0.8em;
	background: #c5cae9;
	border-radius: 12px;
	color: #1a237e;
	line-height: 1.15;
	white-space: nowrap;
}

.home-fecha-dia {
	font-size: 0.92em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a237e;
	line-height: 1.15;
}

.home-fecha-num {
	font-size: 1.08em;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #1a237e;
}

.home-estado-cuerpo {
	min-height: 0;
}

.home-estado {
	display: inline-block;
	max-width: 100%;
	padding: 0.22em 0.72em;
	border-radius: 999px;
	background: #eceff1;
	color: #546e7b;
	font-size: 0.82em;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.35;
	box-sizing: border-box;
}

.home-estado:empty {
	display: none;
}

.home-estado.home-estado-jornada {
	color: #1b5e20;
	background: #e8f5e9;
}

.home-estado.home-estado-salida {
	color: #e65100;
	background: #fff3e0;
}

.home-estado.home-estado-salida-computa {
	color: #006064;
	background: #e0f7fa;
}

.home-estado.home-estado-descanso {
	color: #3949ab;
	background: #e8eaf6;
}

.home-tiempo {
	display: none;
	margin-top: 0.35em;
	font-size: 2em;
	font-weight: 700;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: #2e7d32;
	line-height: 1.15;
}

.home-tiempo.home-tiempo-pausa {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.4em;
	color: #ef6c00;
	animation: home-parpadeo 1s steps(1, end) infinite;
}

.home-tiempo.home-tiempo-pausa.home-tiempo-computa {
	color: #00838f;
	-webkit-animation: none;
	animation: none;
}

.home-tiempo.home-tiempo-descanso {
	color: #5c6bc0;
	font-size: 1.45em;
}

.home-tiempo.home-tiempo-entre {
	font-size: 0.82em;
	font-weight: 500;
	letter-spacing: 0;
	color: #78909c;
	line-height: 1.35;
}

.home-tiempo.home-tiempo-fuera {
	color: #c62828;
	animation: home-parpadeo 1s steps(1, end) infinite;
}

.home-tiempo.home-tiempo-computa {
	-webkit-animation: none !important;
	animation: none !important;
}

.home-pausa-icon {
	display: inline-block;
	width: 0.72em;
	height: 1em;
	position: relative;
	flex-shrink: 0;
}

.home-pausa-icon:before,
.home-pausa-icon:after {
	content: "";
	position: absolute;
	top: 0.12em;
	width: 0.22em;
	height: 0.76em;
	background: currentColor;
	border-radius: 1px;
}

.home-pausa-icon:before {
	left: 0.08em;
}

.home-pausa-icon:after {
	right: 0.08em;
}

@keyframes home-parpadeo {
	0%, 49% {
		opacity: 1;
	}
	50%, 100% {
		opacity: 0;
	}
}

.jornada-botones {
	padding: 0 1em;
}

.jornada-botones.jornada-botones-oculto {
	display: none;
	padding: 0;
}

.jornada-botones-final {
	padding: 0 1em 0.8em;
}

.jornada-botones-2col {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.7em;
}

.jornada-botones-2col .jornada-btn {
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	font-size: 1em !important;
	padding: 1.05em 0.45em !important;
}

.jornada-botones-2col .jornada-btn.jornada-btn-oculto {
	display: none !important;
}

.home-horario {
	display: none;
	margin-top: 0.9em;
	padding: 0.65em 0.8em;
	border-top: none;
	background: #f4f6fb;
	border-radius: 10px;
	text-align: left;
}

.home-horario-tit {
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #90a4ae;
}

.home-horario-dia,
.home-horario-nom {
	margin-top: 0.2em;
	font-size: 0.95em;
	color: #37474f;
}

.home-horario-nom {
	font-weight: 700;
}

.home-horario-tramos {
	margin-top: 0.2em;
	font-size: 1.05em;
	font-variant-numeric: tabular-nums;
	color: #1565c0;
	font-weight: 700;
}

.home-horario-alerta {
	margin-top: 0.45em;
	font-size: 0.9em;
	font-weight: 700;
	color: #c62828;
}

.home-horario.home-horario-fuera .home-horario-tramos {
	color: #c62828;
}

.home-centros-sec {
	text-align: left;
}

.home-ultima-sec {
	display: none;
	margin: 0 1em;
	padding: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
	width: auto;
	min-width: 0;
}

.home-ultima-sec.home-ultima-on {
	display: block !important;
}

/* Sin botones main, la timeline no debe pegarse al estado */
#home-botones-main.jornada-botones-oculto + .home-ultima-sec.home-ultima-on {
	margin-top: 0.85em;
}

.home-ultima-timeline {
	display: block;
	width: 100%;
}

#home-view .home-ultima-finalizada .mp-inc-item {
	border-left-color: #9e9e9e;
	background: #f5f5f5;
	color: #757575;
}

#home-view .home-ultima-finalizada .mp-inc-hora,
#home-view .home-ultima-finalizada .mp-inc-txt,
#home-view .home-ultima-finalizada .mp-hist-just {
	color: #757575;
}

#home-ultima-lista .home-ultima-titulo,
#home-view .home-ultima-inc-titulo {
	display: inline-block;
	margin: 0 0 0.8em;
	padding: 0.5em 0.8em;
	border-radius: 12px;
	background: #c5cae9;
	font-family: inherit;
	font-size: 0.78em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a237e;
	line-height: 1.4;
}

.home-ultima-timeline .mp-inc-item {
	cursor: default;
	display: -webkit-flex;
	display: flex;
	width: 100%;
	margin: 0 0 0.45em;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}

.home-ultima-timeline .mp-inc-item:last-child {
	margin-bottom: 0;
}

.home-ultima-timeline .mp-inc-incidencia {
	flex-wrap: nowrap;
	align-items: center;
	min-height: 2.35em;
	padding-top: 0.35em;
	padding-bottom: 0.35em;
	box-sizing: border-box;
	border-left-color: #c62828;
	background: #fdecee;
	font-weight: 400;
}

.home-ultima-timeline .mp-inc-incidencia .mp-inc-hora,
.home-ultima-timeline .mp-inc-incidencia .mp-inc-txt,
.home-ultima-timeline .mp-inc-incidencia .home-inc-estado,
.home-ultima-timeline .mp-inc-incidencia .mp-hist-just {
	font-weight: 400;
}

.home-ultima-timeline .mp-inc-incidencia .mp-inc-hora {
	min-width: 3em;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

.home-ultima-timeline .mp-inc-incidencia .mp-inc-txt {
	min-width: 0;
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-ultima-timeline .mp-inc-incidencia .home-inc-estado {
	margin-left: auto;
	margin-top: 0;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	font-size: inherit;
}

.home-ultima-timeline .mp-inc-incidencia .mp-hist-just {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 0;
	font-size: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-centros-titulo,
.home-ultima-salidas-titulo,
.incidencia-sec-tit {
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #607d8b;
	margin-bottom: 0.55em;
}

.incidencia-sec-tit {
	margin: 1em 1.1em 0.35em;
}

#home-view .home-ultima-inc-titulo {
	margin: 0.55em 0 0.4em;
}

.home-centros-msg {
	font-size: 0.95em;
	font-weight: 600;
	color: #c62828;
}

.home-centros-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-centro-item {
	padding: 0.75em 0.85em;
	margin: 0.4em 0 0;
	border: none;
	border-radius: 10px;
	border-left: 5px solid #90a4ae;
	cursor: pointer;
	background: #fafafa;
	box-shadow: 0 1px 3px rgba(38, 50, 56, 0.1);
}

.home-centro-item.home-centro-sel {
	background: #e8eaf6;
	border-left-color: #3f51b5;
	box-shadow: inset 0 0 0 2px rgba(63, 81, 181, 0.25);
}

.home-centro-nombre {
	display: block;
	font-weight: 700;
	color: #263238;
}

.home-centro-dist {
	display: block;
	margin-top: 0.15em;
	font-size: 0.85em;
	color: #607d8b;
	font-variant-numeric: tabular-nums;
}

.home-salidas-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-salidas-lista li,
.home-hist-item {
	display: block;
	padding: 0.5em 0.6em;
	margin: 0 0 0.4em;
	border-radius: 8px;
	background: #fff;
	border-left: 4px solid #90a4ae;
	box-shadow: 0 1px 3px rgba(38, 50, 56, 0.08);
}

.home-hist-entrada {
	border-left-color: #2e7d32;
}

.home-hist-salida {
	border-left-color: #ef6c00;
}

.home-hist-retorno {
	border-left-color: #1565c0;
}

.home-hist-inc {
	border-left-color: #c62828;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.6em;
}

.home-salidas-lista li:last-child {
	margin-bottom: 0;
}

.home-salidas-horas {
	display: block;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: #263238;
}

.home-salidas-desc {
	display: block;
	margin-top: 0.15em;
	font-size: 0.9em;
	font-weight: 600;
	color: #ef6c00;
}

.home-salidas-vacio {
	color: #90a4ae;
	font-size: 0.95em;
	text-align: center;
	box-shadow: none;
	border-left-color: transparent;
	background: transparent;
}

#home-ultima-salidas-box {
	display: none;
}

#home-ultima-incidencias-box {
	display: none;
	margin-top: 0.7em;
}

.home-incidencias-lista li {
	padding: 0.6em 0.65em;
}

.home-inc-tipo {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 700;
	color: #263238;
}

.home-inc-estado {
	display: inline-flex;
	align-items: center;
	margin-top: 0;
	margin-left: auto;
	text-align: right;
	flex: 0 0 auto;
	font-size: 0.9em;
	font-weight: 700;
}

.home-inc-estado-pendiente,
.home-inc-estado-aprobada {
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	min-height: 1.35em;
	height: 1.35em;
	align-items: center;
}

.home-inc-estado-pendiente {
	color: #ef6c00;
}

.home-inc-estado-aprobada {
	color: #2e7d32;
}

.home-inc-estado-pendiente .home-inc-estado-txt,
.home-inc-estado-aprobada .home-inc-estado-txt {
	display: inline-block;
	max-width: 12em;
	height: 1.35em;
	line-height: 1.35em;
	overflow: hidden;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-animation: home-inc-aprobada-txt 0.55s ease 1.5s forwards;
	animation: home-inc-aprobada-txt 0.55s ease 1.5s forwards;
}

.home-inc-estado-pendiente::before,
.home-inc-estado-aprobada::before {
	content: "";
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	margin-right: 0.28em;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-animation: home-inc-aprobada-tick 0.55s ease 1.5s forwards;
	animation: home-inc-aprobada-tick 0.55s ease 1.5s forwards;
}

.home-inc-estado-aprobada::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.home-inc-estado-pendiente::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 5h2v6h-2V7zm0 8h2v2h-2v-2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 5h2v6h-2V7zm0 8h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.home-inc-estado-pendiente.home-inc-estado-solo .home-inc-estado-txt,
.home-inc-estado-aprobada.home-inc-estado-solo .home-inc-estado-txt,
.home-inc-estado-aprobada.home-inc-aprobada-solo .home-inc-estado-txt {
	max-width: 0;
	opacity: 0;
	-webkit-animation: none;
	animation: none;
}

.home-inc-estado-pendiente.home-inc-estado-solo::before,
.home-inc-estado-aprobada.home-inc-estado-solo::before,
.home-inc-estado-aprobada.home-inc-aprobada-solo::before {
	margin-right: 0;
	-webkit-animation: none;
	animation: none;
}

.home-inc-estado-pendiente.home-inc-estado-solo,
.home-inc-estado-aprobada.home-inc-estado-solo,
.home-inc-estado-aprobada.home-inc-aprobada-solo {
	min-width: 1.35em;
	min-height: 1.35em;
	height: 1.35em;
	justify-content: flex-end;
}

.home-inc-estado-replay .home-inc-estado-txt,
.home-inc-estado-replay::before {
	-webkit-animation: none !important;
	animation: none !important;
}

@-webkit-keyframes home-inc-aprobada-txt {
	to {
		max-width: 0;
		opacity: 0;
	}
}

@keyframes home-inc-aprobada-txt {
	to {
		max-width: 0;
		opacity: 0;
	}
}

@-webkit-keyframes home-inc-aprobada-tick {
	to {
		margin-right: 0;
	}
}

@keyframes home-inc-aprobada-tick {
	to {
		margin-right: 0;
	}
}

.home-inc-estado-rechazada {
	color: #c62828;
}

.home-inc-estado-cerrada {
	color: #546e7a;
	font-weight: 600;
}

.home-inc-horas {
	display: block;
	flex: 1 1 100%;
	margin-top: 0.15em;
	font-variant-numeric: tabular-nums;
	color: #37474f;
	font-size: 0.9em;
}

.home-inc-just {
	display: block;
	flex: 1 1 100%;
	margin-top: 0.2em;
	font-size: 0.9em;
	color: #607d8b;
}

.jornada-btn {
	display: block !important;
	margin: 0.7em 0 !important;
	padding: 1.05em 0.7em !important;
	width: 100%;
	min-height: 3.6em;
	font-size: 1.15em !important;
	font-weight: 700 !important;
	text-align: center !important;
	text-decoration: none !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}

.jornada-btn:active {
	opacity: 0.88;
}

.jornada-btn-iniciar {
	background: #2e7d32 !important;
	border-color: #2e7d32 !important;
}

.jornada-btn-inicio-error {
	background: #ad1457 !important;
	border-color: #ad1457 !important;
}

.jornada-btn-elegir {
	background: #455a64 !important;
	border-color: #455a64 !important;
}

.jornada-btn-centro-asig {
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.jornada-btn-centro-actual {
	background: #2e7d32 !important;
	border-color: #2e7d32 !important;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.jornada-btn-terminar {
	background: #c62828 !important;
	border-color: #c62828 !important;
}

.jornada-btn-salida {
	background: #ef6c00 !important;
	border-color: #ef6c00 !important;
}

.jornada-btn-retorno {
	background: #1565c0 !important;
	border-color: #1565c0 !important;
}

.jornada-btn-cancelar {
	background: #78909c !important;
	border-color: #78909c !important;
}

.jornada-btn-incidencia {
	background: #6a1b9a !important;
	border-color: #6a1b9a !important;
}

.jornada-btn-historial {
	background: #263238 !important;
	border-color: #263238 !important;
}

.jornada-btn-password {
	background: #3f51b5 !important;
	border-color: #3f51b5 !important;
}

.jornada-btn-sel {
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.jornada-btn.jornada-btn-oculto {
	display: none !important;
}

.jornada-btn-label {
	display: block;
}

.jornada-btn-centro {
	display: block;
	font-size: 0.78em;
	font-weight: 500;
	margin-top: 0.2em;
	opacity: 0.95;
}

.jornada-btn-centro:empty {
	display: none;
}

.jornada-btn-hold-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#home-iniciar-a.mp-accion-hold,
#salida-terminar-a.mp-accion-hold,
#home-retorno-a.mp-accion-hold {
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#home-iniciar-a.mp-accion-hold {
	border: 3px solid #2e7d32 !important;
	background-color: #7dc47f !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(46, 125, 50, 0.18) 8px,
		rgba(46, 125, 50, 0.18) 16px
	) !important;
}

#salida-terminar-a.mp-accion-hold {
	border: 3px solid #c62828 !important;
	background-color: #e88989 !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(198, 40, 40, 0.18) 8px,
		rgba(198, 40, 40, 0.18) 16px
	) !important;
}

#home-retorno-a.mp-accion-hold {
	border: 3px solid #1565c0 !important;
	background-color: #74aef0 !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(21, 101, 192, 0.18) 8px,
		rgba(21, 101, 192, 0.18) 16px
	) !important;
}

#home-iniciar-a.mp-accion-hold:active,
#salida-terminar-a.mp-accion-hold:active,
#home-retorno-a.mp-accion-hold:active {
	opacity: 1;
}

#home-iniciar-a .mp-accion-hold-fill {
	background: #2e7d32;
}

#salida-terminar-a .mp-accion-hold-fill {
	background: #c62828;
}

#home-retorno-a .mp-accion-hold-fill {
	background: #1565c0;
}

#home-iniciar-a.mp-accion-hold .jornada-btn-centro,
#home-retorno-a.mp-accion-hold .jornada-btn-centro {
	position: relative;
	z-index: 1;
	color: #fff;
}

.centro-item-btn.mp-accion-hold {
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	border: 3px solid #2e7d32 !important;
	background-color: #7dc47f !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(46, 125, 50, 0.18) 8px,
		rgba(46, 125, 50, 0.18) 16px
	) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.centro-item-btn.mp-accion-hold:active {
	opacity: 1;
}

.centro-item-btn .mp-accion-hold-fill {
	background: #2e7d32;
}

.salida-tipo-btn.mp-accion-hold {
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	border: 3px solid #ef6c00 !important;
	background-color: #f4b06a !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(239, 108, 0, 0.2) 8px,
		rgba(239, 108, 0, 0.2) 16px
	) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.salida-tipo-computa.mp-accion-hold {
	border-color: #00838f !important;
	background-color: #4dd0e1 !important;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(0, 131, 143, 0.22) 8px,
		rgba(0, 131, 143, 0.22) 16px
	) !important;
}

.salida-tipo-btn.mp-accion-hold:active {
	opacity: 1;
}

.salida-tipo-btn .mp-accion-hold-fill {
	background: #ef6c00;
}

.salida-tipo-computa .mp-accion-hold-fill {
	background: #00838f;
}

#salida-lista {
	padding-top: 0.85em;
}

#salida-lista .jornada-btn {
	margin: 0.35em 0 !important;
}

#salida-tipos-no:not(:empty) {
	padding-bottom: 0.7em;
}

#salida-lista #salida-terminar-a {
	margin-top: 0.35em !important;
	margin-bottom: 0.35em !important;
}

#salida-tipos-si:not(:empty) {
	padding-top: 0.7em;
}

#salida-lista #salida-cancelar-btn {
	margin-top: 1em !important;
}

.jornada-btn.km-state-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.m-view-body {
	padding: 0 0 1em;
}

.m-incidencia {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - 4em);
	padding: 0.7em 1em 1em;
	box-sizing: border-box;
}

button.mp-incidencia-fecha {
	display: block;
	width: 100%;
	padding: 0.65em 0.8em;
	border: 1px solid #c5cae9;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	cursor: pointer;
}

button.mp-incidencia-fecha:disabled {
	opacity: 0.6;
	cursor: default;
}

.mp-incidencia-fecha {
	font-size: 1.05em;
	font-weight: 700;
	color: #1a237e;
	text-align: center;
	margin: 0.1em 0 0.55em;
	line-height: 1.25;
}

.mp-incidencia-paso {
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #546e7a;
	margin: 0 0 0.55em;
}

.mp-incidencia-tipos,
.mp-incidencia-justs {
	display: flex;
	flex-direction: column;
	gap: 0.45em;
	margin-bottom: 0.6em;
}

.mp-inc-item {
	display: flex;
	align-items: center;
	gap: 0.7em;
	width: 100%;
	min-height: 3.2em;
	padding: 0.55em 0.8em;
	border: none;
	border-radius: 10px;
	border-left: 6px solid #90a4ae;
	background: #fff;
	color: #263238;
	font-size: 1.05em;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: 0 1px 3px rgba(38, 50, 56, 0.1);
}

.mp-inc-hora {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	min-width: 3.4em;
	color: #263238;
}

.mp-inc-hora-vacia {
	min-width: 0;
}

.mp-inc-txt {
	flex: 1 1 auto;
}

.mp-inc-entrada {
	border-left-color: #2e7d32;
}

.mp-inc-salida {
	border-left-color: #ef6c00;
}

.mp-inc-salida-computa {
	border-left-color: #00838f;
}

.mp-inc-retorno {
	border-left-color: #1565c0;
}

.mp-inc-fin {
	border-left-color: #c62828;
}

.mp-inc-error {
	border-left-color: #ad1457;
	color: #ad1457;
}

.mp-inc-item.mp-incidencia-sel {
	background: #3f51b5;
	color: #fff;
	box-shadow: none;
	border-left-color: #283593;
}

.mp-inc-item.mp-incidencia-sel .mp-inc-hora,
.mp-inc-item.mp-incidencia-sel .mp-inc-txt {
	color: #fff;
}

.mp-inc-item.mp-inc-error.mp-incidencia-sel {
	background: #ad1457;
	border-left-color: #880e4f;
}

.mp-inc-sep {
	height: 0;
	border: none;
	border-top: 2px solid #cfd8dc;
	margin: 0.25em 0.1em;
}

.mp-incidencia-detalle {
	display: none;
	margin-top: 0.5em;
	padding-top: 0.7em;
	border-top: 2px solid #cfd8dc;
}

.mp-incidencia-detalle.mp-visible {
	display: block;
}

.mp-incidencia-fecha-box,
.mp-incidencia-hora-box,
.mp-incidencia-justificacion-box {
	margin: 0 0 0.8em;
}

.mp-incidencia-justificacion-libre {
	display: none;
}

.mp-inc-item.mp-inc-otro {
	border-left-color: #546e7a;
	font-weight: 600;
}

.mp-incidencia-fecha-lab,
.mp-incidencia-hora-lab,
.mp-incidencia-justificacion-lab {
	display: block;
	margin: 0 0 0.35em;
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #546e7a;
}

#incidencia-fecha-input,
#incidencia-hora-input,
#incidencia-justificacion-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.85em 0.7em;
	font-size: 1.15em;
	border: 1px solid #b0bec5;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
}

.mp-incidencia-hora-aviso {
	display: none;
	margin: 0.35em 0 0;
	font-size: 0.95em;
	color: #e65100;
	font-weight: 600;
}

#incidencia-justificacion-input {
	min-height: 4.2em;
	resize: vertical;
}

.m-incidencia .mp-inc-item {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

#incidencia-enviar-btn {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

.mp-accion-btn {
	min-height: 4.2em;
	width: 100%;
	font-size: 1.25em;
	font-weight: 700;
	border: none;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
}

.mp-accion-hold {
	position: relative;
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	border: 3px solid #90a4ae;
	background-color: #8aa4b3;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(84, 110, 122, 0.16) 8px,
		rgba(84, 110, 122, 0.16) 16px
	);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
	color: #fff;
}

#incidencia-enviar-btn.mp-accion-hold {
	border-color: #6a1b9a;
	background-color: #c48ad6;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.34) 0,
		rgba(255, 255, 255, 0.34) 8px,
		rgba(106, 27, 154, 0.18) 8px,
		rgba(106, 27, 154, 0.18) 16px
	);
	margin-top: 0.4em;
}

.mp-accion-hold-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	pointer-events: none;
	z-index: 0;
}

#incidencia-enviar-btn .mp-accion-hold-fill {
	background: #6a1b9a;
}

.mp-accion-hold-txt {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
}

.mp-accion-hold-txt::before {
	content: "";
	display: inline-block;
	width: 1.05em;
	height: 1.05em;
	flex-shrink: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	box-sizing: border-box;
	background: radial-gradient(circle, #fff 0 26%, transparent 28%);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
	animation: mp-hold-pulse 1.7s ease-in-out infinite;
}

@keyframes mp-hold-pulse {
	0%, 100% {
		opacity: 0.72;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.12);
	}
}

.mp-accion-incidencia {
	background-color: #6a1b9a;
}

.mp-hist-vacio {
	color: #90a4ae;
	font-size: 0.95em;
	text-align: center;
	padding: 0.8em 0;
}

.m-historial {
	padding: 0.7em 1em 1em;
	box-sizing: border-box;
}

.m-password {
	padding: 1.1em 1em 1.4em;
	box-sizing: border-box;
}

#password-error-ul {
	margin: 0 0 0.85em;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.km-nova #password-error-ul > li,
#password-error-ul li {
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(198, 40, 40, 0.22);
	text-align: center;
	font-weight: 700;
	font-size: 0.95em;
}

.mp-hist-meses {
	width: auto;
	max-width: 100%;
	margin: 0 auto 0.75em;
}

#historial-view .mp-hist-meses.k-button-group,
#historial-view .k-button-group.mp-hist-meses {
	display: flex;
	justify-content: center;
	width: auto;
	margin: 0 auto 0.75em;
	border: none;
	box-shadow: none;
}

#historial-view .mp-hist-meses .k-button {
	flex: 0 0 auto;
	min-width: 3.4em;
	font-size: 0.85em;
	font-weight: 700;
	padding: 0.45em 0.75em;
}

#historial-view .mp-hist-meses .k-button.mp-hist-mes-flecha {
	flex: 0 0 2.6em;
}

#historial-view .mp-hist-meses .k-selected,
#historial-view .mp-hist-meses .k-state-active,
#historial-view .mp-hist-meses .k-button.k-selected {
	background: #6a1b9a;
	border-color: #6a1b9a;
	color: #fff;
}

.mp-hist-meses-plain {
	display: flex;
	justify-content: center;
	width: auto;
	margin: 0 auto;
	gap: 0;
}

.mp-hist-mes-btn {
	flex: 0 0 auto;
	min-width: 3.4em;
	font-size: 0.85em;
	font-weight: 700;
	padding: 0.45em 0.75em;
	border: 1px solid #cfd8dc;
	background: #eceff1;
	color: #37474f;
	cursor: pointer;
}

.mp-hist-mes-btn + .mp-hist-mes-btn {
	border-left: none;
}

.mp-hist-mes-btn:first-child {
	border-radius: 8px 0 0 8px;
}

.mp-hist-mes-btn:last-child {
	border-radius: 0 8px 8px 0;
}

.mp-hist-mes-flecha {
	flex: 0 0 2.6em;
	font-size: 1.15em;
}

.mp-hist-mes-on {
	background: #6a1b9a;
	border-color: #6a1b9a;
	color: #fff;
}

.mp-hist-resumen:empty {
	display: none;
}

.mp-hist-resumen {
	width: 100%;
	margin: 0 0 0.7em;
}

.mp-hist-cal-wrap-oculto,
.mp-hist-cal-wrap[hidden] {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mp-hist-calendario {
	width: 100%;
	margin: 0 0 0.85em;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(38, 50, 56, 0.18);
}

.km-navbar .m-nav-btn-on {
	background: rgba(26, 35, 126, 0.12) !important;
	color: #1a237e !important;
	opacity: 1;
}

.mp-hist-calendario.k-calendar,
.mp-hist-calendario .k-calendar {
	width: 100%;
	border: none;
	background: transparent;
	font-size: 0.92em;
}

.mp-hist-calendario .k-calendar .k-header {
	padding: 0.25em 0.2em;
}

.mp-hist-lista-box {
	margin: 0 0 0.7em;
}

.mp-hist-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mp-hist-lista li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35em 0.7em;
	padding: 0.45em 0.5em;
	margin: 0 0 0.35em;
	border-radius: 8px;
	background: #fff;
	border-left: 4px solid #90a4ae;
}

.mp-hist-entrada {
	border-left-color: #2e7d32;
}

.mp-hist-salida {
	border-left-color: #ef6c00;
}

.mp-hist-salida-computa {
	border-left-color: #00838f;
}

.mp-hist-retorno {
	border-left-color: #1565c0;
}

.mp-hist-lista li.mp-hist-incidencia {
	flex-wrap: wrap;
	align-items: center;
	min-height: 2.55em;
	padding-top: 0.45em;
	padding-bottom: 0.45em;
	box-sizing: border-box;
	border-left-color: #c62828;
	background: #fdecee;
	font-weight: 400;
	overflow: visible;
}

.mp-hist-lista li.mp-hist-incidencia,
.mp-hist-fin {
	border-left-color: #c62828;
}

.mp-hist-lista li.mp-hist-incidencia .mp-hist-hora,
.mp-hist-lista li.mp-hist-incidencia .mp-hist-txt,
.mp-hist-lista li.mp-hist-incidencia .home-inc-estado,
.mp-hist-lista li.mp-hist-incidencia .mp-hist-just {
	font-weight: 400;
}

.mp-hist-lista li.mp-hist-incidencia .mp-hist-hora {
	min-width: 3em;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

.mp-hist-lista li.mp-hist-incidencia .mp-hist-txt {
	min-width: 0;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	color: #263238;
	word-break: break-word;
}

.mp-hist-lista li.mp-hist-incidencia .home-inc-estado {
	margin-left: auto;
	margin-top: 0;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	font-size: inherit;
}

.mp-hist-lista li.mp-hist-incidencia .mp-hist-just {
	-webkit-flex: 1 1 100%;
	flex: 1 1 100%;
	min-width: 0;
	margin-top: 0;
	font-size: inherit;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	word-break: break-word;
}

.mp-hist-hora {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: #263238;
	min-width: 3.2em;
}

.mp-hist-txt {
	flex: 1 1 auto;
	color: #37474f;
	font-size: 0.95em;
}

.mp-hist-just {
	flex: 1 1 100%;
	font-size: 0.85em;
	color: #607d8b;
}

.mp-hist-sem-cab {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6em;
	margin: 0.85em 0 0.45em;
	padding: 0.1em 0.2em 0.4em;
	border-bottom: 2px solid #6a1b9a;
}

.mp-hist-lista-box > .mp-hist-sem-cab:first-child {
	margin-top: 0;
}

.mp-hist-sem-tit {
	font-size: 0.82em;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6a1b9a;
}

.mp-hist-sem-suma {
	font-weight: 800;
	color: #1565c0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mp-histj-item {
	display: block;
	width: 100%;
	text-align: left;
	border: none;
	border-radius: 10px;
	background: #fff;
	padding: 0.5em 0.55em 0.3em;
	margin: 0 0 0.7em;
	cursor: pointer;
	box-sizing: border-box;
	box-shadow: 0 1px 4px rgba(38, 50, 56, 0.18);
}

.mp-histj-item.mp-histj-sel {
	background: #f3e5f5;
	box-shadow: inset 0 0 0 3px #6a1b9a, 0 1px 4px rgba(106, 27, 154, 0.28);
}

.mp-histj-item.mp-histj-otro-mes {
	opacity: 0.72;
}

.mp-histj-cab {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6em;
	margin: 0 0 0.35em;
}

.mp-histj-fecha {
	font-weight: 800;
	color: #263238;
	font-size: 1.05em;
}

.mp-histj-suma {
	font-weight: 700;
	color: #1565c0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.mp-histj-item .mp-hist-lista li {
	margin: 0 0 0.25em;
	padding: 0.3em 0.4em;
}

.mp-hist-res-item {
	cursor: default;
}

.mp-accion-off {
	opacity: 0.45;
}

#historial-incidencia-btn {
	width: 100%;
	margin: 0.4em 0 0 !important;
}

#incidencia-cancelar-btn,
#historial-cancelar-btn,
#password-cancelar-btn {
	width: 100%;
	margin: 0.7em 0 0 !important;
}

.mp-incidencia-combo-box {
	position: relative;
	margin: 0 0 0.8em;
}

.mp-incidencia-combo-box label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 700;
}

.mp-accion-eliminar-dia {
	border-color: #b71c1c;
	background-color: #546e7a;
	color: #fff;
	margin: 0.8em 0;
}

#incidencia-eliminar-dia-btn .mp-accion-hold-fill,
#incidencia-eliminar-fichaje-btn .mp-accion-hold-fill {
	background: #b71c1c;
}

#incidencia-eliminar-dia-link,
#incidencia-eliminar-fichaje-link {
	display: block;
	width: 100%;
	text-align: center;
	margin: 1.8em 0 0.8em;
	color: #b71c1c;
	text-decoration: underline;
}

.mp-incidencia-bottom {
	width: 100%;
	box-sizing: border-box;
	margin-top: auto;
	text-align: center;
}
