
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px;
    background-color: #f8f9fa;
    color: #212529;
  }
  h1 {    max-width: 800px;
    margin: 0 auto 2em;
    font-size:1rem;
    text-align: left;
    margin-bottom: 0.5em;
  }
  form {
    max-width: 800px;
    margin: 0 auto 2em;
    background: #fff;
    padding: 1.5em 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  }
  label {
    font-weight: 600;
  }
  input[type=number], input[type=text] {
	   /* min-width: 3ch; max-width: 5ch; width: 4.5ch;*/
    width: 3ch;  /*Zeigt 3 Zeichen breit */
    padding: 0.0em 0.0em;
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 1px;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    background-color: #ffEEb9;
    text-align: center;
    overflow: hidden;          /* Wichtig: versteckt &Atilde;&frac14;berlaufenden Text */
    white-space: nowrap;       /* Kein Umbruch */

  }
  #p {
  width: 4ch;  /* Zeigt 4 Zeichen plus etwas Puffer */
  overflow: hidden;
  white-space: nowrap;
  text-align: right;
  }

  input[type=number]:focus, input[type=text]:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 5px rgba(13,110,253,.5);
  }
  .form-row {
    margin-bottom: 1em;
  }
  #globalError {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 1em;
    min-height: 1.4em;
  }
  button {
    cursor: pointer;
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 0.4em 0.9em;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  button:hover {
    background-color: #084bcc;
  }
  button:active {
    background-color: #063a9b;
  }
  button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
  }

  .button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5em;
  }

	.icon {
	  cursor: pointer;
	  margin-left:0.2em;
	  margin-bottom:0.0em;
	}

	.icon:hover {
	  transform: scale(1.15);
	}


  .task-container {
    max-width: 800px;
    margin: 0 auto 2em;
    background: #fff;
    padding: 1.2em 1.5em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
	      

	
	
	
  }
  .task-row {
    /*display: flex;
    /*align-items: center;*/
    /*margin-bottom: 1em;*/
    /*flex-wrap: wrap;*/
	line-height:2em;
	

	
  }
  .task-label {
    flex: 1 0 220px;
    font-weight: 600;
    font-size: 1.1em;
  }
  .task-input {
    width: 90px;
    margin-right: 0.7em;
    padding: 0.0em 0.0em;
    font-size: 12em;
    border: 1px solid  #ced4da;
    border-radius: 4px;
  opacity: 1;
  }

  .task-input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 5px rgba(13,110,253,.5);
  }
  .task-button {
    flex-shrink: 0;
    padding: 0.4em 1em;
  }
  .result-box {
    margin-top: 0.3em;
    padding: 0.1em 0.1em;
    background: #e9ecef;
    border-left: 30px solid #00ffff;  /* #0d6efd; */
    white-space: pre-wrap;
    font-family: Aptos,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95em;
    border-radius: 3px;
  }
.inline-result {
  margin: 0em;
  font-family: Aptos,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;   /* Consolas, monospace; */
  /*background-color: #e9ecef;*/
  padding: 0em 0em;
  border-radius: 1px;
  font-size:1rem;
}

.highlight-missing {
  background-color: #ffc107 !important; /* orange */
}

  /* Responsive */
  @media (max-width: 600px) {
    .task-row-alt {
      flex-direction: column;
      align-items: flex-start;
      white-space: nowrap;
background-color:#ffffff;
    }
 .task-row {
    display: flex;
    flex-direction: row; /* Zeilenlayout behalten */
    align-items: center;
    flex-wrap: wrap;   /* Kein Umbruch */
    white-space: wrap;
    background-color: #00ff00;
	}






    .task-label {
      margin-bottom: 0.3em;
      flex: none;
      width: 100%;
      font-size: 1em;
    }
    .task-input {
      width: 100%;
      margin-right: 0;
      margin-bottom: 0.5em;
    }
    .task-button {
      width: 100%;
      padding: 0.5em;
    }
  }

    /* Neue Styles: */
    input[type=number].no-spinner::-webkit-outer-spin-button,
    input[type=number].no-spinner::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    input[type=number].no-spinner {
      -moz-appearance: textfield;
    }
    input.task-input {
      width: 4.5ch;
      text-align: right;
    }

/* Pfeile in number inputs ausblenden (alle Browser) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}


   
    .highlight-missing {
      background-color: #ffc107 !important; /* orange */
    }

.inline-result.hidden {
  display: none;
}
