	:root {
	  --strFontFace: Arial, sans-serif;
	  --strFontSize: 12pt;
	  --strTextColor: #000000;
	  --strFuncLightColor: #999999;
	  --strFuncShadeColor: #7f7f7f;
	  --strNavBarColor: #FFFFFF;
	}

	
	body {
		margin: 0;
		font-family: var(--strFontFace);
		background-color: rgb(255, 255, 255);
		justify-content: center;
		align-items: center;
		flex-direction: column;
		text-align: center;
		margin-bottom: 10px;
		margin-top: 15px;
		gap: 10px;

		}
		
	a:link {
		color: var(--strLinkColor);
		}
		
	a:visited {
		color: var(--strLinkColor);
		}
	
	a:hover {
		color: #f00;
		}
		
	
		.FuncButton2 {
		display: inline-block;
		border-style: solid;
		border-radius: 0.4em;
		padding: 0.3em;
		min-width: 3em;
		border-left-color: var(--strFuncLightColor);
		border-top-color: var(--strFuncLightColor);
		border-right-color: var(--strFuncShadeColor);
		border-bottom-color: var(--strFuncShadeColor);
		color: var(--strTextColor);
		background-color: #ffffff;
		border-width: 0.5pt;
		cursor: pointer;	
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	}
	
		.FuncButton2:active {
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		background-color: var(--strExBGColor2);
	}

	.FuncButton2:hover{
		color: var(--strExBGColor);
		background-color: var(--strExBGColor2);
	}
	
	.footer {
		display: block;
		position: fixed;
		bottom: 0;
		text-align: center;
		margin-left: 4px;
		font-size: 12px;
		background-color: white;
		left: 0;
		right: 0;
		}
	
	  #custom-buttons {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 10px;
		gap: 10px;
	 }
	  
	    .toolbar button,
	  #custom-buttons button {
		min-width: 3em;
		margin: 5px;
		text-align: center;
	  }


	.tacho-container {
	  background: white;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 20px;
	  padding: 20px;
	  margin: 0 auto;
	  border-radius: 12px;
	  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	  width: 80%;
	  max-width: 1000px;
	  min-width: 320px;
	  text-align: left;
	  min-height: 230px;
	  margin-bottom: 10px;

	}

	.controls,
	.toggle-button-column,
	.right-button-column {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 10px;
	}

	.tacho-section,
	.vertical-mode-toggle {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 0;
	}

	.vertical-mode-toggle {
	  justify-content: center;
	  height: 90px;
	}

	.digit-row,
	.digit-row-with-toggle,
	.digit-row-block,
	.row-with-button {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  gap: 0px;
	}

	.digit-container {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	}

	.label-top,
	.label-bottom,
	.digit-window {
	  width: 50px;
	  height: 20px;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-family: monospace;
	  font-size: 1.2em;
	  font-weight: bold;
	  background: white;
	  color: black;
	  border: 0.5px solid #ccc;
	  box-sizing: border-box;
	  padding: 0;
	  margin: 0;
	  line-height: 1;
	}

	.digit-window {
	  height: 50px;
	  font-size: 2.4em;
	}

	.arrow {
	  all: unset;
	  font-size: 24px;
	  color: #ddd;
	  padding: 4px;
	  cursor: pointer;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  line-height: 1;
	}

	.arrow-up { transform: rotate(-90deg); }
	.arrow-down { transform: rotate(90deg); }

	.image-window {
	  position: relative;
	  width: 40px;
	  height: 40px;
	  overflow: hidden;
	}

	.image-window img {
	  position: absolute;
	  width: 100%;
	  height: 100%;
	  transition: transform 0.3s ease, opacity 0.3s ease;
	}

	/* Animationen */
	@keyframes slideUpIn {
	  from { transform: translateY(100%); opacity: 0; }
	  to   { transform: translateY(0); opacity: 1; }
	}
	@keyframes slideUpOut {
	  from { transform: translateY(0); opacity: 1; }
	  to   { transform: translateY(-100%); opacity: 0; }
	}
	@keyframes slideDownIn {
	  from { transform: translateY(-100%); opacity: 0; }
	  to   { transform: translateY(0); opacity: 1; }
	}
	@keyframes slideDownOut {
	  from { transform: translateY(0); opacity: 1; }
	  to   { transform: translateY(100%); opacity: 0; }
	}

	.slide-up-in    { animation: slideUpIn 0.3s forwards; }
	.slide-up-out   { animation: slideUpOut 0.3s forwards; }
	.slide-down-in  { animation: slideDownIn 0.3s forwards; }
	.slide-down-out { animation: slideDownOut 0.3s forwards; }

	/* Umschalter / Slider */
	.switch-vertical {
	  position: relative;
	  width: 16px;
	  height: 30px;
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	}

	.switch-vertical input {
	  opacity: 0;
	  width: 0;
	  height: 0;
	}

	.slider-vertical {
	  position: absolute;
	  inset: 0;
	  margin: auto;
	  transform: rotate(90deg);
	  width: 100%;
	  height: 100%;
	  background-color: #ccc;
	  border-radius: 26px;
	  transition: 0.3s;
	}

	.slider-vertical::before {
	  content: "";
	  position: absolute;
	  width: 10px;
	  height: 10px;
	  left: 3px;
	  bottom: 3px;
	  background-color: white;
	  border-radius: 50%;
	  transition: 0.3s;
	}

	input:checked + .slider-vertical {
	  background-color: #2196F3;
	}

	input:checked + .slider-vertical::before {
	  transform: translateY(-12px);
	}

	/* Toggle Button */
	.tacho-controls button,
	.inline-toggle {
	  position: relative;
	  border-style: solid;
	  border-width: 0.5pt;
	  border-radius: 0.4em;
	  padding: 0.3em;
	  min-width: 3em;
	  background-color: white;
	  color: var(--strTextColor);
	  cursor: pointer;
	  margin: 10px;
	  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	  border-color: var(--strFuncShadeColor);

	}

	.toggle-active {
	  border-color: #007bff !important;
	  box-shadow: 0 0 5px #007bff;
	}

	/* Text */
	.number-text,
	.number-placeholder {
	  font-size: 1em;
	  text-align: right;
	  max-width: 100%;
	  visibility: visible;
	  white-space: normal;
	  word-break: break-word;
	  overflow-wrap: break-word;
	}

	.number-text-container {
	  display: flex;
	  justify-content: flex-end;
	  width: 100%;
	}

	.number-placeholder {
	  height: 25px;
	}

	.hidden {
	  display: none;
	}

	.digit-placeholder {
	  height: 50px;
	  display: flex;
	  justify-content: center;
	}
	
	/* Gleiche Hervorhebung wie im Zahlenstrahl */
	.tacho-controls button.active,
	.inline-toggle.active {
	  border-color: #007bff; /* blaue Umrandung */
	  box-shadow: 0 0 5px #007bff;
	}