body {
  font-family: Arial, sans-serif;
  background: #181a1b;
  color: #e0e0e0;
}
.container {
  max-width: 400px;
  margin: 40px auto;
  background: #232526;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  /*outline: 1px dashed red;*/ /* Uncomment for debugging */
}
form label {
  display: block;
  margin-top: 1em;
  color: #e0e0e0;
}
form select,
form button,
form input[type="range"],
form input[type="number"] {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.5em;
  background: #181a1b;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 4px;
}
form button {
  background: #444;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 1em;
  transition: background 0.2s;
}
form button:hover {
  background: #666;
}
#result {
  margin-top: 2em;
  font-weight: bold;
  color: #ffd700;
}
.result-line {
  margin: 0.8em 0; /* Adjust this value for line spacing (0.5em ≈ 8px) */
}
#strengthLabel {
  display: inline-block;
  margin-left: 0.5em;
  font-weight: bold;
  color: #ffd700;
}
.row {
  display: flex;
  gap: 1em;
  justify-content: space-between; /* ⬅️ Replace 'center' with this */
  width: 100%; /* ⬅️ Make it match the width of other controls */
  /*outline: 1px dashed blue;*/
  /*background: rgba(0, 255, 0, 0.1); green tint*/
}
.field {
  flex: 0 0 calc(50% - 0.5em); /* 1em gap / 2 sides */
  box-sizing: border-box;
}

.field label {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #e0e0e0;
}

.field input[type="number"] {
  width: 100%;
  padding: 0.5em;
  background: #181a1b;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 4px;
  box-sizing: border-box;
}
.strength-row {
  margin-top: 1em;
  width: 95%;
  box-sizing: border-box;
}

.strength-label-line {
  display: flex;
  align-items: center; /* Keep this to vertically center items */
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.strength-label-line label {
  margin: 0; /* Remove default margin to prevent vertical offset */
  line-height: 1; /* Normalize line height for consistent alignment */
}

#strengthLabel {
  font-weight: bold;
  color: #ffd700;
  line-height: 1; /* Match label's line height */
  margin: 0; /* Remove any inherited margin */
}

.units-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}
.units-row input[type="checkbox"] {
  width: auto; /* Override width: 100% for checkbox */
  margin: 0;
}
.units-row label {
  margin: 0;
  font-weight: normal;
}

#appMeta {
  margin-top: 1.5em;
  font-size: 10px;        /* tiny, unobtrusive */
  color: #9aa0a6;         /* muted gray */
  opacity: 0.6;           /* subtle */
  text-align: center;     /* centered */
  user-select: text;      /* allow copy if needed */
}
#appMeta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(154,160,166,0.4);
}
#appMeta a:hover { opacity: 0.85; }
/* Debugging outlines (uncomment as needed)
*/
