.text-input,
textarea {
  width: 100%;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  font: inherit;
  font-size: 0.9375rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.text-input {
  min-height: 52px;
}

textarea {
  resize: vertical;
  min-height: 220px;
}

.text-input:focus,
textarea:focus {
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--md-sys-color-primary) 22%, transparent);
}

.option-group {
  margin-top: 10px;
}

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

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.checkbox-item:hover {
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 28%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 40%, var(--md-sys-color-surface));
}

.checkbox-item input {
  margin: 0;
  inline-size: 18px;
  block-size: 18px;
  accent-color: var(--md-sys-color-primary);
  flex: 0 0 auto;
}

#password-output {
  min-height: 120px;
}

@media (max-width: 600px) {
  .checkbox-list {
    grid-template-columns: 1fr;
  }}
.tool-help h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--md-sys-color-on-surface);
}

.tool-help h3:first-of-type {
  margin-top: 0;
}
